problem when dealing with tar.gz files on ubuntu
after extracting .tar.gz file and execute the following commands according to README instructions file :
./configure make make install ./configure command goes very fine ,but when i tried to execute both make & make install commands ,this msgs appear : 1-for make command: make: *** No targets specified and no makefile found. Stop. 2-for make install command: make: *** No rule to make target `install'. Stop. what should i do ? any help !! |
For make and make install commands, root privileges are needed. Did you run it as root (or with sudo)?
|
Quote:
You do NOT have to be root to execute make or even make install. In fact, there should be no reason to execute make as root; its a bad habit to get into so I recommend you not start. You only need to be root to install system-wide. You can also install in your $HOME which would not require root privileges. |
make file doesn't exist ,while make install file is already exist ,and I'm still can't execute make command !!
|
Then configure didn't go well after all. Rerun the configure script and pay close attention to the output.
|
Quote:
Code:
make Code:
# make install cheers, jdk |
What package are you trying to build? Did you check the md5sum after you downloaded the tarball?
If a Makefile doesn't exist, then configure didn't work or the file is corrupt and not working the way it should. That's, fundamentally, what the configure script is for...to create a Makefile from Makefile.in. You likely are seeing a script named install-sh. This is a script used to install the package components on systems that don't have the install command. So, rerun the configure script and pay close attention to the output. If you don't see anything obvious, post the last 20-30 lines of output from the configure script. |
here's the output :
Quote:
|
Code:
checking for intltool >= 0.35.0... ./configure: line 11237: intltool-update: command not found |
source with regular
Quote:
Learn something new every day. This, in fact, will make me less hesitant in the future to install source packages. In fact, I installed my favourite file manager, emelfm, just now (emelfm was in Etch, but not Lenny, for some reason -- but it's now in my desktop thanks to your post). |
Or, if you use ./configure's --prefix flag, you can install to anywhere, for example your home directory.
|
All times are GMT -5. The time now is 03:04 AM. |