Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Dec 2004 10:48:03 -0600
From:      Doug Poland <doug@polands.org>
To:        questions@freebsd.org
Subject:   compile errors on kdelibs-3.3.1 on 4.10-STABLE
Message-ID:  <20041207164803.GA65267@polands.org>

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



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