From owner-freebsd-ports Sat Dec 27 04:16:31 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id EAA25053 for ports-outgoing; Sat, 27 Dec 1997 04:16:31 -0800 (PST) (envelope-from owner-freebsd-ports) Received: from news1.gtn.com (news1.gtn.com [194.77.0.15]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id EAA25043; Sat, 27 Dec 1997 04:16:18 -0800 (PST) (envelope-from andreas@klemm.gtn.com) Received: (from uucp@localhost) by news1.gtn.com (8.8.6/8.8.6) with UUCP id NAA07247; Sat, 27 Dec 1997 13:15:05 +0100 (MET) Received: (from andreas@localhost) by klemm.gtn.com (8.8.8/8.8.7) id NAA13721; Sat, 27 Dec 1997 13:03:59 +0100 (CET) (envelope-from andreas) Message-ID: <19971227130358.47509@klemm.gtn.com> Date: Sat, 27 Dec 1997 13:03:58 +0100 From: Andreas Klemm To: Satoshi Asami Cc: kiri@kiri.toba-cmt.ac.jp, ports@FreeBSD.ORG, se@FreeBSD.ORG Subject: Re: Can't compile kdelibs-2.1b References: <19971209202501M.kiri@kiri.toba-cmt.ac.jp> <199712100027.QAA22584@silvia.HIP.Berkeley.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 In-Reply-To: <199712100027.QAA22584@silvia.HIP.Berkeley.EDU>; from Satoshi Asami on Tue, Dec 09, 1997 at 04:27:08PM -0800 X-Disclaimer: A free society is one where it is safe to be unpopular X-Operating-System: FreeBSD 3.0-CURRENT SMP Sender: owner-freebsd-ports@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Tue, Dec 09, 1997 at 04:27:08PM -0800, Satoshi Asami wrote: > * In additin to these changes, there must be add x11/kdebase to > * BUILD_DEPENDS with "graphics/Mesa". > > Really? It compiled here fine without Mesa. If you compile KDE with GL libraries (Mesa) then KDE makes use of it and includes some nice screensaver, with GL Support ;-) It looks like those from Windows NT, the exploding ball/spheres. Looks great and so I second that, Mesa should be installed before KDE ist being build. BTW, I also trapped into kdelibs build problems. a) my QT library will only be found in /usr/X11R6/lib if I apply the following patch to kdelibs/Makefile: =========================================================================== RCS file: /home/ncvs/ports/x11/kdelibs/Makefile,v retrieving revision 1.5 diff -u -r1.5 Makefile --- Makefile 1997/11/27 00:25:46 1.5 +++ Makefile 1997/12/27 11:14:44 @@ -25,7 +25,8 @@ CONFIGURE_ARGS= "--prefix=$(PREFIX)" \ "--x-inc=$(X11BASE)/include -I$(PREFIX)/include -I$(PREFIX)/include/giflib" \ "--x-lib=$(X11BASE)/lib -L$(PREFIX)/lib" \ - "--datadir=$(PREFIX)/share/kde" + "--datadir=$(PREFIX)/share/kde" \ + "--with-qt-dir=$(X11BASE)" CONFIGURE_ENV= CXXFLAGS="$(CFLAGS)" WRKSRC= ${WRKDIR}/kdelibs =========================================================================== b) After that giflib isn't found (sigh). I already contacted Stefan (Esser) and reported it to him, but now after debugging configure (set -x) I found out, that it's not a giflib 3.0 reference missing in configure, something other is wrong. The error message from configure "configure: error: You need giflib23. Please install the kdesupport package" is a bit misleading. The real cause for the error is, that for some reason the compilation of the conftest program fails. + eval echo configure:3923: "${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5" + echo configure:3923: g++ -o conftest -pipe -O -s conftest.C -L/usr/local/lib -L/usr/X11R6/lib -L/usr/X11R6/lib -L/usr/local/lib -lgif -lX11 1>&5 + echo configure: failed program was: + cat conftest.C + rm -rf conftest.C I think, that the test compilation failed ... but why ? -lgif looks allright anf the rest as well. My installed giflib 3.0 should be used without problems ... -rw-r--r-- 1 root wheel 32194 Dec 27 12:40 /usr/local/lib/libgif.a -rwxr-xr-x 1 root wheel 33708 Dec 27 12:40 /usr/local/lib/libgif.so.3.0 I'll try to use bash now for the configure script... [fiddle around] No difference.... tried both: a) used #! /usr/local/bin/bash in configure script (kdelibs) and b) used bash as /bin/sh temporariliy Compilation still fails :-/ Any idea ??? Andreas /// -- Andreas Klemm powered by ,,symmetric multiprocessor FreeBSD''