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.
Hey everyone, I am having a problem dealing with an install (or 10).
I have a trimmed down version of Slackware (ver 10.2). It is a VMware appliance for running a Jabber server. While messing around with the Jabber server, I noticed that it didn't come with the ability to group chat so in order to do so, Jabber needed to be supplemented with mu-conference and mu-conference needed glib-2.0 or greater for the make file to run. I downloaded this package (glib-2.16.5.tar.gz) and got it on to the appliance I attempted to run
Code:
./configure
and I got the following error
Code:
configure: error: no acceptable C compiler found in $PATH
Browsing around I found that I needed to install gcc. I browsed the slackware package webpage and got gcc-g++-4.2.3-i486-1.tgz. I ftp'd the file to the /tmp folder and then ran:
Code:
installpkg gcc-g++-4.2.3-i486-1.tgz
Some stuff then happened and it appeared like it may have been installed correctly. I then attempted to run the configure command again and the output I received was as follows:
Code:
root@jabber:/tmp/glib-2.16.5# ./configure
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnuoldld
checking host system type... i686-pc-linux-gnuoldld
checking for the BeOS... no
checking for Win32... no
checking for Mac OS X Carbon support... checking for style of include used by make... GNU
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
Config.log doesn't contain much more then what I posted above. Seemingly Slack doesn't know what the compiler is still. Can anyone help me troubleshoot a bit?
Thanks Fidori, that got me a little farther. I am now erroring out with the following message:
Code:
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.
Output from the config.log file can be found here (clicky!).
Last edited by Khue; 08-27-2008 at 06:51 AM.
Reason: Updating after following directions.
First, your using Slackware 10.2 and trying to install the latest packages from 12.1 or current. It may or may not work when it's all said and done but I guess you'll find out soon enough.
What you should first try is selecting 10.2 from the drop down box when looking for packages. If you were to get an error later on stating that some prog is too old, then you should try upgrading. 10.2 does come with glib2 so you should just try installing that.
He said he already installed it. config.log also indicates that he did.
Code:
configure:2658: checking for gcc
configure:2674: found /usr/bin/gcc
configure:2685: result: gcc
configure:2923: checking for C compiler version
configure:2930: gcc --version >&5
gcc (GCC) 4.2.3
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
I kind of agree with you on the 10.2 thing in retrospect. Once I get this process down, I am going to destroy this box and rebuild it from scratch to make sure everything is clean.
Ok after binutils install, I got further... however still stopping.
Code:
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
Use packages for the version 10.2 if thats what you are running. A minimum of packages which you need for compiling stuff will include: glibc (not the glibc-solibs), kernel-headers, gcc, g++, , cxxlibs, binutils, make, perl, m4, libtool, automake, autoconf and probably bison, flex, gettext, gettext-tools, plus any particular libs needed by the program you are trying to compile.
...glibc (not the glibc-solibs), kernel-headers...
There we go. After those two were installed we were good to go. I had to use pkg-config from the current slack version b/c 10.2 wasn't new enough. The complete list of things missing or that I needed to make this conference thing work included the following items:
The pkg-config problem might have been resolved with the nearly 'magic' autoconf command 'autoreconf -if'. Many times when configuration complains because of mis-matched versions of autoconf, automake or libtool, using this command will set things right.
Anyway, glad you got things going. That was a pretty complete list of packages for compiling nearly any sources which use autoconf configuration.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.