LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-23-2005, 06:15 PM   #1
trey31357
Member
 
Registered: Apr 2005
Location: Birmingham, AL
Distribution: Win XP Pro / Slackware 10.1 dual-boot
Posts: 83

Rep: Reputation: 15
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.
 
Old 04-23-2005, 06:33 PM   #2
mugstar
Member
 
Registered: Jun 2004
Location: Scotland
Distribution: Anything that'll install...
Posts: 305

Rep: Reputation: 30
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)
 
Old 04-24-2005, 05:46 PM   #3
trey31357
Member
 
Registered: Apr 2005
Location: Birmingham, AL
Distribution: Win XP Pro / Slackware 10.1 dual-boot
Posts: 83

Original Poster
Rep: Reputation: 15
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.
 
Old 04-24-2005, 06:28 PM   #4
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Solus
Posts: 2,254

Rep: Reputation: 47
Quote:
Funny how you can learn things just sitting and playing around,
That's how most of us learn this stuff.
 
Old 04-25-2005, 12:07 PM   #5
trey31357
Member
 
Registered: Apr 2005
Location: Birmingham, AL
Distribution: Win XP Pro / Slackware 10.1 dual-boot
Posts: 83

Original Poster
Rep: Reputation: 15
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.
 
Old 04-25-2005, 01:21 PM   #6
zab
LQ Newbie
 
Registered: Mar 2005
Location: Big Apple
Distribution: FC
Posts: 12

Rep: Reputation: 0
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
 
Old 04-25-2005, 04:44 PM   #7
trey31357
Member
 
Registered: Apr 2005
Location: Birmingham, AL
Distribution: Win XP Pro / Slackware 10.1 dual-boot
Posts: 83

Original Poster
Rep: Reputation: 15
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 .
 
Old 04-25-2005, 04:59 PM   #8
dosnlinux
Member
 
Registered: Mar 2005
Distribution: slackware 11, arch 2007.08
Posts: 154

Rep: Reputation: 30
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
 
Old 04-28-2005, 12:54 AM   #9
trey31357
Member
 
Registered: Apr 2005
Location: Birmingham, AL
Distribution: Win XP Pro / Slackware 10.1 dual-boot
Posts: 83

Original Poster
Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
installations tableyou Linux - Newbie 3 10-18-2005 11:37 PM
Installations? newbsabott Linux - Newbie 2 06-22-2005 10:32 PM
Installations inescapeableus Linux - Newbie 15 02-21-2004 06:13 PM
Old installations raysr Linux - Newbie 3 02-15-2004 10:19 PM
What to do (Installations) ShoveIT Linux - Software 7 07-11-2003 01:53 PM


All times are GMT -5. The time now is 12:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration