Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 12-29-2003, 12:52 AM   #1
LQ Newbie
Registered: Aug 2003
Posts: 4

Rep: Reputation: 0
Cannot create executables under 9.1

I'm a recent convert to Slackware and sofar I really like what I see. Once problem I'm having that has become very troublesome is the following. Whenever I attempt to run a standard configure script before compiling something, I always get the following message:

creating cache ./config.cache
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking whether the C compiler (gcc ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.

I'm pretty confident that I have gcc installed (it shows some information when I do a gcc -v).

I've searched for this problem here on the forums, and found several others who are experiencing this same problem, but I cannot find a solution.

Can anybody help???
Old 12-29-2003, 01:12 AM   #2
Amigo developer
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,890

Rep: Reputation: 569Reputation: 569Reputation: 569Reputation: 569Reputation: 569Reputation: 569
Run pkgtool to look at your installed packages. In order to compile 'C' programs you will need (from /a seies) findutils, gawk, (from /d series)make, binutils, kernel headers, gcc. You may also need autoconf and automake. That's the minimum.
Old 12-29-2003, 01:16 AM   #3
LQ Newbie
Registered: Dec 2003
Location: maui
Distribution: slackware 9.0
Posts: 11

Rep: Reputation: 0
i know whatcha mean!

hey! i just asked the question last week, and no one seemed to have any idea whats wrong. I have slack 9.0 so, its not your version... but i got around the issue by experimenting blindly. i got the same exact error, that gcc could not create executables but when i moved the very same driver to a new directory: /usr/local/thinkpad and ran the ./configure program it compiled everything perfectly! so i can only guess that there is some sort of path requirment for gcc compiles....
okay i really don't know why it worked, but try moving it to a local directory...
since i've got the modem working now, I' ve been downloading dropline for the past 21 hours!
good luck.

P.S. I've been puzzled where to put things in the slack dir system, so anyone else reading this can you suggest a good system on where one should put programs newly downloaded? or images? or mp3s?
Old 12-29-2003, 05:34 AM   #4
Registered: Nov 2003
Location: Ithaca, NY
Distribution: Mac OS X, FreeBSD, Slackware
Posts: 52

Rep: Reputation: 15
Slack is about the most unix-like linux out there, and the directory structure is very sane. Images and MP3s, just put anywhere in /home/username

For downloaded programs, you'll probably want to keep them in your /home as well - but you'll install into /usr or /usr/local
Old 12-29-2003, 08:27 AM   #5
Registered: Oct 2003
Posts: 534

Rep: Reputation: 30
Did you install the full glibc package ? You'll need it to compile programs. It's located in the /slackware/l dir on the cd.
Old 12-29-2003, 06:48 PM   #6
LQ Newbie
Registered: Aug 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks guys! Turns out I didn't have all of glibc installed. Everthing works great now.


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
C++ compiler cannot create executables notmatt Linux - Newbie 4 09-30-2004 07:59 AM
My C compiler cannot create executables, help rbmako69 Linux - Software 15 06-16-2004 02:22 PM
C++ compiler cannot create executables IceStorm Linux - Newbie 6 06-14-2004 01:45 AM
C compiler cannot create executables inanna Linux - Newbie 1 05-01-2004 01:42 AM
C compiler cannot create executables... Sfpiano Linux - Software 9 12-11-2003 10:28 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:15 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration