Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Dec 1997 13:03:58 +0100
From:      Andreas Klemm <andreas@klemm.gtn.com>
To:        Satoshi Asami <asami@cs.berkeley.edu>
Cc:        kiri@kiri.toba-cmt.ac.jp, ports@FreeBSD.ORG, se@FreeBSD.ORG
Subject:   Re: Can't compile kdelibs-2.1b
Message-ID:  <19971227130358.47509@klemm.gtn.com>
In-Reply-To: <199712100027.QAA22584@silvia.HIP.Berkeley.EDU>; from Satoshi Asami on Tue, Dec 09, 1997 at 04:27:08PM -0800
References:  <19971209202501M.kiri@kiri.toba-cmt.ac.jp> <199712100027.QAA22584@silvia.HIP.Berkeley.EDU>

next in thread | previous in thread | raw e-mail | index | archive | help
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''



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19971227130358.47509>