LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   program installations (https://www.linuxquestions.org/questions/linux-newbie-8/program-installations-316489/)

trey31357 04-23-2005 05:15 PM

program installations
 
Am really enjoying Linux so far, but am having difficulty making use of the programs I try to install. The first program I tried to install was LimeWire, from the RPM file. It seemed to install fine, and placed an icon under the Internet menu. However, when I click to open it, it doesn't. The hourglass spins a few seconds and then the window simply closes.

The next program I attempted to install was f-prot antivirus. This, too, was installed from an RPM. The terminal told me that it installed fine, but it's existence on my computer is not apparent to me. I can not find any files related to the program, and it placed no icon under any menu to aid me in using it. Thus, I can't make use of that program. Here is the output from the install:

[root@localhost trey]# cd /home/trey/programs
[root@localhost programs]# rpm -Uvh fp-linux-ws.rpm
Preparing... ########################################### [100%]
package fp-linux-ws-4.5.4-1 is already installed

Ha, I wouldn't know it.

The last program I have had issues with is XMMS. This I tried to install from a tar.gz file. I unpacked the file successfully, and I attempted the routine ./configure, make, make install process. However, I got an error I don't understand while trying to configure the program. I also could not find a read me file in the untarred folder...if any one can help me with the programs I would be grateful. The output from XMMS is as follows:

[root@localhost programs]# cd /home/trey/programs/xmms-kde-3.1
[root@localhost xmms-kde-3.1]# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

I will also post parts of my config.log file that seem applicable, the whole thing is rather large to post.

## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /home/trey/programs/xmms-kde-3.1/admin/missing --run aclocal-1.7'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /home/trey/programs/xmms-kde-3.1/admin/missing --run tar'
ARTSCCONFIG=''
AUTOCONF='${SHELL} /home/trey/programs/xmms-kde-3.1/admin/missing --run autoconf'
AUTODIRS=''
AUTOHEADER='${SHELL} /home/trey/programs/xmms-kde-3.1/admin/missing --run autoheader'
AUTOMAKE='${SHELL} /home/trey/programs/xmms-kde-3.1/admin/missing --run automake-1.7'
AWK='gawk'
CC=''
CCDEPMODE=''
CFLAGS=' '
CONF_FILES=' $(top_srcdir)/./admin/configure.in.min $(top_srcdir)/configure.in.in'
MAKEINFO='${SHELL} /home/trey/programs/xmms-kde-3.1/admin/missing --run makeinfo'

Thanks for any help in educating me in the proper way to install Linux programs.

mugstar 04-23-2005 05:33 PM

Quote:

configure: error: no acceptable C compiler found in $PATH
... is the problem. You have no compiler to compile the source code with. You need to install gcc. It should be on your distribution disc(s)

trey31357 04-24-2005 04:46 PM

Thanks mugstar, that was indeed a problem, I successfully obtained gcc 3.4 using Yum. However, I still got an error message, now a different one, when trying ot configure XMMS. Output is as follows:

checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

On another note, my LimeWire still won't open, and I used the "whereis" command in the terminal to find anything related to F-prot antivirus. The output was:

[root@localhost xmms-kde-3.1]# whereis f-prot
f-prot: /usr/local/bin/f-prot /usr/local/f-prot /usr/share/man/man1/f-prot.1

I was able to navigate in su mode as far as /usr/local/bin/f-prot, where f-prot was a .sh shell script file. Now I'm playing around in terminal, and just typed "f-prot," which I assumed it ran, and when I typed "f-prot info" it ran out a summary telling me I have no viruses. Funny how you can learn things just sitting and playing around, tell me if that is how my antivirus was suppose to work....and a curious question...do these antiviruses work in real-time to help prevent viruses? Random, I know. Thanks everyone for your help.

masonm 04-24-2005 05:28 PM

Quote:

Funny how you can learn things just sitting and playing around,
That's how most of us learn this stuff. :)

trey31357 04-25-2005 11:07 AM

So, I got the idea to type limewire into the terminal, and open it that way, and see if I got any error messages. When I did, I got this output:

Starting LimeWire...
Java exec found in PATH. Verifying...
Suitable java version found [java = 1.4.2_06]
Configuring environment...
Loading LimeWire:
java.lang.UnsatisfiedLinkError: /usr/lib/jre/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at sun.security.action.LoadLibraryAction.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.loadLibraries(Unknown Source)
at java.awt.Toolkit.<clinit>(Unknown Source)
at com.limegroup.gnutella.gui.Main.showInitialSplash(Main.java:52)
at com.limegroup.gnutella.gui.Main.main(Main.java:26)

******************************************************************
Something went wrong with LimeWire.
Maybe you're using the wrong version of Java?
(LimeWire is tested against and works best with with Sun's JRE, Java 1.4+)
The version of Java in your PATH is:
java version "1.4.2_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)

I tried to download libXp.so.6 using yum, but it told me
No Match for argument libXp.so.6
Nothing to do

I have the newest java installed....I'm at a loss for ideas.

zab 04-25-2005 12:21 PM

Greetings,

there are two ways to fix that issue. The preferred way is to upgrade to the latest java from http://www.java.com, but make sure you uninstall the java you have now first.

However, if you installed java with yum and don't feel confident about doing the upgrade manually, simply type
"yum install xorg-x11-deprecated-libs" in a terminal and that will get Limewire running. The other way will make LimeWire look much nicer though :)

trey31357 04-25-2005 03:44 PM

Thanks for that, right now I'll just install that library from yum, but your response prompted something that I would like to explore.....how exactly can I uninstall programs? I've looked for the readme's to particular programs to explain this to no avail, and it seems that the Red Hat Package Manager only deals with development tools,. etc, that was put on the initial install. Thank you though, Zlatin, that did get the LimeWire program working...and it looks nice enough to me :).

dosnlinux 04-25-2005 03:59 PM

Not exactly sure how yum installs stuff, but in most case you can just delete the folder and any .program_name folders in your home directory:)

In some cases if you installed the file using the
Code:

./configure
make
make install

there might be a
Code:

make uninstall
or
Code:

make clean
just check the make file for something with clean in it and see if it does what you want

trey31357 04-27-2005 11:54 PM

Just a post of thanks to Zlatin, I did get my LimeWire up and running. I'll give dosnlinux's method of uninstalling a try when I get the chance, I appreciate the suggestion. Also figured out all the commands to correctly use f-prot antivirus. One of the few problems I still have right now, at least in the realm of programs, is the XMMS installation. I originally got an error of not having a C compiler, and following mugstar's advice, obtained and installed gcc 3.4. However, I now get the following error when I try to install XMMS:

checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

Thanks for any ideas on this matter.


All times are GMT -5. The time now is 08:47 PM.