LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 11-27-2004, 12:56 AM   #1
TdlSnare
LQ Newbie
 
Registered: Nov 2004
Location: middle of nowhere
Distribution: SUSE 9.1/XandrOS Open circulation
Posts: 13

Rep: Reputation: 0
Yast won't install all RPM files.... WHY?


I downloaded a linux version of AOL instant messanger which came as an RPM file. I used Yast to install it and it worked fine. The next day i tried to install a version of Wine in Yast (this too was an RPM file). Instead of installing like it should, nothing happens, Yast just moves to the next screen as if it were about to try to install a big fat nothing. What is causing this?


I am also getting veeeeeeeeeeeery confused trying to install programs from source code... im using SUSE 9.1 (i downloaded it from an FTP server) i read the tutorial, but i still don't quite understand. in the konqueror window, which is displaying the correct directory i click the 'tools' button and then 'execute shell command'. This process starts and ends abruptly saying 'no acceptable C compiler found in $path'

Am i even doing this right? and if so, what do i have to do to make this work? im veeeeeeeery new to linux and i love it already... i just want to make sure i know what i am doing before i abandon windows (ew ew... get it off me!) altogether.
 
Old 11-27-2004, 02:00 AM   #2
monroetech
Member
 
Registered: Nov 2004
Location: Toledo, OH
Distribution: SuSE 9.2 Pro
Posts: 53

Rep: Reputation: 15
try running rpm --rebuilddb

I'm not sure why this happens in 9.1 but it happened to me.... when installing rpms via cli crap scrolled along the screen that said DB_Recovery in it.... don't know why.... but I went to /rpm dir and ran that command and all is better now....


JB
http://www.monroetech.net
 
Old 11-27-2004, 02:02 AM   #3
TdlSnare
LQ Newbie
 
Registered: Nov 2004
Location: middle of nowhere
Distribution: SUSE 9.1/XandrOS Open circulation
Posts: 13

Original Poster
Rep: Reputation: 0
so the command is:

rpm --rebuilddb

with two dashes?
 
Old 11-27-2004, 02:04 AM   #4
monroetech
Member
 
Registered: Nov 2004
Location: Toledo, OH
Distribution: SuSE 9.2 Pro
Posts: 53

Rep: Reputation: 15
yes
 
Old 11-27-2004, 02:07 AM   #5
colnago
Member
 
Registered: Nov 2003
Location: Canada
Distribution: ArchLinux
Posts: 324

Rep: Reputation: 30
It is easier to install source from the command line rather than with a gui like konqueror. Try system->terminal->konsole, then you can 'cd' to the directory you have the source in and it is usually './configure' then 'make' then su and 'make install'.

Konqueror is complaining because you need a compiler in order to install from source. Use yast2 to install gcc.

Some rpm packages are made for different versions of suse or other distributions. You have to make sure you are getting the version that will work. Thus the suse repositories, where you know that everything there is supposed to work.
 
Old 11-27-2004, 02:12 AM   #6
monroetech
Member
 
Registered: Nov 2004
Location: Toledo, OH
Distribution: SuSE 9.2 Pro
Posts: 53

Rep: Reputation: 15
I agree - command line is the way to go.... don't get too dependant on your YAST or other GUI apps... sooner or later you'll have to drop into cli "command line interface" to fix something you messed up....

To learn more about installing rpm's with the cli open up your terminal and type "man rpm" without the "

JB
http://www.monroetech.net
 
Old 11-27-2004, 02:12 AM   #7
TdlSnare
LQ Newbie
 
Registered: Nov 2004
Location: middle of nowhere
Distribution: SUSE 9.1/XandrOS Open circulation
Posts: 13

Original Poster
Rep: Reputation: 0
how can i get gcc to install it? to i need gcc to install from console?
 
Old 11-27-2004, 02:16 AM   #8
monroetech
Member
 
Registered: Nov 2004
Location: Toledo, OH
Distribution: SuSE 9.2 Pro
Posts: 53

Rep: Reputation: 15
Go here
http://mirrors.rcn.net/pub/sourcewar...ses/gcc-3.4.3/

Then download the file called
gcc-objc-3.4.3.tar.gz

Open up your Terminal
and do these command in this order

gunzip gcc-objc-3.4.3.tar.gz
tar xf gcc-objc-3.4.3.tar
cd gcc *tab <-----hit tab to auto fill the rest of the line

Then read the README file in there... it will tell you how to install it..... probably
./configure ./make su to root ./make install
 
Old 11-27-2004, 02:30 AM   #9
TdlSnare
LQ Newbie
 
Registered: Nov 2004
Location: middle of nowhere
Distribution: SUSE 9.1/XandrOS Open circulation
Posts: 13

Original Poster
Rep: Reputation: 0
does the file have to be in any particular directory to do these commands?
 
Old 11-27-2004, 02:48 AM   #10
monroetech
Member
 
Registered: Nov 2004
Location: Toledo, OH
Distribution: SuSE 9.2 Pro
Posts: 53

Rep: Reputation: 15
No, I suggest you do it in your home dir! you just have to be IN the directory that you downloaded to, when you run the commands.

JB
http://www.monroetech.net
 
Old 11-27-2004, 06:58 PM   #11
TdlSnare
LQ Newbie
 
Registered: Nov 2004
Location: middle of nowhere
Distribution: SUSE 9.1/XandrOS Open circulation
Posts: 13

Original Poster
Rep: Reputation: 0
ok now im trying to install gcc and when i try to use the ./configure command, i get an error message saying "cant find install-sh or install.sh in ./.. ././.." i still have not been able to install anything!
 
Old 11-27-2004, 08:00 PM   #12
monroetech
Member
 
Registered: Nov 2004
Location: Toledo, OH
Distribution: SuSE 9.2 Pro
Posts: 53

Rep: Reputation: 15
Do you have an ICQ number? It would be easier if I could talk in real time, perhaps you can create me a temp account with the gz file in there and I can walk you through it
 
Old 11-27-2004, 08:06 PM   #13
gd2shoe
Member
 
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835

Rep: Reputation: 49
As colnago suggested, the easiest way to install any package that SuSE supports is through YaST. If you go to the menu (green circle with a lizard), you should be able to find it in System. From there you can run searches for any package available from the ftp server you installed from (). Sometimes (like wine) it is better to get the current version from elsewhere and install it separately. Most of the time, if the package is available, I'd just download the one from YaST. This is where and how I would recommend getting the GCC.
 
Old 11-27-2004, 08:07 PM   #14
TdlSnare
LQ Newbie
 
Registered: Nov 2004
Location: middle of nowhere
Distribution: SUSE 9.1/XandrOS Open circulation
Posts: 13

Original Poster
Rep: Reputation: 0
i have an AIM screename- snareoutanowhere
can you use this?
 
Old 11-27-2004, 08:11 PM   #15
TdlSnare
LQ Newbie
 
Registered: Nov 2004
Location: middle of nowhere
Distribution: SUSE 9.1/XandrOS Open circulation
Posts: 13

Original Poster
Rep: Reputation: 0
OH... a big thing that i forgot to mention- i can't get online with Suse yet because i dont have a way to connect- i have Pengaol, but until i install it i cant use the FTP
 
  


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
YaST .pot files and customizing YaST strangedub Suse/Novell 0 05-12-2005 05:41 PM
Install RPM with YaST dlublink Suse/Novell 3 01-19-2005 12:22 PM
how to give source address to yast to install a rpm? milad126 Suse/Novell 2 11-15-2004 07:09 AM
Trying to install an .rpm file without YaST nicksmart234 Linux - Newbie 7 09-29-2004 08:54 PM
SuSE 9.1 YasT closes when trying to install .rpm JazzSheep Linux - Software 12 09-24-2004 05:00 PM


All times are GMT -5. The time now is 05:01 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration