[tahoe-dev] n00b build problems on freebsd

Randy Bush randy at psg.com
Thu Jun 24 07:16:59 PDT 2010


>> src/SHA256.c: In function 'hash_digest':
>> src/SHA256.c:225: warning: passing argument 1 of 'hash_copy' discards qualifiers from pointer target type
>> src/SHA256.c: In function 'ALG_new':
>> src/SHA256.c:208: warning: passing argument 2 of 'sha_process' discards qualifiers from pointer target type
>> src/SHA256.c: In function 'ALG_update':
>> src/SHA256.c:208: warning: passing argument 2 of 'sha_process' discards qualifiers from pointer target type
>> In file included from src/libtom/tomcrypt.h:72,
>>                  from src/libtom/tomcrypt_des.c:11,
>>                  from src/DES.c:32:
>> src/libtom/tomcrypt_pk.h:502: error: conflicting types for 'wchar_t'
>> /usr/include/stdlib.h:58: error: previous declaration of 'wchar_t' was here
>> error: Setup script exited with error: command 'cc' failed with exit status 1
> 
> Looks like a bug in pycrypto.
> 
> This module is only being used by the Tahoe SFTP frontend, so if you
> don't need it yet, a possible workaround is to comment out the pycrypto
> dependency in file '_auto_deps.py' and the run the build again.

ok.  hacked.  now i get

Not found: tahoe-deps
Not found: ../tahoe-deps
running egg_info
writing requirements to src/allmydata_tahoe.egg-info/requires.txt
writing src/allmydata_tahoe.egg-info/PKG-INFO
writing top-level names to src/allmydata_tahoe.egg-info/top_level.txt
writing dependency_links to src/allmydata_tahoe.egg-info/dependency_links.txt
writing entry points to src/allmydata_tahoe.egg-info/entry_points.txt
reading manifest file 'src/allmydata_tahoe.egg-info/SOURCES.txt'
writing manifest file 'src/allmydata_tahoe.egg-info/SOURCES.txt'
running build_ext
Processing setuptools-0.6c15dev.egg
removing '/usr/local/src/net/allmydata-tahoe-1.7.0/support/lib/python2.6/site-packages/setuptools-0.6c15dev.egg' (and everything under it)
Copying setuptools-0.6c15dev.egg to /usr/local/src/net/allmydata-tahoe-1.7.0/support/lib/python2.6/site-packages
setuptools 0.6c15dev is already the active version in easy-install.pth
Installing easy_install script to support/bin
Installing easy_install-2.5 script to support/bin

Installed /usr/local/src/net/allmydata-tahoe-1.7.0/support/lib/python2.6/site-packages/setuptools-0.6c15dev.egg
Creating /usr/local/src/net/allmydata-tahoe-1.7.0/support/lib/python2.6/site-packages/allmydata-tahoe.egg-link (link to src)
allmydata-tahoe 1.7.0 is already the active version in easy-install.pth
Installing tahoe script to support/bin

Installed /usr/local/src/net/allmydata-tahoe-1.7.0/src
Processing dependencies for allmydata-tahoe==1.7.0
Searching for pycryptopp>=0.5.15
Reading http://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-dep-sdists/
Reading http://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-lafs-dep-eggs/
Best match: pycryptopp 0.5.19
Downloading http://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-dep-sdists/pycryptopp-0.5.19.tar.bz2
Processing pycryptopp-0.5.19.tar.bz2
Running pycryptopp-0.5.19/setup.py -q bdist_egg --dist-dir /tmp/easy_install-urIgya/pycryptopp-0.5.19/egg-dist-tmp-iFnphj
In file included from cryptopp/rijndael.cpp:78:
/usr/include/malloc.h:3:2: error: #error "<malloc.h> has been replaced by <stdlib.h>"
error: Setup script exited with error: command 'cc' failed with exit status 1


thanks for the help!

randy


More information about the tahoe-dev mailing list