[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Migriting from qmake to autotools
From: |
Ralf Wildenhues |
Subject: |
Re: Migriting from qmake to autotools |
Date: |
Mon, 7 Mar 2005 10:39:24 +0100 |
User-agent: |
Mutt/1.4.1i |
* Juan Luis Baptiste wrote on Mon, Mar 07, 2005 at 09:50:29AM CET:
> On Mon 07 Mar 2005 02:46, Ralf Wildenhues wrote:
> >
> > Which Automake, g++ versions?
>
> automake 1.6.3
Quite old. Consider using 1.9.x. Should not be a showstopper for this
problem, though.
> 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.
I think that is a sign that AC_PROG_CXX is missing in configure.ac resp.
configure.in.
> > 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).
Try adding AC_PROG_CXX to configure.in.in, and then recreate the other
files.
*snip*
> > 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
> + 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
This looks just fine.
Regards,
Ralf