Error building python26[SOLVED]

Yannick CARISSAN yannick.carissan at univ-cezanne.fr
Mon Mar 2 08:51:44 PST 2009


Thank you for your help.
I cleaned my usr/local and it works now. I am sorry I used your time.

Yannick

> ----------------------------------------
> From: Bryan Blackburn <blb at macports.org>
> Sent: Sat Feb 28 23:51:39 CET 2009
> To: <macports-users at lists.macosforge.org>
> Subject: Re: Error building python26
> 
> 
> On Sat, Feb 28, 2009 at 07:51:09PM +0100, Yannick Carissan said:
> > yes, when python26 is cleaned, the problem stays :
> >
> 
> [...]
> >From the debug output:
> 
> 
> /usr/bin/install -c -m 644 ./Misc/python.man \
>         /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.6/share/man/man1/python.1
> *** WARNING: renaming "_struct" since importing it failed:
> dlopen(build/lib.macosx-10.5-i386-2.6/_struct.so, 2): Symbol not
> found: ___sysctl
>    Referenced from: /usr/local/lib/libgcc_s.1.dylib
>    Expected in: /usr/lib/libSystem.B.dylib
> 
> 
> It looks like you may have something in /usr/local (a gcc build perhaps)
> that is interferring with building.  There are quite a few similar warnings
> like this one, which eventually conclude in:
> 
> 
> Failed to build these modules:
> _bisect            _bsddb             _bytesio
> _CF                _CG                _codecs_cn
> _codecs_hk         _codecs_iso2022    _codecs_jp
> _codecs_kr         _codecs_tw         _collections
> _csv               _ctypes            _ctypes_test
> _curses            _curses_panel      _elementtree
> _fileio            _functools         _hashlib
> _heapq             _hotshot           _json
> _Launch            _locale            _lsprof
> _multibytecodec    _multiprocessing   _random
> _socket            _sqlite3           _ssl
> _struct            _testcapi          _tkinter
> _weakref           array              audioop
> autoGIL            binascii           bz2
> cmath              cPickle            crypt
> cStringIO          datetime           dbm
> dl                 fcntl              future_builtins
> gdbm               grp                imageop
> itertools          math               mmap
> nis                operator           parser
> pyexpat            readline           resource
> select             strop              syslog
> termios            time               unicodedata
> zlib
> 
> 
> It looks like most modules are failing to build because of it.
> 
> Bryan
> 
> [...]
> 
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


More information about the macports-users mailing list