Date: Wed, 4 Jun 2003 15:26:48 -0700 From: Joshua Oreman <oremanj@webserver.get-linux.org> To: "J. Seth Henry" <jshamlet@comcast.net> Cc: questions@freebsd.org Subject: Re: Problem compiling the C/C++ reference for Kdevelop Message-ID: <20030604222648.GA11327@webserver.get-linux.org> In-Reply-To: <20030604125145.E4690@alexandria.gambrl01.md.comcast.net> References: <20030604125145.E4690@alexandria.gambrl01.md.comcast.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jun 04, 2003 at 12:57:24PM -0400 or thereabouts, J. Seth Henry seemed to write: > I recently started playing around with Kdevelop 2.x on my server, and > found it much improved over the older releases. Getting into it, I decided > to download and compile the C/C++ reference documentation, and ran into a > snag. I'm not sure if it is because the configure script is having > problems running on a FreeBSD box or what, but here is what I get: > > alexandria# ./configure > checking build system type... i386-unknown-freebsd4.8 > checking host system type... i386-unknown-freebsd4.8 > checking target system type... i386-unknown-freebsd4.8 > checking for a BSD compatible install... /usr/bin/install -c > checking for -p flag to install... yes > checking whether build environment is sane... yes > checking for mawk... no > checking for gawk... no > checking for nawk... nawk > checking whether make sets ${MAKE}... yes > checking for style of include used by make... GNU > checking for gcc... gcc > checking for C compiler default output... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for executable suffix... > checking for object suffix... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking dependency style of gcc... gcc > checking for g++... g++ > checking whether we are using the GNU C++ compiler... yes > checking whether g++ accepts -g... yes > checking dependency style of g++... gcc > checking whether g++ supports -fno-exceptions... yes > checking whether g++ supports -fno-check-new... yes > checking whether g++ supports -fexceptions... yes > checking how to run the C++ preprocessor... g++ -E > checking whether g++ supports -frepo... yes > checking for ld used by GCC... /usr/libexec/elf/ld > checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes > checking for /usr/libexec/elf/ld option to reload object files... -r > checking for BSD-compatible nm... /usr/bin/nm -B > checking whether ln -s works... yes > checking how to recognise dependant libraries... pass_all > checking for ranlib... ranlib > checking for strip... strip > checking whether -lc should be explicitly linked in... (skipping, using > no) no > checking for objdir... .libs > checking for gcc option to produce PIC... -fPIC -DPIC > checking if gcc PIC flag -fPIC -DPIC works... yes > checking if gcc static flag -static works... yes > finding the maximum length of command line arguments... 36865 > checking if gcc supports -c -o file.o... yes > checking if gcc 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.8 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 dlopen in -ldl... no > checking for dlopen... yes > checking for dlfcn.h... yes > checking whether a program can dlopen itself... yes > checking whether a statically linked program can dlopen itself... no > creating libtool > updating cache /dev/null > checking host system type... i386-unknown-freebsd4.8 > checking build system type... i386-unknown-freebsd4.8 > ltcf-cxx: with_gcc=yes ; with_gnu_ld=yes > checking for objdir... .libs > checking for g++ option to produce PIC... -fPIC -DPIC > checking if g++ PIC flag -fPIC -DPIC works... yes > checking if g++ static flag -static works... yes > finding the maximum length of command line arguments... 36865 > checking if g++ supports -c -o file.o... yes > checking if g++ 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.8 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 dlopen in -ldl... no > checking for dlopen... yes > checking for dlfcn.h... yes > checking whether a program can dlopen itself... no > appending configuration tag "CXX" to libtool > 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... gcc -E > checking for ANSI C header files... yes > checking for sys/types.h... yes > checking for sys/stat.h... yes > checking for stdlib.h... yes > checking for string.h... yes > checking for memory.h... yes > checking for strings.h... yes > checking for inttypes.h... yes > checking for stdint.h... no > checking for unistd.h... yes > 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 for int... yes > checking size of int... 4 > checking for long... yes > checking size of long... 4 > checking for char *... yes > checking size of char *... 4 > checking for char... yes > checking size of char... 1 > checking for dlopen in -ldl... no > checking for shl_unload in -ldld... no > checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include > checking for IceConnectionNumber in -lICE... yes > checking for libXext... yes > checking for Xinerama... no > checking for extra includes... no > checking for extra libs... no > checking for libz... -lz > checking for libpng... no > checking for libjpeg6b... no > checking for libjpeg... no > configure: WARNING: > There is an installation error in jpeg support. You seem to have only one > of either the headers _or_ the libraries installed. You may need to either > provide correct --with-extra-... options, or the development package of > libjpeg6b. You can get a source package of libjpeg from > http://www.ijg.org/ > Disabling JPEG support. > > checking for Qt... configure: error: Qt (>= Qt 2.2.2) (libraries) not > found. Please check your installation! > For more details about this problem, look at the end of config.log. > alexandria# > > Now, I know that the jpeg libraries are present (I believe they are now > part of the base system) because I have compiled other software that > requires the libraries, and they found them just fine. Odd message, > though. It seems like it found parts of the libraries, but not others. > > As for the Qt libraries, well they should have been installed with KDE. > Sure enough, here is the pkg info in /var/db/pkg: > > alexandria# ls -l | grep qt > drwxr-xr-x 2 root wheel 512 May 31 21:49 qt-3.1.1_4 > > Has anyone managed to get this documentation installed? It's not critical, > as I have other C/C++ reference books (physical books) laying around, but > it would be nice to have an online version. I think you need to run: $ CFLAGS="$CFLAGS -L/usr/local/lib" ./configure It apparently is not seeing /usr/local/lib/lib{jpeg,qt}*.so*. Or, copy those libraries to /usr/lib [but this is an inelagant solution]. HTH, -- Josh > > Thanks, > Seth Henry > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030604222648.GA11327>