dsmitty166 Posted May 9, 2011 Share Posted May 9, 2011 OK looks like you'll need to install a couple of packages from unmenu "C" compiler & development tools and openssl-solibs (OpenSSL shared libraries) Then try the build again I have the "C" compiler & development tools...I will add openssl Here's what I get: root@tower:/boot/packages/SlackBuild# pycurl.SlackBuild pycurl-7.19.0/ pycurl-7.19.0/doc/ pycurl-7.19.0/doc/callbacks.html pycurl-7.19.0/doc/curlmultiobject.html pycurl-7.19.0/doc/curlobject.html pycurl-7.19.0/doc/curlshareobject.html pycurl-7.19.0/doc/pycurl.html pycurl-7.19.0/examples/ pycurl-7.19.0/examples/basicfirst.py pycurl-7.19.0/examples/file_upload.py pycurl-7.19.0/examples/linksys.py pycurl-7.19.0/examples/retriever-multi.py pycurl-7.19.0/examples/retriever.py pycurl-7.19.0/examples/sfquery.py pycurl-7.19.0/examples/xmlrpc_curl.py pycurl-7.19.0/python/ pycurl-7.19.0/python/curl/ pycurl-7.19.0/python/curl/__init__.py pycurl-7.19.0/src/ pycurl-7.19.0/src/Makefile pycurl-7.19.0/src/pycurl.c pycurl-7.19.0/tests/ pycurl-7.19.0/tests/test.py pycurl-7.19.0/tests/test_cb.py pycurl-7.19.0/tests/test_debug.py pycurl-7.19.0/tests/test_ftp.py pycurl-7.19.0/tests/test_getinfo.py pycurl-7.19.0/tests/test_gtk.py pycurl-7.19.0/tests/test_internals.py pycurl-7.19.0/tests/test_memleak.py pycurl-7.19.0/tests/test_multi.py pycurl-7.19.0/tests/test_multi2.py pycurl-7.19.0/tests/test_multi3.py pycurl-7.19.0/tests/test_multi4.py pycurl-7.19.0/tests/test_multi5.py pycurl-7.19.0/tests/test_multi6.py pycurl-7.19.0/tests/test_multi_socket.py pycurl-7.19.0/tests/test_multi_socket_select.py pycurl-7.19.0/tests/test_multi_timer.py pycurl-7.19.0/tests/test_multi_vs_thread.py pycurl-7.19.0/tests/test_post.py pycurl-7.19.0/tests/test_post2.py pycurl-7.19.0/tests/test_post3.py pycurl-7.19.0/tests/test_share.py pycurl-7.19.0/tests/test_socketopen.py pycurl-7.19.0/tests/test_stringio.py pycurl-7.19.0/tests/test_xmlrpc.py pycurl-7.19.0/tests/util.py pycurl-7.19.0/COPYING pycurl-7.19.0/COPYING2 pycurl-7.19.0/ChangeLog pycurl-7.19.0/INSTALL pycurl-7.19.0/MANIFEST.in pycurl-7.19.0/Makefile pycurl-7.19.0/README pycurl-7.19.0/TODO pycurl-7.19.0/setup.py pycurl-7.19.0/setup_win32_ssl.py pycurl-7.19.0/PKG-INFO Using curl-config (libcurl 7.19.0) running install running build running build_py creating build creating build/lib.linux-i686-2.6 creating build/lib.linux-i686-2.6/curl copying python/curl/__init__.py -> build/lib.linux-i686-2.6/curl running build_ext building 'pycurl' extension creating build/temp.linux-i686-2.6 creating build/temp.linux-i686-2.6/src gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DHAVE_CURL_OPENSSL=1 -DHAVE_CURL_OPENSSL=1 -DHAVE_CURL_SSL=1 -I/usr/include/python2.6 -c src/pycurl.c -o build/temp.linux-i686-2.6/src/pycurl.o src/pycurl.c:79:31: error: openssl/crypto.h: No such file or directory src/pycurl.c: In function 'pycurl_ssl_lock': src/pycurl.c:393: error: 'CRYPTO_LOCK' undeclared (first use in this function) src/pycurl.c:393: error: (Each undeclared identifier is reported only once src/pycurl.c:393: error: for each function it appears in.) src/pycurl.c: In function 'pycurl_ssl_init': src/pycurl.c:407: warning: implicit declaration of function 'CRYPTO_num_locks' src/pycurl.c:415: warning: implicit declaration of function 'CRYPTO_set_id_callback' src/pycurl.c:416: warning: implicit declaration of function 'CRYPTO_set_locking_callback' error: command 'gcc' failed with exit status 1 Quote Link to comment
MTA99 Posted May 9, 2011 Share Posted May 9, 2011 Long shot but could you try your new found packaging skills on this http://slackbuilds.org/repository/13.1/development/pycrypto/ and see if that fixes the crypto error Quote Link to comment
dsmitty166 Posted May 9, 2011 Share Posted May 9, 2011 Long shot but could you try your new found packaging skills on this http://slackbuilds.org/repository/13.1/development/pycrypto/ and see if that fixes the crypto error Are you able to download the source file? I can't right now...it times out... Quote Link to comment
MTA99 Posted May 9, 2011 Share Posted May 9, 2011 Times out for me too but this link works http://www.amk.ca/files/python/crypto/pycrypto-2.0.1.tar.gz Quote Link to comment
dsmitty166 Posted May 9, 2011 Share Posted May 9, 2011 Interesting, here's what I get? root@tower:/boot/packages# cd SlackBuild2 root@tower:/boot/packages/SlackBuild2# ls pycrypto-2.0.1.tar.gz* pycrypto.SlackBuild.SlackBuild* root@tower:/boot/packages/SlackBuild2# pycrypto.SlackBuild.SlackBuild tar: /boot/packages/SlackBuild2/pycrypto-2.1.0.tar.gz: Cannot open: No such file or directory tar: Error is not recoverable: exiting now root@tower:/boot/packages/SlackBuild2# ls pycrypto-2.0.1.tar.gz* pycrypto.SlackBuild.SlackBuild* Quote Link to comment
MTA99 Posted May 9, 2011 Share Posted May 9, 2011 Sorry - my bad! The link is version 2.0.1 not 2.1.0 Also looks like the extraction of your slackbuild went a bit wrong. I'll try and find 2.1.0.....brb Quote Link to comment
dsmitty166 Posted May 9, 2011 Share Posted May 9, 2011 Sorry - my bad! The link is version 2.0.1 not 2.1.0 Also looks like the extraction of your slackbuild went a bit wrong. I'll try and find 2.1.0.....brb Nice Catch! I'm going to assume the extracting failed because it looks like it's looking for the 2.1.0 version, but only could find the 2.0.1 Quote Link to comment
MTA99 Posted May 9, 2011 Share Posted May 9, 2011 This is a link to a Slackware13 package for pycrypto http://get.gnomeslackbuild.org/gsb/gsb-2.30_slackware-13.1/gsb/l/pycrypto-2.0.1-i486-2gsb.txz Give that a shot with installpkg EDIT: Hmmmm that's the same one I put in the guide - try it again Quote Link to comment
dsmitty166 Posted May 9, 2011 Share Posted May 9, 2011 This is a link to a Slackware13 package for pycrypto http://get.gnomeslackbuild.org/gsb/gsb-2.30_slackware-13.1/gsb/l/pycrypto-2.0.1-i486-2gsb.txz Give that a shot with installpkg EDIT: Hmmmm that's the same one I put in the guide - try it again Don't I need pycrypto 2.1.1? Quote Link to comment
MTA99 Posted May 9, 2011 Share Posted May 9, 2011 Not necessarily. You'd need it if you were building the package but the link above is a Slackbuild12 package. No need to build it. Quote Link to comment
dsmitty166 Posted May 9, 2011 Share Posted May 9, 2011 No Luck... Same error as before... Here's my install log... Install_Log.txt Quote Link to comment
MTA99 Posted May 9, 2011 Share Posted May 9, 2011 No pycurl no pyload I'm afraid Try the pycrypto build again with this link http://dl.dropbox.com/u/48364/unMENU/pycrypto-2.1.0.tar.gz /crosses fingers Quote Link to comment
dsmitty166 Posted May 9, 2011 Share Posted May 9, 2011 No pycurl no pyload I'm afraid Try the pycrypto build again with this link http://dl.dropbox.com/u/48364/unMENU/pycrypto-2.1.0.tar.gz /crosses fingers Give me 10 minutes... Quote Link to comment
dsmitty166 Posted May 9, 2011 Share Posted May 9, 2011 Here's what I get This is the last few lines running install_egg_info Writing /tmp/SBo/package-pycrypto/usr/lib/python2.6/site-packages/pycrypto-2.1.0 -py2.6.egg-info xargs: file: No such file or directory cat: /boot/packages/SlackBuild2/pycrypto.SlackBuild: No such file or directory root@tower:/boot/packages/SlackBuild2# install.txt Quote Link to comment
MTA99 Posted May 9, 2011 Share Posted May 9, 2011 Could you do 'ls' in your slackbuild2 folder and post the output Quote Link to comment
dsmitty166 Posted May 9, 2011 Share Posted May 9, 2011 Could you do 'ls' in your slackbuild2 folder and post the output root@tower:/boot/packages/SlackBuild2# ls pycrypto-2.0.1.tar.gz* pycrypto-2.1.0.tar.gz* pycrypto.SlackBuild.SlackBuild* I'm not sure why it is SlackBuild.SlackBuild...but that's the file directly from the site...could that be throwing it off? Quote Link to comment
MTA99 Posted May 9, 2011 Share Posted May 9, 2011 Try downloading and extracting it again http://slackbuilds.org/slackbuilds/13.1/development/pycrypto.tar.gz Works fine for me, get 4 files with .slackbuild file Yeah, that file is probably throwing it off Quote Link to comment
dsmitty166 Posted May 9, 2011 Share Posted May 9, 2011 Try downloading and extracting it again http://slackbuilds.org/slackbuilds/13.1/development/pycrypto.tar.gz Works fine for me, get 4 files with .slackbuild file Yeah, that file is probably throwing it off Quick question, how do you extract these on linux? Quote Link to comment
MTA99 Posted May 9, 2011 Share Posted May 9, 2011 tar xvfz pycrypto.tar.gz Or you could open in 7zip and copy over to flash drive Or if you have Midnight Commander installed, highlight the file (right click) then hit F2 then scroll down to untar (or press 'z'). Quote Link to comment
dsmitty166 Posted May 9, 2011 Share Posted May 9, 2011 tar xvfz pycrypto.tar.gz Or you could open in 7zip and copy over to flash drive That's what I have been doing, but I switched computers, and I don't have the correct permissions on this one... Quote Link to comment
dsmitty166 Posted May 9, 2011 Share Posted May 9, 2011 OK! IT Says it was successfully created!!! Now what? lol Quote Link to comment
dsmitty166 Posted May 9, 2011 Share Posted May 9, 2011 tar xvfz pycrypto.tar.gz Or you could open in 7zip and copy over to flash drive Or if you have Midnight Commander installed, highlight the file (right click) then hit F2 then scroll down to untar (or press 'z'). Wow, that's sweet to know about mc! Quote Link to comment
dsmitty166 Posted May 9, 2011 Share Posted May 9, 2011 I'm still getting this: root@tower:/mnt/cache/.pyload# root@tower:/mnt/cache/.pyload# -bash: root@tower:/mnt/cache/.pyload#: No such file or directory Quote Link to comment
MTA99 Posted May 9, 2011 Share Posted May 9, 2011 OK! IT Says it was successfully created!!! Now what? lol Navigate to /tmp/SBO/ there you'll find the pycrypto package. Install it. Then try building the pycurl package again. You need pycurl to run pyload. Once we get a working pycurl package you'll be good to go Quote Link to comment
dsmitty166 Posted May 9, 2011 Share Posted May 9, 2011 OK! IT Says it was successfully created!!! Now what? lol Navigate to /tmp/SBO/ there you'll find the pycrypto package. Install it. Then try building the pycurl package again. You need pycurl to run pyload. Once we get a working pycurl package you'll be good to go Can you tell me what file to run here? root@tower:/tmp# ls SBo/ array_status crontab disk_not_normal hsperfdata_root/ mc-root/ pycrypto-2.1.0-i486-1_SBo.tgz root@tower:/tmp# cd SBo root@tower:/tmp/SBo# ls package-pycrypto/ pycrypto-2.1.0/ root@tower:/tmp/SBo# Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.