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.

Lethe

Beginner

  • "Lethe" started this thread

Posts: 41

Location: Pompey, England

Occupation: IT network/sysadmin

  • Send private message

1

Friday, May 27th 2005, 1:59pm

Reset Konstruct to rebuild

Hi all,

I have finally got around to building KDE, and what a great job it is - and running 3.4 is really nice 8o

OK, what I need to know is how to reset Konstruct so that I can rebuild all the files in meta/kde/ without having to download them again (I wish to change the install location).

I have ran `make cleanbuild` in several directories, and it appears to do the job... but when I run `make install` again, I just get:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
bash-2.05b# make build
[===== NOW BUILDING:     kde-1  =====]
        [fetch] complete for kde.
        [checksum] complete for kde.
        [extract] complete for kde.
        [patch] complete for kde.
 ==> Building kde/kdebase as a dependency
 ==> Building kde/kdepim as a dependency
 ==> Building kde/kdenetwork as a dependency
 ==> Building kde/kdeartwork as a dependency
 ==> Building kde/kdeaccessibility as a dependency
 ==> Building kde/kdegraphics as a dependency
 ==> Building kde/kdemultimedia as a dependency
 ==> Building kde/kdegames as a dependency
 ==> Building kde/kdeaddons as a dependency
 ==> Building kde/kdeutils as a dependency
 ==> Building kde/kdeedu as a dependency
 ==> Building kde/kdetoys as a dependency
 ==> Building kde/kdesdk as a dependency
 ==> Building kde/kdewebdev as a dependency
 ==> Building kde/kdeadmin as a dependency
        [configure] complete for kde.
        [build] complete for kde.



and takes 2 seconds as opposed to 14 hours :D

Ideas how to reset it all to build from scratch?

Thanks,

Nick

Lethe

Beginner

  • "Lethe" started this thread

Posts: 41

Location: Pompey, England

Occupation: IT network/sysadmin

  • Send private message

2

Saturday, May 28th 2005, 10:59am

OK, I have fixed this - there is an error in the gar.mk makefile.

The lines:

Source code

1
2
buildclean:
        rm -rf $(WORKSRC) $(WORKDIR) $(EXTRACTDIR) $(SCRATCHDIR)-$(COOKIEDIR) $(SCRATCHDIR)-build *~


includes $(SCRATCHDIR)-$(COOKIEDIR) which expands to 'tmp-cookies'. This is incorrect, as the directories are called 'cookies'.

Fixing this line to just $(COOKIEDIR) really then does 'buildclean' and I am now rebuilding KDE without having to download the files again.

I have contacted the author/owner of Konstruct re this problem.

Nick