On 10/30/13 12:28 PM, Thomas Grant wrote: > I attempted to rebuild tcltk first, but that didn't change anything as > you suspected. > > However, rebuilding python2.7 also failed with the following error: > > Python build finished, but the necessary bits to build these modules > were not found: > 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: > _tkinter > > make: *** [sharedmods] Error 1 > ### execution of /tmp/fink.E11bI failed, exit code 2 > ### execution of /tmp/fink.pV8XF failed, exit code 2 > Removing runtime build-lock... > Removing build-lock package... > /sw/bin/dpkg-lockwait -r fink-buildlock-python27-2.7.5-4 > (Reading database ... 253546 files and directories currently installed.) > Removing fink-buildlock-python27-2.7.5-4 ... > Failed: phase compiling: python27-2.7.5-4 failed > > I also attempted to rebuild tcltk--shlibs as Hanspeter recommended, > however, rebuilding python after that still failed with the above error. > > A search through all the setup.py files in /sw/* for those 7 modules > returned empty so they don't appear to be present there. From that list > of modules, the only ones that look to be important for my purposes are > bsddb185 and dl. > > Could it be that since it can't find dl, that it is unable to load the > dlopen() function? Is there a way to install those modules > independently? Maybe I can just download a fresh copy of python? Is > there a recommended way to do that? > > Tom > > > > -- > Thomas D. Grant, Ph.D. > Post-doctoral Scholar > Hauptman-Woodward Medical Research Institute > 700 Ellicott St. > Buffalo, NY 14203 > >
The message said: "(Fink package build should have 7 missing)", and I count 7 items there. :-) The error is somewhere else in the build. I'm guessing it might be in the section "building '_tkinter extension". I get the following: building '_tkinter' extension gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -fwrapv -O3 -Wall -Wstrict-prototypes -DWITH_APPINIT=1 -DWITH_BLT=1 -I/usr/X11R6/include -I. -IInclude -I./Include -I/sw/include -I/sw/src/fink.build/python27-2.7.5-4/Python-2.7.5/Include -I/sw/src/fink.build/python27-2.7.5-4/Python-2.7.5 -c /sw/src/fink.build/python27-2.7.5-4/Python-2.7.5/Modules/_tkinter.c -o build/temp.macosx-10.8-x86_64-2.7/sw/src/fink.build/python27-2.7.5-4/Python-2.7.5/Modules/_tkinter.o gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -fwrapv -O3 -Wall -Wstrict-prototypes -DWITH_APPINIT=1 -DWITH_BLT=1 -I/usr/X11R6/include -I. -IInclude -I./Include -I/sw/include -I/sw/src/fink.build/python27-2.7.5-4/Python-2.7.5/Include -I/sw/src/fink.build/python27-2.7.5-4/Python-2.7.5 -c /sw/src/fink.build/python27-2.7.5-4/Python-2.7.5/Modules/tkappinit.c -o build/temp.macosx-10.8-x86_64-2.7/sw/src/fink.build/python27-2.7.5-4/Python-2.7.5/Modules/tkappinit.o gcc -L/sw/lib -bundle /sw/src/fink.build/python27-2.7.5-4/Python-2.7.5/libpython2.7.dylib -L/sw/lib -L/sw/lib -I. -IInclude -I./Include -I/sw/include build/temp.macosx-10.8-x86_64-2.7/sw/src/fink.build/python27-2.7.5-4/Python-2.7.5/Modules/_tkinter.o build/temp.macosx-10.8-x86_64-2.7/sw/src/fink.build/python27-2.7.5-4/Python-2.7.5/Modules/tkappinit.o -L/usr/X11R6/lib64 -L/usr/X11R6/lib -L/sw/lib -lBLT -ltk8.5 -ltcl8.5 -lX11 -o build/lib.macosx-10.8-x86_64-2.7/_tkinter.so ld: warning: directory not found for option '-L/usr/X11R6/lib64' building '_ctypes' extension ... Check your log to see what you get there. -- Alexander Hansen, Ph.D. Fink User Liaison My package updates: http://finkakh.wordpress.com/ ------------------------------------------------------------------------------ Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk _______________________________________________ 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
