LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-06-2004, 08:59 AM   #1
keegan
Member
 
Registered: Jan 2004
Distribution: Redhat WS and VectorLinux
Posts: 41

Rep: Reputation: 15
RPM installs, but doesn't


heh, im stumped. My boss and i are playing with linux, and we're trying to access a Novell Netware server. I've downloaded and installed NovelClient, the suggested one, and i ran into some problems.

I was told to download a specific rpm with libraries and such, so i did, and i tried to install it, and it worked. However, the program doesnt work, and the rpm didn't actually install.

Here's what i did:

Quote:
[root@goober novelclient]# rpm -ivh compat-gcc-7.3-2.96.118.src.rpm
1:compat-gcc ########################################### [100%]
root@goober novelclient]# rpm -Vvv compat-gcc-7.3-2.96.118.src.rpm
D: opening db environment /var/lib/rpm/Packages joinenv
D: opening db index /var/lib/rpm/Packages rdonly mode=0x0
D: locked db index /var/lib/rpm/Packages
D: opening db index /var/lib/rpm/Name rdonly mode=0x0
package compat-gcc-7.3-2.96.118.src.rpm is not installed
D: closed db index /var/lib/rpm/Name
D: closed db index /var/lib/rpm/Packages
D: closed db environment /var/lib/rpm/Packages
As far as i can tell, it installed, but it didn't really, so im confused, my machine is confused, and my cat is sleeping peacefully at home, on the couch, in front of the fireplace, while im stuck here twiddling my thumbs.

Anyone know what the deal is?

Thanksabunch!
~Keegan
 
Old 01-06-2004, 09:07 AM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
something like rpm -qpl compat-gcc-7.3-2.96.118.src.rpm would show what files a package will install, but the fact of this matter is, is that you are using a source rpm, so it doesn't actually install, but rather it will unpack its sources to /usr/src/redhat/SOURCES

read this for dealing with src.rpm 's ....
 
Old 01-06-2004, 09:20 AM   #3
keegan
Member
 
Registered: Jan 2004
Distribution: Redhat WS and VectorLinux
Posts: 41

Original Poster
Rep: Reputation: 15
ahh, that did it, now i just gotta figure out why its exiting with errors. heh.

thanks
 
Old 01-06-2004, 09:26 AM   #4
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
well in any case, just post the problem, and we'll see what we can do for ya ;-)
 
Old 01-06-2004, 10:11 AM   #5
keegan
Member
 
Registered: Jan 2004
Distribution: Redhat WS and VectorLinux
Posts: 41

Original Poster
Rep: Reputation: 15
Ok, here goes. I did like that post suggested, 'rpmbuild --rebuild filename.src.rpm' and it went fine until the very end.

Here's the main error:

RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.37903 (%build)


Right before that, there are a few others, I'll bold them to make it easier to read:


Quote:
make[3]: Entering directory `/usr/src/redhat/BUILD/gcc-2.96-20000731/obj-i386-redhat-linux7/gcc/cp'
expect 33 shift/reduce conflicts and 58 reduce/reduce conflicts.
cd ../../../gcc/cp; bison -d -o parse.c parse.y
parse.y:2057.15-23: integer out of range: `$<ttype'
make[3]: *** [../../../gcc/cp/parse.c] Error 1
make[3]: Leaving directory `/usr/src/redhat/BUILD/gcc-2.96-20000731/obj-i386-redhat-linux7/gcc/cp'
[b/make[2]: *** [../../gcc/cp/parse.c] Error 2[/b]
make[2]: Leaving directory `/usr/src/redhat/BUILD/gcc-2.96-20000731/obj-i386-redhat-linux7/gcc'
make[1]: *** [bootstrap-lean] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/gcc-2.96-20000731/obj-i386-redhat-linux7/gcc'
make: *** [bootstrap-lean] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.37903 (%build)

And before that, there's a small section of warnings, but i wont post those.


It might help if you know what i'm trying to do: Like i said before i needed to install some software, but when i ran it, it complained that it couldnt find libstdc++-libc6.1-1.so.2. So, i emailed some people who previously had the problem, and they said to go here and download the specific one to my version of REdhat. Im running Redhat Professional Workstation. Now i made the assumption that RH WS is built off redhat 9.0, so i downloaded the src.rpm for REdhat 9.0

Any suggestions?

 
Old 01-06-2004, 12:36 PM   #6
keegan
Member
 
Registered: Jan 2004
Distribution: Redhat WS and VectorLinux
Posts: 41

Original Poster
Rep: Reputation: 15
sorry for bumping, but i'm still having trouble. google hasnt given me anything when i searched for the errors, does anyone know of something else i can do?
 
Old 01-06-2004, 12:49 PM   #7
keegan
Member
 
Registered: Jan 2004
Distribution: Redhat WS and VectorLinux
Posts: 41

Original Poster
Rep: Reputation: 15
hah nevermind, the rpm on the install cd did it. hah.
 
  


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
Common Problem with all RPM installs Airhead315 Linux - Newbie 6 09-28-2005 05:37 AM
Using RPM Libraries for Source Installs RemusX2 Linux - Software 0 07-08-2004 02:21 AM
rpm installs liljhand Linux - Software 6 05-14-2004 06:21 PM
rpm installs, *.so.* files? Computergirl24 Mandriva 25 01-16-2004 11:37 AM
RPM Installs... but what do you do afters? jimdaworm Linux - Newbie 3 08-21-2003 07:01 PM


All times are GMT -5. The time now is 05:57 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration