LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   can't install many programs in Mandriva 2005 LE (https://www.linuxquestions.org/questions/mandriva-30/cant-install-many-programs-in-mandriva-2005-le-394123/)

sou.hassel 12-18-2005 06:15 AM

can't install many programs in Mandriva 2005 LE
 
Hi,

I installed Mandriva 2005 LE in my system (Intel Pentium 4 1.6 GHz ~ 1902 MHz). The matter is, I can't install many programs to the OS, e.g:

- I have an installation file of java development kit 1.5.0, (jdk15.bin). Previously in Mandrake 10.0 I installed it with command 'sh jdk15.bin' and the installation goes well. In Mandriva I did the same, but the OS didn't recognize the command 'java'. Am I missing something?

- I also tried to install an xmms package (xmms-1.2.10.tar.bz2), with 'tar xvfj xmms-1.2.10.tar.bz2'. After that I went to the directory 'xmms-1.2.10' and run 'sh configure'. The process stopped with 'cannot find GLIB => version 1.2.2'. Concerning this I then installed GLIB 2.4.8 (the './configure' and 'make' went on well), but the same error occured as I tried to configure the xmms. In Mandrake 10.0, I could install it well. Can anyone help?

Even so, I could at least install one package (zsnesl141.tar.tar) which for that I entered 'tar xvfz...' and it generated an executable file. It was at first not-able-to-run by double clicking it, but after I install a library (I forget what) it could then run properly.

Should I install many libraries first? In Mandrake 10.0 I could install them with those steps. Are there significant differences in these distros? :confused: :confused:

camorri 12-18-2005 06:33 AM

For XMMS and other commonly available programs, and since you have chosen Mandriva, why don't you make it easy on yourself and set up URPMI, Mandrivas package manager. You will find this much easier than trying to install the tar balls, and having to resolve ever dependence yourself.

Here is the link for setting it up.

http://www.mandrivausers.org/easyurpmi/index.php

Here is a how-to for java.

http://wiki.ehow.com/Install-Java-on-Linux

Hope this helps.

sou.hassel 12-23-2005 12:43 AM

Thank you, I am now going to find RPMs for that. :)

Btw, I still couldn't install the JDK, although I've followed the instructions on the link. I have added the command 'ln -s ..... ' to link the file '/jdk1.5.0/bin/java' to 'usr/bin/java' but it still doesn't work. :confused: What's wrong?

camorri 12-23-2005 09:21 AM

Do you have the simlink in the /usr/bin directroy? THat is where it need to be. It must point to the java installation on your system.

You can check the simlink by opening a konsole and going to the /usr/bin directory. Type 'file java' ( without the quotes ). If the simlink is correct, you should see something like this.

Quote:

file java
java: symbolic link to `/usr/java/jre1.5.0_02/bin/java'
The path displayed after the 'to' must match the path where the java installation is.

One other thougt, have you enabled java in your web browser? It is usually a configuration option.

Hope this helps.

tkedwards 12-27-2005 04:39 PM

Try installing the latest java RPM from java.com and following the instructions from there http://java.com/en/download/help/5000010500.xml#rpm

Quote:

- I also tried to install an xmms package (xmms-1.2.10.tar.bz2), with 'tar xvfj xmms-1.2.10.tar.bz2'. After that I went to the directory 'xmms-1.2.10' and run 'sh configure'. The process stopped with 'cannot find GLIB => version 1.2.2'.
You don't need to compile XMMS as you can easily get it using urpmi/RPMdrake as camorri pointed out. But if you ever do come across something you can't get from the Mandriva packages and have to compile then you need to install the -devel packages for whatever it complains about using urpmi/RPMdrake. So to get past the error you got you'd install glibc-devel.


All times are GMT -5. The time now is 01:31 AM.