Ciao a tutti,<br>ho un problema col pacchetto bbfreeze, che cerco di installare su una ubuntu9.04 con easy_install.<br><br>ebbene, il pacchetto bbfreeze sembrerebbe essere mal configurato (manca l&#39;opzione -lz per gcc, che associa i simboli della zlib al sorgente in corso di link), e il linker fallisce con una serie di &#39;unresolved symbol&#39;.<br>


<br>mi piacerebbe evitare di modificare il pacchetto stesso aggiungendo l&#39;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?<br>


<br>vi ringrazio in anticipo,<br>iago<br clear="all"><br>ps: in seguito l&#39;output di easy_install<br><br><span style="font-family: courier new,monospace;">nilleb@ly-qa-bellinux:~$ sudo easy_install bbfreeze</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">[sudo] password for nilleb: </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Searching for bbfreeze</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Reading <a href="http://pypi.python.org/simple/bbfreeze/">http://pypi.python.org/simple/bbfreeze/</a></span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Reading <a href="http://systemexit.de/bbfreeze/">http://systemexit.de/bbfreeze/</a></span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Best match: bbfreeze 0.96.5</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Downloading <a href="http://pypi.python.org/packages/source/b/bbfreeze/bbfreeze-0.96.5.tar.gz#md5=1e095cb403a91cc7ebf17a3c0906b03f">http://pypi.python.org/packages/source/b/bbfreeze/bbfreeze-0.96.5.tar.gz#md5=1e095cb403a91cc7ebf17a3c0906b03f</a></span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Processing bbfreeze-0.96.5.tar.gz</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">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</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">------ bbfreeze 0.96.5 configuration ------</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">PYTHONVERSION = python2.6</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">darwin = False</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">linker = gcc -pthread -Wl,-Bsymbolic-functions -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">platform = Linux-2.6.28-11-generic-i686-with-Ubuntu-9.04-jaunty</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">static_library = /usr/lib/python2.6/config/libpython2.6.a</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">symbolic_functions_bug = True</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">sys.executable = /usr/bin/python</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">sys.maxint = 0x7fffffff</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">sys.maxunicode = 0x10ffff</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">sys.version = 2.6.2 (release26-maint, Apr 19 2009, 01:56:41) </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">[GCC 4.3.3]</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">unix = True</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">win32 = False</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">-------------------------------------------</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">bbfreeze/getpath.c: In function ‘copy_absolute’:</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">bbfreeze/getpath.c:238: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">/usr/lib/python2.6/config/libpython2.6.a(posixmodule.o): In function `posix_tmpnam&#39;:</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">(.text+0x7ca): warning: the use of `tmpnam_r&#39; is dangerous, better use `mkstemp&#39;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">/usr/lib/python2.6/config/libpython2.6.a(posixmodule.o): In function `posix_tempnam&#39;:</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">(.text+0x8cf): warning: the use of `tempnam&#39; is dangerous, better use `mkstemp&#39;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function `PyZlib_decompressobj&#39;:</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">(.text+0x322): undefined reference to `inflateInit2_&#39;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function `PyZlib_decompress&#39;:</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">(.text+0x4e8): undefined reference to `inflateInit2_&#39;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function `PyZlib_decompress&#39;:</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">(.text+0x4ff): undefined reference to `inflateEnd&#39;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function `PyZlib_decompress&#39;:</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">(.text+0x573): undefined reference to `inflate&#39;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function `PyZlib_decompress&#39;:</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">(.text+0x5a9): undefined reference to `inflateEnd&#39;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function `PyZlib_decompress&#39;:</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">(.text+0x626): undefined reference to `inflateEnd&#39;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function `PyZlib_decompress&#39;:</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">(.text+0x6ba): undefined reference to `inflateEnd&#39;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function `PyZlib_decompress&#39;:</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">(.text+0x72d): undefined reference to `inflateEnd&#39;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function `PyZlib_crc32&#39;:</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">(.text+0x7c0): undefined reference to `crc32&#39;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function `PyZlib_compressobj&#39;:</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">(.text+0x8b6): undefined reference to `deflateInit2_&#39;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function `PyZlib_compress&#39;:</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">(.text+0xa83): undefined reference to `deflateInit_&#39;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function `PyZlib_compress&#39;:</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">(.text+0xab1): undefined reference to `deflateEnd&#39;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function `PyZlib_compress&#39;:</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">(.text+0xb0b): undefined reference to `deflate&#39;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function `PyZlib_compress&#39;:</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">(.text+0xb58): undefined reference to `deflateEnd&#39;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function `PyZlib_compress&#39;:</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">(.text+0xba4): undefined reference to `deflateEnd&#39;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function `PyZlib_adler32&#39;:</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">(.text+0xcc0): undefined reference to `adler32&#39;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function `PyZlib_unflush&#39;:</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">(.text+0xe74): undefined reference to `inflate&#39;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function `PyZlib_unflush&#39;:</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">(.text+0xf4f): undefined reference to `inflateEnd&#39;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function `PyZlib_objdecompress&#39;:</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">(.text+0x10c5): undefined reference to `inflate&#39;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function `PyZlib_objdecompress&#39;:</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">(.text+0x1155): undefined reference to `inflate&#39;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function `PyZlib_flush&#39;:</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">(.text+0x1465): undefined reference to `deflate&#39;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function `PyZlib_flush&#39;:</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">(.text+0x14c5): undefined reference to `deflate&#39;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function `PyZlib_flush&#39;:</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">(.text+0x15f7): undefined reference to `deflateEnd&#39;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function `PyZlib_objcompress&#39;:</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">(.text+0x172b): undefined reference to `deflate&#39;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function `PyZlib_objcompress&#39;:</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">(.text+0x178e): undefined reference to `deflate&#39;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function `Decomp_dealloc&#39;:</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">(.text+0x18d7): undefined reference to `inflateEnd&#39;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function `Comp_dealloc&#39;:</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">(.text+0x1957): undefined reference to `deflateEnd&#39;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function `PyZlib_copy&#39;:</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">(.text+0x1a09): undefined reference to `deflateCopy&#39;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">/usr/lib/python2.6/config/libpython2.6.a(zlibmodule.o): In function `PyZlib_uncopy&#39;:</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">(.text+0x1bf9): undefined reference to `inflateCopy&#39;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">collect2: ld returned 1 exit status</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">error: Setup script exited with error: command &#39;gcc&#39; failed with exit status 1</span><br style="font-family: courier new,monospace;"><br>-- <br>iago<br>0A4D0FDD<br>
<a href="http://www.nilleb.com" target="_blank">http://www.nilleb.com</a><br>