[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: (Re)building kdelibs-3.1rc5 after modifying a Makefile.am
From:       Nicolas Goutte <nicolasg () snafu ! de>
Date:       2002-12-28 13:21:04
[Download RAW message or body]

You cannot use automake alone, as using automake is not enough.

Either you use (instead of your point 2):
make -f Makefile.cvs

Or you simply skip your points 2 and 3. KDE's build system is intelligent 
enough to find out that Makefile.am has changed (of course this does not work, 
if you would add a new directory.)

Have a nice day/evening/night!

On Saturday 28 December 2002 13:41, m.arriaga@netcabo.pt wrote:
> Hi everyone,
>
> I can build kdelibs-3.1rc5 on my system without any problems. However, now
> I need to rebuild it after having modified a Makefile.am (kio/Makefile.am).
> I tried the following:
>
> 1) edit kio/Makefile.am
> 2) automake
> 3) configure
> 4) make
>
> However, this results in the following compile error:
>
> make[3]: Entering directory `/downloads/kdelibs-3.1rc5/dcop'
> source='dcopclient.cpp' object='dcopclient.lo' libtool=yes \
> depfile='.deps/dcopclient.Plo' tmpdepfile='.deps/dcopclient.TPlo' \
> depmode=gcc /bin/sh ../admin/depcomp \
> /bin/sh ../libtool --silent --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I..
> -I../dcop -I../libltdl -I../kdecore -I../kdeui -I../kio -I../kio/kio
> -I../kio/kfile -I.. -I/usr/local/qt/include -I/usr/X11R6/include
> -I/opt/kde/include   -DQT_THREAD_SUPPORT  -D_REENTRANT   -Wnon-virtual-dtor
> -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith
> -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500
> -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new 
> -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT
> -c -o dcopclient.lo `test -f 'dcopclient.cpp' || echo './'`dcopclient.cpp
> dcopclient.cpp:1879: dcopclient.moc: No such file or directory
> make[3]: *** [dcopclient.lo] Error 1
> make[3]: Leaving directory `/downloads/kdelibs-3.1rc5/dcop'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/downloads/kdelibs-3.1rc5/dcop'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/downloads/kdelibs-3.1rc5'
> make: *** [all] Error 2
>
> After this happened I unpacked a new copy of kdelibs-3.1rc5 and repeated
> the procedure I just described but without modifying any file (ie, skipping
> the first step in the list above). The same error occurred, so I suppose
> that I must be doing something wrong somewhere else...
>
> How can I regenerate the Makefiles in kdelibs in such a way that the
> compilation process succeeds?
>
> Best wishes,
>
> Manuel
>
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
> >> unsubscribe <<


>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic