LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-13-2004, 07:44 AM   #1
Paulsuk
Member
 
Registered: Jan 2004
Distribution: LFS
Posts: 91

Rep: Reputation: 15
Unhappy Installing software from source GCC "error"?


Hi,

Ok, I've just installed Slackware 9.1 into a VirtualPC session running on my Windows XP laptop. Seems to work ok.

Anyway, I'm trying to install PostgeSQL. I have dowloaded and unpacked the tarball and now I'm stuck.

When I go to the directory and type
Quote:
./configure
I get the following:-

Quote:
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking which template to use... linux
checking whether to build with 64-bit integer date/time support... no
checking whether NLS is wanted... no
checking for default port number... 5432
checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler can't create executables
I know I'm probably missing doing something here but what? (yep, new to LINUX!!!!)


Oh, yes. I'm logged in as root.

HELP!

Thanks,

Paul Simpson
 
Old 01-13-2004, 06:39 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Look at how the partition you are working in is mounted. Is there a noexec option. I don't really understand what you mean by a virtualPC session. Are you running linux from a loop-back device file. If the filesystem is NTFS, I don't know if this will work.
 
Old 01-13-2004, 06:41 PM   #3
itsme86
Senior Member
 
Registered: Jan 2004
Location: Oregon, USA
Distribution: Slackware
Posts: 1,246

Rep: Reputation: 59
There should be a config.log or something there that you can read to see exactly why that last item failed.
 
Old 01-14-2004, 04:50 AM   #4
Paulsuk
Member
 
Registered: Jan 2004
Distribution: LFS
Posts: 91

Original Poster
Rep: Reputation: 15
Hi folks!

To answer the question, VirtualPC is a (now M$) product that lets you create multiple machines on your physical machine. In this way you can build an entire network on on ebox. Great if you simply want to play with a new OS but don't have a spare machine and don't want to dual boot. A similar product is VMWare.

Anyway, after much digging and posting on various forums, I found that some of the GCC libraries hadn't been istalled and this was the problem. Darned funny error message though....

Thanks to any / everyone who read this and scratched their heads!

Paul
 
Old 02-27-2004, 11:53 AM   #5
lrivers
LQ Newbie
 
Registered: Feb 2004
Posts: 4

Rep: Reputation: 0
VirtualPC

Quote:
Originally posted by jschiwal
Look at how the partition you are working in is mounted. Is there a noexec option. I don't really understand what you mean by a virtualPC session. Are you running linux from a loop-back device file. If the filesystem is NTFS, I don't know if this will work.
The best part about using VPC is that you can make a copy of the virtual disk, then mess about all you want on the original one, install software, update, whatever and if it all goes south, just replace the image with the backup. It's also nice if you have a Mac and want to test Linux or Winders stuff on your Mac. I use Runtime Revolution which creates apps for Mac, Winders, Linux and a bunch of other unices and it's great to be able to so easily test my software. Not to mention website testing (IE 6, ugh).

VPC is not fast enough on a Mac to use Linux or Winders full time though.
 
  


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
"FATAL: Unknown capture source type" error from Kismet atlantanewbie Linux - Wireless Networking 2 04-03-2010 05:34 AM
"linux burning software open source" what's the best out there behmjoe Linux - Software 4 11-29-2005 11:44 AM
Can you explain the difference between "Free Software (GNU)" and "Open Source"? vharishankar General 5 03-03-2005 09:40 AM
Looking for ideas on creating Linux software "installer" that has no visible source. child_of_dust Linux - Software 3 07-07-2004 09:32 AM
Question on getting software: is from "source or binary" better? TigerCardeo Mandriva 6 04-13-2004 05:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:54 PM.

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