[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Migriting from qmake to autotools
From: |
Juan Luis Baptiste |
Subject: |
Re: Migriting from qmake to autotools |
Date: |
Mon, 7 Mar 2005 03:50:29 -0500 |
User-agent: |
KMail/1.7.2 |
On Mon 07 Mar 2005 02:46, Ralf Wildenhues wrote:
>
> Which Automake, g++ versions?
automake 1.6.3
autoconf 2.59
g++ 3.4.1
>
> > source='store/animation.cpp' object='animation.o' libtool=no \
> > depfile='.deps/animation.Po' tmpdepfile='.deps/animation.TPo' \
> > depmode=gcc3 /bin/sh ../admin/depcomp \
> > #>- g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt3//include
>
> ^^^
>
> Is this a cut'n'paste/email artefact?
> If not: How did that get there?
>
It's echoed into the screen when make is run.
> Do you have AC_PROG_CXX in your configure.ac?
>
I don't have a configure.ac script. I have a configure.in.in, and a
configure.in is created after running make -f Makefile.cvs (KDE autotools
stuff).
> > -I/usr/X11R6/include -I../src -DQT_THREAD_SUPPORT -D_REENTRANT
> > -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith
> > -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
> > -Wconversion -Wchar-subscripts -O2 -Wformat-security
> > -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -c
> > -o animation.o `test -f 'store/animation.cpp' || echo
> > './'`store/animation.cpp ../admin/depcomp: line 60: -MT: command not
> > found
> > make[2]: *** [animation.o] Error 127
>
> You could try calling depcomp with this line manually like this:
> $ source='store/animation.cpp' object='animation.o' libtool=no \
> depfile='.deps/animation.Po' tmpdepfile='.deps/animation.TPo' \
> depmode=gcc3 /bin/sh -x ../admin/depcomp \
> g++ [... rest of compile line ] \
>
> >depcomplog 2>&1
>
> (note the added `-x')
> and then post depcomplog (bzip2 if long).
>
+ test -z gcc3
+ test -z store/animation.cpp
+ test -z animation.o
+ depfile=.deps/animation.Po
+ tmpdepfile=.deps/animation.TPo
+ rm -f .deps/animation.TPo
+ test gcc3 = hp
+ test gcc3 = dashXmstdout
+ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt3//include
-I/usr/X11R6/include -I../src -DQT_THREAD_SUPPORT -D_REENTRAN
T -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith
-Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SO
URCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security
-Wmissing-format-attribute -fno-exceptions -fno-c
heck-new -fno-common -c -o animation.o store/animation.cpp -MT animation.o -MD
-MP -MF .deps/animation.TPo
+ stat=0
+ test 0 -eq 0
+ :
+ mv .deps/animation.TPo .deps/animation.Po
+ exit 0
Thanks,
--
Juan Luis Baptiste
http://www.merlinux.org
http://knetworkconf.sf.net
--
Juan Luis Baptiste
http://www.merlinux.org
http://knetworkconf.sf.net