LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 09-26-2005, 10:13 AM   #1
jhonny0099
LQ Newbie
 
Registered: Sep 2005
Posts: 6

Rep: Reputation: 0
./configuration problems with istalling programs


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.
 
Old 09-26-2005, 01:21 PM   #2
free_ouyo
Member
 
Registered: Mar 2004
Location: Belgium
Distribution: Ubuntu
Posts: 133

Rep: Reputation: 15
./configuration problems with istalling programs

Hello,

Maybe you don't have the right to execute it with common user rights ?
Why you don't use rpm version to install kino ?
version 0.7.5 is available on :
ftp://ftp.pbone.net/mirror/packman.i....pm.1.i686.rpm

good luck.
--
free_ouyo
 
Old 09-26-2005, 01:38 PM   #3
jhonny0099
LQ Newbie
 
Registered: Sep 2005
Posts: 6

Original Poster
Rep: Reputation: 0
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
 
Old 09-26-2005, 01:42 PM   #4
free_ouyo
Member
 
Registered: Mar 2004
Location: Belgium
Distribution: Ubuntu
Posts: 133

Rep: Reputation: 15
./configuration problems with istalling programs

what is showing the "config.log" ?

free_ouyo
 
Old 09-26-2005, 06:11 PM   #5
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
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).
 
Old 09-26-2005, 07:16 PM   #6
jhonny0099
LQ Newbie
 
Registered: Sep 2005
Posts: 6

Original Poster
Rep: Reputation: 0
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

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

$ ./configure

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

hostname = linux
uname -m = i686
uname -r = 2.6.4-52-default
uname -s = Linux
uname -v = #1 Wed Apr 7 02:08:30 UTC 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: /usr/sbin
PATH: /bin
PATH: /usr/bin
PATH: /sbin
PATH: /usr/X11R6/bin


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

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.

## ---------------- ##
## 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_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_GNOME2_CFLAGS_set=
ac_cv_env_GNOME2_CFLAGS_value=
ac_cv_env_GNOME2_LIBS_set=
ac_cv_env_GNOME2_LIBS_value=
ac_cv_env_GTK24_CFLAGS_set=
ac_cv_env_GTK24_CFLAGS_value=
ac_cv_env_GTK24_LIBS_set=
ac_cv_env_GTK24_LIBS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_SRC_CFLAGS_set=
ac_cv_env_SRC_CFLAGS_value=
ac_cv_env_SRC_LIBS_set=
ac_cv_env_SRC_LIBS_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/jrobertson/k/missing --run aclocal-1.9'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /home/jrobertson/k/missing --run tar'
AUTOCONF='${SHELL} /home/jrobertson/k/missing --run autoconf'
AUTOHEADER='${SHELL} /home/jrobertson/k/missing --run autoheader'
AUTOMAKE='${SHELL} /home/jrobertson/k/missing --run automake-1.9'
AVCODEC_CFLAGS=''
AVCODEC_LIBS=''
AWK='gawk'
CATALOGS=''
CATOBJEXT=''
CC='gcc'
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CXX=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DATADIR=''
DATADIRNAME=''
DEFS=''
DEPDIR=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
GETTEXT_PACKAGE=''
GMOFILES=''
GMSGFMT=''
GNOME2_CFLAGS=''
GNOME2_LIBS=''
GTK24_CFLAGS=''
GTK24_LIBS=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
INSTOBJEXT=''
INTLLIBS=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /home/jrobertson/k/missing --run makeinfo'
MKINSTALLDIRS=''
MSGFMT=''
OBJEXT=''
PACKAGE='kino'
PACKAGE_BUGREPORT='http://jira.schirmacher.de/jira-kino/'
PACKAGE_NAME='kino'
PACKAGE_STRING='kino 0.7.6'
PACKAGE_TARNAME='kino'
PACKAGE_VERSION='0.7.6'
PATH_SEPARATOR=':'
PKG_CONFIG=''
POFILES=''
POSUB=''
PO_IN_DATADIR_FALSE=''
PO_IN_DATADIR_TRUE=''
RANLIB=''
SET_MAKE=''
SHELL='/bin/sh'
SRC_CFLAGS=''
SRC_LIBS=''
STRIP=''
USE_NLS=''
VERSION='0.7.6'
XGETTEXT=''
XML2_CONFIG=''
XML2_FLAGS=''
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
ac_pt_PKG_CONFIG=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${prefix}/share'
exec_prefix='NONE'
host_alias=''
hotplugscriptdir=''
hotplugusermapdir=''
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/home/jrobertson/k/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

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

#define PACKAGE "kino"
#define PACKAGE_BUGREPORT "http://jira.schirmacher.de/jira-kino/"
#define PACKAGE_NAME "kino"
#define PACKAGE_STRING "kino 0.7.6"
#define PACKAGE_TARNAME "kino"
#define PACKAGE_VERSION "0.7.6"
#define VERSION "0.7.6"

configure: exit 77
 
Old 09-26-2005, 07:27 PM   #7
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Quote:
configure:2231: gcc conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
Install the package glibc-devel using YAST. You might be missing other stuff too - make sure gcc-g++ is installed.
 
Old 09-27-2005, 07:49 AM   #8
jhonny0099
LQ Newbie
 
Registered: Sep 2005
Posts: 6

Original Poster
Rep: Reputation: 0
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.
 
Old 09-28-2005, 03:56 AM   #9
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Quote:
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.
 
Old 09-28-2005, 07:46 AM   #10
stuoolong
LQ Newbie
 
Registered: Sep 2005
Location: Leeds, UK
Posts: 5

Rep: Reputation: 0
Quote:
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?

Last edited by stuoolong; 09-28-2005 at 07:48 AM.
 
Old 09-28-2005, 12:30 PM   #11
jhonny0099
LQ Newbie
 
Registered: Sep 2005
Posts: 6

Original Poster
Rep: Reputation: 0
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.
 
Old 09-28-2005, 05:23 PM   #12
stuoolong
LQ Newbie
 
Registered: Sep 2005
Location: Leeds, UK
Posts: 5

Rep: Reputation: 0
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...
 
Old 09-28-2005, 10:14 PM   #13
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Quote:
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
Get the packages from the Suse FTP site ftp://ftp.suse.com/pub/suse/i386/

Quote:
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.
 
Old 09-29-2005, 07:40 AM   #14
jhonny0099
LQ Newbie
 
Registered: Sep 2005
Posts: 6

Original Poster
Rep: Reputation: 0
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.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Istalling Modem hottyiceman Linux - Newbie 4 10-28-2003 11:19 PM
problem istalling RH9 RyPingu Linux - General 5 07-17-2003 10:35 AM
Problem Istalling perls GD module barkers Linux - Software 1 07-03-2003 08:23 AM
DOS based configuration programs rwelch Linux - Networking 2 03-06-2003 02:58 AM
Istalling Mandrake 9.0 derekandjac Linux - Newbie 6 02-26-2003 04:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:02 PM.

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
Open Source Consulting | Domain Registration