aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: aMule-CVS-20080118 on a Mac  (Read 4931 times)

akeyo

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
aMule-CVS-20080118 on a Mac
« on: January 18, 2008, 03:40:26 PM »

Hi everybody,
I've got some problems compiling aMule-CVS-20080118. I've followed step by step the wiki page, but when I get ./configure I obtain this lines:

checking build system type... powerpc-apple-darwin9.1.0
checking host system type... powerpc-apple-darwin9.1.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for g++... g++
checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables
See `config.log' for more details.

What's the matter?
Logged

Festor

  • Hero Member
  • *****
  • Karma: 79
  • Offline Offline
  • Posts: 935
  • Offline -> Studying...
Re: aMule-CVS-20080118 on a Mac
« Reply #1 on: January 18, 2008, 03:57:17 PM »

At least on GNU/Linux, that problem is because you do not have installed compilers and minimum packages to compile (build-essential package)

In Mac I think it will be due to the same thing

akeyo

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Re: aMule-CVS-20080118 on a Mac
« Reply #2 on: January 18, 2008, 04:14:52 PM »

At least on GNU/Linux, that problem is because you do not have installed compilers and minimum packages to compile (build-essential package)

In Mac I think it will be due to the same thing

Ok, I though so, but I've already installed Xcode, as specified in the wiki page...
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: aMule-CVS-20080118 on a Mac
« Reply #3 on: January 18, 2008, 04:43:16 PM »

Quote
checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables
See `config.log' for more details.

Please have a look at this file or attach it to your response for us to see.
Logged

akeyo

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Re: aMule-CVS-20080118 on a Mac
« Reply #4 on: January 19, 2008, 08:28:30 AM »

Here you are. I've looked at it but  can't understand much...

Code: [Select]

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by aMule configure SVN, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure --disable-systray --disable-gtk --enable-embedded_crypto --with-wx-config=../wxMac-2.8.7/build/wx-config --enable-cas --enable-webserver --enable-amulecmd --disable-debug --enable-optimize --disable-dependency-tracking CFLAGS=-arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk CXXFLAGS=-arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk

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

hostname = MacMini.local
uname -m = Power Macintosh
uname -r = 9.1.0
uname -s = Darwin
uname -v = Darwin Kernel Version 9.1.0: Wed Oct 31 17:48:21 PDT 2007; root:xnu-1228.0.2~1/RELEASE_PPC

/usr/bin/uname -p = powerpc
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = Mach kernel version:
Darwin Kernel Version 9.1.0: Wed Oct 31 17:48:21 PDT 2007; root:xnu-1228.0.2~1/RELEASE_PPC
Kernel configured for a single processor only.
1 processor is physically available.
1 processor is logically available.
Processor type: ppc7450 (PowerPC 7450)
Processor active: 0
Primary memory available: 1.00 gigabytes
Default processor set: 83 tasks, 251 threads, 1 processors
Load average: 4.15, Mach factor: 0.24
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /opt/local/bin
PATH: /opt/local/sbin
PATH: /Library/Frameworks/Python.framework/Versions/Current/bin
PATH: /sw/bin
PATH: /sw/sbin
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/bin
PATH: /usr/X11/bin
PATH: /usr/X11R6/bin


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

configure:1451: checking build system type
configure:1469: result: powerpc-apple-darwin9.1.0
configure:1477: checking host system type
configure:1491: result: powerpc-apple-darwin9.1.0
configure:1513: checking for a BSD-compatible install
configure:1568: result: /usr/bin/install -c
configure:1579: checking whether build environment is sane
configure:1622: result: yes
configure:1687: checking for gawk
configure:1716: result: no
configure:1687: checking for mawk
configure:1716: result: no
configure:1687: checking for nawk
configure:1716: result: no
configure:1687: checking for awk
configure:1703: found /usr/bin/awk
configure:1713: result: awk
configure:1723: checking whether make sets $(MAKE)
configure:1743: result: yes
configure:1915: checking whether to enable maintainer-specific portions of Makefiles
configure:1924: result: no
configure:2031: checking for g++
configure:2047: found /usr/bin/g++
configure:2057: result: g++
configure:2073: checking for C++ compiler version
configure:2076: g++ --version </dev/null >&5
powerpc-apple-darwin9-g++-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5465)
Copyright (C) 2005 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:2079: $? = 0
configure:2081: g++ -v </dev/null >&5
Using built-in specs.
Target: powerpc-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5465~16/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --build=i686-apple-darwin9 --program-prefix= --host=powerpc-apple-darwin9 --target=powerpc-apple-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5465)
configure:2084: $? = 0
configure:2086: g++ -V </dev/null >&5
g++-4.0: argument to `-V' is missing
configure:2089: $? = 1
configure:2112: checking for C++ compiler default output file name
configure:2115: g++ -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk   -bind_at_load conftest.cc  >&5
ld: library not found for -lcrt1.10.5.o
collect2: ld returned 1 exit status
ld: library not found for -lcrt1.10.5.o
collect2: ld returned 1 exit status
lipo: can't open input file: /var/folders/7X/7XNkp8yY2RaC7k+8ZOjwBU+++TI/-Tmp-//ccuMSBow.out (No such file or directory)
configure:2118: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "aMule"
| #define PACKAGE_TARNAME "amule"
| #define PACKAGE_VERSION "SVN"
| #define PACKAGE_STRING "aMule SVN"
| #define PACKAGE_BUGREPORT "admin@amule.org"
| #define PACKAGE "amule"
| #define VERSION "SVN"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2157: error: C++ compiler cannot create executables
See `config.log' for more details.

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

ac_cv_build=powerpc-apple-darwin9.1.0
ac_cv_build_alias=powerpc-apple-darwin9.1.0
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk'
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='-arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk'
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_RC_set=
ac_cv_env_RC_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_host=powerpc-apple-darwin9.1.0
ac_cv_host_alias=powerpc-apple-darwin9.1.0
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=awk
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_make_make_set=yes

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

ACLOCAL='${SHELL} /Users/akeyo/Desktop/amule-cvs/missing --run aclocal-1.9'
ALCC_FALSE=''
ALCC_TRUE=''
ALC_FALSE=''
ALC_TRUE=''
ALLOCA=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /Users/akeyo/Desktop/amule-cvs/missing --run tar'
AMULEWEB_DEFS=''
AMULE_DAEMON_FALSE=''
AMULE_DAEMON_TRUE=''
AMULE_GUI_FALSE=''
AMULE_GUI_TRUE=''
AR=''
AUTOCONF='${SHELL} /Users/akeyo/Desktop/amule-cvs/missing --run autoconf'
AUTOHEADER='${SHELL} /Users/akeyo/Desktop/amule-cvs/missing --run autoheader'
AUTOMAKE='${SHELL} /Users/akeyo/Desktop/amule-cvs/missing --run automake-1.9'
AWK='awk'
BFD_FLAGS=''
BFD_LIB=''
BUILD_CC=''
BUILD_CFLAGS=''
BUILD_CPPFLAGS=''
BUILD_EXEEXT=''
BUILD_INCLUDED_LIBINTL=''
BUILD_LDFLAGS=''
CAS_DEFS=''
CAS_FALSE=''
CAS_TRUE=''
CATOBJEXT=''
CC=''
CCACHE=''
CCDEPMODE=''
CFLAGS='-arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -no-cpp-precomp -D_INTL_REDIRECT_MACROS -DNOPCH'
COMPILE_CMD_FALSE=''
COMPILE_CMD_TRUE=''
COMPILE_NLS_FALSE=''
COMPILE_NLS_TRUE=''
CPP=''
CPPFLAGS=''
CRYPTOLIBS=''
CRYPTO_PP_CXXFLAGS=''
CRYPTO_PP_INCLUDE_PREFIX=''
CRYPTO_PP_LDFLAGS=''
CRYPTO_PP_LIB_NAME=''
CRYPTO_PP_PREFIX=''
CRYPTO_PP_STYLE=''
CRYPTO_PP_VERSION_NUMBER=''
CRYPTO_PP_VERSION_STRING=''
CXX='g++'
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS='-arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk'
CYGPATH_W='echo'
DATADIRNAME=''
DEFS=''
DEPDIR=''
ECHO_C='ECHO_N=''
ECHO_T=''
ED2K_FALSE=''
ED2K_TRUE=''
EGREP=''
ENABLE_IP2COUNTRY_FALSE=''
ENABLE_IP2COUNTRY_TRUE=''
ENABLE_UPNP_FALSE=''
ENABLE_UPNP_TRUE=''
EXEEXT=''
EXEEXT=''
GDLIB_CFLAGS=''
GDLIB_CFLAGS_ONLY=''
GDLIB_CONFIG_PATH=''
GDLIB_CPPFLAGS=''
GDLIB_CXXFLAGS=''
GDLIB_CXXFLAGS_ONLY=''
GDLIB_LDFLAGS=''
GDLIB_LIBS=''
GDLIB_LIBS_STATIC=''
GDLIB_VERSION=''
GENCAT=''
GENERATE_FLEX_HEADER_FALSE=''
GENERATE_FLEX_HEADER_TRUE=''
GEOIP_INCLUDE=''
GEOIP_LIB=''
GLIBC21=''
GMSGFMT=''
HAVE_FLEX_EXTENDED=''
HAVE_GETTEXT=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
INSTOBJEXT=''
INTLBISON=''
INTLLIBS=''
INTLOBJS=''
INTL_LIBTOOL_SUFFIX_PREFIX=''
LD=''
LDFLAGS=' -bind_at_load'
LEX=''
LEXLIB=''
LEX_OUTPUT_ROOT=''
LIBICONV=''
LIBINTL=''
LIBOBJS=''
LIBPNG_CFLAGS=''
LIBPNG_CONFIG_PATH=''
LIBPNG_CXXFLAGS=''
LIBPNG_LDFLAGS=''
LIBPNG_LIBS=''
LIBS=''
LTLIBICONV=''
LTLIBINTL=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /Users/akeyo/Desktop/amule-cvs/missing --run makeinfo'
MKINSTALLDIRS=''
MONOLITHIC_FALSE=''
MONOLITHIC_TRUE=''
MSGFMT=''
MSGMERGE=''
NEED_CORESERVICES_FALSE=''
NEED_CORESERVICES_TRUE=''
NEED_RC_FALSE=''
NEED_RC_TRUE=''
OBJEXT=''
PACKAGE='amule'
PACKAGE_BUGREPORT='admin@amule.org'
PACKAGE_NAME='aMule'
PACKAGE_STRING='aMule SVN'
PACKAGE_TARNAME='amule'
PACKAGE_VERSION='SVN'
PATH_SEPARATOR=':'
POSUB=''
POW_LIB=''
RANLIB=''
RC=''
RCFLAGS=''
READLINE_LIBS=''
RESOLV_LIB=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
SVNDATE=''
SYS_WIN32_FALSE=''
SYS_WIN32_TRUE=''
USE_INCLUDED_LIBINTL=''
USE_NLS=''
VERSION='SVN'
WEB_FALSE=''
WEB_TRUE=''
WXBASE_CFLAGS=''
WXBASE_CXXFLAGS=''
WXBASE_LIBS=''
WXCAS_FALSE=''
WXCAS_TRUE=''
WX_CFLAGS=''
WX_CFLAGS_ONLY=''
WX_CONFIG_PATH=''
WX_CPPFLAGS=''
WX_CXXFLAGS=''
WX_CXXFLAGS_ONLY=''
WX_DEBUG=''
WX_LIBS=''
WX_LIBS_STATIC=''
WX_PORT=''
WX_RESCOMP=''
WX_SHARED=''
WX_UNICODE=''
WX_VERSION_FULL=''
WX_VERSION_MAJOR=''
WX_VERSION_MINOR=''
X11LIBS=''
XGETTEXT=''
YACC=''
ac_ct_AR=''
ac_ct_BUILD_CC=''
ac_ct_CC=''
ac_ct_CXX='g++'
ac_ct_LD=''
ac_ct_RANLIB=''
ac_ct_RC=''
ac_ct_STRIP=''
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='powerpc-apple-darwin9.1.0'
build_alias=''
build_cpu='powerpc'
build_os='darwin9.1.0'
build_vendor='apple'
ccache=''
ccache_prefix=''
datadir='${prefix}/share'
docdir=''
exec_prefix='NONE'
host='powerpc-apple-darwin9.1.0'
host_alias=''
host_cpu='powerpc'
host_os='darwin9.1.0'
host_vendor='apple'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/Users/akeyo/Desktop/amule-cvs/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='$(mkinstalldirs)'
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 "amule"
#define PACKAGE_BUGREPORT "admin@amule.org"
#define PACKAGE_NAME "aMule"
#define PACKAGE_STRING "aMule SVN"
#define PACKAGE_TARNAME "amule"
#define PACKAGE_VERSION "SVN"
#define VERSION "SVN"

configure: exit 77
 

Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: aMule-CVS-20080118 on a Mac
« Reply #5 on: January 19, 2008, 09:14:40 AM »

Wait...you are using Leopard, aren't you? But you've installed XCode for Tiger, if I'm not mistaken. Is this the most current release of XCode?

Another side note: The wiki hasn't been actualized yet (I would appreciate it a lot if you could do it, should you succeed with building aMule), but there are no embedded crypto++-sources anymore. Please install crypto++ from source or use MacPorts if it is available.
Logged