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= =20 enough to find out that Makefile.am has changed (of course this does not = work,=20 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=3D'dcopclient.cpp' object=3D'dcopclient.lo' libtool=3Dyes \ > depfile=3D'.deps/dcopclient.Plo' tmpdepfile=3D'.deps/dcopclient.TPlo' \ > depmode=3Dgcc /bin/sh ../admin/depcomp \ > /bin/sh ../libtool --silent --mode=3Dcompile g++ -DHAVE_CONFIG_H -I. -I= =2E -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=3D500 > -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-= new=20 > -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COM= PAT > -c -o dcopclient.lo `test -f 'dcopclient.cpp' || echo './'`dcopclient.c= pp > 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 repeate= d > the procedure I just described but without modifying any file (ie, skip= ping > the first step in the list above). The same error occurred, so I suppos= e > 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 <<