LinuxQuestions.org
Visit Jeremy's Blog.
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 08-02-2006, 08:09 AM   #1
sharathg786
Member
 
Registered: Sep 2005
Location: India
Distribution: Slackware, Back|track, Fedora, ubuntu
Posts: 167

Rep: Reputation: 30
slack 10.2, application install problem


Hi, i'm a newbie just moved frm fedora 3 to slack
my problem is any application i try to install (the usual ./configure->make->make install)
i get the following error after i do ./configure

Code:
bash-3.00$ ./configure
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking target system type... i686-pc-linux-gnulibc1
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for kde-config... /opt/kde/bin/kde-config
checking where to install... /opt/kde (as returned by kde-config)
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
plz help me out

 
Old 08-02-2006, 08:13 AM   #2
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Rep: Reputation: 30
What does config.log say? Did you get any errors during install?
 
Old 08-02-2006, 08:29 AM   #3
piete
Member
 
Registered: Apr 2005
Location: Havant, Hampshire, UK
Distribution: Slamd64, Slackware, PS2Linux
Posts: 465

Rep: Reputation: 44
Try installing the packages in d/ from the first slack disk using something like: upgradepkg -reinstall /mnt/cdrom/slackware/d/*.tgz

If you're doing KDE stuff, you will need Qt from kde/ and possibly if you're doing some low-levelish things, the kernel headers (also kept in d/ i believe).

Let us know how it goes,
- Piete.
 
Old 09-15-2006, 10:42 PM   #4
Abunasar Khan
LQ Newbie
 
Registered: Sep 2006
Posts: 7

Rep: Reputation: 0
guys why are you makin it so complicated? never used linux before? just try to get things straight..

sharathg786 just try installing build-essential package and everything will be fine

apt-get install build-essential
 
Old 09-15-2006, 10:45 PM   #5
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Slackware doesn't have a "build-essential" package, nor does it use apt-get. There is a sort of port of apt-get (called slapt-get), though.
 
Old 09-15-2006, 11:34 PM   #6
Abunasar Khan
LQ Newbie
 
Registered: Sep 2006
Posts: 7

Rep: Reputation: 0
Quote:
Originally Posted by Nylex
Slackware doesn't have a "build-essential" package, nor does it use apt-get. There is a sort of port of apt-get (called slapt-get), though.
ah i didnt read he was using slackware, i thought he was a debian user
 
Old 09-16-2006, 03:47 AM   #7
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Quote:
Originally Posted by Abunasar Khan
ah i didnt read he was using slackware, i thought he was a debian user
On the slackware forum?
 
Old 09-16-2006, 06:14 AM   #8
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:
checking for C compiler default output file name... configure: error: C compiler cannot create executables
Look at your CFLAGS environment variable. Do you set it globally? Or do you use a SlackBuild that was written for Slackware-current (slackware-11.0)?

This error occors on Slackware 10.2 and earlier if your CFLAGS contain "-mtune=i686". The "tune" optimalisation flag is something for the modern gcc of Slackware 11.0 but for your box you should be using the older "cpu" flag, like in:
Code:
-mcpu=i686
Eric
 
  


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
Slack 10.1 Install Problem(During Package Install) terdbird Slackware - Installation 2 04-22-2005 02:18 PM
major problem with slack 10 re-install kersten78 Slackware 4 09-23-2004 08:13 PM
Slack install problem Darkseid Slackware 9 02-07-2004 04:41 PM
slack install problem Scruff Slackware 9 11-08-2003 07:25 PM
install problem of slack blither Slackware 5 10-11-2003 05:20 AM

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

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