LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 08-27-2004, 03:20 PM   #1
bored2k
LQ Newbie
 
Registered: Aug 2004
Distribution: MandrakeLinux 10.0
Posts: 6

Rep: Reputation: 0
Question Installation Error on gDesklets [compiler]


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 ...
 
Old 08-28-2004, 12:29 AM   #2
or1onas
Member
 
Registered: Mar 2004
Location: Athens,Greece
Distribution: Debian,Ubuntu
Posts: 181

Rep: Reputation: 32
Have you tried besides the gdesklets to install any other package?
Is gcc working correctly there?
 
Old 08-28-2004, 12:41 AM   #3
bored2k
LQ Newbie
 
Registered: Aug 2004
Distribution: MandrakeLinux 10.0
Posts: 6

Original Poster
Rep: Reputation: 0
dont think so ...

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


im soo desperate for gdeklets!
 
Old 08-28-2004, 12:50 AM   #4
or1onas
Member
 
Registered: Mar 2004
Location: Athens,Greece
Distribution: Debian,Ubuntu
Posts: 181

Rep: Reputation: 32
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...
 
Old 08-28-2004, 12:53 AM   #5
bored2k
LQ Newbie
 
Registered: Aug 2004
Distribution: MandrakeLinux 10.0
Posts: 6

Original Poster
Rep: Reputation: 0
i am logged on root

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???
 
Old 08-28-2004, 01:01 AM   #6
or1onas
Member
 
Registered: Mar 2004
Location: Athens,Greece
Distribution: Debian,Ubuntu
Posts: 181

Rep: Reputation: 32
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...
 
Old 08-28-2004, 01:02 AM   #7
or1onas
Member
 
Registered: Mar 2004
Location: Athens,Greece
Distribution: Debian,Ubuntu
Posts: 181

Rep: Reputation: 32
Update:
check the following url too:

http://forums.devshed.com/archive/t-158322
 
Old 08-28-2004, 01:38 AM   #8
bored2k
LQ Newbie
 
Registered: Aug 2004
Distribution: MandrakeLinux 10.0
Posts: 6

Original Poster
Rep: Reputation: 0
config log

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.59. Invocation command line was

$ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = bored2k
uname -m = i686
uname -r = 2.6.3-7mdk
uname -s = Linux
uname -v = #1 Wed Mar 17 15:56:42 CET 2004

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /sbin
PATH: /usr/sbin
PATH: /bin
PATH: /usr/bin
PATH: /usr/X11R6/bin
PATH: /usr/local/bin
PATH: /usr/local/sbin


## ----------- ##
## Core tests. ##
## ----------- ##

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.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /home/reb/Apps/gDesklets-0.30/missing --run aclocal-1.7'
ALL_LINGUAS=''
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /home/reb/Apps/gDesklets-0.30/missing --run tar'
AR=''
AUTOCONF='${SHELL} /home/reb/Apps/gDesklets-0.30/missing --run autoconf'
AUTOHEADER='${SHELL} /home/reb/Apps/gDesklets-0.30/missing --run autoheader'
AUTOMAKE='${SHELL} /home/reb/Apps/gDesklets-0.30/missing --run automake-1.7'
AWK='gawk'
CATALOGS=''
CATOBJEXT=''
CC='gcc'
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DATADIRNAME=''
DEFS=''
DEPDIR='.deps'
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EWMH_CFLAGS=''
EWMH_LIBS=''
EXEEXT=''
F77=''
FFLAGS=''
GCONFTOOL=''
GCONF_SCHEMAS_INSTALL_FALSE=''
GCONF_SCHEMAS_INSTALL_TRUE=''
GCONF_SCHEMA_CONFIG_SOURCE=''
GCONF_SCHEMA_FILE_DIR=''
GDESKLETS_CFLAGS=''
GDESKLETS_LIBS=''
GETTEXT_PACKAGE=''
GLIBTOP_CFLAGS=''
GLIBTOP_LIBS=''
GMOFILES=''
GMSGFMT=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
INSTOBJEXT=''
INTLLIBS=''
INTLTOOL_CAVES_RULE=''
INTLTOOL_DESKTOP_RULE=''
INTLTOOL_DIRECTORY_RULE=''
INTLTOOL_EXTRACT=''
INTLTOOL_KBD_RULE=''
INTLTOOL_KEYS_RULE=''
INTLTOOL_MERGE=''
INTLTOOL_OAF_RULE=''
INTLTOOL_PERL=''
INTLTOOL_PONG_RULE=''
INTLTOOL_PROP_RULE=''
INTLTOOL_SCHEMAS_RULE=''
INTLTOOL_SERVER_RULE=''
INTLTOOL_SHEET_RULE=''
INTLTOOL_SOUNDLIST_RULE=''
INTLTOOL_THEME_RULE=''
INTLTOOL_UI_RULE=''
INTLTOOL_UPDATE=''
INTLTOOL_XAM_RULE=''
INTLTOOL_XML_RULE=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /home/reb/Apps/gDesklets-0.30/missing --run makeinfo'
MKINSTALLDIRS=''
MSGFMT=''
OBJEXT=''
PACKAGE='gDesklets'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PIXMAPDIR=''
PKG_CONFIG=''
POFILES=''
POSUB=''
PO_IN_DATADIR_FALSE=''
PO_IN_DATADIR_TRUE=''
PYTHON=''
PYTHONINC=''
PYTHON_CFLAGS=''
PYTHON_EXEC_PREFIX=''
PYTHON_PLATFORM=''
PYTHON_PREFIX=''
PYTHON_VERSION=''
RANLIB=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
SVG_CFLAGS=''
SVG_LIBS=''
SYSTRAY_CFLAGS=''
SYSTRAY_LIBS=''
TILING_CFLAGS=''
TILING_LIBS=''
UPDATE_DESKTOP_DATABASE=''
UPDATE_MIME_DATABASE=''
USE_NLS=''
VERSION='0.30'
XGETTEXT=''
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_F77=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include='include'
am__leading_dot='.'
am__quote=''
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
coredir=''
datadir='${prefix}/share'
exec_prefix='NONE'
gnulocaledir=''
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/home/reb/Apps/gDesklets-0.30/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir=''
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
pkgpyexecdir=''
pkgpythondir=''
prefix='NONE'
program_transform_name='s,x,x,'
pyexecdir=''
pythondir=''
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE "gDesklets"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define VERSION "0.30"

configure: exit 77
 
Old 08-28-2004, 01:42 AM   #9
or1onas
Member
 
Registered: Mar 2004
Location: Athens,Greece
Distribution: Debian,Ubuntu
Posts: 181

Rep: Reputation: 32
have you seen the link i posted?
it looks quite the same problem with the one found there...
 
Old 08-28-2004, 01:44 AM   #10
bored2k
LQ Newbie
 
Registered: Aug 2004
Distribution: MandrakeLinux 10.0
Posts: 6

Original Poster
Rep: Reputation: 0
[y]

thanx im looking for em rpms
ill hit u back with my results
 
Old 08-28-2004, 01:47 AM   #11
or1onas
Member
 
Registered: Mar 2004
Location: Athens,Greece
Distribution: Debian,Ubuntu
Posts: 181

Rep: Reputation: 32
ok, i'll be waiting...
 
Old 08-29-2004, 02:43 PM   #12
bored2k
LQ Newbie
 
Registered: Aug 2004
Distribution: MandrakeLinux 10.0
Posts: 6

Original Poster
Rep: Reputation: 0
:s

men ive given up
i installed gKrellM instead
its not nearly as sleek, but its small and fits perfectly in m desktop

thnx 4 er`thing though
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
checking for C compiler default output... configure: error: C compiler cannot create fiorejm Linux - Software 6 11-12-2009 12:35 PM
configure: error: installation or configuration problem: C++ compiler cannot create e abirami Linux - Software 28 01-23-2008 11:35 AM
gDesklets Installation Probelm PEACEYALL Linux - Software 1 04-17-2005 08:11 AM
gaim installation error: C compiler cannot create executables darkleaf Linux - Software 14 08-20-2004 11:58 PM
gdesklets installation requirements NRHBasher Linux - Newbie 3 05-06-2004 03:19 PM


All times are GMT -5. The time now is 08:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration