LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   slack 10.2, application install problem (https://www.linuxquestions.org/questions/slackware-14/slack-10-2-application-install-problem-470064/)

sharathg786 08-02-2006 08:09 AM

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

:newbie:

simcox1 08-02-2006 08:13 AM

What does config.log say? Did you get any errors during install?

piete 08-02-2006 08:29 AM

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.

Abunasar Khan 09-15-2006 10:42 PM

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

Nylex 09-15-2006 10:45 PM

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.

Abunasar Khan 09-15-2006 11:34 PM

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

dive 09-16-2006 03:47 AM

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?

Alien Bob 09-16-2006 06:14 AM

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


All times are GMT -5. The time now is 07:39 PM.