You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Saturday, January 17th 2004, 5:21pm

Compiling CVS fails since new year

Hi, I've been compiling CVS anonymous updates since november daily. Usually only kdelibs, kdebase and some kdegraphics/ksvg.

Maybe two weeks ago KMail began crashing at startup, after a few days with hourly CVS updates the compilation started to fail. It looks like a Makefile is missing, it aborts saying something like "no .. found for target all".

Since then I've continued to update CVS regurarly and the same error has started to spread, now both Kopete and kdelibs fails, as well as several other locations. All with the same error.

Anyone knows what te problem might be and what I should do to fix it? Since I'm still on a *very old* distribution tweaked and updated with bleeding edge everywhere the system is a total chaos, e.g. kde CVS installs in /opt/kde3 (where Gnome-apps and some systemlibraries also are installed). So it.s all a djungle out there. And i don't kept a backup kmail working, which means I now check my mails with telnet (and I have a couple of houndreds mail on my POP3-account, worrying)


Cheers, hopes anyone can help me. (I've lately not been able to reach my computer for a CVS update, CVS is some days old now)
Aron Boström
»Pacta sunt servanda«

2

Saturday, January 17th 2004, 5:30pm

completing information

my system looks like:
KDEDIR=/opt/kde3
QTDIR=/opt/kde3
CC: gcc 3.3
QT: 3.2.3
GNU Make: 3.80

Ask for more, I can't really remember what is usefull for finding what's wring.
Aron Boström
»Pacta sunt servanda«

3

Saturday, January 17th 2004, 7:16pm

Re: Compiling CVS fails since new year

Quoted

Original von aron_boström

Maybe two weeks ago KMail began crashing at startup, after a few days with hourly CVS updates the compilation started to fail.

I experienced crashes of KMail, too. But after a clean update of kdelibs and kdebase everything worked again.
So the CVS KDE version itself is definitely *not* broken.
That would also be very surprising so close to the 3.2 release.

Quoted

Original von aron_boström


It looks like a Makefile is missing, it aborts saying something like "no .. found for target all".


When you're building from CVS, what steps do you take?
I usually do a
make -f Makefile.cvs (which regenerates the configure script)
configure <with my options> (which regenerates the Makefiles)
[make clean]
make
make install

In the first pass I skip the "make clean" step which works most of the time. If I get errors I start again with the "make clean".

And then there are situations where only a clean checkout will help because there are generated files laying around that are not deleted by any of the make targets. I had that case twice.
Maybe you want to try that...


Quoted

Original von aron_boström


Since I'm still on a *very old* distribution tweaked and updated with bleeding edge everywhere the system is a total chaos, e.g. kde CVS installs in /opt/kde3 (where Gnome-apps and some systemlibraries also are installed). So it.s all a djungle out there.

I cannot comment on that.

Quoted

Original von aron_boström


And i don't kept a backup kmail working, which means I now check my mails with telnet (and I have a couple of houndreds mail on my POP3-account, worrying)

That's something I learnt the hard way, too. ;-)

Cheers,
cm.

4

Saturday, January 17th 2004, 8:09pm

Actually I remember I haven't made a make -f Makefile.cvs for a month, could be the problem. Ooops. :-)

I fear a make clean, because my computer is really slow at compiling.

Perhaps I need to throw away a couple of days to get most things clean again. :-(

Thanks for the help.
Aron Boström
»Pacta sunt servanda«

5

Saturday, January 17th 2004, 8:29pm

Quoted

Original von aron_boström

Actually I remember I haven't made a make -f Makefile.cvs for a month, could be the problem. Ooops. :-)

I already guessed that, that's why I asked. :-)
I think that explains the missing Makefile ("no rule to make target all").

Quoted

Original von aron_boström

I fear a make clean, because my computer is really slow at compiling.

That's why I only do it when I run into problems.
If you have the disk space you could create a copy of
your $KDEDIR so you have a working version during the rebuild...

6

Saturday, January 17th 2004, 8:38pm

The funny thing is:
Your question made me check the logs of my last rebuild and kdegames didn't compile. Only a clean checkout of ksokoban made it build again.

7

Saturday, January 17th 2004, 8:48pm

Another note:
Depending on whether you want to have the development version or a stable one you maybe should consider using KDE_3_2_BRANCH because people will start to commit new and potentially unstable code into HEAD now.