LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 03-19-2006, 06:59 PM   #1
patisawsome
Member
 
Registered: Oct 2004
Posts: 52

Rep: Reputation: 15
Problem Compiling


I just installed Ubuntu 5.10 onto my computer and I am having troubles with compiling programs. I added extra repositories and installed a tool chain package I found and the newest version of GCC and and G++. When running "./configure" I get the following error message.
Code:
checking for C++ compiler default output... configure: error: C++ compiler cannot create executables
What does this mean and how would I go about fixing it? Thankyou for any help in advance.
 
Old 03-19-2006, 09:31 PM   #2
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,793

Rep: Reputation: 2086Reputation: 2086Reputation: 2086Reputation: 2086Reputation: 2086Reputation: 2086Reputation: 2086Reputation: 2086Reputation: 2086Reputation: 2086Reputation: 2086
There should be more detailed error messages in config.log Post the end of it here.

Also you are not the first one with this probem: http://www.google.ca/search?q=%22C%2...te+executables
 
Old 03-20-2006, 03:35 PM   #3
patisawsome
Member
 
Registered: Oct 2004
Posts: 52

Original Poster
Rep: Reputation: 15
I wasnt quite sure of how much of the "system.log" to post but here is the better part of the end.

Code:
## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /home/patrick/fluxbg-0.7/missing --run aclocal'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /home/patrick/fluxbg-0.7/missing --run tar'
AUTOCONF='${SHELL} /home/patrick/fluxbg-0.7/missing --run autoconf'
AUTOHEADER='${SHELL} /home/patrick/fluxbg-0.7/missing --run autoheader'
AUTOMAKE='${SHELL} /home/patrick/fluxbg-0.7/missing --run automake'
AWK='gawk'
CC=''
CCDEPMODE=''
CFLAGS=''
CPPFLAGS=''
CXX='g++'
CXXDEPMODE=''
CXXFLAGS=''
DEFS=''
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EXEEXT=''
GTKMM_CFLAGS=''
GTKMM_LIBS=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/patrick/fluxbg-0.7/missing --run makeinfo'
OBJEXT='o'
PACKAGE='fluxbg'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PKG_CONFIG=''
SET_MAKE=''
SHELL='/bin/sh'
VERSION='0.5.2'
ac_ct_CC=''
ac_ct_CXX='g++'
am__include=''
am__quote=''
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${prefix}/share'
exec_prefix='NONE'
host_alias=''
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/home/patrick/fluxbg-0.7/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
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 "fluxbg"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define VERSION "0.5.2"

configure: exit 77
I hope this is what your looking for.
 
Old 03-20-2006, 04:44 PM   #4
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,793

Rep: Reputation: 2086Reputation: 2086Reputation: 2086Reputation: 2086Reputation: 2086Reputation: 2086Reputation: 2086Reputation: 2086Reputation: 2086Reputation: 2086Reputation: 2086
Hmm, I'm not seeing any error messages in there. Can you compile a basic helloword.cpp program? What are the permissions on the directory you're compiling in? Are you sure you have libstdc++?
 
  


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
Problem while compiling shinni Programming 1 02-08-2005 12:13 AM
Compiling Problem BACTRATE Mandriva 1 03-12-2004 04:36 AM
Compiling Problem... ThE_DeaD Linux - Newbie 10 12-14-2003 03:14 PM
Compiling problem.... pyrocrickett Linux - Software 2 09-11-2003 02:19 PM
problem compiling qt qanopus Linux - Software 3 03-08-2003 02:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 05:31 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