LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   Installing GCC SUSE 9.1 (https://www.linuxquestions.org/questions/suse-opensuse-60/installing-gcc-suse-9-1-a-247346/)

jonwatson 10-26-2004 12:07 AM

Installing GCC SUSE 9.1
 
Arrrgh...I'm losing it...

I'm a Debian user, but have just installed SUSE on my laptop - long story, I just want it :)

I need gcc, which needs binutils, which needs cpp, which needs kernel headers...blah blah blah.

I'm my little Debian world I just use apt-get and it (along with dpkg) takes care of all the problems and dependencies for me.

I've been screwing around with YaST and RPMs all night and I gotta admit, I don't have a clue what the hell's going on.

Two of the things it's bitching about (cpp and glibc-devel) are already installed yet it tells me I need them, when I double-click the gcc RPM, YaST fires up and then fails without any reason...just quits.

I'm losing it...can someone give me a freaking newbie step by step on how the hell I'm supposed to use YaST for this? To top it off, this laptop isn't connected to the net yet, so I have to DL RPMs on the desktop, burn them to cd and bring them over.

Or are there alternatives to YaST?

Thanks!


Jon

Bikerpete 10-26-2004 03:12 AM

Hi

Doubleclicking is for Windooze-Users ;)

If you want to see, if f.e. gcc is already installed, type

rpm -qa | grep gcc

The 'rpm -qa' outputs all installed rpm-packages on the linux-machine.
The "pipe grep packetname " takes the output and searches for the giveb string.

You also may need the kernel-sources and other developer-relatet packages.

The easy way:

Open YAST, go to software, 'install and dlete software'
Now you can set a "Filter".
If you wanna install one special package, use the search filter, type in the package name, and mark it to install. Repeat that for every package you want to install. YAST will check the dependencies an tell you, what packages may be additionally installed.


In this special case described here, I would prefer to choose a "Selection" as current Filter and pick aout KDE-Development or GNOME-Development (dependent on you Desktop).

You also - f.e. if you have a downloaded package - you can open a shellbox, get su and type:

rpm -ivh packetname.rpm
for a new packed-installation or

rpm -Uvh packetname.rpm
for a packetupdate.

rpm -e packetname.rpm deletes a rpm-package (!!!It would not ask you, if you are really sure - it will just do it´s job :D !).

Hope it helps,

Pete
-----------
What version do you have? Professional or Personal?

jonwatson 10-26-2004 07:34 AM

Quote:

Originally posted by Bikerpete
[B]Hi

Doubleclicking is for Windooze-Users ;)

...snip...

Don't understand the relevance of that remark, but OK.

Thanks for the rpm tutorial...I much prefer the cli stuff. Now, the million dollar question is...where do I get rpm's from? Is there a repository somewhere? The gcc website doesn't seem to have any.....

Thanks!

Oh...personal. I'd like pro, but I don't see an iso for it and I'm not up to compiling the whole thing.

Jon

Bikerpete 10-26-2004 08:27 AM

Hi, again ...

I don´t know, if the compilers are part of the "personal edition".

You can get rpms at www.rpmseek.com.
There you can seek and download rpms.

Or you switch your installation-source in 'YAST -> Software -> Change installation source' to a suse-ftp-server

http://www.suse.com/us/private/downl...t_mirrors.html

Then you´ll be able to install directly from SuSE.

See http://www.linuxquestions.org/questi...hreadid=246174

gandalf79 has installed SUSE Personal and switched then to Professional.

Think that will work,

Pete

Lachine_sculler 10-26-2004 08:52 AM

To add to biker Pete's already very detailed and correct response, just ensure that once you've set up your filters, you physically check off on the bottom to use ""auto dependency verification". This will tell youimmediately if you have the right additional modules or not. If the modules are in the SuSE FTP server's repository or on one of Your Cd's it will just get you're ok, and then install them fromone or both sources.

jonwatson 10-26-2004 09:12 AM

Quote:

Originally posted by Bikerpete
Hi, again ...

I don´t know, if the compilers are part of the "personal edition".

You can get rpms at www.rpmseek.com.
There you can seek and download rpms.

Or you switch your installation-source in 'YAST -> Software -> Change installation source' to a suse-ftp-server

http://www.suse.com/us/private/downl...t_mirrors.html

Then you´ll be able to install directly from SuSE.

See http://www.linuxquestions.org/questi...hreadid=246174

gandalf79 has installed SUSE Personal and switched then to Professional.

Think that will work,

Pete

Thanks, Pete. I'm at rpmseek as we speak in a downloading frenzy. I'd like to just put the suse-ftp server in as a source, but as I mentioned in my original post - I don't have network connectivitiy yet. That's what this is all about, I need to compile the acx100 drivers for my networks card :)

So, I'm downloading everything that I *hope* I will need when I get home. Rpmseek seems good, it tells me the dependencies so I can (hopefully) download everything I need in one visit. We'll see when I get home tonight.

I'm sure I'll be posting again......

Jon

jonwatson 10-26-2004 09:15 AM

Quote:

Originally posted by Lachine_sculler
To add to biker Pete's already very detailed and correct response, just ensure that once you've set up your filters, you physically check off on the bottom to use ""auto dependency verification". This will tell youimmediately if you have the right additional modules or not. If the modules are in the SuSE FTP server's repository or on one of Your Cd's it will just get you're ok, and then install them fromone or both sources.
Ahh..good advice about the auto dependency. Thanks.

Unfortunately, as I posted to Pete, I'm not networked yet. Part of the reason this is so painful is that I have to try an install...see what it says about dependencies...go to the desktop, find the file it wants, download it, burn it then go back to the laptop and try the install...see what it say....on and on. It's quite tedious.

On another note: What's a SUSE People? I ended up with SUSE because I read that it would handle resizing my windows partition all by itself and lo and behold it did. But I really don't know that much about it.

THanks!

Jon

jonwatson 10-26-2004 02:15 PM

The saga continues...

OK, thanks to the information posted I've managed to install GCC and its buddy Make. I'm almost there....Thanks!

What's driving this whole thing is the requirement to compile 'drivers' for my wlan card into the SUSE 9.1 kernel. I've got the drivers (is that the right word in Linux?) and now I have GCC/Make. However, what I apparently don't have is my kernel Makefile or config file.

I know what a Makefile and a Config file are, I've installed a fair amount of stuff on my Debian box, but I'm not sure what they are with respect to the Kernel..like...can I get them somewhere? Or are they part of the Kernel source that just didn't come with SUSE 9.1? I'm not really sure what to do now.....

Ideas?

Thanks!

Bikerpete 10-27-2004 04:05 AM

Hm ...

Waht kind of WLan-Card to you want to get runninī?
There are some of the popular WLAN cards already supportet since version 9.1

Maybe, ou can have a look at the suse-hardware-database
http://hardwaredb.suse.de/?LANG=en_UK


There also are some wlan-drivers as rpms as rpmseek.com (as if I remeber right).


Maybe itīs better to ook for something precompiled in the web ;)

Greetz

Pete

By the way - there is a rpm-package named "kernel-source" (kernel-source-2.6.4-52.i586 .rpm).
There are the sources for your 9.1 suse

jonwatson 10-27-2004 08:41 AM

Quote:

Originally posted by Bikerpete
Hm ...

Waht kind of WLan-Card to you want to get runninī?
There are some of the popular WLAN cards already supportet since version 9.1

Maybe, ou can have a look at the suse-hardware-database
http://hardwaredb.suse.de/?LANG=en_UK


There also are some wlan-drivers as rpms as rpmseek.com (as if I remeber right).


Maybe itīs better to ook for something precompiled in the web ;)

Greetz

Pete

By the way - there is a rpm-package named "kernel-source" (kernel-source-2.6.4-52.i586 .rpm).
There are the sources for your 9.1 suse

Yeah, I found the kernel source and installed it. However now my make tells me it can't find cpp0. I've given up on SUSE and am moving on. Three days of screwing around with an incomplete distro has driven me over the edge.

If the problem I needed the dev environment for wasn't my networking I could probably hang on a lot longer, but since I have to find, download, and burn on one machine, then attempt to install on the laptop...find out there's something else that's required...and do it all over again forty times, I give up. Taking the dev tools out of their personal edition has got to be the biggest brain fart ever. Even those Linux users that aren't into developing have to compile most of the apps they use.


I'm trying to get a SMC 2435 running. I know I can because other users have using using the instructions and files found at House of Craig. It's the TI acx100 chipset.

Anyhow, I've tried SUSE, Debian and an old Red Hat distro on this laptop and all of them are missing either parts of the dev environment or the kernel source. I've downloaded Fedora because I figure anything that comes on 4 CDs must have everything I need...I hope.....and I'll be installing that tonight. We'll see how that goes.

Thanks for the help!

Bikerpete 10-27-2004 01:37 PM

Just to complete it ;)

look here:

http://sourceforge.net/mailarchive/m...msg_id=7451324

Support Requests item #906592, was opened at 2004-02-28 21:10
Message generated for change (Comment added) made by andim2
You can respond by visiting:
https://sourceforge.net/tracker/?fun...group_id=75380

Category: None
Group: None
Status: Open
Priority: 5
Submitted By: zimmermo (zimmermo)
Assigned to: Nobody/Anonymous (nobody)
Summary: module load O.k. but system stop

Initial Comment:
Hello,
i have SUSE 9.0 with Kernel 2.4.21-athlon.

I have got a SMC 2435 - acx100 card.

Everything works on my Computer with SuSE 7.3. But
since I have installed the new SuSE 9.0 the same
installation failed.

I tried everything with pre5 and pre7 and with aktuell
firmware 2.9.8 and correct firmware 2.8.3 for pre5.

The Failure:
I put in the card, the module loades correct.
The card start's scanning and sometimes it can find my
Access Point correct, but after a few seconds
everything stopps - this mens nothing work - no mouse -
no other console - nothing!!!

When I pull out the card - everything runs on.

I can't find where the Failure ist.

Here ist a short log at the end of the initialisation,
short bevor everything stopps:

kernel: acx100_set_status: Setting iStatus = 0 (STARTED)
kernel: Updating WEP key settings
kernel: Updating transmit power: 20 dBm
kernel: changing radio power level to 20 dBm (0x3f)
kernel: Updating antenna value: 0x8F
kernel: Updating energy detect threshold: 112
kernel: Updating Channel Clear Assessment value: 0x0D
kernel: Updating: enable Tx
kernel: Updating: enable Rx
kernel: Updating short retry limit: 5, long retry limit: 3
kernel: Updating xmt MSDU lifetime: 2048
kernel: Updating regulatory domain: 0x30
kernel: Updating channel: 1
kernel: acx100_set_status: Setting iStatus = 1 (SCANNING)
kernel: get_mask 0x00000000, set_mask 0x00000000 -
after update
kernel: start queue on startup.

That's all - and no nothing happens.

For Info: my PWR Light ist on and for a few seconds the
DATA / Transmit Light goes on.

Please help me! Thanks.

p.s. there is a file with debug=0xffff for developers!

----------------------------------------------------------------------

>Comment By: Andreas Mohr (andim2)
Date: 2004-03-05 00:40

Message:
Logged In: YES
user_id=132674

Hmm, it might be because we"re not ACKing all interrupt
types, and I know that if one fails to ACK an interrupt, the
interrupt will keep getting invoked, stalling the box.
I couldn"t find out anything specific from your very
detailed log, though.
I will commit a patch now.
Please report if it is fixed in the next version I"ll release.

----------------------------------------------------------------------

Comment By: Olaf Flebbe (oflebbe)
Date: 2004-03-02 21:40

Message:
Logged In: YES
user_id=88929

could you please try to add the following boot parameter at the
grub boot prompt

pci=noacpi

it helped for me.

Olaf

jonwatson 10-27-2004 02:31 PM

Quote:

Originally posted by Bikerpete
[B]Just to complete it ;)

look here:

http://sourceforge.net/mailarchive/m...msg_id=7451324

...snip ...

Lovely...sounds like even if I did get it installed I might have had problems. Methinks SUSE is kinda buggy....it has a known keyboard bug as well that they've issued a patch for the Toshiba laptops, but not the Dells.

Thanks...installing FC2 as we speak :)

SorrowSong 11-01-2004 04:29 PM

About the browser....
 
i had trouble getting the browser to work too... but after i took my turn getting all frustrated like you I reinstalled SuSe 9.1 personal and went slower thru the processes. One thing i can say make sure that you have your ethernet plugged in before you start up the cd. Cause it will ask you to get updates from Suse and when i did that the browser starting working smoothe. Hope this helps. Make sure you get those updates.
SSM

jonwatson 11-01-2004 05:38 PM

Re: About the browser....
 
Quote:

Originally posted by SorrowSong
i had trouble getting the browser to work too... but after i took my turn getting all frustrated like you I reinstalled SuSe 9.1 personal and went slower thru the processes. One thing i can say make sure that you have your ethernet plugged in before you start up the cd. Cause it will ask you to get updates from Suse and when i did that the browser starting working smoothe. Hope this helps. Make sure you get those updates.
SSM

Ahh....you miss my point entirely. My problem stems completely from the fact that I need my wireless up and running to do any updating. If I had an internet connection this install would have been the easiest thing in the world. Because I didn't have internet...it sucked ass. It's too bad - I had to leave SUSE and go to another distro. I understand that one of the difference in distros is the applications they come with and SUSE just happened to decide to leave out the development tools. For most people this probably isn't a problem, but for me who needs them to compile my wireless drivers, it was enough to make me chuck SUSE in the garbage.

Loving Fedora Core 2 now....

Ciao!

Jon


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