LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 11-13-2009, 07:40 AM   #1
RLH1919
Member
 
Registered: Dec 2007
Location: Charleston, South Carolina USA
Distribution: Slackware 13 Ubuntu RHEL 5
Posts: 50

Rep: Reputation: 15
configure: error: C compiler cannot create executables


I am trying to install clamav 0.95.2 from slackBuilds on my slack64 13 box and I get this error when I try to install it:
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: in `/tmp/SBo/clamav-0.95.2':
configure: error: C compiler cannot create executables
See `config.log' for more details.

I checked the log and found:
configure:3326: checking for gcc
configure:3342: found /usr/bin/gcc
configure:3353: result: gcc
configure:3585: checking for C compiler version
configure:3593: gcc --version >&5
gcc (GCC) 4.3.3

The version of GCC I have is 4.3.3 and I'm guessing in the config it is looking for version 5?
I couldn't find where to change this or if I need to for a proper install. Any help would be greatly appreciated, thanks.
 
Old 11-13-2009, 07:45 AM   #2
slackd
Member
 
Registered: Sep 2009
Location: Bangalore, India
Distribution: Fedora, Slackware, Arch Linux
Posts: 260
Blog Entries: 1

Rep: Reputation: 60
U need Multilib Support for GCC Suite->

Get it here:
http://connie.slackware.com/~alien/multilib/

and read this first:
 
Old 11-13-2009, 08:43 AM   #3
slackd
Member
 
Registered: Sep 2009
Location: Bangalore, India
Distribution: Fedora, Slackware, Arch Linux
Posts: 260
Blog Entries: 1

Rep: Reputation: 60
If you want, get the package made by AlienB0B.
 
Old 11-13-2009, 11:58 AM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by slackd View Post
U need Multilib Support for GCC Suite->

Get it here:
http://connie.slackware.com/~alien/multilib/

and read this first:
In order to compile ClamAV (or use other SlackBuild scripts from http://slackbuilds.org) you do not have to install 32-bit Multilib compatibility at all.

Just set the value of the ARCH variable in the SlackBuild script to "x86_64".

The error you describe is typical of a compilation effort where the script has ARCH incorrectly set to "i486".

Please read http://slackbuilds.org/faq/#x86_64 to get a better understanding of using our scripts on 64-bit Slackware.

Eric
 
Old 11-13-2009, 03:54 PM   #5
slackd
Member
 
Registered: Sep 2009
Location: Bangalore, India
Distribution: Fedora, Slackware, Arch Linux
Posts: 260
Blog Entries: 1

Rep: Reputation: 60
Quote:
Originally Posted by Alien Bob View Post
In order to compile ClamAV (or use other SlackBuild scripts from http://slackbuilds.org) you do not have to install 32-bit Multilib compatibility at all.

Just set the value of the ARCH variable in the SlackBuild script to "x86_64".

The error you describe is typical of a compilation effort where the script has ARCH incorrectly set to "i486".

Please read http://slackbuilds.org/faq/#x86_64 to get a better understanding of using our scripts on 64-bit Slackware.

Eric
Oops, sorry about that, Alien_Bob..my fault!.
 
Old 11-13-2009, 04:01 PM   #6
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by slackd View Post
Oops, sorry about that, Alien_Bob..my fault!.
Not faulted - consider every moment a learning experience.

Eric
 
Old 11-13-2009, 07:05 PM   #7
RLH1919
Member
 
Registered: Dec 2007
Location: Charleston, South Carolina USA
Distribution: Slackware 13 Ubuntu RHEL 5
Posts: 50

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Alien Bob View Post
In order to compile ClamAV (or use other SlackBuild scripts from http://slackbuilds.org) you do not have to install 32-bit Multilib compatibility at all.

Just set the value of the ARCH variable in the SlackBuild script to "x86_64".

The error you describe is typical of a compilation effort where the script has ARCH incorrectly set to "i486".

Please read http://slackbuilds.org/faq/#x86_64 to get a better understanding of using our scripts on 64-bit Slackware.

Eric
That fixed it Eric thanks for your help, you rock man!
 
  


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
configure: error: C++ compiler cannot create executables dicou Linux - Newbie 19 06-22-2017 04:17 PM
configure: error: C compiler cannot create executables Geneset Linux - Newbie 7 07-13-2007 03:11 PM
configure: error: C compiler cannot create executables The00Dustin Linux - Software 2 01-11-2006 02:33 PM
configure error - C compiler cannot create executables MrLobster Linux - Software 1 12-24-2005 12:13 AM
configure: error: C compiler cannot create executables strimp099 Linux - Software 2 07-11-2005 07:23 PM

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

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