Ciao a tutti,
ho un problema col pacchetto bbfreeze, che cerco di installare su una
ubuntu9.04 con easy_install.

ebbene, il pacchetto bbfreeze sembrerebbe essere mal configurato (manca
l'opzione -lz per gcc, che associa i simboli della zlib al sorgente in corso
di link), e il linker fallisce con una serie di 'unresolved symbol'.

mi piacerebbe evitare di modificare il pacchetto stesso aggiungendo
l'opzione mancante, ma mi sembra che easy_install non possa passare opzioni
aggiuntive al pachetto. siete a conoscenza di qualche trucco che mi possa
permettere di spacchettare bbfreeze per fare cio?

vi ringrazio in anticipo,
iago

ps: in seguito l'output di easy_install

nil...@ly-qa-bellinux:~$ sudo easy_install bbfreeze
[sudo] password for nilleb:
Searching for bbfreeze
Reading http://pypi.python.org/simple/bbfreeze/
Reading http://systemexit.de/bbfreeze/
Best match: bbfreeze 0.96.5
Downloading
http://pypi.python.org/packages/source/b/bbfreeze/bbfreeze-0.96.5.tar.gz#md5=1e095cb403a91cc7ebf17a3c0906b03f
Processing bbfreeze-0.96.5.tar.gz
Running bbfreeze-0.96.5/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-z2_byt/bbfreeze-0.96.5/egg-dist-tmp-ljhCtM

------ bbfreeze 0.96.5 configuration ------
PYTHONVERSION = python2.6
darwin = False
linker = gcc -pthread -Wl,-Bsymbolic-functions -Xlinker -export-dynamic
-Wl,-O1 -Wl,-Bsymbolic-functions
platform = Linux-2.6.28-11-generic-i686-with-Ubuntu-9.04-jaunty
static_library = /usr/lib/python2.6/config/libpython2.6.a
symbolic_functions_bug = True
sys.executable = /usr/bin/python
sys.maxint = 0x7fffffff
sys.maxunicode = 0x10ffff
sys.version = 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
[GCC 4.3.3]
unix = True
win32 = False
-------------------------------------------

bbfreeze/getpath.c: In function ‘copy_absolute’:
bbfreeze/getpath.c:238: warning: ignoring return value of ‘getcwd’, declared
with attribute warn_unused_result
/usr/lib/python2.6/config/libpython2.6.a(posixmodule.o): In function
`posix_tmpnam':
(.text+0x7ca): warning: the use of `tmpnam_r' is dangerous, better use
`mkstemp'
/usr/lib/python2.6/config/libpython2.6.a(posixmodule.o): In function
`posix_tempnam':
(.text+0x8cf): warning: the use of `tempnam' is dangerous, better use
`mkstemp'
/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function
`PyZlib_decompressobj':
(.text+0x322): undefined reference to `inflateInit2_'
/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function
`PyZlib_decompress':
(.text+0x4e8): undefined reference to `inflateInit2_'
/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function
`PyZlib_decompress':
(.text+0x4ff): undefined reference to `inflateEnd'
/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function
`PyZlib_decompress':
(.text+0x573): undefined reference to `inflate'
/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function
`PyZlib_decompress':
(.text+0x5a9): undefined reference to `inflateEnd'
/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function
`PyZlib_decompress':
(.text+0x626): undefined reference to `inflateEnd'
/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function
`PyZlib_decompress':
(.text+0x6ba): undefined reference to `inflateEnd'
/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function
`PyZlib_decompress':
(.text+0x72d): undefined reference to `inflateEnd'
/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function
`PyZlib_crc32':
(.text+0x7c0): undefined reference to `crc32'
/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function
`PyZlib_compressobj':
(.text+0x8b6): undefined reference to `deflateInit2_'
/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function
`PyZlib_compress':
(.text+0xa83): undefined reference to `deflateInit_'
/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function
`PyZlib_compress':
(.text+0xab1): undefined reference to `deflateEnd'
/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function
`PyZlib_compress':
(.text+0xb0b): undefined reference to `deflate'
/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function
`PyZlib_compress':
(.text+0xb58): undefined reference to `deflateEnd'
/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function
`PyZlib_compress':
(.text+0xba4): undefined reference to `deflateEnd'
/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function
`PyZlib_adler32':
(.text+0xcc0): undefined reference to `adler32'
/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function
`PyZlib_unflush':
(.text+0xe74): undefined reference to `inflate'
/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function
`PyZlib_unflush':
(.text+0xf4f): undefined reference to `inflateEnd'
/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function
`PyZlib_objdecompress':
(.text+0x10c5): undefined reference to `inflate'
/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function
`PyZlib_objdecompress':
(.text+0x1155): undefined reference to `inflate'
/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function
`PyZlib_flush':
(.text+0x1465): undefined reference to `deflate'
/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function
`PyZlib_flush':
(.text+0x14c5): undefined reference to `deflate'
/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function
`PyZlib_flush':
(.text+0x15f7): undefined reference to `deflateEnd'
/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function
`PyZlib_objcompress':
(.text+0x172b): undefined reference to `deflate'
/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function
`PyZlib_objcompress':
(.text+0x178e): undefined reference to `deflate'
/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function
`Decomp_dealloc':
(.text+0x18d7): undefined reference to `inflateEnd'
/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function
`Comp_dealloc':
(.text+0x1957): undefined reference to `deflateEnd'
/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function
`PyZlib_copy':
(.text+0x1a09): undefined reference to `deflateCopy'
/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function
`PyZlib_uncopy':
(.text+0x1bf9): undefined reference to `inflateCopy'
collect2: ld returned 1 exit status
error: Setup script exited with error: command 'gcc' failed with exit status
1

-- 
iago
0A4D0FDD
http://www.nilleb.com
_______________________________________________
Python mailing list
Python@lists.python.it
http://lists.python.it/mailman/listinfo/python

Rispondere a