From owner-freebsd-questions@FreeBSD.ORG Wed Jun 4 09:59:14 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 281F337B401 for ; Wed, 4 Jun 2003 09:59:14 -0700 (PDT) Received: from smtp-out.comcast.net (smtp-out.comcast.net [24.153.64.116]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74C2E43F3F for ; Wed, 4 Jun 2003 09:59:13 -0700 (PDT) (envelope-from jshamlet@comcast.net) Received: from alexandria (bgp01561290bgs.gambrl01.md.comcast.net [68.50.33.221]) by mtaout04.icomcast.net (iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003)) with ESMTP id <0HFY00I3BV3OVH@mtaout04.icomcast.net> for freebsd-questions@freebsd.org; Wed, 04 Jun 2003 12:57:25 -0400 (EDT) Date: Wed, 04 Jun 2003 12:57:24 -0400 (EDT) From: "J. Seth Henry" X-X-Sender: jshamlet@alexandria.gambrl01.md.comcast.net To: freebsd-questions@freebsd.org Message-id: <20030604125145.E4690@alexandria.gambrl01.md.comcast.net> MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Problem compiling the C/C++ reference for Kdevelop X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jun 2003 16:59:14 -0000 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. Thanks, Seth Henry