LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Use konstruct with already downloaded packages (https://www.linuxquestions.org/questions/linux-software-2/use-konstruct-with-already-downloaded-packages-167543/)

Danny Beaudoin 04-07-2004 09:24 PM

Use konstruct with already downloaded packages
 
Hi!

I've downloaded all night the packages needed for installing KDE 3.2.1 only to find out today that when I try to install KDE with konstruct it attempts to re-download them.

Is there a way to make konstruct use the packages already downloaded (for example kdebase-3.2.1.tar.bz2)?

Maybe I just need to put them in a directory like [...]/meta/everything/ or something like that (I tried with this one and the [...]/meta/everything/download/ one and it made no difference).

Also it could be an option in the "make" that I don't know.

Any help would be very appreciated!

Danny Beaudoin 04-10-2004 06:00 PM

Found it!
 
Hi!
Thanks anyway but I found out how last night.

It's very simple:
First you have to go in [...]/konstruct/kde. There you will see directories like kdebase. In each of those (except CVS) create a directory named download. Now put your downloaded files in their respective directories, for example: kdebase-3.2.1.tar.bz2 would go in [...]/konstruct/kde/kdebase/download .

By the way, by [...] I mean the directory where you installed konstruct.

I hope this can help somebody and if so please post a reply, I would be very happy!

:D

Danny Beaudoin 04-13-2004 12:32 PM

Here's the "real" way!
 
Hello again!

It seems I should have read the README a bit closer!:D Here's the real (and easier) way of doing it, although I'm convinced it will work both ways:

You need to edit the file 'gar.conf.mk' in [...]/konstruct , find the place where it says GARCHIVEDIR = <whatever> and replace <whatever> with the path to the directory where you downloaded the files.


(You can skip the following part, it's not important.)
-------------------------------------------------------------------------------

:study:
Here's what it says in the README:

Change gar.conf.mk to your liking. Some useful options are:
GARCHIVEDIR If you have already downloaded source tarballs set the path here.


And here's what is says in gar.conf.mk :

# The GARCHIVEDIR is a directory containing cached files. It can be created
# manually, or with 'make garchive' once you've started downloading required
# files (say with 'make paranoid-checksum'. Example:

GARCHIVEDIR = /mnt/hda4/kde


That's my path up there, I don't remember the default one.

I wonder if just setting GARCHIVEDIR to your path is enough or if you have to do that 'make garchive' thing, I guess not since it says you can create it manually.

------------------------------------------------------------------------------

Thanks for reading this! :)


All times are GMT -5. The time now is 08:38 AM.