Help compiling code for install
I have problems with installation of a program from the source code.
I've Downloaded this file: superkaramba-0.34.tar.gz. When I try to install it from the console this is what happens. I write: tar xzvf superkaramba-0.34.tar.gz then cd 'superkaramba 0.34/' Now when I try to run this line ./configure --prefix='kde-config --prefix' I have an: "unexpected error - absolut directory required" or something like that... What I am doing wrong??? Please help!!! :newbie: |
hoi, is that line " ./configure --prefix='kde-config --prefix' " from the INSTALL text-file that
came with the program...? ( looks strange to me ... ). egag |
Hmm.. that prefix part is wrong, and it's duplicated... just run ./configure.
|
with the --prefix=something you give the location where the compiled files are to be installed - this has to be a PATH - like: /usr/local or /usr or /opt/kde or so...
I think you or the instructions where trying to tell you to install this program into the same destination as all your other kde-applications Maybe there is a script called "kde-config" which gives the locatiion of those files but you can just as well give the location to install it in yourself - by giving the destination directory like: --prefix=/usr/local |
I've found the code on a magazine...
If I use ./configure it writes that there is an error... Maybe I have to try with --prefix=/usr/local |
it seems to require an absolute adress( dir. ), so the prefix should start with a ' / '
egag |
--prefix=/usr/local is the default.
|
if just issuing "./configure" - with no arguments - does not work, you would have to find the cause of the error
In this case configure uses default values (probably --prefix=/usr/local as serz said) - if it fails, there has to be another reason for error - you could post the error you are getting when you run ./configure with no extra arguments, if you cannot make anything out of what it tells you... |
I used ./configure prefix=/usr/local and it worked!
I used the make command and I got huge serie of errors... Last are: Error 1 and Error 2 !?!?!?!? Why????????? Anyone have an idea of what happened? |
Error 1 and Error 2 do not tell anybody anything besides the fact that they occured obviously...:D
usually the error-messages are somewhat descriptive - in your case make (more exactly gcc) probably complained about something missing it needs to compile the program - you would go from the (!) first error you receive - because that is the one causing all the others - if you cant make sense of it - please try to check your installation and use google and your distributions documentation before posting the error for someone to help you out. I suppose you get errors because you do not have some neccessary header-files installed - these are available for your distribution as ..somename-dev.rpm probably - whith -dev meaning development. You should read the Readme-file in the source-code you have as well as some good documentation on how to compile software - there are excellent links mentioned in this forum as well as in other forums on this site (Main Menu on the top right of each page) |
All times are GMT -5. The time now is 02:20 AM. |