On 2/15/13 6:29 PM, Alexander Hansen wrote: > On 2/15/13 5:04 PM, Robert Jansen wrote: >> Error message on OS X 1.7 with Xcode 4.6: >> ...... snip.... >> >> >> >> /sw/include/ncursesw/ncurses.h:209:34: note: expanded from macro >> 'NCURSES_CAST' >> #define NCURSES_CAST(type,value) (type)(value) >> ^~~~~~~~~~~~~ >> 1 warning generated. >> ld: warning: directory not found for option '-L/usr/X11R6/lib64' >> >> Failed to find the necessary bits to build these modules: >> bsddb185 dl imageop >> linuxaudiodev ossaudiodev spwd >> sunaudiodev >> To find the necessary bits, look in setup.py in detect_modules() for >> the module's name. >> (Fink package build should have 7 missing) >> >> >> Failed to build these modules: >> readline >> >> make: *** [sharedmods] Error 1
<snip> >> Also include the following system information: >> Package manager version: 0.34.5 >> Distribution version: selfupdate-rsync Sat Feb 16 00:55:55 2013, 10.7, >> x86_64 >> Trees: local/main stable/main stable/crypto unstable/main >> unstable/crypto local/injected >> Xcode.app: 4.6 >> Xcode command-line tools: 4.5.0.0.1.1249367152 >> Max. Fink build jobs: 8 >> >> Any ideas ? >> >> >> TIA >> >> Robert >> > > You've got a mismatched Xcode.app and command-line tools, but that's not > the problem. > > You snipped out the actual error, which is: > > ... > gcc -L/sw/lib/system-openssl/lib -L/sw/lib -o python \ > Modules/python.o \ > libpython2.6.dylib -ldl -Wl,-framework,CoreFoundation > /sw/src/fink.build/python26-2.6.8-2/Python-2.6.8/Modules/datetimemodule.c:616:19: > warning: > expression result unused [-Wunused-value] > PyObject_INIT(self, type); > ~~~~~~~~~~~~~~^~~~~~~~~~~ > /sw/src/fink.build/python26-2.6.8-2/Python-2.6.8/./Include/objimpl.h:157:69: > note: > expanded from macro 'PyObject_INIT' > ( Py_TYPE(op) = (typeobj), _Py_NewReference((PyObject *)(op)), (op) ) > ^ > /sw/src/fink.build/python26-2.6.8-2/Python-2.6.8/Modules/datetimemodule.c:631:19: > warning: > expression result unused [-Wunused-value] > PyObject_INIT(self, type); > ~~~~~~~~~~~~~~^~~~~~~~~~~ > /sw/src/fink.build/python26-2.6.8-2/Python-2.6.8/./Include/objimpl.h:157:69: > note: > expanded from macro 'PyObject_INIT' > ( Py_TYPE(op) = (typeobj), _Py_NewReference((PyObject *)(op)), (op) ) > ^ > 2 warnings generated. > ld: warning: directory not found for option '-L/usr/lib/termcap' > ld: in /usr/lib/libncurses.5.dylib, file was built for unsupported file > format ( 0xce 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 0 0x 3 0x 0 0x 0 0x 0 0x > 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (x86_64): > /usr/lib/libncurses.5.dylib for architecture x86_64 > clang: error: linker command failed with exit code 1 (use -v to see > invocation) > > This is something for the maintainer to fix. > I should have added that the system where I'm seeing this has Package manager version: 0.34.5 Distribution version: selfupdate-cvs Sat Feb 16 08:21:46 2013, 10.7, x86_64 Trees: stable/main local/main local/injected Xcode.app: 4.5.2 Xcode command-line tools: 4.5.0.0.1.1249367152 Max. Fink build jobs: 2 On 10.8 with the Xcode 4.6 command-line tools, it isn't present. Updating your command-line tools via the Xcode Preferences might get rid of this error. -- Alexander Hansen, Ph.D. Fink User Liaison My package updates: http://finkakh.wordpress.com/ ------------------------------------------------------------------------------ The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Fink-users mailing list [email protected] List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users
