Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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 downloaded gDesklets from the website [.gz]
on konsole when i hit
./configure
i get this:
...
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
i have gcc installed, i tried with the one mandrake disks had, and the latest one i found on the web ...
supposedly it should cuz i installed it from the cd
but ive been noticing that .gz installations , some dont quite install ...
yet again, i hav gcc, gcc+, etc
i ALso tried to get it thru urpmi, and i got "unsatisfied gnome-python-config <-- i have gnome-python-config2
I managed to install gdesklets two days ago and it also took me a couple of days to make it work, so i can understand what you're facing. It's a nice app but it can drive you crazy till it's ready...
My guess is you're running 'make' as a standard user. Have you tried to run it as root?
I'm asking you cause root's $PATH variable includes more directories and maybe some of them which contain python/perl libs etc, may not be included in your user's $PATH and so you're facing this..
I had this kind of trouble when i had a fresh installation of FC2.
Another thing you should do is to make sure that you install all the devel packages you have on your cd, cause most of them are needed when you try to compile apps...
i do try it on root [su[ and its still the same ...
u talk about devel packages, if id want 2 install them now, how would i know wich onez i hav to install???
Most of the devel packages are useful but what you really gonna need depends on the apps you're willing to install. For example, gdesklets needs python for some themes, so it would be a good idea to install all the relevant python packages. If you have a broadband connection and some kind of auto-install tool like yum (in FC2) then the job would be quite easy.
As for the prob, could you check if there's any config.log file inside the folder you're trying to run 'make'?
It should have been created after running 'make'. Pls copy/paste the contents in your reply...
configure:1541: checking for a BSD-compatible install
configure:1596: result: /usr/bin/install -c
configure:1607: checking whether build environment is sane
configure:1650: result: yes
configure:1683: checking for gawk
configure:1699: found /bin/gawk
configure:1709: result: gawk
configure:1719: checking whether make sets $(MAKE)
configure:1739: result: yes
configure:1905: checking whether to enable maintainer-specific portions of Makefiles
configure:1914: result: no
configure:1942: checking for style of include used by make
configure:1970: result: GNU
configure:2041: checking for gcc
configure:2057: found /usr/bin/gcc
configure:2067: result: gcc
configure:2311: checking for C compiler version
configure:2314: gcc --version </dev/null >&5
gcc (GCC) 3.4.1 (Mandrakelinux (Alpha 3.4.1-3mdk)
Copyright (C) 2004 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:2317: $? = 0
configure:2319: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc/i586-mandrake-linux-gnu/3.4.1/specs
Configured with: ../configure --prefix=/usr --libdir=/usr/lib --with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --enable-long-long --enable-__cxa_atexit --enable-clocale=gnu --disable-libunwind-exceptions --enable-languages=c,c++,ada,f77,objc,java --host=i586-mandrake-linux-gnu --with-system-zlib
Thread model: posix
gcc version 3.4.1 (Mandrakelinux (Alpha 3.4.1-3mdk)
configure:2322: $? = 0
configure:2324: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:2327: $? = 1
configure:2350: checking for C compiler default output file name
configure:2353: gcc conftest.c >&5
/usr/bin/ld: unrecognized option '--as-needed'
/usr/bin/ld: use the --help option for usage information
collect2: ld returned 1 exit status
configure:2356: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "gDesklets"
| #define VERSION "0.30"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2395: error: C compiler cannot create executables
See `config.log' for more details.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.