From owner-freebsd-questions@FreeBSD.ORG Tue Dec 7 16:48:06 2004 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 3767416A4CE for ; Tue, 7 Dec 2004 16:48:06 +0000 (GMT) Received: from galilee.polands.org (CPE-24-208-53-189.new.rr.com [24.208.53.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A4C643D5D for ; Tue, 7 Dec 2004 16:48:05 +0000 (GMT) (envelope-from djp@polands.org) Received: from jericho.polands.org (jericho.polands.org [172.16.1.35]) by galilee.polands.org (8.12.9/8.12.9) with ESMTP id iB7Gm4RZ020620 for ; Tue, 7 Dec 2004 10:48:04 -0600 (CST) (envelope-from djp@polands.org) Received: from jericho.polands.org (localhost [127.0.0.1]) by jericho.polands.org (8.13.1/8.13.1) with ESMTP id iB7Gm3aU065300 for ; Tue, 7 Dec 2004 10:48:03 -0600 (CST) (envelope-from djp@jericho.polands.org) Received: (from djp@localhost) by jericho.polands.org (8.13.1/8.13.1/Submit) id iB7Gm3t0065299 for questions@freebsd.org; Tue, 7 Dec 2004 10:48:03 -0600 (CST) (envelope-from djp) Date: Tue, 7 Dec 2004 10:48:03 -0600 From: Doug Poland To: questions@freebsd.org Message-ID: <20041207164803.GA65267@polands.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6i Subject: compile errors on kdelibs-3.3.1 on 4.10-STABLE 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: Tue, 07 Dec 2004 16:48:06 -0000 Hello, I've got a 4.10-STABLE box on which I'm trying to install KDE-3.3.1. I performed a fresh cvsup of ports yesterday (06 Dec 04). Leading up to this build, I deinstalled all ports, then added: perl5.8, xorg This is where the kdelibs comile fails: c++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../dcop -I../../../kio/kssl -I../../../dcop -I../../../libltdl -I../../../kdefx -I../../../kdecore -I../../../kdeui -I../../../kio -I../../../kio/kio -I../../../kio/kfile -I../../.. -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include -D_THREAD_SAFE -pthread -DQT_THREAD_SUPPORT -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H -D_THREAD_SAFE -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O -pipe -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o kcookiejar.la.o kcookiejar.la.cpp /bin/sh ../../../libtool --silent --mode=link --tag=CXX c++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O -pipe -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -rpath=/usr/lib:/usr/local/lib -o kcookiejar -R /usr/local/lib -R /usr/X11R6/lib -R /usr/X11R6/lib -R /usr/local/lib -no-undefined -L/usr/X11R6/lib -D_THREAD_SAFE -pthread -L/usr/local/lib -L/usr/local/lib kcookiejar.la.o libkdeinit_kcookiejar.la -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib gmake[4]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.3.1/kioslave/http/kcookiejar' gmake[4]: Entering directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.3.1/kioslave/http' /usr/X11R6/bin/moc ./http.h -o http.moc source='http.cc' object='http.lo' libtool=yes \ DEPDIR=.deps depmode=gcc /bin/sh ../../admin/depcomp \ /bin/sh ../../libtool --silent --mode=compile --tag=CXX c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../dcop -I../../kio/kssl -I../../interfaces -I../../kio/httpfilter -I../../dcop -I../../libltdl -I../../kdefx -I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include -I/usr/include @INCLUDE_des@ -D_THREAD_SAFE -pthread -DQT_THREAD_SUPPORT -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H -D_THREAD_SAFE -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O -pipe -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o http.lo http.cc c++: cannot specify -o with -c or -S and multiple compilations gmake[4]: *** [http.lo] Error 1 gmake[4]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.3.1/kioslave/http' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.3.1/kioslave/http' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.3.1/kioslave' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.3.1' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/x11/kdelibs3. *** Error code 1 Stop in /usr/ports/x11/kdebase3. *** Error code 1 Stop in /usr/ports/x11/kde3. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall37657.0 make DEPENDS_TARGET=package ** Fix the problem and try again. ---> Build of x11/kde3 ended at: Tue, 07 Dec 2004 09:47:18 -0600 (consumed 00:38:31) ---> Fresh installation of x11/kde3 ended at: Tue, 07 Dec 2004 09:47:18 -0600 (consumed 00:38:31) ---> Listing the results (+:done / -:ignored / *:skipped / !:failed) ! x11/kde3 (unknown build error) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed ---> Session ended at: Tue, 07 Dec 2004 09:47:18 -0600 (consumed 00:38:58) It would seem the error: c++: cannot specify -o with -c or -S and multiple compilations is at the root of the problem, but I cannot find any info on why this is failing. I've tried the make three times. Thanks, in advance, for any assistance. -- Regards, Doug