[tahoe-dev] n00b build problems on freebsd

Randy Bush randy at psg.com
Wed Jun 23 22:38:48 PDT 2010


> # uname -a
> FreeBSD work0.psg.com 8.0-STABLE FreeBSD 8.0-STABLE #8: Fri Mar 12 02:40:52 UTC 2010     root at work0.psg.com:/usr/obj/usr/src/sys/WORK0  amd64
> # python -V
> Python 2.5.5
> 
> # python setup.py build
> ...
> Running pycrypto-2.1.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-0uqI8B/pycrypto-2.1.0/egg-dist-tmp-5n0m9a
> Unable to execute darcs -- if you are building a package with 'setup.py sdist', 'setup.py bdist_egg', or other package-building commands, then the resulting package might be missing some files.  If you are not building a package then you can ignore this warning.
> warning: GMP library not found; Not building Crypto.PublicKey._fastmath.
> 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

fwiw, full log at http://archive.psg.com/setup.log

randy


More information about the tahoe-dev mailing list