Chris: Apparently python is detecting a sys/poll.h on your system - you can see this line in your build log
checking for sys/poll.h... yes I get a "no" for this, and hence my select.so builds fine. Do you have a bogus poll.h in /usr/include/sys or /usr/local/include/sys? -Jeff On Thu, 25 Apr 2002, Chris Devers wrote: > On Thu, 25 Apr 2002, Kilian Koepsell wrote: > > > building the select extension fails: > > > > > building 'select' extension > > > cc -g -O2 -Wall -Wstrict-prototypes -no-cpp-precomp -I. >-I/Volumes/Applications/GNUWare/Fink/src/python21-2.1.3-2/Python-2.1.3/./Include >-I/usr/local/include -IInclude/ -c >/Volumes/Applications/GNUWare/Fink/src/python21-2.1.3-2/Python-2.1.3/Modules/selectmodule.c > -o build/temp.darwin-5.4-PowerMacintosh-2.1/selectmodule.o > > > WARNING: building of extension "select" failed: command 'cc' failed with exit >status 1 > > > > this, of course, in not very helpful... > > :/ > > > > An hour of rebuilding later I get ...the exact same four lines of output. > > > > it might be a bit anoying, but the only thing i see you could do to get more > > information, is the following: > > [snip steps for keeping build dir] > > Done, and rebuilt. Still (of course) getting the wrong dpkg output: > > % dpkg -L python21 |grep select > /sw/lib/python2.1/test/output/test_select > /sw/lib/python2.1/test/test_select.py > /sw/lib/python2.1/test/test_select.pyc > /sw/lib/python2.1/test/test_select.pyo > > > - after one hour build time, go intt the directory > > /Volumes/Applications/GNUWare/Fink/src/python21-2.1.3-2/Python-2.1.3 > > and execute the compile command > > > > cc -g -O2 -Wall -Wstrict-prototypes -no-cpp-precomp -I. >-I/Volumes/Applications/GNUWare/Fink/src/python21-2.1.3-2/Pytho\n-2.1.3/./Include >-I/usr/local/include -IInclude/ -c >/Volumes/Applications/GNUWare/Fink/src/python21-2.1.3-2/Python-2.1.3\/Modules/selectmodule.c > -o build/temp.darwin-5.4-PowerMacintosh-2.1/selectmodule.o > > > > by hand. be careful to put everything in one line. > > Barring typos, ok. Results came back immediately (sorry, long lines): > > % cc -g -O2 -Wall -Wstrict-prototypes -no-cpp-precomp -I. >-I/Volumes/Applications/GNUWare/Fink/src/python21-2.1.3-2/Pytho\n-2.1.3/./Include >-I/usr/local/include -IInclude/ -c >/Volumes/Applications/GNUWare/Fink/src/python21-2.1.3-2/Python-2.1.3\/Modules/selectmodule.c > -o build/temp.darwin-5.4-PowerMacintosh-2.1/selectmodule.o > In file included from /usr/include/unistd.h:72, > from >/Volumes/Applications/GNUWare/Fink/src/python21-2.1.3-2/Python-2.1.3/Modules/selectmodule.c:22: > /usr/include/sys/unistd.h:87: warning: `_POSIX_THREADS' redefined > config.h:165: warning: this is the location of the previous definition > >/Volumes/Applications/GNUWare/Fink/src/python21-2.1.3-2/Python-2.1.3/Modules/selectmodule.c:27: > sys/poll.h: No such file or directory > % > > This doesn't quite match your output; the sys/poll.h may be significant. > > > it is really strange. especially since your python-2.2 package was able > > to compile the select extension... > > Yeah, I don't get it.... > > > -- > Chris Devers [EMAIL PROTECTED] > Apache / mod_perl / http://homepage.mac.com/chdevers/resume/ > > "More war soon. You know how it is." -- mnftiu.cc > > > -- Jeffrey S. Whitaker Phone : (303)497-6313 Meteorologist FAX : (303)497-6449 NOAA/OAR/CDC R/CDC1 Email : [EMAIL PROTECTED] 325 Broadway Web : www.cdc.noaa.gov/~jsw Boulder, CO, USA 80303-3328 Office : Skaggs Research Cntr 1D-124 _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users
