I'm not sure what M2Crypto is, but It looks like building it requires the openssl headers, and it can't find them. I think libssl-dev might be the package to install to get them on ubuntu. peace, David
On Apr 27, 2009, at 4:30 PM, Rob LaRubbio wrote: > I'm trying to get a plone 2.5 instance with getpaid and > authorize.net as the processor. I checkout the latest trunk from > svn and uncommented zc.authorizedotnet and getpaid.authorizedotnet > in both develop eggs and eggs. I also added getpaid.authorizedotnet > to the zcml section of buildout.cfg. > > When I run ./bin/buildout -vvvc buildout.cfg it fails with these > errors: > > Getting required 'M2Crypto' > required by getpaid.authorizedotnet 0.3.2dev. > We have no distributions for M2Crypto that satisfies 'M2Crypto'. > Download error: (-2, 'Name or service not known') -- Some packages > may not be found! > Download error: (-2, 'Name or service not known') -- Some packages > may not be found! > Download error: (-2, 'Name or service not known') -- Some packages > may not be found! > Download error: (-2, 'Name or service not known') -- Some packages > may not be found! > Download error: (-2, 'Name or service not known') -- Some packages > may not be found! > Download error: (-2, 'Name or service not known') -- Some packages > may not be found! > Download error: (-2, 'Name or service not known') -- Some packages > may not be found! > Download error: (-2, 'Name or service not known') -- Some packages > may not be found! > Getting distribution for 'M2Crypto'. > We have the best distribution that satisfies 'setuptools'. > Picked: setuptools = 0.6c9 > Running easy_install: > /usr/bin/python2.4 "-c" "from setuptools.command.easy_install import > main; main()" "-mUNxd" "/home/rob/projects/onenw/getpaid.buildout/ > eggs/tmpBandsR" "-v" "/tmp/tmpIWix5cget_dist/M2Crypto-0.19.1.tar.gz" > > > <I removed a lot of output involving the building of M2Crypto> > > building 'M2Crypto.__m2crypto' extension > swigging SWIG/_m2crypto.i to SWIG/_m2crypto_wrap.c > swig -python -I/usr/include/python2.4 -I/usr/include -includeall -o > SWIG/_m2crypto_wrap.c SWIG/_m2crypto.i > SWIG/_m2crypto.i:23: Error: Unable to find 'openssl/opensslv.h' > SWIG/_evp.i:9: Error: Unable to find 'openssl/opensslconf.h' > SWIG/_ec.i:7: Error: Unable to find 'openssl/opensslconf.h' > error: Setup script exited with error: command 'swig' failed with > exit status 1 > An error occured when trying to install M2Crypto 0.19.1.Look above > this message for any errors thatwere output by easy_install. > While: > Installing instance. > Getting distribution for 'M2Crypto'. > Error: Couldn't install: M2Crypto 0.19.1 > > My original error had to do with my system not having 'swig' > installed. I used ubuntu's package managment system to install > that. I'm not clear what the buildout is attempting to install or > from where it is trying to install so I'm not sure how to fix this. > Anyway have any pointers on either fixing this or getting > authorize.net working in a 2.5 site. > > -Rob > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "getpaid-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/getpaid-dev?hl=en -~----------~----~----~----~------~----~------~--~---
