Subject: RE: m2 crypto for pyton24
To: Jeremy C. Reed <reed@reedmedia.net>
From: Derrick Lobo <derrick@givex.com>
List: tech-pkg
Date: 12/22/2005 16:22:53
additional details... it fails
Traceback (most recent call last):
File "setup.py", line 96, in ?
ext_modules = [m2crypto]
File "/usr/pkg/lib/python2.4/distutils/core.py", line 149, in setup
dist.run_commands()
File "/usr/pkg/lib/python2.4/distutils/dist.py", line 946, in run_commands
self.run_command(cmd)
File "/usr/pkg/lib/python2.4/distutils/dist.py", line 966, in run_command
cmd_obj.run()
File "/usr/pkg/lib/python2.4/distutils/command/build.py", line 112, in run
self.run_command(cmd_name)
File "/usr/pkg/lib/python2.4/distutils/cmd.py", line 333, in run_command
self.distribution.run_command(command)
File "/usr/pkg/lib/python2.4/distutils/dist.py", line 966, in run_command
cmd_obj.run()
File "/usr/pkg/lib/python2.4/distutils/command/build_ext.py", line 279, in
run
self.build_extensions()
File "/usr/pkg/lib/python2.4/distutils/command/build_ext.py", line 405, in
build_extensions
self.build_extension(ext)
File "/usr/pkg/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)
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/security/py-m2crypto
===>
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===> * log of the build
===> * /usr/obj/security/py-m2crypto/work.i386/.work.log
===>
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/security/py-m2crypto
Derrick Lobo <derrick@givex.com>
Systems Administrator
Givex - http://www.givex.com
+1 416 350 9660 Ext: 254
-----Original Message-----
From: Jeremy C. Reed [mailto:reed@pilchuck.reedmedia.net]On Behalf Of
Jeremy C. Reed
Sent: Thursday, December 22, 2005 4:03 PM
To: Derrick Lobo
Cc: tech-pkg@netbsd.org
Subject: RE: m2 crypto for pyton24
On Thu, 22 Dec 2005, Derrick Lobo wrote:
> I had it running on python 2.3.... moved the
> /lib/Python2.3/site-package/M2Crypto directory to
> lib/Python2.4/site-packages..... seems to work ok for now however I wanted
> to build it from pkgsrc to be sure.....
Edit pkgsrc/security/py-m2crypto/Makefile to add "24" to the
PYTHON_VERSIONS_ACCEPTED. And then (after a make clean) attempt to build
and install and use.
Jeremy C. Reed
BSD News, BSD tutorials, BSD links
http://www.bsdnewsletter.com/