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

Notices


Reply
  Search this Thread
Old 12-15-2010, 05:53 PM   #1
chaoschief
LQ Newbie
 
Registered: Dec 2010
Location: Massachusetts, USA
Distribution: Slackware64 13.1, Mint Debian, Debian Unstable
Posts: 9

Rep: Reputation: 0
Can't compile in Slackware 13.1 x64


I'm trying to compile farsight, so I can compile pidgin. When I try using a SlackBuild script, I get this error

Code:
+---------------------------+
| Start SlackBuild Farsight |
+---------------------------+
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i486-slackware-linux-gnu
checking host system type... i486-slackware-linux-gnu
checking for style of include used by make... GNU
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.
Config.log says this
Code:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by Farsight configure 0.1.28, which was
generated by GNU Autoconf 2.61.  Invocation command line was

  $ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=/usr/lib --disable-static --mandir=/usr/man --program-prefix= --program-suffix= --build=i486-slackware-linux

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

hostname = Nick-Slackware
uname -m = x86_64
uname -r = 2.6.33.4
uname -s = Linux
uname -v = #3 SMP Wed May 12 23:13:09 CDT 2010

/usr/bin/uname -p = Intel(R) Core(TM)2 Duo CPU     P8600  @ 2.40GHz
/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: /usr/lib64/qt/bin


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

configure:2144: checking for a BSD-compatible install
configure:2200: result: /usr/bin/ginstall -c
configure:2211: checking whether build environment is sane
configure:2254: result: yes
configure:2282: checking for a thread-safe mkdir -p
configure:2321: result: /usr/bin/mkdir -p
configure:2334: checking for gawk
configure:2350: found /usr/bin/gawk
configure:2361: result: gawk
configure:2372: checking whether make sets $(MAKE)
configure:2393: result: yes
configure:2667: checking build system type
configure:2685: result: i486-slackware-linux-gnu
configure:2707: checking host system type
configure:2722: result: i486-slackware-linux-gnu
configure:2756: checking for style of include used by make
configure:2784: result: GNU
configure:2854: checking for gcc
configure:2870: found /usr/bin/gcc
configure:2881: result: gcc
configure:3119: checking for C compiler version
configure:3126: gcc --version >&5
gcc (GCC) 4.4.4
Copyright (C) 2010 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:3129: $? = 0
configure:3136: gcc -v >&5
Reading specs from /usr/lib64/gcc/x86_64-slackware-linux/4.4.4/specs
Target: x86_64-slackware-linux
Configured with: ../gcc-4.4.4/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 --with-python-dir=/lib64/python2.6/site-packages --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.4.4 (GCC) 
configure:3139: $? = 0
configure:3146: gcc -V >&5
gcc: '-V' option must have argument
configure:3149: $? = 1
configure:3172: checking for C compiler default output file name
configure:3199: gcc -O2 -march=i486 -mtune=i686   conftest.c  >&5
conftest.c:1: error: CPU you selected does not support x86-64 instruction set
configure:3202: $? = 1
configure:3240: result: 
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "Farsight"
| #define PACKAGE_TARNAME "farsight"
| #define PACKAGE_VERSION "0.1.28"
| #define PACKAGE_STRING "Farsight 0.1.28"
| #define PACKAGE_BUGREPORT "https://bugs.freedesktop.org/enter_bug.cgi?product=Telepathy"
| #define PACKAGE "farsight"
| #define VERSION "0.1.28"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3247: error: C compiler cannot create executables
See `config.log' for more details.

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

ac_cv_build=i486-slackware-linux-gnu
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
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_CHECK_CFLAGS_set=
ac_cv_env_CHECK_CFLAGS_value=
ac_cv_env_CHECK_LIBS_set=
ac_cv_env_CHECK_LIBS_value=
ac_cv_env_CLINKC_CFLAGS_set=
ac_cv_env_CLINKC_CFLAGS_value=
ac_cv_env_CLINKC_LIBS_set=
ac_cv_env_CLINKC_LIBS_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=set
ac_cv_env_CXXFLAGS_value='-O2 -march=i486 -mtune=i686'
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_GLIB_CFLAGS_set=
ac_cv_env_GLIB_CFLAGS_value=
ac_cv_env_GLIB_LIBS_set=
ac_cv_env_GLIB_LIBS_value=
ac_cv_env_GMODULE_CFLAGS_set=
ac_cv_env_GMODULE_CFLAGS_value=
ac_cv_env_GMODULE_LIBS_set=
ac_cv_env_GMODULE_LIBS_value=
ac_cv_env_GST_BASE_CFLAGS_set=
ac_cv_env_GST_BASE_CFLAGS_value=
ac_cv_env_GST_BASE_LIBS_set=
ac_cv_env_GST_BASE_LIBS_value=
ac_cv_env_GST_CFLAGS_set=
ac_cv_env_GST_CFLAGS_value=
ac_cv_env_GST_LIBS_set=
ac_cv_env_GST_LIBS_value=
ac_cv_env_GST_PLUGINS_BASE_CFLAGS_set=
ac_cv_env_GST_PLUGINS_BASE_CFLAGS_value=
ac_cv_env_GST_PLUGINS_BASE_LIBS_set=
ac_cv_env_GST_PLUGINS_BASE_LIBS_value=
ac_cv_env_JINGLEBASE_CFLAGS_set=
ac_cv_env_JINGLEBASE_CFLAGS_value=
ac_cv_env_JINGLEBASE_LIBS_set=
ac_cv_env_JINGLEBASE_LIBS_value=
ac_cv_env_JINGLEP2P_CFLAGS_set=
ac_cv_env_JINGLEP2P_CFLAGS_value=
ac_cv_env_JINGLEP2P_LIBS_set=
ac_cv_env_JINGLEP2P_LIBS_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=i486-slackware-linux
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_host=i486-slackware-linux-gnu
ac_cv_path_install='/usr/bin/ginstall -c'
ac_cv_path_mkdir=/usr/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes

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

ACLOCAL='${SHELL} /tmp/txz/farsight/farsight-0.1.28/missing --run aclocal-1.10'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /tmp/txz/farsight/farsight-0.1.28/missing --run tar'
AR=''
AUTOCONF='${SHELL} /tmp/txz/farsight/farsight-0.1.28/missing --run autoconf'
AUTOHEADER='${SHELL} /tmp/txz/farsight/farsight-0.1.28/missing --run autoheader'
AUTOMAKE='${SHELL} /tmp/txz/farsight/farsight-0.1.28/missing --run automake-1.10'
AWK='gawk'
CC='gcc'
CCDEPMODE=''
CFLAGS='-O2 -march=i486 -mtune=i686'
CHECK_CFLAGS=''
CHECK_LIBS=''
CLINKC_CFLAGS=''
CLINKC_LIBS=''
CONVERT=''
CPP=''
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS='-O2 -march=i486 -mtune=i686'
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DSYMUTIL=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_GTK_DOC_FALSE=''
ENABLE_GTK_DOC_TRUE=''
ERROR_CFLAGS=''
EXEEXT=''
F77=''
FARSIGHT_BINARY_AGE=''
FARSIGHT_INTERFACE_AGE=''
FARSIGHT_MAJORMINOR=''
FARSIGHT_MAJOR_VERSION=''
FARSIGHT_MICRO_VERSION=''
FARSIGHT_MINOR_VERSION=''
FARSIGHT_PLUGIN_LDFLAGS=''
FARSIGHT_VERSION=''
FFLAGS=''
GLIB_CFLAGS=''
GLIB_LIBS=''
GMODULE_CFLAGS=''
GMODULE_LIBS=''
GREP=''
GS=''
GST_BASE_CFLAGS=''
GST_BASE_LIBS=''
GST_CFLAGS=''
GST_LIBS=''
GST_MAJORMINOR=''
GST_PLUGINS_BASE_CFLAGS=''
GST_PLUGINS_BASE_LIBS=''
GTK_DOC_USE_LIBTOOL_FALSE=''
GTK_DOC_USE_LIBTOOL_TRUE=''
HAVE_CHECK=''
HAVE_CLINKC=''
HAVE_CPU_ALPHA_FALSE=''
HAVE_CPU_ALPHA_TRUE=''
HAVE_CPU_ARM_FALSE=''
HAVE_CPU_ARM_TRUE=''
HAVE_CPU_CRISV32_FALSE=''
HAVE_CPU_CRISV32_TRUE=''
HAVE_CPU_CRIS_FALSE=''
HAVE_CPU_CRIS_TRUE=''
HAVE_CPU_HPPA_FALSE=''
HAVE_CPU_HPPA_TRUE=''
HAVE_CPU_I386_FALSE=''
HAVE_CPU_I386_TRUE=''
HAVE_CPU_IA64_FALSE=''
HAVE_CPU_IA64_TRUE=''
HAVE_CPU_M68K_FALSE=''
HAVE_CPU_M68K_TRUE=''
HAVE_CPU_MIPS_FALSE=''
HAVE_CPU_MIPS_TRUE=''
HAVE_CPU_PPC64_FALSE=''
HAVE_CPU_PPC64_TRUE=''
HAVE_CPU_PPC_FALSE=''
HAVE_CPU_PPC_TRUE=''
HAVE_CPU_S390_FALSE=''
HAVE_CPU_S390_TRUE=''
HAVE_CPU_SPARC_FALSE=''
HAVE_CPU_SPARC_TRUE=''
HAVE_CPU_X86_64_FALSE=''
HAVE_CPU_X86_64_TRUE=''
HAVE_GST_PLUGINS_BASE_FALSE=''
HAVE_GST_PLUGINS_BASE_TRUE=''
HAVE_JINGLEP2P=''
HAVE_MSNAVCONF=''
HAVE_MSNWEBCAM=''
HAVE_PKGCONFIG=''
HAVE_RTP=''
HAVE_YAHOOWEBCAM=''
HOST_CPU=''
HTML_DIR=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
JINGLEBASE_CFLAGS=''
JINGLEBASE_LIBS=''
JINGLEP2P_CFLAGS=''
JINGLEP2P_LIBS=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
LT_AGE=''
LT_CURRENT=''
LT_CURRENT_MINUS_AGE=''
LT_RELEASE=''
LT_REVISION=''
MAKEINFO='${SHELL} /tmp/txz/farsight/farsight-0.1.28/missing --run makeinfo'
MAKE_SEQ_DIAS=''
MAKE_SEQ_DIAS_FALSE=''
MAKE_SEQ_DIAS_TRUE=''
NMEDIT=''
OBJEXT=''
PACKAGE='farsight'
PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=Telepathy'
PACKAGE_NAME='Farsight'
PACKAGE_STRING='Farsight 0.1.28'
PACKAGE_TARNAME='farsight'
PACKAGE_VERSION='0.1.28'
PATH_SEPARATOR=':'
PIC2PLOT=''
PKG_CONFIG=''
RANLIB=''
SED=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
USE_CHECK_FALSE=''
USE_CHECK_TRUE=''
USE_CLINKC_FALSE=''
USE_CLINKC_TRUE=''
USE_JINGLEP2P_FALSE=''
USE_JINGLEP2P_TRUE=''
USE_MSNAVCONF_FALSE=''
USE_MSNAVCONF_TRUE=''
USE_MSNWEBCAM_FALSE=''
USE_MSNWEBCAM_TRUE=''
USE_RTP_FALSE=''
USE_RTP_TRUE=''
USE_YAHOOWEBCAM_FALSE=''
USE_YAHOOWEBCAM_TRUE=''
VERSION='0.1.28'
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_F77=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='i486-slackware-linux-gnu'
build_alias='i486-slackware-linux'
build_cpu='i486'
build_os='linux-gnu'
build_vendor='slackware'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='i486-slackware-linux-gnu'
host_alias=''
host_cpu='i486'
host_os='linux-gnu'
host_vendor='slackware'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='$(SHELL) /tmp/txz/farsight/farsight-0.1.28/install-sh'
libdir='/usr/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='/var'
mandir='/usr/man'
mkdir_p='/usr/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
plugindir=''
prefix='/usr'
program_transform_name='s&$$&&;s&^&&'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target_alias=''

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

#define PACKAGE_NAME "Farsight"
#define PACKAGE_TARNAME "farsight"
#define PACKAGE_VERSION "0.1.28"
#define PACKAGE_STRING "Farsight 0.1.28"
#define PACKAGE_BUGREPORT "https://bugs.freedesktop.org/enter_bug.cgi?product=Telepathy"
#define PACKAGE "farsight"
#define VERSION "0.1.28"

configure: exit 77
I installed SlackWare 13.1 using the full option.
I'm new to slackware and need help getting this working. Thanks everyone!
 
Old 12-15-2010, 06:14 PM   #2
bonixavier
Member
 
Registered: Sep 2010
Distribution: Slackware
Posts: 320

Rep: Reputation: 69
Perhaps this
Quote:
Originally Posted by chaoschief View Post
Code:
uname -m = x86_64
Doesn't work well with this
Quote:
Originally Posted by chaoschief View Post
Code:
checking build system type... i486-slackware-linux-gnu
checking host system type... i486-slackware-linux-gnu
If you're installing using a Slackbuild script, change the line (quoting by memory, you'll see what I'm talking about when you open the script)
Code:
ARCH=${i486}
to something like this
Code:
ARCH=${x86_64}
Quote:
I installed SlackWare 13.1 using the full option.
So why do you need to compile pidgin?
 
Old 12-15-2010, 07:01 PM   #3
chaoschief
LQ Newbie
 
Registered: Dec 2010
Location: Massachusetts, USA
Distribution: Slackware64 13.1, Mint Debian, Debian Unstable
Posts: 9

Original Poster
Rep: Reputation: 0
Sorry, I recently noticed it was already installed, but I also needed to install Gfire so I could use Xfire on pidgin. I used slackpkg update and installed all updated packages, and compiling worked again. Thanks for your help.
 
  


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
NDISwrapper works for Slackware 13.0 x86 but not Slackware 13.0 x64 - Belkin F5D8053 thewizkid Slackware 0 01-14-2010 06:18 AM
Ralink RT2500USB driver won't compile on my Fedora 10 x64 machine banjzooie Linux - Networking 2 03-11-2009 09:16 AM
how to cross compile libsdl_image for 386 on x64? donnied Linux - Software 2 09-14-2008 08:57 PM
kernel 2.6.11 smp x64 compile not working meangene72 Fedora 0 11-26-2005 02:42 AM
Fedora Core4 x64, no way to compile kernel proNick Fedora 2 07-12-2005 10:57 PM

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

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