Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Dec 1997 14:08:25 +0900
From:      Kazuhiko Kiriyama(System administrator) <kiri@kiri.toba-cmt.ac.jp>
To:        ports@FreeBSD.ORG
Subject:   Re: Can't compile kdelibs-2.1b
Message-ID:  <19971203140825Q.kiri@kiri.toba-cmt.ac.jp>
In-Reply-To: Your message of "Tue, 2 Dec 1997 22:25:34 -0500 (EST)" <Pine.BSF.3.96.971202222029.14372C-100000@localhost>
References:  <Pine.BSF.3.96.971202222029.14372C-100000@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
Thaks for rapid reply!

In Message-ID: <Pine.BSF.3.96.971202222029.14372C-100000@localhost>
Chuck Robey <chuckr@glue.umd.edu> wrote  :

> notice in the first group of errors above that there was a syntax error
> when it tried to get moc.  FreeBSD found it, but that configure script
> choked at that point.  moc is part of qt, and I don't know why kdelibs
> had trouble finding it ... but that's your problem.  Make sure your build
> of qt is up to date, and that moc is installed from it and in root's path.

I awared that, but I didn't tried to rewrite configure. Now rewrite
configure as 

--- work/kdelibs/configure~	Sun Nov 23 09:00:28 1997
+++ work/kdelibs/configure	Wed Dec  3 13:54:06 1997
@@ -4722,7 +4722,7 @@
 s%@qt_includes@%$qt_includes%g
 s%@QT_INCLUDES@%$QT_INCLUDES%g
 s%@QT_LDFLAGS@%$QT_LDFLAGS%g
-s%@MOC@%$MOC%g
+s%@MOC@%/usr/X11R6/bin/moc%g
 s%@kde_libraries@%$kde_libraries%g
 s%@kde_includes@%$kde_includes%g
 s%@KDE_LDFLAGS@%$KDE_LDFLAGS%g

and force moc path to /usr/X11R6/bin, but then build stoped ;-<

===>  Building for kdelibs-2.1b
make all-recursive
Making all in kdecore
/usr/X11R6/bin/moc kconfig.h -o kconfig.moc
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include/X11/qt   -O2 -Wall -c kconfig.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include/X11/qt -O2 -Wall -c -fPIC -DPIC kconfig.cpp
mv -f kconfig.o kconfig.lo
/usr/X11R6/bin/moc kconfigbase.h -o kconfigbase.moc
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include/X11/qt   -O2 -Wall -c kconfigbase.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include/X11/qt -O2 -Wall -c -fPIC -DPIC kconfigbase.cpp
In file included from kapp.h:108,
                 from kconfigbase.cpp:72:
drag.h:87: X11/X.h: No such file or directory
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.

> Maybe you want to make sure you're running the newest ports version of qt?

qt-1.31 is instaled from port qt-1.31(x11/qt)($Id: Makefile,v 1.14
1997/10/30 05:15:19 jkh Exp $).

> If you find that's the problem, you better tell the kde maintainer about
> it, so he can beef up the depends line in the kde makefile.

Maybe problems would be lied in my local environment, I think ^^;

Now I uses on "FreeBSD 2.2.5-STABLE #0: Sat Nov 29 04:55:16 JST 1997"
+ XFree86-3.3.1.
------------------------------------------------------------------------
KIRIYAMA Kazuhiko <kiri@kiri.toba-cmt.ac.jp>    Toba National College of 
                                                     Maritime Technology
                         Department of Electronic Mechanical Engineering



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