-   Linux - Newbie (
-   -   Compiling Programs - Always Failing? (

mEo 04-30-2006 11:32 AM

Compiling Programs - Always Failing?

I am begining to understand now how Linux works with installing programs.

I have gotten the hang of RPM (easy :D), but I can't do the other type (./configure, make, make install)

I have tried to ./configure many applications and they have all failed. For example, I downloaded Xine (DVD Player). It was a tar.gz file. I extracted it (on my desktop, that's where I downloaded it to), opened up my console, typed cd (directory). I then typed ./configure. That seemed to go ok. I then did make which took forEVER. Once that was finally done, I typed make install and it came up with this:

meo@OUROWNNW1:~/Desktop/xine-lib-1.1.1/xine-lib-1.1.1> make install
Making install in doc
make[1]: Entering directory `/home/meo/Desktop/xine-lib-1.1.1/xine-lib-1.1.1/doc'
Making install in man
make[2]: Entering directory `/home/meo/Desktop/xine-lib-1.1.1/xine-lib-1.1.1/doc/man'
Making install in en
make[3]: Entering directory `/home/meo/Desktop/xine-lib-1.1.1/xine-lib-1.1.1/doc/man/en'
make[4]: Entering directory `/home/meo/Desktop/xine-lib-1.1.1/xine-lib-1.1.1/doc/man/en'
make[4]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/man/man1" || mkdir -p -- "/usr/local/man/man1"
 /usr/bin/install -c -m 644 './xine-config.1' '/usr/local/man/man1/xine-config.1'
/usr/bin/install: cannot create regular file `/usr/local/man/man1/xine-config.1': Permission denied
make[4]: *** [install-man1] Error 1
make[4]: Leaving directory `/home/meo/Desktop/xine-lib-1.1.1/xine-lib-1.1.1/doc/man/en'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory `/home/meo/Desktop/xine-lib-1.1.1/xine-lib-1.1.1/doc/man/en'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/meo/Desktop/xine-lib-1.1.1/xine-lib-1.1.1/doc/man'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/meo/Desktop/xine-lib-1.1.1/xine-lib-1.1.1/doc'
make: *** [install-recursive] Error 1

What is wrong, why does this come up on EVER PROGRAM i try to install and finally, how do I fix the problem?

Also, how do I view installed programs? I have Suse 10 KDE.

puntjuh 04-30-2006 11:35 AM

before doing make install you have to be root..


then do

make install

Sabinou 04-30-2006 03:48 PM

The reason behind this is that a program, when it's installed, is installed in the system folders, and as a single user you don't have access to those folders - for obvious security reasons.

With su (=superuser, i.e. root), you have root priviledge... but only log in as root when it's necessary, don't you even try to do the "./configure" and "make" steps as root, do them as simple user. You can enter "exit" to become simple user again in a root console.

mEo 04-30-2006 09:33 PM

Thanks a lot it seems to be working now! :D But one problem, where does it install it to? I can't seem to see it anywhere

mEo 04-30-2006 10:29 PM

can anyone help please?

btmiller 04-30-2006 11:19 PM

Looks like it installed into /usr/local so check /usr/local/bin for the executable.

mEo 04-30-2006 11:26 PM

I don't see an executable, i only see 4 files:,, and xine-config

mEo 05-01-2006 12:27 AM

anyone help please?

Sabinou 05-01-2006 03:58 AM

That should have installed the program in "bash" : bash is, so to say, a home of all program and script shortcuts. It's located in /usr/local/bin/ and /bin/. This way, you can run any program listed in those folders, from any folder with any user. If you have had xine installed, i'd bet that there's now a xine script in /usr/local/bin. Anyway, to make things simple, open a console and run "xine", you'll see if something starts running :)

Ynot Irucrem 05-01-2006 04:06 AM

You only installed xine-lib. If you want to actually play audio and video, you need a frontend like xine-ui, totem, or kaffeine.

By the way, which distribution are you using? There might be an easier way to install this, depending on your distro.

All times are GMT -5. The time now is 01:26 PM.