You are not logged in.

#1 2004-04-22 13:06:03

Theuni
Member
From: Köthen, Germany
Registered: 2004-02-16
Posts: 10
Website

[network: cryptography] m2crypto

I just posted m2crypto.


here is the PKGBUILD:

pkgname=m2crypto
pkgver=0.13
pkgrel=1
pkgdesc=""
url=""
license=""
depends=(openssl)
makedepends=(swig)
conflicts=()
replaces=()
backup=()
install=
source=(http://sandbox.rulemaker.net/ngps/Dist/$pkgname-$pkgver.zip)
md5sums=(be2790a34349ab452dddbcfe4c95606a)

build() {
  cd $startdir/src/$pkgname-$pkgver
  python setup.py build
  mkdir $startdir/pkg/usr
  python setup.py install --prefix=$startdir/pkg/usr/
}

Christian Theune | ct@gocept.com | http://www.gocept.com

Offline

#2 2005-02-25 14:33:07

zeppelin
Member
From: Athens, Greece
Registered: 2004-03-05
Posts: 807
Website

Re: [network: cryptography] m2crypto

thanks!

Offline

#3 2005-05-21 15:09:24

Dreameen
Member
From: Poland
Registered: 2004-09-06
Posts: 252

Re: [network: cryptography] m2crypto

Apparently sth got b0rked...

M2crypto fails to build with following errors:

$ python setup.py build
running build
running build_py
running build_ext
building '__m2crypto' extension
Traceback (most recent call last):
  File "setup.py", line 96, in ?
    ext_modules = [m2crypto]
  File "/usr/lib/python2.4/distutils/core.py", line 149, in setup
    dist.run_commands()
  File "/usr/lib/python2.4/distutils/dist.py", line 946, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.4/distutils/dist.py", line 966, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.4/distutils/command/build.py", line 112, in run
    self.run_command(cmd_name)
  File "/usr/lib/python2.4/distutils/cmd.py", line 333, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python2.4/distutils/dist.py", line 966, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.4/distutils/command/build_ext.py", line 279, in run
    self.build_extensions()
  File "/usr/lib/python2.4/distutils/command/build_ext.py", line 405, in build_extensions
    self.build_extension(ext)
  File "/usr/lib/python2.4/distutils/command/build_ext.py", line 442, in build_extension
    sources = self.swig_sources(sources, ext)
TypeError: swig_sources() takes exactly 2 arguments (3 given)

I was trying to build the svn version from
http://svn.osafoundation.org/m2crypto/b … /M2Crypto/


..but it ended with a total disaster wink

I give up...Maybe someone else will be able to build m2crypto. I'd be very glad to see this package in AUR wink

Offline

Board footer

Powered by FluxBB