LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 01-21-2005, 01:59 PM   #1
Magicplayr2000
LQ Newbie
 
Registered: Jun 2004
Posts: 23

Rep: Reputation: 15
Can't install any applications


I havent' been able to get any application to install correctly yet. rpms haven't worked, tar.gz files haven't worked. There's been some error in making every single thing I've tried so far. I've posted about it in a few different places, but so far I haven't gotten any kind of answer. It's really kinda frustrating.

One of the most frustrating ones is this:
Code:
[root@localhost netmage-0.6.7]# make
[ -d ./classes/ ] || mkdir ./classes
cp -r images/ ./classes/
cp cards.dat ./classes/
cp README.txt ./classes/
cp COPYING ./classes/
javac CardHolder.java -d ./classes
Can't load library "/usr/local/jdk1.2.2/jre/lib/i386/libjava.so", because /usr/local/jdk1.2.2/jre/lib/i386/libjava.so: symbol __libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
Could not create the Java virtual machine.
make: *** [CardHolder.class] Error 1
No one's given me any kind of answer about what may be causing this.

Here's another:
Code:
[root@localhost mindless-1.4]# make
gcc -Wall -g `pkg-config gtk+-2.0 --cflags` -c mindless.c
/bin/sh: pkg-config: command not found
/bin/sh: gcc: command not found
make: *** [mindless.o] Error 127
I'm really at a loss for what to do. Any kind of help or advice or anything would be great.
 
Old 01-21-2005, 02:47 PM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
1. What is your distribution?
2. You don't have developmental packages installed (gcc: command not found, gcc = gnu c compiler), so you will have to install that before you can use source code.

I have Linux installed, now how do I work some stuff like some software and file managers?
# I can't figure out what software I want and how to install/uninstall it
The table of equivalents, replacements, analogs of Windows software in Linux
# Find software here
Freshmeat
Sourceforge
rpmfind
# Guides to software management
LNAG: 4.5 Package installation and rpm package manager
Rute Guide's software explanation
You might want to check out CheckInstall to manage source code installations/uninstallation

Last edited by fancypiper; 01-21-2005 at 02:56 PM.
 
Old 01-21-2005, 02:58 PM   #3
Magicplayr2000
LQ Newbie
 
Registered: Jun 2004
Posts: 23

Original Poster
Rep: Reputation: 15
I've got Fedora core 3. I'll flip through those links and try to find something. Thanks.
 
Old 01-21-2005, 03:07 PM   #4
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Maybe these will be more specific for you.

# Red Hat & Fedora links
FedoraNEWS.ORG
The Fedora HOWTO explains the different software managers.
Maximum RPM
rpmfind
Easier software management: apt4rpm - Red Carpet
Fedora Core 1 Tips and Tricks
Fedora Core 2 Tips and Tricks
Fedora Core 3 Tips and Tricks
apt, yum, and up2date repository settings (configuration files) for Fedora Core 3
# Handling NTFS
New Technology FileSystem (NTFS) HOWTOs
Linux NTFS project
 
Old 01-21-2005, 03:44 PM   #5
Magicplayr2000
LQ Newbie
 
Registered: Jun 2004
Posts: 23

Original Poster
Rep: Reputation: 15
I ended up getting a corrupt file error while extracting gcc.
 
Old 01-21-2005, 03:49 PM   #6
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Delete the tarball/rpm/whatever you downloaded, then (as root) try:

yum install gcc

Last edited by fancypiper; 01-21-2005 at 03:51 PM.
 
Old 01-22-2005, 02:57 PM   #7
ben_build#2.1.0
Member
 
Registered: Apr 2004
Distribution: Fedora Core 3
Posts: 240

Rep: Reputation: 30
Quote:
Originally posted by fancypiper
Delete the tarball/rpm/whatever you downloaded, then (as root) try:

yum install gcc
first you have to setup yum though.
 
Old 01-22-2005, 03:12 PM   #8
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
See previous post for the link to setting up yum.
 
Old 01-22-2005, 05:01 PM   #9
Magicplayr2000
LQ Newbie
 
Registered: Jun 2004
Posts: 23

Original Poster
Rep: Reputation: 15
I did what it said to put in the yum.conf file, and I got this:
Quote:
Setting up Install Process
Setting up Repo: livna-stable
http://rpm.livna.org/fedora/3/i386/y...ta/repomd.xml: [Errno 4] IOError: <urlopen error (110, 'Connection timed out')>
Trying other mirror.
Cannot open/read repomd.xml file for repository: livna-stable
failure: repodata/repomd.xml from livna-stable: [Errno 256] No more mirrors to try.

Last edited by Magicplayr2000; 01-22-2005 at 05:05 PM.
 
Old 01-22-2005, 05:39 PM   #10
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
I get a 404 for that as well. I kept backing up in the web browser until I found a yum directory. Try replacing that one url with this and see if it works:

http://rpm.livna.org/fedora/3/i386/yum/stable/

You could also try un-commenting (remove the preceeding #) some of the other repositories as I see some of the yum stuff has been removed from the ftp area and they suggest using some of the Red Hat mirrors in the README.

Also, report to the tips and tricks webmaster your results.

It might also be a good idea to subscribe to the fedora-list -- For users of Fedora Core releases

Last edited by fancypiper; 01-22-2005 at 05:49 PM.
 
Old 01-22-2005, 05:46 PM   #11
Magicplayr2000
LQ Newbie
 
Registered: Jun 2004
Posts: 23

Original Poster
Rep: Reputation: 15
Where do I put that URL? In the yum.conf file, there's a line that says livna-stable, do I replace the url there with that one?
 
Old 01-22-2005, 05:54 PM   #12
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Yes.
 
Old 01-22-2005, 06:02 PM   #13
Magicplayr2000
LQ Newbie
 
Registered: Jun 2004
Posts: 23

Original Poster
Rep: Reputation: 15
Still getting that error.
 
Old 01-22-2005, 06:16 PM   #14
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
You weren't very specific in telling what you just did (we can't read minds, much less than we can the text posted, at least).

Did you run up2date right after install (the blinking icon on the right side of the panel, IIRC, right after your install?

Did you try uncommenting other repositories?
 
Old 01-22-2005, 06:22 PM   #15
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Here is my /etc/yum.conf file (I am running Fedora Core 1 BTW) for your reference:
Code:
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=fedora-release
tolerant=1
exactarch=1
retries=20
                                                                                                                     
[base]
name=Fedora Core $releasever - $basearch - Base
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
                                                                                                                     
[updates-released]
name=Fedora Core $releasever - $basearch - Released Updates
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/
                                                                                                                     
[updates-testing]
name=Fedora Core $releasever - $basearch - Unreleased Updates
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/testing/$releasever/$basearch/
 
  


Reply



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
How do i install applications? computer eye Linux - Software 1 03-21-2005 04:35 AM
Install applications apffal Linux - General 3 11-09-2004 05:21 AM
How to install and then run new applications carjumble Linux - Newbie 5 12-24-2003 03:22 PM
Where to Install applications for all users? mmr_85 Linux - Newbie 3 10-16-2003 11:13 AM
Can't even install applications Murdoch Linux - Software 2 08-19-2003 07:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 04:47 AM.

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
Open Source Consulting | Domain Registration