LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-19-2004, 09:55 PM   #1
bulzbb
Member
 
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?)

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

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



Cheers,
Tink
 
Old 03-20-2004, 12:55 AM   #3
fibbi
Member
 
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, 01:09 AM   #4
bulzbb
Member
 
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.
 
  


Reply


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 04: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 06:52 PM
gcc not working bluknight43 Programming 4 02-14-2005 02:15 PM
gcc compile not working Norman Oklahoma Linux - Software 1 03-22-2004 11:20 AM
SCHED_FIFO not working with g++ but gcc ?! DocBexter Programming 0 09-09-2003 01:57 PM


All times are GMT -5. The time now is 02:37 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration