[Ilugc] Fwd: Compiling Problem...

  • From: thescriptdevil@xxxxxxxxx (Ashok Gautham)
  • Date: Tue Oct 14 12:01:46 2008

On Tue, Oct 14, 2008 at 10:21 AM, Zico <mailzico@xxxxxxxxx> wrote:

---------- Forwarded message ----------
From: rawhide09 <rawhide09@xxxxxxxxx>
Date: Sat, Oct 4, 2008 at 12:55 AM
Subject: Compiling Problem...



 hi ,
I download *.tar.gz of every package for my fedora9 box.
I do use "yum" for most of the package. But, those who are not
available in yum , i need to download them manually.But, there is
a problem in compiling error in *.tar.gz.

suppose .. package pidgin.tar.gz

I do extract by command tar -zxvf pidgin.tar.gz in a directory.
then ./configure ( If there is a configure file)
then make
then make install

In this commands the package should compile properly.

But, there is error most of the packages..

example :
make[2]: Leaving directory `/root/Download/libmpeg2-0.5.1/vc++'

more example :

make[2]: Leaving directory `/root/Download/libmpeg2-0.5.1/src'
make[1]: Leaving directory `/root/Download/libmpeg2-0.5.1/src'
Making install in test
make[1]: Entering directory `/root/Download/libmpeg2-0.5.1/test'
make[2]: Entering directory `/root/Download/libmpeg2-0.5.1/test'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/Download/libmpeg2-0.5.1/test'
make[1]: Leaving directory `/root/Download/libmpeg2-0.5.1/test'
Making install in vc++
make[1]: Entering directory `/root/Download/libmpeg2-0.5.1/vc++'
make[2]: Entering directory `/root/Download/libmpeg2-0.5.1/vc++'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/Download/libmpeg2-0.5.1/vc++'
make[1]: Leaving directory `/root/Download/libmpeg2-0.5.1/vc++'
make[1]: Entering directory `/root/Download/libmpeg2-0.5.1'
make[2]: Entering directory `/root/Download/libmpeg2-0.5.1'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/Download/libmpeg2-0.5.1'
make[1]: Leaving directory `/root/Download/libmpeg2-0.5.1'

[ here i.. tried to instal libmpeg2 manually]


Hmmm.. What is the "error" here?? It seems normal!
In case a file has already been compiled, make will not recompile it. Also..
It need not compile certain files. That I suppose is the meaning of "nothing
to be done for" etc..

A small tip: do not make files as root.. The general way is to make as a
normal user and use the root user only to make install

You can create a local bin folder like /home/<username>/bin and then do a
./configure --prefix=/home/<username>/bin. Here both make and make install
can be done as a normal user.

Of course you need the following line in your .bashrc
PATH=${PATH}:/home/<username>/bin

in order to get the run it directly

Other related posts: