Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
I am runnning Suse 9.1 personal edition and am trying to intall programs in the tarball format. I have read up on how to do installs and have had several roadblocks incuding not having gcc installed with suse. Now I have gcc installed and have a better understaning of the Linux intstall process (however still very basic as a noobie) I have also installed a C++ compiler. The problem is that I can't get the configuration process to complete. I have been searchig forever trying to find a solution without success. I'm not sure if this has something to do with prefixes or paths. I am not familiar with either. I have pasted in my shell output to see if anyone has some suggestions. Thanks
jrobertson@linux:~/Install Files/k/kino-0.7.6> ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/jrobertson/Install: /home/jrobertson/Install: No such file or directory
configure: WARNING: `missing' script is too old or missing
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
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.
I'm just using Kino as an example. I'm not sure about rights. I have tried it as a user and as a super user and I get the same message. I'm not sure what this error message even means
It looks like you don't have the compiler installed fully. Make sure you have the gcc and gcc-c++ packages for your distro installed (get them through yast).
configure:1418: checking for a BSD-compatible install
configure:1473: result: /usr/bin/install -c
configure:1484: checking whether build environment is sane
configure:1527: result: yes
configure:1592: checking for gawk
configure:1608: found /bin/gawk
configure:1618: result: gawk
configure:1628: checking whether make sets $(MAKE)
configure:1648: result: yes
configure:1818: checking whether to enable maintainer-specific portions of Makefiles
configure:1827: result: no
configure:1919: checking for gcc
configure:1935: found /usr/bin/gcc
configure:1945: result: gcc
configure:2189: checking for C compiler version
configure:2192: gcc --version </dev/null >&5
gcc (GCC) 3.3.3
Copyright (C) 2003 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.
configure:2195: $? = 0
configure:2197: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i586-redhat-linux/3.3.3/specs
Configured with: ../configure --prefix=/usr --with-slibdir=/lib --infodir=/usr/share/info --mandir=/usr/share/man --enable-shared --enable-threads=posix --enable-languages=c,c++,f77,java,objc --enable-__cxa_atexit --enable-c99 --enable-nls --enable-long-long --enable-multilib --with-gnu-as --with-gnu-ld --with-system-zlib --without-x i586-redhat-linux
Thread model: posix
gcc version 3.3.3
configure:2200: $? = 0
configure:2202: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:2205: $? = 1
configure:2228: checking for C compiler default output file name
configure:2231: gcc conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:2234: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "kino"
| #define PACKAGE_TARNAME "kino"
| #define PACKAGE_VERSION "0.7.6"
| #define PACKAGE_STRING "kino 0.7.6"
| #define PACKAGE_BUGREPORT "http://jira.schirmacher.de/jira-kino/"
| #define PACKAGE "kino"
| #define VERSION "0.7.6"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2273: error: C compiler cannot create executables
See `config.log' for more details.
Thanks for pin-pointing the problem. I have tried to install gcc c++ as well as the reccomended libraries. Some of this stuff installed, some did not. One thing I tried to install with rpm gace me an error. This is not a direct quote and the version numbers are made up because I'm not on my Linix box right now, but it basically said something like "gcc++3.1.2 is needed by gcc++3.1.2" How can something be needed to install itself. I will try to find the package you refered to. Is there a certain version number I would need? Am I experiencing these problems because I have conflicting version numbers already installed? Do I need to do anything with the PATH or prefixes when istalling this stuff, because I don't understand how to do that. Also, is it typical of most distros to not include these basic tools? I have had to hunt down the make package as well as numerous libraries and C compilers with SUSE. Does Fedora come preloaded with this stuff? Thanks again.
because I'm not on my Linix box right now, but it basically said something like "gcc++3.1.2 is needed by gcc++3.1.2" How can something be needed to install itself
Funny errors like this come up when using packages not made for your distro or the version of your distro.
Quote:
Do I need to do anything with the PATH or prefixes when istalling this stuff
No. Assuming you're using the correct Suse packages it will all install in the right place.
Quote:
Also, is it typical of most distros to not include these basic tools?
All major distros have these tools, some don't install them by default.
Quote:
I have had to hunt down the make package as well as numerous libraries and C compilers with SUSE
If you did this you're probably doing it the wrong way you need to get these packages through YAST, or at the very least get the correct packages for your Suse version from the Suse FTP site. Either way googling around for a 'gcc-c++' package or whatever is just going to lead to trouble. YAST is much easier anyway.
Originally posted by tkedwards Install the package glibc-devel using YAST. You might be missing other stuff too - make sure gcc-g++ is installed.
I've had the same problem installing XMMS on my system. On your suggestion I've now installed gcc-g++, but I can't find the glibc-devel package anywher in the repositories. Might it go by a different name?
Where did you get gcc-g++? I hav been looking for that and I can't fnd it. Is it a part of a larger package? I found the glibc-devl by entering that into Google, which may not be a good idea from what tdedwards has said. My problem is that I don't currently have an internet connection on my Linux box right now, so I can't use Yast to do auto updates. I have been searching for packages on google for suse 9.1 and transfering to my Linux system. Are most of these tools on the suse 9.1 CD, or are they only included with 9.3 professional? If they are on the CD, that would make things easier. Thanks for the help.
I got gcc-g++ from the ubuntu software repositories (automatic download using synaptic package manager, I *think* this is roughly equivalent to Yast autoupdates). I'll do a google for the other file and let you know what happened here...
Are most of these tools on the suse 9.1 CD, or are they only included with 9.3 professional?
They were in 9.1 also - these are very important packages, no Linux distro would leave them out completely. However Suse did have a downloadable version of 9.1 that was meant for desktop use so it did not include any development tools on the CDs. The professional version of 9.1 or 9.2 or 9.3 would definately have them. So does the Suse FTP site and YAST (with the right repositories setup).
Quote:
I got gcc-g++ from the ubuntu software repositories (automatic download using synaptic package manager, I *think* this is roughly equivalent to Yast autoupdates).
Yes Synaptic is the GUI frontend to the apt package manager whereas YAST is the GUI frontend for the Pacman package manager. They do the same thing on each distro but packages for Ubuntu are not compatible at all with Suse, they even use a different packaging format -DEB instead of RPM.
Oh, I see. I downloaded the Suse 9.1 personal CD. This must be a stripped down "desktop" version. Thanks for the FTP link, I'll have to check that out.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.