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 03-19-2004, 08:55 PM   #1
Registered: Feb 2004
Posts: 50

Rep: Reputation: 15
Slackware gcc not working?

Hi, I installed Slackware 9.1, with gcc compiler. However, this is the result of ./configure to configure cyrus-sasl:

$ ./configure
loading cache ./config.cache
checking host system type... i586-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking whether the C compiler (gcc ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.

It says the C compiler is not working. Any idea why? and how to make it working? (I though it's suppose to be working when you install gcc out of the box?)

Old 03-19-2004, 10:29 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Just out of curiosity... did you use the search?

Old 03-19-2004, 11:55 PM   #3
Registered: Sep 2003
Distribution: gentoo
Posts: 101

Rep: Reputation: 16
I doubt it's the answer, but check your permissions. The fact that it says that gcc can't create executables might mean (for reasons beyond me) that, as the current user, you can't give files executable permissions.

Does gcc work when just compiling a normal .c program without autoconf?
Old 03-20-2004, 12:09 AM   #4
Registered: Feb 2004
Posts: 50

Original Poster
Rep: Reputation: 15
I run it using root, so i don't think it's the access. I havent tried compiling a c source code, yet. Gonna do it 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
the linker is not working (gcc ) abd_bela Ubuntu 1 09-13-2005 03:51 PM
SonicVibes Sound card not working in Slackware 10.1.0 Linux 2.6.10 GCC 3.4.3 sherman22 Linux - Hardware 5 03-05-2005 05:52 PM
gcc not working bluknight43 Programming 4 02-14-2005 01:15 PM
gcc compile not working Norman Oklahoma Linux - Software 1 03-22-2004 10:20 AM
SCHED_FIFO not working with g++ but gcc ?! DocBexter Programming 0 09-09-2003 12:57 PM > Forums > Linux Forums > Linux - Distributions > Slackware

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