LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installation Error on gDesklets [compiler] (https://www.linuxquestions.org/questions/linux-newbie-8/installation-error-on-gdesklets-%5Bcompiler%5D-223207/)

bored2k 08-27-2004 03:20 PM

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 ...

or1onas 08-28-2004 12:29 AM

Have you tried besides the gdesklets to install any other package?
Is gcc working correctly there?

bored2k 08-28-2004 12:41 AM

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!

or1onas 08-28-2004 12:50 AM

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...

bored2k 08-28-2004 12:53 AM

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???

or1onas 08-28-2004 01:01 AM

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...

or1onas 08-28-2004 01:02 AM

Update:
check the following url too:

http://forums.devshed.com/archive/t-158322

bored2k 08-28-2004 01:38 AM

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

or1onas 08-28-2004 01:42 AM

have you seen the link i posted?
it looks quite the same problem with the one found there...

bored2k 08-28-2004 01:44 AM

[y]
 
thanx im looking for em rpms
ill hit u back with my results

or1onas 08-28-2004 01:47 AM

ok, i'll be waiting...;)

bored2k 08-29-2004 02:43 PM

: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


All times are GMT -5. The time now is 06:16 PM.