Date: Fri, 25 Oct 2002 17:25:38 -0400 From: Michael E Mercer <mmercer@nc.rr.com> To: freebsd-questions@freebsd.org Subject: configure scripts failing in ports looking for libXext Message-ID: <3DB9B6D2.2B2D3328@nc.rr.com>
next in thread | raw e-mail | index | archive | help
Hello, Has anyone came across this error and know how to fix it? Thanks Michael Mercer the ports are ksetispy, ksetiwatch, and uml. They all complain about not finding libXext. It is found in /usr/X11R6/lib directory. root on dual(ttyp5), 2002/10/24 Thu 14:55:32 /usr/ports > ls -l /usr/X11R6/lib/libXext* -rw-r--r-- 1 root wheel 72204 Oct 22 09:33 /usr/X11R6/lib/libXext.a lrwxr-xr-x 1 root wheel 12 Oct 22 09:33 /usr/X11R6/lib/libXext.so@ -> libXext.so.6 -rwxr-xr-x 1 root wheel 62684 Oct 22 09:33 /usr/X11R6/lib/libXext.so.6* output from configure... +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ root on dual(ttyp3), 2002/10/24 Thu 14:53:40 /usr/ports/devel/uml > make ===> Configuring for uml-1.0.3 /bin/mkdir -p /usr/ports/devel/uml/work/uml-1.0.3/auto-bin /bin/ln -sf /usr/local/bin/autoconf213 /usr/ports/devel/uml/work/uml-1.0.3/auto-bin/autoconf /bin/ln -sf /usr/local/bin/autoheader213 /usr/ports/devel/uml/work/uml-1.0.3/auto-bin/autoheader /bin/ln -sf /usr/local/bin/automake14 /usr/ports/devel/uml/work/uml-1.0.3/auto-bin/automake /bin/ln -sf /usr/local/bin/aclocal14 /usr/ports/devel/uml/work/uml-1.0.3/auto-bin/aclocal cd /usr/ports/devel/uml/work/uml-1.0.3 && env PATH=/usr/ports/devel/uml/work/uml-1.0.3/auto-bin:$PATH gmake -f Makefile.dist This Makefile is only for the CVS repository This will be deleted before making the distribution *** Creating acinclude.m4 !!! If you get recursion errors from autoconf, it is advisable to set the environment variable M4 to something including "--nesting-limit=500" *** Creating list of subdirectories *** Creating configure.in *** Creating aclocal.m4 *** Creating configure *** Creating config.h template *** Creating Makefile templates *** Postprocessing Makefile templates *** Creating date/time stamp *** Finished Don't forget to run ./configure If you haven't done so in a while, run ./configure --help loading cache ./config.cache checking host system type... i386-portbld-freebsd4.7 checking target system type... i386-portbld-freebsd4.7 checking build system type... i386-portbld-freebsd4.7 checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes checking whether gmake sets ${MAKE}... (cached) yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking for gcc... (cached) cc checking whether the C compiler (cc -O -pipe -w ) works... yes checking whether the C compiler (cc -O -pipe -w ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether cc accepts -g... (cached) yes checking for c++... (cached) c++ checking whether the C++ compiler (c++ -O -pipe -w ) works... yes checking whether the C++ compiler (c++ -O -pipe -w ) is a cross-compiler... no checking whether we are using GNU C++... (cached) yes checking whether c++ accepts -g... (cached) yes checking whether c++ supports -fno-exceptions... (cached) yes checking whether c++ supports -fno-check-new... (cached) yes checking whether c++ supports -fexceptions... (cached) yes checking how to run the C++ preprocessor... (cached) c++ -E checking whether c++ supports -frepo... (cached) yes checking for ld used by GCC... (cached) /usr/libexec/elf/ld checking if the linker (/usr/libexec/elf/ld) is GNU ld... (cached) yes checking for /usr/libexec/elf/ld option to reload object files... (cached) -r checking for BSD-compatible nm... (cached) /usr/bin/nm -B checking whether ln -s works... (cached) yes checking how to recognise dependant libraries... (cached) pass_all checking for ranlib... (cached) ranlib checking for strip... (cached) strip checking for Cygwin environment... (cached) no checking for mingw32 environment... (cached) no updating cache ./config.cache loading cache ./config.cache within ltconfig checking whether -lc should be explicitly linked in... (cached) no checking for objdir... .libs checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... (cached) yes checking if cc static flag -static works... (cached) yes finding the maximum length of command line arguments... (cached) 36865 checking if cc supports -c -o file.o... (cached) yes checking if cc supports -fno-rtti -fno-exceptions ... yes checking whether the linker (/usr/libexec/elf/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... freebsd4.7 ld.so checking command to parse /usr/bin/nm -B output... ok checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for dlfcn.h... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) no creating libtool updating cache ./config.cache loading cache ./config.cache loading cache ./config.cache within ltconfig checking host system type... i386-portbld-freebsd4.7 checking build system type... i386-portbld-freebsd4.7 ltcf-cxx: with_gcc=yes ; with_gnu_ld=yes checking for objdir... .libs checking for c++ option to produce PIC... -fPIC -DPIC checking if c++ PIC flag -fPIC -DPIC works... yes checking if c++ static flag -static works... yes finding the maximum length of command line arguments... (cached) 36865 checking if c++ supports -c -o file.o... (cached) yes checking if c++ supports -fno-rtti -fno-exceptions ... yes checking whether the linker (/usr/libexec/elf/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... freebsd4.7 ld.so checking command to parse /usr/bin/nm -B output... ok checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for dlfcn.h... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) no appending configuration tag "CXX" to libtool checking for object suffix... o checking for executable suffix... no checking for msgfmt... /usr/local/bin/msgfmt checking for gmsgfmt... /usr/local/bin/msgfmt checking for xgettext... /usr/local/bin/xgettext checking how to run the C preprocessor... cc -E checking for main in -lutil... yes checking for main in -lcompat... yes checking for crypt in -lcrypt... yes checking for socklen_t... socklen_t checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for inet_ntoa... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for res_init... yes checking for killpg in -lucb... no checking size of int... 4 checking size of long... 4 checking size of char *... 4 checking size of char... 1 checking for dlopen in -ldl... (cached) no checking for shl_unload in -ldld... no checking for extra includes... no checking for extra libs... added checking for libz... -lz checking for X... libraries /usr/lib, headers . checking for IceConnectionNumber in -lICE... yes checking for libXext... no configure: error: We need a working libXext to proceed. Since configure can't find it itself, we stop here assuming that make wouldn't find them either. ===> Script "configure" failed unexpectedly. Please report the problem to demon@FreeBSD.org [maintainer] and attach the "/usr/ports/devel/uml/work/uml-1.0.3/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). *** Error code 1 Stop in /usr/ports/devel/uml. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:632: checking host system type configure:653: checking target system type configure:671: checking build system type configure:730: checking for a BSD compatible install configure:810: checking whether build environment is sane configure:848: checking whether gmake sets ${MAKE} configure:894: checking for working aclocal configure:907: checking for working autoconf configure:920: checking for working automake configure:933: checking for working autoheader configure:946: checking for working makeinfo configure:1052: checking for gcc configure:1165: checking whether the C compiler (cc -O -pipe -w ) works configure:1181: cc -o conftest -O -pipe -w -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c -pthread -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib 1>&5 configure:1207: checking whether the C compiler (cc -O -pipe -w ) is a cross-compiler configure:1212: checking whether we are using GNU C configure:1240: checking whether cc accepts -g configure:1305: checking for c++ configure:1337: checking whether the C++ compiler (c++ -O -pipe -w ) works configure:1358: rm -rf SunWS_cache; c++ -o conftest -O -pipe -w -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.C -pthread -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib 1>&5 configure:1384: checking whether the C++ compiler (c++ -O -pipe -w ) is a cross-compiler configure:1389: checking whether we are using GNU C++ configure:1417: checking whether c++ accepts -g configure:1599: checking whether c++ supports -fno-exceptions configure:1628: checking whether c++ supports -fno-check-new configure:1657: checking whether c++ supports -fexceptions configure:1741: checking how to run the C++ preprocessor configure:1823: checking whether c++ supports -frepo configure:2017: checking for ld used by GCC configure:2085: checking if the linker (/usr/libexec/elf/ld) is GNU ld configure:2102: checking for /usr/libexec/elf/ld option to reload object files configure:2114: checking for BSD-compatible nm configure:2152: checking whether ln -s works configure:2173: checking how to recognise dependant libraries configure:2494: checking for ranlib configure:2561: checking for strip configure:2733: checking for Cygwin environment configure:2766: 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 -O -pipe -w -fno-rtti -fno-exceptions -c conftest.c -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c 1>&5 ltconfig:1423: checking if global_symbol_pipe works ltconfig:1424: cc -c -O2 -O -pipe -w -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c 1>&5 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 -O -pipe -w -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 1>&5 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 -O -pipe -w -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 1>&5 ltconfig:749: checking if c++ static flag -static works ltconfig:758: c++ -o conftest -O2 -O -pipe -w -fno-exceptions -fno-check-new -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H -static conftest.cc -pthread -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib 1>&5 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 -O -pipe -w -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 1>&5 ltconfig:1423: checking if global_symbol_pipe works ltconfig:1424: c++ -c -O2 -O -pipe -w -fno-exceptions -fno-check-new -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.cc 1>&5 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: c++ -o conftest -O2 -O -pipe -w -fno-exceptions -fno-check-new -fno-builtin -fno-rtti -fno-exceptions -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.cc conftstm.o 1>&5 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 configure:2913: checking for object suffix configure:2919: cc -c -O2 -O -pipe -w -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c 1>&5 configure:2939: checking for executable suffix configure:2949: cc -o conftest -O2 -O -pipe -w -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c -pthread -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib 1>&5 configure:2995: checking for msgfmt configure:3029: checking for gmsgfmt configure:3074: checking for xgettext configure:3119: checking how to run the C preprocessor configure:3140: cc -E -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c >/dev/null 2>conftest.out configure:3207: checking for main in -lutil configure:3222: cc -o conftest -O2 -O -pipe -w -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c -lutil -pthread -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib 1>&5 configure:3243: checking for main in -lcompat configure:3258: cc -o conftest -O2 -O -pipe -w -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c -lcompat -pthread -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib 1>&5 configure:3280: checking for crypt in -lcrypt configure:3299: cc -o conftest -O2 -O -pipe -w -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c -lcrypt -pthread -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib 1>&5 configure:3374: checking for socklen_t configure:3404: c++ -c -O2 -O -pipe -w -fno-exceptions -fno-check-new -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.C 1>&5 configure:3471: checking for dnet_ntoa in -ldnet configure:3490: cc -o conftest -O2 -O -pipe -w -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c -ldnet -pthread -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib 1>&5 /usr/libexec/elf/ld: cannot find -ldnet configure: failed program was: #line 3479 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dnet_ntoa(); int main() { dnet_ntoa() ; return 0; } configure:3512: checking for dnet_ntoa in -ldnet_stub configure:3531: cc -o conftest -O2 -O -pipe -w -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c -ldnet_stub -pthread -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib 1>&5 /usr/libexec/elf/ld: cannot find -ldnet_stub configure: failed program was: #line 3520 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dnet_ntoa(); int main() { dnet_ntoa() ; return 0; } configure:3553: checking for inet_ntoa configure:3581: cc -o conftest -O2 -O -pipe -w -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c -pthread -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib 1>&5 configure:3643: checking for connect configure:3671: cc -o conftest -O2 -O -pipe -w -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c -pthread -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib 1>&5 configure:3734: checking for remove configure:3762: cc -o conftest -O2 -O -pipe -w -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c -pthread -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib 1>&5 configure:3826: checking for shmat configure:3854: cc -o conftest -O2 -O -pipe -w -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c -pthread -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib 1>&5 configure:3918: checking for res_init configure:3946: cc -o conftest -O2 -O -pipe -w -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c -pthread -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib 1>&5 configure:4006: checking for killpg in -lucb configure:4025: cc -o conftest -O2 -O -pipe -w -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c -lucb -pthread -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib 1>&5 /usr/libexec/elf/ld: cannot find -lucb configure: failed program was: #line 4014 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char killpg(); int main() { killpg() ; return 0; } configure:4094: checking size of int configure:4113: cc -o conftest -O2 -O -pipe -w -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c -pthread -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib 1>&5 configure:4132: checking size of long configure:4151: cc -o conftest -O2 -O -pipe -w -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c -pthread -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib 1>&5 configure:4170: checking size of char * configure:4189: cc -o conftest -O2 -O -pipe -w -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c -pthread -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib 1>&5 configure:4208: checking size of char configure:4227: cc -o conftest -O2 -O -pipe -w -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c -pthread -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib 1>&5 configure:4248: checking for dlopen in -ldl configure:4292: checking for shl_unload in -ldld configure:4311: cc -o conftest -O2 -O -pipe -w -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c -ldld -pthread -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib 1>&5 /usr/libexec/elf/ld: cannot find -ldld configure: failed program was: #line 4300 "configure" config.log #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char shl_unload(); int main() { shl_unload() ; return 0; } configure:4340: checking for extra includes configure:4371: checking for extra libs configure:4405: checking for libz configure:4431: cc -o conftest -O2 -O -pipe -w -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c -L/usr/local/lib -lz 1>&5 configure:4461: checking for X configure:4500: cc -E -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c >/dev/null 2>conftest.out configure:4576: cc -o conftest -O2 -O -pipe -w -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c -lXt -pthread -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib 1>&5 configure:4750: checking for IceConnectionNumber in -lICE configure:4769: cc -o conftest -O2 -O -pipe -w -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H -L/usr/lib conftest.c -lICE -pthread -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib 1>&5 configure:4798: checking for libXext configure:4824: cc -o conftest -O2 -O -pipe -w -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H -L/usr/lib -L/usr/local/lib conftest.c -lXext -lX11 1>&5 /usr/libexec/elf/ld: cannot find -lXext configure: failed program was: #line 4810 "configure" #include "confdefs.h" #include <stdio.h> #ifdef STDC_HEADERS # include <stdlib.h> #endif int main() { printf("hello Xext\n"); ; return 0; } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DB9B6D2.2B2D3328>