LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   kconstruct tar question (https://www.linuxquestions.org/questions/linux-newbie-8/kconstruct-tar-question-241086/)

Gormless 10-10-2004 04:18 PM

kconstruct tar question
 
Ok, I downloaded kconstruct-stable.tar.bz2 and right now, its sitting in my documents folder. How do I go about using it now that I have downloaded it? Do I need to go about installing it in some way? I'm sorry, but I am really new to the way things work in Linux. If someone could please explain to me how to install things on Linux, that would be fantastic. Thanks!

Running on MandrakeLinux 10.0
KDE 3.2

Mara 10-11-2004 02:27 PM

It looks you have a source version. First make sure you have gcc and g++ installed (you can just run the commands from terminal and see if you get something different from 'command not found'. If that's the first program you have in that form, there's a big chance you need to install the programs. Just use your Mandrake tools and install all packages with name beginning with gcc and g++.

When it's done you need to unpack the file in a safe location (may be somewhere in your home dir). The commands:
cd /home/yourname/somewhere/you/have/the/file
tar xjvf kconstruct-stable.tar.bz2
A new directory (konstruct, probably) will be created. Then move to the new directory:
cd konstruct
(change the name if it's diffeent in your case)
Then compile the program:
./configure
make
make install

warning: to run the last command successfully you need to be root). So in fact it should be
./configure
make
su
(type your root password)
make install

You should now have Konstruct installed.

You may get error during the 'configure' stage. Read the messages carefully. It'll probably say that you don't have a library installed (giving you its name). If something like that happens, run the Mandrake tool to install packages, see if you have that library. The error is caused by you not having a libraryname-devel package. Install it and run configure again. Of course, if you don't have the library itself, install it with the devel package.

Gormless 10-11-2004 06:45 PM

Ok, thx alot Mara! Really appreciate the info! :)


All times are GMT -5. The time now is 05:44 PM.