SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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).
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:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.