LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 11-10-2008, 04:25 AM   #1
Linux31
Member
 
Registered: Aug 2004
Posts: 296

Rep: Reputation: 30
Ubuntu 8.04 old libraries


Is there some place where one can get gcc 4.2.3 for Ubuntu 8.04? I need it to install my version of VMWare free server.

Thanks for the information.
 
Old 11-10-2008, 04:46 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
vmware server installs fine onto 8.04. what problems are you actually having?
 
Old 11-12-2008, 02:55 PM   #3
Linux31
Member
 
Registered: Aug 2004
Posts: 296

Original Poster
Rep: Reputation: 30
Everything installed fine under Ubuntu 8.04 when I installed things on the first machine in May.

Now, I'm trying to get things set up the same way on another, virtually identical machine hardware-wise. I even used my original 8.04 CD.

In following falko's article on HowToForge.com, when I get part way through the VMWare installation it says:
"Your kernel was built with "gcc" version "4.2.3", while you are trying to use "/usr/bin/gcc" version "4.2.4". This configuration is not recommended and VMware Server may crash if you'll continue. Please try to use exactly same compiler as one used for building your kernel. Do you want to go with compiler "/usr/bin/gcc" version "4.2.4" anyway? [no]

I don't remember if I got this message in May or not. If I say "no", the installation aborts right there. If I say "yes" then it proceeds but as I get near the end then it aborts with:

"The installation of the VMware VmPerl Scripting API succeeded.

Generating SSL Server Certificate

Unable to get the last modification timestamp of the destination file
/etc/vmware/ssl/rui.key.

Execution aborted."

I've done two complete Ubuntu reinstalls but the same thing happens. Is it possible that there is a bit of a netinstall feature to the live CD such that it goes out for some files rather than installing just from the CD?

I should add that my original Ubuntu 8.04 machine continues to work fine even when I do a kernel update and have to re-run install-config.pl. I get that message about gcc 4.2.4 but I say "yes" and it goes through fine.

I re-burned the CD and ran the media check but it says that it's ok.

Thanks for any help you can provide.
 
Old 11-15-2008, 09:02 AM   #4
Linux31
Member
 
Registered: Aug 2004
Posts: 296

Original Poster
Rep: Reputation: 30
Well, I believe I've found the source of the problem, though I don't know how to correct it.

I did a complete re-install and then carefully watched the VMWare installation process for the HowToForge article.

The first thing it says to do is:
sudo apt-get install linux-headers-`uname -r` build-essential xinetd

As the command executed, it substituted gcc 4.2.4 routines for the gcc 4.2.3

That's where the later disconnect comes from as VMWare tries to install and says that the kernel was created with 4.2.3 but advises against using 4.2.4.
 
Old 11-16-2008, 11:47 AM   #5
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
I did a complete re-install and then ....
After the reinstall, did you allow your package-manager to fetch the updates?
I am currently running (K)ubuntu 8.04.1
If it helps, my current kernel is 2.6.24-21-generic and my gcc is 4.2.4
 
Old 11-16-2008, 03:33 PM   #6
Linux31
Member
 
Registered: Aug 2004
Posts: 296

Original Poster
Rep: Reputation: 30
I didn't. I was trying to keep things in sync with what would have been available when the article was written.

I may go ahead and do a re-install again. If I do, I'll do a complete update before I try to install VMWare.

Thanks for the suggestion.
 
Old 11-16-2008, 04:57 PM   #7
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
I may go ahead and do a re-install again. If I do, I'll do a complete update before I try to install VMWare.
No need to reinstall, just do the updates.
I think what was happening is that the kernel you are running was compiled with gcc 4.2.4, but your installed gcc is 4.2.3
This doesn't matter, as long as you are not compiling anything.
A simple "update" should fix that (by removing gcc 4.2.3 and installing 4.2.4 and maybe fixing up some other stuff as well).
Then the compile should work.
Let us know how you get on.
 
Old 11-24-2008, 02:56 PM   #8
Linux31
Member
 
Registered: Aug 2004
Posts: 296

Original Poster
Rep: Reputation: 30
Thanks for the suggestion. I did both, an update (no luck) and a re-install (also no joy). However, I installed VirtualBox this weekend and so far, it's working fine.

The only thing that I can think of is that when VMWare originally compiled that version of their software, they used 4.2.3 which is why I was having the problem. Oh well.
 
  


Reply

Tags
compiler, gcc, hardy, heron, ubuntu



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
Not finding X libraries in KVIrc configuration in Ubuntu 6.10 Peronthious Linux - Software 0 03-22-2007 08:57 PM
shared libraries in ubuntu GBunge Ubuntu 0 09-21-2006 02:20 AM
avcodec and avformat libraries in ubuntu ivorytower27 Linux - Software 2 10-11-2005 06:43 PM
Ubuntu C libraries documentation not found Darwish Ubuntu 0 10-02-2005 12:48 PM

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

All times are GMT -5. The time now is 07:03 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