LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-29-2009, 09:13 AM   #1
hkothari
Member
 
Registered: Jul 2009
Location: Lowell, Massachusetts
Distribution: Slackware
Posts: 70

Rep: Reputation: 17
Aterm 64 Bit Can Not Build


Hi, I'm trying to build aterm on my 64bit machine, but the error I get from the configure script is:
Code:
configuring for aterm 1.00.01
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.
Here is the output of config.log:
Code:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by aterm configure 1.00.01, which was
generated by GNU Autoconf 2.61.  Invocation command line was

  $ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --enable-transparency

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

hostname = hd830
uname -m = x86_64
uname -r = 2.6.29.6
uname -s = Linux
uname -v = #2 SMP Mon Jul 13 21:13:11 CDT 2009

/usr/bin/uname -p = Intel(R) Core(TM)2 Duo CPU     T7250  @ 2.00GHz
/bin/uname -X     = unknown

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

PATH: /usr/local/sbin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/games
PATH: /usr/lib64/java/bin
PATH: /usr/lib64/kde4/libexec
PATH: /opt/kde3/lib64/qt3/bin
PATH: /opt/kde3/bin
PATH: /usr/lib64/qt/bin
PATH: /usr/share/texmf/bin
PATH: .


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

configure:2151: checking for gcc
configure:2167: found /usr/bin/gcc
configure:2178: result: gcc
configure:2416: checking for C compiler version
configure:2423: gcc --version >&5
gcc (GCC) 4.3.3
Copyright (C) 2008 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:2426: $? = 0
configure:2433: gcc -v >&5
Reading specs from /usr/lib64/gcc/x86_64-slackware-linux/4.3.3/specs
Target: x86_64-slackware-linux
Configured with: ../gcc-4.3.3/configure --prefix=/usr --libdir=/usr/lib64 --enable-shared --enable-bootstrap --enable-languages=ada,c,c++,fortran,java,objc --enable-threads=posix --enable-checking=release --with-system-zlib --disable-libunwind-exceptions --enable-__cxa_atexit --enable-libssp --with-gnu-ld --verbose --disable-multilib --target=x86_64-slackware-linux --build=x86_64-slackware-linux --host=x86_64-slackware-linux
Thread model: posix
gcc version 4.3.3 (GCC) 
configure:2436: $? = 0
configure:2443: gcc -V >&5
gcc: '-V' option must have argument
configure:2446: $? = 1
configure:2469: checking for C compiler default output file name
configure:2496: gcc -O2 -march=i486 -mtune=i686   conftest.c  >&5
conftest.c:1: error: CPU you selected does not support x86-64 instruction set
configure:2499: $? = 1
configure:2537: result: 
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "aterm"
| #define PACKAGE_TARNAME "aterm.tar"
| #define PACKAGE_VERSION "1.00.01"
| #define PACKAGE_STRING "aterm 1.00.01"
| #define PACKAGE_BUGREPORT "as-bugs@afterstep.org"
| #define TRANSPARENT 1
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:2544: 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=set
ac_cv_env_CFLAGS_value='-O2 -march=i486 -mtune=i686'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_XMKMF_set=
ac_cv_env_XMKMF_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_prog_ac_ct_CC=gcc

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

AFTERIMAGE_LIBS=''
AFTERSTEP_LIBS=''
CC='gcc'
CFLAGS='-O2 -march=i486 -mtune=i686'
CP=''
CPP=''
CPPFLAGS=''
DATE='01 August 2007'
DEBUG=''
DEFS=''
DINCLUDE=''
DLIB=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FIND=''
GREP=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
LDCONFIG=''
LDFLAGS=''
LIBAFTERIMAGE_CFLAGS=''
LIBAFTERSTEP_CFLAGS=''
LIBOBJS=''
LIBS=''
LSMDATE='01Aug07'
LTLIBOBJS=''
MKDIR=''
MV=''
OBJEXT=''
PACKAGE_BUGREPORT='as-bugs@afterstep.org'
PACKAGE_NAME='aterm'
PACKAGE_STRING='aterm 1.00.01'
PACKAGE_TARNAME='aterm.tar'
PACKAGE_VERSION='1.00.01'
PATH_SEPARATOR=':'
PERL=''
RANLIB=''
RM=''
SED=''
SHELL='/bin/sh'
VERSION='1.00.01'
XARGS=''
XEXTENTIONS_LIBS=''
XMKMF=''
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=''
ac_ct_CC='gcc'
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target_alias=''

## ------------------- ##
## File substitutions. ##
## ------------------- ##

MCOMMON=''

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

#define PACKAGE_NAME "aterm"
#define PACKAGE_TARNAME "aterm.tar"
#define PACKAGE_VERSION "1.00.01"
#define PACKAGE_STRING "aterm 1.00.01"
#define PACKAGE_BUGREPORT "as-bugs@afterstep.org"
#define TRANSPARENT 1

configure: exit 77
I'm assuming that this has to do with the fact that I'm using a 64bit system, but is there a way I can configure it to compile on this system?
Help is much appreciated, thanks.
 
Old 07-29-2009, 09:40 AM   #2
ap0calypse
Member
 
Registered: Jul 2009
Location: Austria
Distribution: Slackware
Posts: 38

Rep: Reputation: 16
Did you try it with a slackbuild?
If so, edit the slackbuild-file and replace the ARCH-variable with x86_64.
Should work ... hopefully
 
Old 07-29-2009, 12:35 PM   #3
hkothari
Member
 
Registered: Jul 2009
Location: Lowell, Massachusetts
Distribution: Slackware
Posts: 70

Original Poster
Rep: Reputation: 17
that was exactly it, thank you, I figured it wouldn't be something like that because in the ./configure script it was detecting the architecture, but thank you anyways.
 
  


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
How do I build a 64-bit kernel? CollieJim Linux - General 2 02-04-2008 01:39 AM
Will compiling LFS on an 64 bit distro build an 64 bit LFS? Vampirite Linux From Scratch 4 08-31-2007 03:48 PM
Can I build 32-bit LFS on a 64-bit AMD system? dhave Linux From Scratch 4 07-23-2007 08:00 PM
Build a 32 bit chroot? Tomex Fedora 1 11-14-2005 01:31 PM
how to build a 32 bit chroot for 64bit nathj72 Linux - Newbie 1 03-26-2005 04:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:45 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
Open Source Consulting | Domain Registration