• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Lion and gcc/g++ issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Lion and gcc/g++ issue


  • Subject: Lion and gcc/g++ issue
  • From: jieselle urquhart <email@hidden>
  • Date: Thu, 28 Jul 2011 08:08:07 +0100


Hi , 
I am trying to install a program through terminal but am getting the following errors in the configuration log....

Do you know what the problem might be?


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

It was created by ROSE configure 0.9.5a, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure --prefix=/Users/xxxxx/rose/rose_inst --with-boost=../boost_inst/ --without-java --without-haskel

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

hostname = jis.local
uname -m = x86_64
uname -r = 11.0.0
uname -s = Darwin
uname -v = Darwin Kernel Version 11.0.0: Sat Jun 18 12:56:35 PDT 2011; root:xnu-1699.22.73~1/RELEASE_X86_64

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

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = Mach kernel version:
Darwin Kernel Version 11.0.0: Sat Jun 18 12:56:35 PDT 2011; root:xnu-1699.22.73~1/RELEASE_X86_64
Kernel configured for up to 2 processors.
2 processors are physically available.
2 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1
Primary memory available: 2.00 gigabytes
Default processor set: 101 tasks, 469 threads, 2 processors
Load average: 0.68, Mach factor: 1.32
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /Users/xxxxxxxxxxx/rose/gnuLib/bin
PATH: /Users/xxxxxxxxxxx/rose/gnuLib/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/bin
PATH: /usr/texbin
PATH: /usr/X11/bin


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

configure:1833: checking for a BSD-compatible install
configure:1888: result: /usr/bin/install -c
configure:1899: checking whether build environment is sane
configure:1942: result: yes
configure:2007: checking for gawk
configure:2036: result: no
configure:2007: checking for mawk
configure:2036: result: no
configure:2007: checking for nawk
configure:2036: result: no
configure:2007: checking for awk
configure:2023: found /usr/bin/awk
configure:2033: result: awk
configure:2043: checking whether make sets $(MAKE)
configure:2063: result: yes
configure:2226: checking how to create a pax tar archive
configure:2239: tar --version
bsdtar 2.8.3 - libarchive 2.8.3
configure:2242: $? = 0
configure:2282: tardir=conftest.dir && eval tar --format=posix -chf - "$tardir" >conftest.tar
configure:2285: $? = 0
configure:2289: tar -xf - <conftest.tar
configure:2292: $? = 0
configure:2305: result: gnutar
configure:2338: checking for style of include used by make
configure:2366: result: GNU
configure:2437: checking for gcc
configure:2453: found /usr/bin/gcc
configure:2463: result: gcc
configure:2707: checking for C compiler version
configure:2710: gcc --version </dev/null >&5
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)
Copyright (C) 2007 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:2713: $? = 0
configure:2715: gcc -v </dev/null >&5
Using built-in specs.
Target: i686-apple-darwin11
Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2335.15~25/src/configure --disable-checking --enable-werror --prefix=/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2335.15~25/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)
configure:2718: $? = 0
configure:2720: gcc -V </dev/null >&5
llvm-gcc-4.2: argument to `-V' is missing
configure:2723: $? = 1
configure:2746: checking for C compiler default output file name
configure:2749: gcc    conftest.c  >&5
configure:2752: $? = 0
configure:2798: result: a.out
configure:2803: checking whether the C compiler works
configure:2809: ./a.out
configure:2812: $? = 0
configure:2829: result: yes
configure:2836: checking whether we are cross compiling
configure:2838: result: no
configure:2841: checking for suffix of executables
configure:2843: gcc -o conftest    conftest.c  >&5
configure:2846: $? = 0
configure:2871: result: 
configure:2877: checking for suffix of object files
configure:2898: gcc -c   conftest.c >&5
configure:2901: $? = 0
configure:2923: result: o
configure:2927: checking whether we are using the GNU C compiler
configure:2951: gcc -c   conftest.c >&5
configure:2957: $? = 0
configure:2961: test -z 
|| test ! -s conftest.err
configure:2964: $? = 0
configure:2967: test -s conftest.o
configure:2970: $? = 0
configure:2983: result: yes
configure:2989: checking whether gcc accepts -g
configure:3010: gcc -c -g  conftest.c >&5
configure:3016: $? = 0
configure:3020: test -z 
|| test ! -s conftest.err
configure:3023: $? = 0
configure:3026: test -s conftest.o
configure:3029: $? = 0
configure:3040: result: yes
configure:3057: checking for gcc option to accept ANSI C
configure:3127: gcc  -c   conftest.c >&5
configure:3133: $? = 0
configure:3137: test -z 
|| test ! -s conftest.err
configure:3140: $? = 0
configure:3143: test -s conftest.o
configure:3146: $? = 0
configure:3164: result: none needed
configure:3182: gcc -c   conftest.c >&5
conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me'
configure:3188: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
configure:3323: checking dependency style of gcc
configure:3413: result: none
configure:3436: checking how to run the C preprocessor
configure:3471: gcc -E  conftest.c
configure:3477: $? = 0
configure:3509: gcc -E  conftest.c
conftest.c:11:28: error: ac_nonexistent.h: No such file or directory
configure:3515: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "ROSE"
| #define PACKAGE_TARNAME "rose"
| #define PACKAGE_VERSION "0.9.5a"
| #define PACKAGE_STRING "ROSE 0.9.5a"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "rose"
| #define VERSION "0.9.5a"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3554: result: gcc -E
configure:3578: gcc -E  conftest.c
configure:3584: $? = 0
configure:3616: gcc -E  conftest.c
conftest.c:11:28: error: ac_nonexistent.h: No such file or directory
configure:3622: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "ROSE"
| #define PACKAGE_TARNAME "rose"
| #define PACKAGE_VERSION "0.9.5a"
| #define PACKAGE_STRING "ROSE 0.9.5a"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "rose"
| #define VERSION "0.9.5a"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3666: checking for egrep
configure:3676: result: grep -E
configure:3681: checking for ANSI C header files
configure:3706: gcc -c   conftest.c >&5
configure:3712: $? = 0
configure:3716: test -z 
|| test ! -s conftest.err
configure:3719: $? = 0
configure:3722: test -s conftest.o
configure:3725: $? = 0
configure:3814: gcc -o conftest    conftest.c  >&5
conftest.c: In function 'main':
conftest.c:28: warning: incompatible implicit declaration of built-in function 'exit'
configure:3817: $? = 0
configure:3819: ./conftest
configure:3822: $? = 0
configure:3837: result: yes
configure:3861: checking for sys/types.h
configure:3877: gcc -c   conftest.c >&5
configure:3883: $? = 0
configure:3887: test -z 
|| test ! -s conftest.err
configure:3890: $? = 0
configure:3893: test -s conftest.o
configure:3896: $? = 0
configure:3907: result: yes
configure:3861: checking for sys/stat.h
configure:3877: gcc -c   conftest.c >&5
configure:3883: $? = 0
configure:3887: test -z 
|| test ! -s conftest.err
configure:3890: $? = 0
configure:3893: test -s conftest.o
configure:3896: $? = 0
configure:3907: result: yes
configure:3861: checking for stdlib.h
configure:3877: gcc -c   conftest.c >&5
configure:3883: $? = 0
configure:3887: test -z 
|| test ! -s conftest.err
configure:3890: $? = 0
configure:3893: test -s conftest.o
configure:3896: $? = 0
configure:3907: result: yes
configure:3861: checking for string.h
configure:3877: gcc -c   conftest.c >&5
configure:3883: $? = 0
configure:3887: test -z 
|| test ! -s conftest.err
configure:3890: $? = 0
configure:3893: test -s conftest.o
configure:3896: $? = 0
configure:3907: result: yes
configure:3861: checking for memory.h
configure:3877: gcc -c   conftest.c >&5
configure:3883: $? = 0
configure:3887: test -z 
|| test ! -s conftest.err
configure:3890: $? = 0
configure:3893: test -s conftest.o
configure:3896: $? = 0
configure:3907: result: yes
configure:3861: checking for strings.h
configure:3877: gcc -c   conftest.c >&5
configure:3883: $? = 0
configure:3887: test -z 
|| test ! -s conftest.err
configure:3890: $? = 0
configure:3893: test -s conftest.o
configure:3896: $? = 0
configure:3907: result: yes
configure:3861: checking for inttypes.h
configure:3877: gcc -c   conftest.c >&5
configure:3883: $? = 0
configure:3887: test -z 
|| test ! -s conftest.err
configure:3890: $? = 0
configure:3893: test -s conftest.o
configure:3896: $? = 0
configure:3907: result: yes
configure:3861: checking for stdint.h
configure:3877: gcc -c   conftest.c >&5
configure:3883: $? = 0
configure:3887: test -z 
|| test ! -s conftest.err
configure:3890: $? = 0
configure:3893: test -s conftest.o
configure:3896: $? = 0
configure:3907: result: yes
configure:3861: checking for unistd.h
configure:3877: gcc -c   conftest.c >&5
configure:3883: $? = 0
configure:3887: test -z 
|| test ! -s conftest.err
configure:3890: $? = 0
configure:3893: test -s conftest.o
configure:3896: $? = 0
configure:3907: result: yes
configure:3971: checking for g++
configure:3987: found /usr/bin/g++
configure:3997: result: g++
configure:4013: checking for C++ compiler version
configure:4016: g++ --version </dev/null >&5
i686-apple-darwin11-llvm-g++-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)
Copyright (C) 2007 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:4019: $? = 0
configure:4021: g++ -v </dev/null >&5
Using built-in specs.
Target: i686-apple-darwin11
Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2335.15~25/src/configure --disable-checking --enable-werror --prefix=/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2335.15~25/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)
configure:4024: $? = 0
configure:4026: g++ -V </dev/null >&5
llvm-g++-4.2: argument to `-V' is missing
configure:4029: $? = 1
configure:4032: checking whether we are using the GNU C++ compiler
configure:4056: g++ -c   conftest.cc >&5
configure:4062: $? = 0
configure:4066: test -z 
|| test ! -s conftest.err
configure:4069: $? = 0
configure:4072: test -s conftest.o
configure:4075: $? = 0
configure:4088: result: yes
configure:4094: checking whether g++ accepts -g
configure:4115: g++ -c -g  conftest.cc >&5
configure:4121: $? = 0
configure:4125: test -z 
|| test ! -s conftest.err
configure:4128: $? = 0
configure:4131: test -s conftest.o
configure:4134: $? = 0
configure:4145: result: yes
configure:4187: g++ -c   conftest.cc >&5
configure:4193: $? = 0
configure:4197: test -z 
|| test ! -s conftest.err
configure:4200: $? = 0
configure:4203: test -s conftest.o
configure:4206: $? = 0
configure:4232: g++ -c   conftest.cc >&5
conftest.cc: In function 'int main()':
conftest.cc:25: error: 'exit' was not declared in this scope
configure:4238: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "ROSE"
| #define PACKAGE_TARNAME "rose"
| #define PACKAGE_VERSION "0.9.5a"
| #define PACKAGE_STRING "ROSE 0.9.5a"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "rose"
| #define VERSION "0.9.5a"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| exit (42);
|   ;
|   return 0;
| }
configure:4187: g++ -c   conftest.cc >&5
conftest.cc:21: error: 'void std::exit(int)' should have been declared inside 'std'
In file included from conftest.cc:22:
/usr/include/stdlib.h:159: error: declaration of 'void std::exit(int)' throws different exceptions
conftest.cc:21: error: from previous declaration 'void std::exit(int) throw ()'
configure:4193: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #ifdef __cplusplus
| extern "C" void exit (int);
| #endif
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4502: result: g++ -E
configure:4526: g++ -E  conftest.cc
configure:4532: $? = 0
configure:4564: g++ -E  conftest.cc
conftest.cc:24:28: error: ac_nonexistent.h: No such file or directory
configure:4570: $? = 1
configure: failed program was:
| /* confdefs.h.  */

| #define PACKAGE_NAME "ROSE"
| #define PACKAGE_TARNAME "rose"
| #define PACKAGE_VERSION "0.9.5a"
| #define PACKAGE_STRING "ROSE 0.9.5a"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "rose"
| #define VERSION "0.9.5a"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #ifdef __cplusplus
| extern "C" void exit (int);
| #endif
| #define ROSE_APPLE_OS_VENDOR
| /* end confdefs.h.  */
| #include <jni.h>
configure:5750: result: no
configure:5785: checking for jni.h
configure:5792: result: no
configure:5811: result: ROSE can't find the jni.h in a default directory (this is good since it will be included correctly).
configure:5871: checking whether gfortran executable path has been provided
configure:5895: result: no
configure:5904: checking for gfortran
configure:5937: result: no
configure:5978: checking for user-specified languages to support
configure:6025: checking for deprecated language configuration options
configure:6278: result: done
configure:7094: checking if we should build & test the ROSE/projects directory
configure:7106: result: enabled
configure:7131: checking if we should build & test the ROSE/tests directory
configure:7143: result: enabled
configure:7168: checking if we should build & test the ROSE/tutorial directory
configure:7180: result: enabled
configure:7459: checking host system type
configure:7473: result: i686-apple-darwin11.0.0
configure:7954: checking for enabled advanced warning support
configure:8081: checking for boostlib >= 1.36.0
configure:8174: g++ -c  -g -Wall  -I../boost_inst//include conftest.cc >&5
configure:8180: $? = 0
configure:8184: test -z 
|| test ! -s conftest.err
configure:8187: $? = 0
configure:8190: test -s conftest.o
configure:8193: $? = 0
configure:8196: result: yes
configure:8404: No previously installed version of boost detected: using boost include directories with normal -I option
configure:8629: checking for GraphViz's dot program in path
configure:8636: result: yes
configure:8693: checking whether the Boost::Thread library is available
configure:8729: g++ -c  -g -Wall  -I../boost_inst//include conftest.cc >&5
configure:8735: $? = 0
configure:8739: test -z 
|| test ! -s conftest.err
configure:8742: $? = 0
configure:8745: test -s conftest.o
configure:8748: $? = 0
configure:8767: result: yes
configure:9071: checking whether the Boost::Date_Time library is available
configure:9100: g++ -c  -g -Wall  -I../boost_inst//include conftest.cc >&5
configure:9106: $? = 0
configure:9110: test -z 
|| test ! -s conftest.err
configure:9113: $? = 0
configure:9116: test -s conftest.o
configure:9119: $? = 0
configure:9137: result: yes
configure:9369: error: Could not link against  !
 me=yes
ax_cv_boost_thread=yes



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Xcode's Windows Still Open After Force Quit
  • Next by Date: Lion & xcode 4.1
  • Previous by thread: Re: XCode 4 - Only Use Mac OSX Documentation?
  • Next by thread: Lion & xcode 4.1
  • Index(es):
    • Date
    • Thread