Configure script fails when building many ports (e.g. mozilla,spacehulk)
Hi, configure fails when I try to compile many applications (mozilla and spacehulk) for example. Same error whether using make or portupgrade. It seems that configure can't find (or doesn't like) certain libraries (in spacehulk's case: libXext.so) even though they are definitely there in /usr/X11R6/lib/. My questions: Is it a path problem? In which case what do I put where (.cshrc?) to fix it. Is it because my libraries got screwed / optimised or whatever? (they should be ok) Is it (ominously) something to do with pthreads as the config.log output seems to suggest. If so how can I fix that without clobbering java, openoffice, cocoon all of which I've just got working finally *sigh* etc. I tried once to understand the pthread discussions before - luckily my girlfriend had hidden the shotgun cartridges beforehand :-) Regards, DrSeuk P.S. I'm creating a thumbnail / screenshot gallery of most of the freebsd games ports which I hope to upload shortly if anyone's interested. - Everyone should have http://www.freedom2surf.net/ 0verkill-0.16 4va-1.21 9e-1.0 AbiWord-gnome-1.0.5 BitchX-1.0c19_3 FlightGear-0.9.1_3 GiNaC-1.0.14 Hermes-1.3.2_1 IglooFTP-0.6.1 ImageMagick-5.5.6 Mesa-3.4.2_2 ORBit-0.5.17 ORBit2-2.6.2 SimGear-0.3.1_2 Tk-FileDialog-1.3 XFree86-4.3.0,1 XFree86-FontServer-4.3.0_1 XFree86-Server-4.3.0_8 XFree86-clients-4.3.0_2 XFree86-documents-4.3.0 XFree86-font100dpi-4.3.0 XFree86-font75dpi-4.3.0 XFree86-fontCyrillic-4.3.0 XFree86-fontDefaultBitmaps-4.3.0 XFree86-fontEncodings-4.3.0 XFree86-fontScalable-4.3.0 XFree86-libraries-4.3.0_5 XFree86-manuals-4.3.0 Xaw3d-1.5 Xft-2.1.2 a2dev-1.2 a2ps-letter-4.13_2 aalib-1.4.r5_1 abuse-2.0_1 abuse_sdl-0.6.1 acm-5.0 acroread-3.02 acroread-4.05 acroread-5.06_1 adamem-1.0 adom-1.1.1 adonthell-0.3.3 afternoonstalker-1.0.3 afterstep-1.0_1 aleph-0.8.2 alephone-0.12.0 alephone-data-1.0 allegro-esound-4.0.2_2 amphetamine-0.8.10 amyc-0.9.159_2 angband-3.0.3 antipolix-2.1 apache+mod_ssl-1.3.27+2.8.14 apache-1.3.27_5 apache-ant-1.5.3.1 apache-contrib-1.0.8 apache-jserv-1.1.2_1 arc-5.21e.8_1 arj-3.10g arts-1.1.2,1 asclock-1.0 ascpu-1.9 asmem-1.8 asmon-0.60 asp2php-gtk-0.76.13 aspell-0.50.3_1 astime-2.8 atari800-1.3.0 atk-1.2.4 atr3d-0.6 aumix-gtk-2.8 autoconf-2.53_1 autoconf213-2.13.000227_5 autodia-1.6 automake-1.5,1 automake14-1.4.5_9 autotrace-0.31.1 avifile-0.7.34.20030319,2 backfract-1.1.2 bacon-1.071999 barrage-1.0.1 bash-2.05b.007 battalion-1.4 battleball-2.1 bgrot-1.30 bing-1.0.4 bluefish-0.7_1 bomberinstinct-0.8.9 bombermaze-0.6.6 bonobo-1.0.22 bonobo-activation-2.2.2,1 bpl+-1.0 british-ispell-3.1_1 brs-4.0 bsp-5.1 bugbuddy-2.0.8_1 bugsx-1.08 burgerspace-1.6.1 bzflag-1.7g.0 bzip-0.21 cabextract-0.6 cadubi-1.2 calc-2.11.5_1 calcoo-1.3.13 calctool-2.4.13 cave-1.0b cc65-2.9.1 cclient-2002c1_1,1 cdecl-2.5 cdparanoia-3.9.8_4 cflow-2.0 cgichk-2.60 chexedit-0.9.7 cingb-0.22A circuslinux-1.0.3 civ2demo-1.0 clanbomber-1.01a clanlib-0.4.4_1 cln-1.1.5 cmatrix-1.2a cmpsfont-1.0_1 cocoon-1.8.2_3 colortail-0.3.0_1 comclear-gtk-1.2 compat3x-i386-4.4.20020925 compat4x-i386-4.7 comserv-1.4.3 conquest-7.2 cowsay-3.03_1 cracklib-2.7_1 crafty-19.1 crafty-open-large-19960910 crawl-0.3_2 crimson-1.1.3_1 crimson-fields-0.3.0 criticalmass-0.97 crossfire-client-1.5.0 crossfire-server-1.5.0 cscope-15.4 css-mode-elisp-0.11 cube-2002.10.20 cups-base-1.1.18.0_5 cups-pstoraster-7.05.6 curl-7.10.5 cvsbook-1.21 cvsup-16.1h cvsutils-2003.02.03 cvswrap-0.2 cxsc-2.0b cybervrml97-1.0.6 dact-0.8.11_1 dagrab-0.3.5_1 darcnes-9b0401 db3-3.3.11,1 db4-4.0.14_1,1 ddd-3.3.1 decss-1.0 deepforest-1.0a defendguin-0.0.10 demoroniser-1.0 detex-2.7 dgen-sdl-1.22_1 diffutils-2.7 diveintopython-4.1 divxcalc-0.4a djbfft-0.76 docbook-sk-4.1.2 docbook-tdg-2.0.7 docbook-xml-4.2 docbook-xsl-1.61.2 dontspace-1.2 doom-1.8 doomlegacy-1.32b4 drm-1.0 drm-kmod-0.9.6 drweb-4.29.5 dte-6.12 dvi2tty-1.0 dvips2ascii-1.3 dviselect-1.3 dynamag-1.1 ecasound-2.0.4 eel-1.0.2_1 eel2-2.2.3.1 emacs-21.3 empire-1.4 enlightenment-0.16.5_6 enscript-letter-1.6.1_1 eps2png-1.7_1 epstool-3.0 esound-0.2.29 expat-1.95.6_1 exult-1.00 ezm3-1.1 falconseye-1.9.3 fam-2.6.9_2 farblazer-0.7 fastjar-0.90 fbsd-icons-1.0 festdoc-1.4.0.1 fileroller-2.2.3,1 finder-0.80.4 flac-1.1.0_2 flashplugin-mozilla-0.4.10_2 fli2gif-1.1_1 fnlib-0.5 fontconfig-2.2.0 fontilus-0.4 foobillard-2.6 fooseti-0.6.6_2 freebsd-games-5.0 freeciv-1.13.0 freefonts-0.10_1 freeglut-1.3 freenet-0.5.2.r1 freetype-1.3.1_2 freetype2-2.1.4_1 frodo-4.1a frontline-0.5.4 frozenbubble-0.9.3_2 gaddr-1.1.4 gail-1.2.1 gal-0.24 galaxis-1.4 galeon-1.2.10 gawk-3.1.1 gbackground-1.0.0 gbe-0.0.22 gcc-3.2.3 gcolor-0.4 gcompris-1.0.5 gconf-1.0.9_3 gconf2-2.2.1 gd-1.8.4_6 gdbm-1.8.3 gdk-pixbuf-0.22.0 gdm-2.2.5.5_1 geg-1.0.2 gemdropx-0.9 gengameng-4.1 gettext-0.11.5_1 gfe-0.0.4_1 ggv-1.0.2_2 ghex-1.2.1 ghostscript-gnu-7.06 ghostview-1.5 gimp-1.2.3_2,1 gimp-print-4.2.5 gkermit-1.0 gl-117-0.8.8 glade-0.6.4 glasteroids-1.0 glchess-0.4.7 gle-3.0.3
Re: Configure script fails when building many ports (e.g. mozilla,spacehulk)
On Wed, Jul 16, 2003 at 04:13:32PM +, [EMAIL PROTECTED] wrote: Hi, configure fails when I try to compile many applications (mozilla and spacehulk) for example. Same error whether using make or portupgrade. It seems that configure can't find (or doesn't like) certain libraries (in spacehulk's case: libXext.so) even though they are definitely there in /usr/X11R6/lib/. snip What does: ldconfig -r look like? -- Jez http://www.munk.nu/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Configure script fails when building many ports (e.g. mozilla,spacehulk)
My ldconfig -r is attached. - Everyone should have http://www.freedom2surf.net/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Configure script fails when building many ports (e.g. mozilla,spacehulk)
What does: ldconfig -r look like? -- Jez Hmm, the text attachment didn't get expanded through - like this: Cheers, Dr Seuk /var/run/ld-elf.so.hints: search directories: /usr/lib:/usr/lib/compat:/usr/X11R6/lib:/usr/local/lib:/usr/local/lib/compat:/usr/local/lib/mysql:/usr/local/lib/compat/pkg:/usr/local/lib/wine:/usr/local/lib/kde3 0:-lssl.3 = /usr/lib/libssl.so.3 1:-lssh.2 = /usr/lib/libssh.so.2 2:-lcalendar.2 = /usr/lib/libcalendar.so.2 3:-lmp.3 = /usr/lib/libmp.so.3 4:-lcom_err.2 = /usr/lib/libcom_err.so.2 5:-lcrypt.2 = /usr/lib/libcrypt.so.2 6:-lm.2 = /usr/lib/libm.so.2 7:-lmd.2 = /usr/lib/libmd.so.2 8:-lncurses.5 = /usr/lib/libncurses.so.5 9:-lradius.1 = /usr/lib/libradius.so.1 10:-lskey.2 = /usr/lib/libskey.so.2 11:-ltacplus.1 = /usr/lib/libtacplus.so.1 12:-lutil.3 = /usr/lib/libutil.so.3 13:-lalias.4 = /usr/lib/libalias.so.4 14:-latm.2 = /usr/lib/libatm.so.2 15:-lbz2.1 = /usr/lib/libbz2.so.1 16:-lc.4 = /usr/lib/libc.so.4 17:-lc_r.4 = /usr/lib/libc_r.so.4 18:-lcam.2 = /usr/lib/libcam.so.2 19:-ldevstat.2 = /usr/lib/libdevstat.so.2 20:-ledit.3 = /usr/lib/libedit.so.3 21:-lfetch.3 = /usr/lib/libfetch.so.3 22:-lform.2 = /usr/lib/libform.so.2 23:-lftpio.5 = /usr/lib/libftpio.so.5 24:-lipsec.1 = /usr/lib/libipsec.so.1 25:-lipx.2 = /usr/lib/libipx.so.2 26:-lmenu.2 = /usr/lib/libmenu.so.2 27:-lisc.1 = /usr/lib/libisc.so.1 28:-lkvm.2 = /usr/lib/libkvm.so.2 29:-lmilter.2 = /usr/lib/libmilter.so.2 30:-lncp.1 = /usr/lib/libncp.so.1 31:-lnetgraph.1 = /usr/lib/libnetgraph.so.1 32:-lopie.2 = /usr/lib/libopie.so.2 33:-lpam.1 = /usr/lib/libpam.so.1 34:-lpanel.2 = /usr/lib/libpanel.so.2 35:-lpcap.2 = /usr/lib/libpcap.so.2 36:-lposix1e.2 = /usr/lib/libposix1e.so.2 37:-lrpcsvc.2 = /usr/lib/librpcsvc.so.2 38:-lsmb.1 = /usr/lib/libsmb.so.1 39:-lgnuregex.2 = /usr/lib/libgnuregex.so.2 40:-lusbhid.0 = /usr/lib/libusbhid.so.0 41:-lvgl.2 = /usr/lib/libvgl.so.2 42:-lwrap.3 = /usr/lib/libwrap.so.3 43:-lxpg4.3 = /usr/lib/libxpg4.so.3 44:-lz.2 = /usr/lib/libz.so.2 45:-ldialog.4 = /usr/lib/libdialog.so.4 46:-lgmp.3 = /usr/lib/libgmp.so.3 47:-lhistory.4 = /usr/lib/libhistory.so.4 48:-lkadm.3 = /usr/lib/libkadm.so.3 49:-lreadline.4 = /usr/lib/libreadline.so.4 50:-lstdc++.3 = /usr/lib/libstdc++.so.3 51:-lg2c.1 = /usr/lib/libg2c.so.1 52:-lperl.3 = /usr/lib/libperl.so.3 53:-lcipher.2 = /usr/lib/libcipher.so.2 54:-lssl.2 = /usr/lib/libssl.so.2 55:-lusb.0 = /usr/lib/libusb.so.0 56:-lsbuf.2 = /usr/lib/libsbuf.so.2 57:-lacl.3 = /usr/lib/libacl.so.3 58:-lkafs.3 = /usr/lib/libkafs.so.3 59:-lkdb.3 = /usr/lib/libkdb.so.3 60:-lkrb.3 = /usr/lib/libkrb.so.3 61:-lcrypto.3 = /usr/lib/libcrypto.so.3 62:-lroken.4 = /usr/lib/libroken.so.4 63:-lasn1.4 = /usr/lib/libasn1.so.4 64:-lhdb.4 = /usr/lib/libhdb.so.4 65:-lkrb5.4 = /usr/lib/libkrb5.so.4 66:-lkadm5clnt.4 = /usr/lib/libkadm5clnt.so.4 67:-lkadm5srv.4 = /usr/lib/libkadm5srv.so.4 68:-lgssapi.4 = /usr/lib/libgssapi.so.4 69:-lcrypto.2 = /usr/lib/libcrypto.so.2 70:-ldes.3 = /usr/lib/libdes.so.3 71:-lalias.3 = /usr/lib/compat/libalias.so.3 72:-lc.3 = /usr/lib/compat/libc.so.3 73:-lc_r.3 = /usr/lib/compat/libc_r.so.3 74:-lcurses.2 = /usr/lib/compat/libcurses.so.2 75:-ldialog.3 = /usr/lib/compat/libdialog.so.3 76:-ledit.2 = /usr/lib/compat/libedit.so.2 77:-lf2c.2 = /usr/lib/compat/libf2c.so.2 78:-lfetch.1 = /usr/lib/compat/libfetch.so.1 79:-lftpio.4 = /usr/lib/compat/libftpio.so.4 80:-lg++.4 = /usr/lib/compat/libg++.so.4 81:-lhistory.3 = /usr/lib/compat/libhistory.so.3 82:-lmytinfo.2 = /usr/lib/compat/libmytinfo.so.2 83:-lncurses.3 = /usr/lib/compat/libncurses.so.3 84:-lreadline.3 = /usr/lib/compat/libreadline.so.3 85:-lss.2 = /usr/lib/compat/libss.so.2 86:-lstdc++.2 = /usr/lib/compat/libstdc++.so.2 87:-ltermcap.2 = /usr/lib/compat/libtermcap.so.2 88:-lutil.2 = /usr/lib/compat/libutil.so.2 89:-lvgl.1 = /usr/lib/compat/libvgl.so.1 90:-lwrap.2 = /usr/lib/compat/libwrap.so.2 91:-lxpg4.2 = /usr/lib/compat/libxpg4.so.2 92:-lcrypto.1 = /usr/lib/compat/libcrypto.so.1 93:-lfetch.2 = /usr/lib/compat/libfetch.so.2 94:-lssl.1 = /usr/lib/compat/libssl.so.1 95:-lXft.2 = /usr/X11R6/lib/libXft.so.2 96:-lGLU.1 = /usr/X11R6/lib/libGLU.so.1 97:-ldps.1 = /usr/X11R6/lib/libdps.so.1 98:-ldpstk.1 = /usr/X11R6/lib/libdpstk.so.1
Re: Configure script fails when building many ports (e.g. mozilla,spacehulk)
Sorry, my (text) attachments are behaving weirdly :-) ls /var/db/pkg is in my original post. Here's the config.log from spacehulk: Cheers, Dr Seuk This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:625: checking host system type configure:646: checking target system type configure:664: checking build system type configure:705: checking for a BSD compatible install configure:785: checking whether build environment is sane configure:842: checking whether gmake sets ${MAKE} configure:888: checking for working aclocal-1.4 configure:901: checking for working autoconf configure:914: checking for working automake-1.4 configure:927: checking for working autoheader configure:940: checking for working makeinfo configure:1046: checking for gcc configure:1159: checking whether the C compiler (cc -O3 -pipe ) works configure:1175: cc -o conftest -O3 -pipe -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib 15 configure:1201: checking whether the C compiler (cc -O3 -pipe ) is a cross-compiler configure:1206: checking whether we are using GNU C configure:1234: checking whether cc accepts -g configure:1267: checking how to run the C preprocessor configure:1380: checking for c++ configure:1412: checking whether the C++ compiler (c++ -O3 -pipe ) works configure:1433: rm -rf SunWS_cache; c++ -o conftest -O3 -pipe -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.C -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib 15 configure:1459: checking whether the C++ compiler (c++ -O3 -pipe ) is a cross-compiler configure:1464: checking whether we are using GNU C++ configure:1492: checking whether c++ accepts -g configure:1981: checking whether c++ supports -fno-exceptions configure:2039: checking whether c++ supports -fno-check-new configure:2097: checking whether c++ supports -fexceptions configure:2614: checking how to run the C++ preprocessor configure:2717: checking whether c++ supports -frepo configure:2970: checking for ld used by GCC configure:3038: checking if the linker (/usr/libexec/elf/ld) is GNU ld configure:3055: checking for /usr/libexec/elf/ld option to reload object files configure:3067: checking for BSD-compatible nm configure:3105: checking whether ln -s works configure:3126: checking how to recognise dependant libraries configure:3447: checking for ranlib configure:3514: checking for strip configure:3686: checking for Cygwin environment configure:3719: checking for mingw32 environment ltconfig:678:checking for cc option to produce PIC ltconfig:687:checking that cc PIC flag -fPIC -DPIC works. ltconfig:749: checking if cc static flag -static works ltconfig:780: finding the maximum length of command line arguments ltconfig:@lineno@: result: 36865 ltconfig:883: checking if cc supports -fno-rtti -fno-exceptions ltconfig:884: cc -c -O2 -O3 -pipe -fno-rtti -fno-exceptions -c conftest.c -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c 15 ltconfig:1423: checking if global_symbol_pipe works ltconfig:1424: cc -c -O2 -O3 -pipe -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c 15 ltconfig:1427: eval /usr/bin/nm -B conftest.o | sed -n -e 's/^.*[ ]\([ABCDGISTW]\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' conftest.nm ltconfig:1479: cc -o conftest -O2 -O3 -pipe -fno-builtin -fno-rtti -fno-exceptions -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c conftstm.o 15 ltconfig:1863: checking for dlfcn.h ltconfig:1902: checking whether a program can dlopen itself ltconfig:1976: checking whether a statically linked program can dlopen itself c++ -E conftest.cc ltconfig:678:checking for c++ option to produce PIC ltconfig:687:checking that c++ PIC flag -fPIC -DPIC works. ltconfig:697: c++ -c -O2 -O3 -pipe -fno-exceptions -fno-check-new -fPIC -DPIC -DPIC -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.cc 15 ltconfig:749: checking if c++ static flag -static works ltconfig:758: c++ -o conftest -O2 -O3 -pipe -fno-exceptions -fno-check-new -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H -static conftest.cc -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib 15 ltconfig:780: finding the maximum length of command line arguments ltconfig:@lineno@: result: 36865 ltconfig:883: checking if c++ supports -fno-rtti -fno-exceptions ltconfig:884: c++ -c -O2 -O3 -pipe -fno-exceptions -fno-check-new -fno-rtti -fno-exceptions -c conftest.cc -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.cc 15 ltconfig:1423: checking if global_symbol_pipe works ltconfig:1424: c++ -c -O2 -O3 -pipe -fno-exceptions
Re: Configure script fails when building many ports (e.g. mozilla,spacehulk)
On Wed, Jul 16, 2003 at 04:57:31PM +, [EMAIL PROTECTED] wrote: What does: ldconfig -r look like? -- Jez /var/run/ld-elf.so.hints: search directories: /usr/lib:/usr/lib/compat:/usr/X11R6/lib:/usr/local/lib:/usr/local/lib/compat:/usr/local/lib/mysql:/usr/local/lib/compat/pkg:/usr/local/lib/wine:/usr/local/lib/kde3 0:-lssl.3 = /usr/lib/libssl.so.3 snip so this line is right then: ? 257:-lXext.6 = /usr/X11R6/lib/libXext.so.6 Was just a hunch that perhaps a stray libXext lib got installed and was linked to the wrong place... but I guess not :( Perhaps find out what installs that library and try removing it? See if your install sees it not installed and attempts to install it again? No doubt there are a whole bunch of ports that rely on it though ;/ Not much help I'm afraid, good luck anyway. -- Jez http://www.munk.nu/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Configure script fails when building many ports (e.g. mozilla,spacehulk)
Jez, pkgdb /usr/X11R6/lib/libXext.so.6 indicates it comes from XFree86-libraries-4.3.0_5 - so yes, I guess quite a few ports may be affected ;-) The key bit seems to be the actually errors regarding libXext in the config.log file. There's a load of gubbins about pthreads (beyond me to be honest). Hmm! Thanks for your help. Dr Seuk Quoting Jez Hancock [EMAIL PROTECTED]: On Wed, Jul 16, 2003 at 04:57:31PM +, [EMAIL PROTECTED] wrote: What does: ldconfig -r look like? -- Jez /var/run/ld-elf.so.hints: search directories: /usr/lib:/usr/lib/compat:/usr/X11R6/lib:/usr/local/lib:/usr/local/lib/compat:/usr/local/lib/mysql:/usr/local/lib/compat/pkg:/usr/local/lib/wine:/usr/local/lib/kde3 0:-lssl.3 = /usr/lib/libssl.so.3 snip so this line is right then: ? 257:-lXext.6 = /usr/X11R6/lib/libXext.so.6 Was just a hunch that perhaps a stray libXext lib got installed and was linked to the wrong place... but I guess not :( Perhaps find out what installs that library and try removing it? See if your install sees it not installed and attempts to install it again? No doubt there are a whole bunch of ports that rely on it though ;/ Not much help I'm afraid, good luck anyway. -- Jez http://www.munk.nu/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Dr Seuk - Everyone should have http://www.freedom2surf.net/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]