Anyone successfully installed CSS::LESS on OS X?
For me it failed with many errors, like the next one:
$ make test
/Users/me/perl5/perlbrew/perls/perl-5.16.3/bin/perl Build --makefile_env_macros 1 test
t/00.load.t ................. 1/1 # Testing CSS::LESS 0.0.3
t/00.load.t ................. ok
t/10.dry-run.t ..............
# Failed test '"include_paths" parameter (set to constructor)'
# at t/10.dry-run.t line 20.
# 'lessc /var/folders/7l/nhyscwy14bjb_sxr_t2gynpm0000gn/T/RoPSlWoxEQ --include-path=/Users/me/.cpanm/work/1395039258.75205/CSS-LESS-v0.0.3/t/foo/:/bar/ --verbose --no-color'
# doesn't match '(?^:^lessc /tmp/\w+ --include-path=/Users/me/.cpanm/work/1395039258.75205/CSS-LESS-v0.0.3/t/foo/:/bar/ --verbose --no-color$)'
IMHO, this is a case of a wrong test expectations, because on OS X the tempfiles are created in the /var/folders/.... and not in the /tmp.
Similar error reports are in the www.cpantesters.org . EXPECT ONE here: http://www.cpantesters.org/cpan/report/dac3ce8e-3c79-11e3-aac4-3cf3dfeaf78b
Asking this question because if it is somewhat possible build the CSS::LESS os OS X would be happy to know - how.
EDIT
Hm, the above successful test report (and the Module itself) is strange, because
# Testing CSS::LESS 0.0.3
t/00.load.t ................. ok
t/10.dry-run.t .............. ok
t/90.lessc_compile.t ........ skipped: Not installed lessc
t/91.lessc_compile_error.t .. skipped: Not installed lessc
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - the module DEPENDS on 'lessc'
t/92.lessc_not-installed.t .. ok
All tests successful.
Files=5, Tests=8, 1 wallclock secs ( 0.03 usr 0.02 sys + 0.29 cusr 0.06 csys = 0.40 CPU)
Result: PASS
but, regardless of the missing lessc (what should be an error, because the module depends on it) the test
t/10.dry-run.t .............. ok
finished as OK - and on my system throws an error.
If someone care, my perl -V
Summary of my perl5 (revision 5 version 16 subversion 3) configuration:
Platform:
osname=darwin, osvers=13.0.0, archname=darwin-thread-multi-2level
uname='darwin medvedik.local 13.0.0 darwin kernel version 13.0.0: thu sep 19 22:22:27 pdt 2013; root:xnu-2422.1.72~6release_x86_64 x86_64 '
config_args='-de -Dprefix=/Users/me/perl5/perlbrew/perls/perl-5.16.3 -Dcc=clang -Duse64bitall -Dusethreads -DDEBUGGING -Dusemultiplicity -Accflags=-DPERL_USE_SAFE_PUTENV -Aeval:scriptdir=/Users/me/perl5/perlbrew/perls/perl-5.16.3/bin'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='clang', ccflags ='-fno-common -DPERL_DARWIN -no-cpp-precomp -arch x86_64 -DPERL_USE_SAFE_PUTENV -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/opt/local/include',
optimize='-O3 -g',
cppflags='-no-cpp-precomp -arch x86_64 -fno-common -DPERL_DARWIN -no-cpp-precomp -arch x86_64 -DPERL_USE_SAFE_PUTENV -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/opt/local/include'
ccversion='', gccversion='4.2.1 Compatible Apple LLVM 5.0 (clang-500.2.79)', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc -arch x86_64', ldflags =' -arch x86_64 -fstack-protector -L/usr/local/lib -L/opt/local/lib'
libpth=/usr/local/lib /opt/local/lib /usr/lib
libs=-lgdbm -ldbm -ldl -lm -lutil -lc
perllibs=-ldl -lm -lutil -lc
libc=, so=dylib, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup -L/usr/local/lib -L/opt/local/lib -fstack-protector'
Characteristics of this binary (from libperl):
Compile-time options: DEBUGGING HAS_TIMES MULTIPLICITY PERLIO_LAYERS
PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT
PERL_MALLOC_WRAP PERL_PRESERVE_IVUV
PERL_TRACK_MEMPOOL PERL_USE_SAFE_PUTENV
USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS
USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE
USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_PERLIO
USE_PERL_ATOF USE_REENTRANT_API
Built under darwin
Compiled at Jan 6 2014 16:00:02
%ENV:
PERLBREW_BASHRC_VERSION="0.67"
PERLBREW_HOME="/Users/me/.perlbrew"
PERLBREW_MANPATH="/Users/me/perl5/perlbrew/perls/perl-5.16.3/man"
PERLBREW_PATH="/Users/me/perl5/perlbrew/bin:/Users/me/perl5/perlbrew/perls/perl-5.16.3/bin"
PERLBREW_PERL="perl-5.16.3"
PERLBREW_ROOT="/Users/me/perl5/perlbrew"
PERLBREW_VERSION="0.67"
#INC:
/Users/me/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/darwin-thread-multi-2level
/Users/me/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3
/Users/me/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/darwin-thread-multi-2level
/Users/me/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3
.
system:
Darwin marvin.local 13.1.0 Darwin Kernel Version 13.1.0: Thu Jan 16 19:40:37 PST 2014; root:xnu-2422.90.20~2/RELEASE_X86_64 x86_64
compiler/gcc:
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.1.0
Thread model: posix
Found myself a partial answer for the question.
The test is probably somewhat depends on the $TMPDIR shell variable. On OS X defaultly this wariable points to an directory what is unique to every logged user, and resides in the /var/folders/..., like this:
$ echo $TMPDIR
/var/folders/7l/nhyscwy14bjb_sxr_t2gynpm0000gn/T/
When manually changed the default value of $TMPDIR to /tmp, with:
TMPDIR=/tmp/
and run for CSS::LESS
perl Makefile.PL
make
make test
got
/Users/me/perl5/perlbrew/perls/perl-5.16.3/bin/perl Build --makefile_env_macros 1 test
t/00.load.t ................. 1/1 # Testing CSS::LESS 0.0.3
t/00.load.t ................. ok
t/10.dry-run.t .............. ok
t/90.lessc_compile.t ........ 2/?
# Failed test 'LESS compile test with compress'
# at t/90.lessc_compile.t line 19.
# got: 'a{border-bottom:solid 3px #000}div{width:100px}a:link{color:#1a1a1a}'
# expected: 'a{border-bottom:solid 3px #000}
# div{width:100px}
# a:link{color:#1a1a1a}
# '
# Looks like you failed 1 test of 3.
t/90.lessc_compile.t ........ Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/3 subtests
t/91.lessc_compile_error.t .. ok
t/92.lessc_not-installed.t .. ok
Test Summary Report
-------------------
t/90.lessc_compile.t (Wstat: 256 Tests: 3 Failed: 1)
Failed test: 2
Non-zero exit status: 1
Files=5, Tests=15, 2 wallclock secs ( 0.05 usr 0.02 sys + 1.46 cusr 0.35 csys = 1.88 CPU)
Result: FAIL
Failed 1/5 test programs. 1/15 subtests failed.
make: *** [test] Error 255
The subtest
t/10.dry-run.t .............. ok
is no problem anymore. Anyway the module didn't built - but throws another (lessc) error.
So, Neil Bower (a sumbitter of the "successful" test report) probably changed the $TMPDIR too. And because he hasn't installed the external command lessc got a successful result.
Demostration:
$ sudo mv /opt/local/bin/{lessc,lessc1} #rename lessc to lessc1
Password:
$ make test
/Users/me/perl5/perlbrew/perls/perl-5.16.3/bin/perl Build --makefile_env_macros 1 test
t/00.load.t ................. 1/1 # Testing CSS::LESS 0.0.3
t/00.load.t ................. ok
t/10.dry-run.t .............. ok
t/90.lessc_compile.t ........ skipped: Not installed lessc
t/91.lessc_compile_error.t .. skipped: Not installed lessc
t/92.lessc_not-installed.t .. ok
All tests successful.
Files=5, Tests=8, 1 wallclock secs ( 0.07 usr 0.03 sys + 0.56 cusr 0.11 csys = 0.77 CPU)
Result: PASS
Great :) - unfortunately - this is a FALSE result, and the CSS::LESS didn't builds OK on OS X.
Related
I was compiling a code (wgrib) which needs C and Fortran. I have installed Xcode 7.3.1 and the relative command line tools for Xcode 7.3 on my MacOsx El Capitan.
I'm pasting the command line and the config.log after compiling wgrib (which failed).
export CC=/usr/bin/gcc
export FC=/usr/local/bin/gfortran
sudo make wgrib
makefile:362: *** ERROR, fortran compiler (enironment vararible FC) is not recognized. Stop.
vi config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by libaec configure 1.0.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --disable-shared --prefix=/usr/local/grib2
## --------- ##
## Platform. ##
## --------- ##
hostname = IMac-Arianna.local
uname -m = x86_64
uname -r = 15.6.0
uname -s = Darwin
uname -v = Darwin Kernel Version 15.6.0: Fri Feb 17 10:21:18 PST 2017; root:xnu-3248.60.11.4.1~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
/usr/bin/hostinfo = Mach kernel version:
Darwin Kernel Version 15.6.0: Fri Feb 17 10:21:18 PST 2017; root:xnu-3248.60.11.4.1~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: 4.00 gigabytes
Default processor set: 232 tasks, 903 threads, 2 processors
Load average: 4.19, Mach factor: 0.54
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /Library/Frameworks/Python.framework/Versions/3.5/bin
PATH: /opt/local/bin
PATH: /opt/local/sbin
PATH: /opt/local/bin
PATH: /opt/local/sbin
PATH: /Library/Frameworks/GDAL.framework/Programs
PATH: /opt/local/bin
PATH: /opt/local/sbin
PATH: .
PATH: /Users/arianna/seadas6.1/scripts
PATH: /Users/arianna/seadas6.1/bin
PATH: .
PATH: /Users/arianna/seadas6.1/src/lib3/hdf4/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/bin
PATH: /opt/X11/bin
PATH: /Library/TeX/texbin
PATH: /Applications/itt/idl/idl80/bin/
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2430: checking build system type
configure:2444: result: x86_64-apple-darwin15.6.0
configure:2464: checking host system type
configure:2477: result: x86_64-apple-darwin15.6.0
configure:2518: checking how to print strings
configure:2545: result: printf
configure:2617: checking for gcc
configure:2644: result: /usr/bin/gcc
configure:2873: checking for C compiler version
configure:2882: /usr/bin/gcc --version >&5
Apple LLVM version 7.3.0 (clang-703.0.31)
Target: x86_64-apple-darwin15.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
configure:2893: $? = 0
configure:2882: /usr/bin/gcc -v >&5
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 7.3.0 (clang-703.0.31)
Target: x86_64-apple-darwin15.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
configure:2893: $? = 0
configure:2882: /usr/bin/gcc -V >&5
clang: error: argument to '-V' is missing (expected 1 value)
clang: error: no input files
configure:2893: $? = 1
configure:2882: /usr/bin/gcc -qversion >&5
clang: error: unknown argument: '-qversion'
clang: error: no input files
configure:2893: $? = 1
configure:2913: checking whether the C compiler works
configure:2935: /usr/bin/gcc -I/usr/local/grib2/include -Wall -Wmissing-prototypes -Wold-style-definition -Werror=format-security --fast-math -O3 -DGFORTRAN -fopenmp -I/usr/local/grib2/jasper-1.900.1/src/libjasper/include -I/usr/include conftest.c >&5
clang: error: unsupported option '--fast-math'
clang: error: unsupported option '-fopenmp'
clang: error: unsupported option '-fopenmp'
configure:2939: $? = 1
configure:2977: result: no
configure: failed program was:
| /* confdefs.h */
| /* confdefs.h */
| #define PACKAGE_NAME "libaec"
| #define PACKAGE_TARNAME "libaec"
| #define PACKAGE_VERSION "1.0.0"
| #define PACKAGE_STRING "libaec 1.0.0"
| #define PACKAGE_BUGREPORT "rosenhauer#dkrz.de"
| #define PACKAGE_URL ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2982: error: in `/usr/local/grib2/libaec-1.0.0':
configure:2984: error: C compiler cannot create executables
See `config.log' for more details
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-apple-darwin15.6.0
ac_cv_env_CC_set=set
ac_cv_env_CC_value=/usr/bin/gcc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-I/usr/local/grib2/include -Wall -Wmissing-prototypes -Wold-style-definition -Werror=format-security --fast-math -O3 -DGFORTRAN -fopenmp -I/usr/local/grib2/jasper-1.900.1/src/libjasper/include -I/usr/include '
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_LT_SYS_LIBRARY_PATH_set=
ac_cv_env_LT_SYS_LIBRARY_PATH_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
AMDEP_TRUE=''
AMTAR=''
AM_BACKSLASH=''
AM_DEFAULT_V=''
AM_DEFAULT_VERBOSITY=''
AM_V=''
AR=''
AUTOCONF=''
AUTOHEADER=''
AUTOMAKE=''
AWK=''
CC='/usr/bin/gcc'
CCDEPMODE=''
CFLAGS='-I/usr/local/grib2/include -Wall -Wmissing-prototypes -Wold-style-definition -Werror=format-security --fast-math -O3 -DGFORTRAN -fopenmp -I/usr/local/grib2/jasper-1.900.1/src/libjasper/include -I/usr/include '
CFLAG_VISIBILITY=''
CPP=''
CPPFLAGS=''
CYGPATH_W=''
DEFS=''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p=''
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local/grib2'
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
pdfdir='${docdir}'
prefix='/usr/local/grib2'
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "libaec"
#define PACKAGE_TARNAME "libaec"
#define PACKAGE_VERSION "1.0.0"
#define PACKAGE_STRING "libaec 1.0.0"
#define PACKAGE_BUGREPORT "rosenhauer#dkrz.de"
#define PACKAGE_URL ""
configure: exit 77
You're using clang, not the GNU gcc, as noted by the output:
/usr/bin/gcc --version
Apple LLVM version 7.3.0 (clang-703.0.31)
libaec is known to have compatibility issues with clang, using the real gcc instead should fix your problem:
brew install gcc
export CC=gcc-9 # Use the version listed in `ls /usr/local/bin/gcc-*`, not clang gcc
export FC=gfortran
make
I am installing Janus WebRTC on Beaglebone Black(BBB).
I execute the janus_config.sh script file below to set environment variables:
#!/bin/bash
if [ $# -gt 1 ] || [ $# -eq 0 ]; then
echo "Usage: source /path/to/this/build_script.sh path/where/dependencies/built"
fi
JANUS_PATH=$1
if ! [ -d $JANUS_PATH ]; then
mkdir -v $JANUS_PATH
fi
BUILD==$(./config.guess)
unset JANUS_CFLAGS
JANUS_CFLAGS+="-I$1/include/glib-2.0 "
JANUS_CFLAGS+="-I$1/lib/glib-2.0/include "
JANUS_CFLAGS+="-I$1/include "
JANUS_CFLAGS+="-I$1/include/gio-unix-2.0/gio "
JANUS_CFLAGS+="-I$1/include/nice "
JANUS_CFLAGS+="-I/home/debian/usr/local/include/openssl "
JANUS_CFLAGS+="-I$1/include/opus "
JANUS_CFLAGS+="-I$1/include/sofia-sip-1.12/sofia-resolv "
JANUS_CFLAGS+="-I$1/include/srtp "
JANUS_CFLAGS+="-I$1/include/stun "
JANUS_CFLAGS+="-I$1/include/stun/usages "
JANUS_CFLAGS+="-I$1/lib/libffi-3.2.1/include "
export JANUS_CFLAGS
unset JANUS_LIBS
JANUS_LIBS+="-L$1/lib -lglib-2.0 "
JANUS_LIBS+="-L/home/debian/usr/local/lib -lssl -lcrypto "
JANUS_LIBS+="-L$1/lib -lsrtp -lcrypto "
JANUS_LIBS+="-L$1/lib -lusrsctp"
export JANUS_LIBS
unset LDFLAGS
LDFLAGS+="-L$1/lib "
LDFLAGS+="-L/home/debian/usr/local/lib"
export LDFLAGS
unset LIBS
LIBS+="-lsrtp -lcrypto -lusrsctp -lglib-2.0 -lnice -lgio-2.0 -lgobject-2.0 -lsofia-sip-ua -ljansson -lssl -lgmodule-2.0 "
LIBS+="-lffi -lgthread-2.0 -lz "
export LIBS
unset CPPFLAGS
CPPFLAGS+="-I$1/include "
CPPFLAGS+="-I$1/include/glib-2.0 "
CPPFLAGS+="-I$1/lib/glib-2.0/include "
CPPFLAGS+="-pthread -I$1/include/nice "
CPPFLAGS+="-I$1/include/sofia-sip-1.12"
export CPPFLAGS
unset TRANSPORTS_CFLAGS
TRANSPORTS_CFLAGS+="-I$1/include/glib-2.0 "
TRANSPORTS_CFLAGS+="-I$1/lib/glib-2.0/include "
TRANSPORTS_CFLAGS+="-I$1/include"
export TRANSPORTS_CFLAGS
unset TRANSPORTS_LIBS
TRANSPORTS_LIBS+="-L$1/lib -lglib-2.0 "
TRANSPORTS_LIBS+="-L/home/debian/usr/local/lib -lssl -lcrypto "
TRANSPORTS_LIBS+="-L$1/lib -lsrtp -lcrypto "
TRANSPORTS_LIBS+="-L$1/lib -lusrsctp"
export TRANSPORTS_LIBS
unset PLUGINS_CFLAGS
unset PLUGINS_LIBS
PLUGINS_CFLAGS=$JANUS_CFLAGS
PLUGINS_LIBS=$JANUS_LIBS
export PLUGINS_CFLAGS
export PLUGINS_LIBS
./configure --build=$BUILD --disable-plugin-voicemail --disable-plugin-videoroom --disable-plugin-videocall --disable-plugin-recordplay --disable-plugin-echotest --disable-plugin-audiobridge --disable-websockets --disable-rabbitmq --disable-plugin-sip --disable-docs --prefix=$JANUS_PATH
When run command source janus_config.sh $PREFIX,I get error, see config.log below for more detail:
/*
$ ./configure --build==armv7l-unknown-linux-gnueabihf --disable-plugin-voicemail --disable-plugin-videoroom --disable-plugin-videocall --disable-plugin-recordplay --disable-plugin-echotest --disable-plugin-audiobridge --disable-websockets --disable-rabbitmq --disable-plugin-sip --disable-docs --prefix=/home/debian/Janus/usr
## --------- ##
## Platform. ##
## --------- ##
hostname = beaglebone
uname -m = armv7l
uname -r = 3.8.13-bone70
uname -s = Linux
uname -v = #1 SMP Fri Jan 23 02:15:42 UTC 2015
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /home/debian/bin
PATH: /home/debian/.linuxbrew/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/local/games
PATH: /usr/games
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2466: checking for a BSD-compatible install
configure:2534: result: /usr/bin/install -c
configure:2545: checking whether build environment is sane
configure:2600: result: yes
configure:2751: checking for a thread-safe mkdir -p
configure:2790: result: /bin/mkdir -p
configure:2797: checking for gawk
configure:2827: result: no
configure:2797: checking for mawk
configure:2813: found /usr/bin/mawk
configure:2824: result: mawk
configure:2835: checking whether make sets $(MAKE)
configure:2857: result: yes
configure:2886: checking whether make supports nested variables
configure:2903: result: yes
configure:3040: checking whether make supports nested variables
configure:3057: result: yes
configure:3081: checking for style of include used by make
configure:3109: result: GNU
configure:3180: checking for gcc
configure:3196: found /usr/bin/gcc
configure:3207: result: gcc
configure:3436: checking for C compiler version
configure:3445: gcc --version >&5
gcc (Debian 4.9.2-10) 4.9.2
Copyright (C) 2014 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:3456: $? = 0
configure:3445: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/4.9/lto-wrapper
Target: arm-linux-gnueabihf
Configured with: ../src/configure -v --with-pkgversion='Debian 4.9.2-10' --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.9 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libitm --disable-libquadmath --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-armhf/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-armhf --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-armhf --with-arch-directory=arm --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-sjlj-exceptions --with-arch=armv7-a --with-fpu=vfpv3-d16 --with-float=hard --with-mode=thumb --enable-checking=release --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf
Thread model: posix
gcc version 4.9.2 (Debian 4.9.2-10)
configure:3456: $? = 0
configure:3445: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3456: $? = 4
configure:3445: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:3456: $? = 4
configure:3476: checking whether the C compiler works
configure:3498: gcc -I/home/debian/Janus/usr/include -I/home/debian/Janus/usr/include/glib-2.0 -I/home/debian/Janus/usr/lib/glib-2.0/include -pthread -I/home/debian/Janus/usr/include/nice -I/home/debian/Janus/usr/include/sofia-sip-1.12 -L/home/debian/Janus/usr/lib -L/home/debian/usr/local/lib conftest.c -lsrtp -lcrypto -lusrsctp -lglib-2.0 -lnice -lgio-2.0 -lgobject-2.0 -lsofia-sip-ua -ljansson -lssl -lgmodule-2.0 -lffi -lgthread-2.0 -lz >&5
I think problem is here because openssl directory is not as I set in janus_config.sh, I install openssl in /home/debian/usr/local
/home/debian/Janus/usr/lib/libcrypto.a(mem_clr.o): In function `OPENSSL_cleanse':
mem_clr.c:(.text+0x0): multiple definition of `OPENSSL_cleanse'
/home/debian/Janus/usr/lib/libcrypto.a(armv4cpuid.o):(.text+0x1c): first defined here
/home/debian/Janus/usr/lib/libcrypto.a(armcap.o): In function `OPENSSL_cpuid_setup':
armcap.c:(.text.startup+0x0): multiple definition of `OPENSSL_cpuid_setup'
/home/debian/Janus/usr/lib/libcrypto.a(cryptlib.o):cryptlib.c:(.text+0x8d8): first defined here
collect2: error: ld returned 1 exit status
configure:3502: $? = 1
configure:3540: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Janus Gateway"
| #define PACKAGE_TARNAME "janus-gateway"
| #define PACKAGE_VERSION "0.1.0"
| #define PACKAGE_STRING "Janus Gateway 0.1.0"
| #define PACKAGE_BUGREPORT "https://github.com/meetecho/janus-gateway"
| #define PACKAGE_URL "https://janus.conf.meetecho.com"
| #define PACKAGE "janus-gateway"
| #define VERSION "0.1.0"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3545: error: in `/home/debian/Janus/Dependencies/janus-gateway-master':
configure:3547: error: C compiler cannot create executables
See `config.log' for more details;
*/
Could you help me find out the problem here?
Multiples definitions for the same resource, problably, how did you configure it??? try this:
./config -fPIC -DOPENSSL_PIC
Trying to install it with RVM I get the following error:
> [2013-02-25 10:09:24] make CC = /usr/local/bin/gcc-4.2 LD = ld
> LDSHARED = /usr/local/bin/gcc-4.2 -dynamic -bundle CFLAGS = -O3
> -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -pipe XCFLAGS = -include ruby/config.h -include ruby/missing.h -D_FORTIFY_SOURCE=2
> -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT CPPFLAGS = -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -I/usr/local/opt/libyaml/include -I/usr/local/opt/readline/include -I/usr/local/opt/libxml2/include -I/usr/local/opt/libxslt/include -I/usr/local/opt/libksba/include -I/usr/local/opt/openssl/include -I/usr/local/opt/curl-ca-bundle/include -I/usr/local/opt/sqlite/include -I. -I.ext/include/x86_64-darwin12.2.0 -I./include -I. DLDFLAGS = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -L/usr/local/opt/libyaml/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/libxml2/lib -L/usr/local/opt/libxslt/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/curl-ca-bundle/lib -L/usr/local/opt/sqlite/lib -fstack-protector -Wl,-u,_objc_msgSend SOLIBS = linking miniruby ld: warning: directory not found for option
> '-L/usr/local/opt/curl-ca-bundle/lib'
> /Users/ale/.rvm/src/ruby-2.0.0-p0/lib/fileutils.rb:111: [BUG] Stack
> consistency error (sp: 38, bp: 36) ruby 2.0.0p0 (2013-02-24 revision
> 39474) [x86_64-darwin12.2.0]
>
> -- Crash Report log information -------------------------------------------- See Crash Report log file under the one of following:
> * ~/Library/Logs/CrashReporter
> * /Library/Logs/CrashReporter
> * ~/Library/Logs/DiagnosticReports
> * /Library/Logs/DiagnosticReports the more detail of.
>
> -- Control frame information ----------------------------------------------- c:0006 p:0038 s:0038 e:000037 CLASS /Users/ale/.rvm/src/ruby-2.0.0-p0/lib/fileutils.rb:111
> c:0005 p:0035 s:0034 e:000033 CLASS
> /Users/ale/.rvm/src/ruby-2.0.0-p0/lib/fileutils.rb:107 c:0004 p:0009
> s:0032 e:000031 TOP
> /Users/ale/.rvm/src/ruby-2.0.0-p0/lib/fileutils.rb:85 [FINISH] c:0003
> p:---- s:0030 e:000029 CFUNC :require c:0002 p:0098 s:0026 E:001f68
> EVAL ./tool/mkconfig.rb:11 [FINISH] c:0001 p:0000 s:0002 E:001848
> TOP [FINISH]
>
> ./tool/mkconfig.rb:11:in `<main>' ./tool/mkconfig.rb:11:in `require'
> /Users/ale/.rvm/src/ruby-2.0.0-p0/lib/fileutils.rb:85:in `<top
> (required)>' /Users/ale/.rvm/src/ruby-2.0.0-p0/lib/fileutils.rb:107:in
> `<module:FileUtils>'
> /Users/ale/.rvm/src/ruby-2.0.0-p0/lib/fileutils.rb:111:in
> `<module:NoWrite>'
>
> -- C level backtrace information ------------------------------------------- 0 miniruby 0x0000000108465e24 rb_vm_bugreport + 164 1 miniruby
> 0x000000010833d95e report_bug + 302 2 miniruby
> 0x000000010833dc14 rb_bug + 180 3 miniruby
> 0x000000010845bea0 vm_exec_core + 32080 4 miniruby
> 0x000000010845c07e vm_exec + 94 5 miniruby
> 0x000000010845cf5a rb_iseq_eval + 266 6 miniruby
> 0x0000000108342572 rb_load_internal + 306 7 miniruby
> 0x0000000108343cc1 rb_require_safe + 1313 8 miniruby
> 0x000000010844bc54 call_cfunc_1 + 20 9 miniruby
> 0x0000000108452126 vm_call_cfunc + 1046 10 miniruby
> 0x0000000108460ce0 vm_call_method + 224 11 miniruby
> 0x0000000108457363 vm_exec_core + 12819 12 miniruby
> 0x000000010845c07e vm_exec + 94 13 miniruby
> 0x000000010845ce2e rb_iseq_eval_main + 206 14 miniruby
> 0x0000000108340cdf ruby_exec_internal + 111 15 miniruby
> 0x0000000108341cc2 ruby_run_node + 82 16 miniruby
> 0x00000001083080af main + 79 17 libdyld.dylib
> 0x00007fff8ae7b7e1 start + 0 18 ???
> 0x0000000000000009 0x0 + 9
>
> -- Other runtime information -----------------------------------------------
>
> * Loaded script: ./tool/mkconfig.rb
>
> * Loaded features:
>
> 0 enumerator.so
>
> [NOTE] You may have encountered a bug in the Ruby interpreter or
> extension libraries. Bug reports are welcome. For details:
> http://www.ruby-lang.org/bugreport.html
>
> make: *** [.rbconfig.time] Abort trap: 6
Is it working for anyone else?
did you try with CC=clang
I've installed on 10.7 without any problem just a minute ago.
rvm get head after 5pm London time today solved the problem. Guess Wayne has been fighting at it!
Ran rvm reinstall 2.0.0.
Still get find: -printf: unknown primary or operator on the rubygems installation, but the rest works.
Successfully installed here.
After removing my CC variable (was pointing to gcc-4.2) from .bash_profile and doing rvm get head && rvm requirements && rvm reinstall 2.0.0
But I get the rubygems install error.
Making some tests did not seem to be a problem. gem install works nice
I'm a little late here but had the same issue. I installed RVM and Ruby 2.0 with the following command and received the same error.
curl -L https://get.rvm.io | bash -s stable --ruby
Make sure to restart Terminal and then run rvm get head
Worked here.
This is fixed in the ruby 2.0 head. See the link to the specific issue below. As an alternative to pulling the head, you also fix the build issue by applying the simple patch described in the issue.
https://bugs.ruby-lang.org/issues/8171
Here's what I did that worked for me when "rvm install 2.0.0" failed.
Ensure that you have the latest Xcode installed from the App Store.
I then removed rvm with
rvm implode
And then reinstalled rvm (see rvm.io) with
curl -L https://get.rvm.io | bash -s stable
Then I did a
rvm install 2.0.0
which worked.
Just updated Xcode to 4.3 and now I can't build my app. I'm getting this error:
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 254
Anybody else having this problem? It's probably just a compilation setting but I'm not sure where to look.
Of course, the error includes the entire stack dump, but I've not included that for sake of brevity. I'm hoping that someone will know what "exit code 254" is. Tried searching for it but couldn't find anything.
Here's the entire output:
CompileC /Users/aaron/Library/Developer/Xcode/DerivedData/iDB-cvvkmobzsecywdherzjesrjswdng/Build/Intermediates/iDB.build/Debug-iphonesimulator/Flexile.build/Objects-normal/i386/SCheckBox.o iDB/SCheckBox.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd "/Users/aaron/Dropbox/XCode Projects/iDB"
setenv LANG en_US.US-ASCII
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch i386 -fmessage-length=0 -std=gnu99 -fobjc-arc -Wno-trigraphs -fpascal-strings -O0 -Werror -Wno-missing-field-initializers -Wmissing-prototypes -Wreturn-type -Wno-implicit-atomic-properties -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wunused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-sign-compare -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -DDEBUG=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk -fexceptions -fasm-blocks -Wprotocol -Wdeprecated-declarations -mmacosx-version-min=10.6 -g -Wno-conversion -Wno-sign-conversion -fobjc-abi-version=2 -fobjc-legacy-dispatch "-DIBOutlet=__attribute__((iboutlet))" "-DIBOutletCollection(ClassName)=__attribute__((iboutletcollection(ClassName)))" "-DIBAction=void)__attribute__((ibaction)" -D__IPHONE_OS_VERSION_MIN_REQUIRED=50000 -iquote /Users/aaron/Library/Developer/Xcode/DerivedData/iDB-cvvkmobzsecywdherzjesrjswdng/Build/Intermediates/iDB.build/Debug-iphonesimulator/Flexile.build/Flexile-generated-files.hmap -I/Users/aaron/Library/Developer/Xcode/DerivedData/iDB-cvvkmobzsecywdherzjesrjswdng/Build/Intermediates/iDB.build/Debug-iphonesimulator/Flexile.build/Flexile-own-target-headers.hmap -I/Users/aaron/Library/Developer/Xcode/DerivedData/iDB-cvvkmobzsecywdherzjesrjswdng/Build/Intermediates/iDB.build/Debug-iphonesimulator/Flexile.build/Flexile-all-target-headers.hmap -iquote /Users/aaron/Library/Developer/Xcode/DerivedData/iDB-cvvkmobzsecywdherzjesrjswdng/Build/Intermediates/iDB.build/Debug-iphonesimulator/Flexile.build/Flexile-project-headers.hmap -I/Users/aaron/Library/Developer/Xcode/DerivedData/iDB-cvvkmobzsecywdherzjesrjswdng/Build/Products/Debug-iphonesimulator/include -I/Users/aaron/Library/Developer/Xcode/DerivedData/iDB-cvvkmobzsecywdherzjesrjswdng/Build/Intermediates/iDB.build/Debug-iphonesimulator/Flexile.build/DerivedSources/i386 -I/Users/aaron/Library/Developer/Xcode/DerivedData/iDB-cvvkmobzsecywdherzjesrjswdng/Build/Intermediates/iDB.build/Debug-iphonesimulator/Flexile.build/DerivedSources -F/Users/aaron/Library/Developer/Xcode/DerivedData/iDB-cvvkmobzsecywdherzjesrjswdng/Build/Products/Debug-iphonesimulator -include /Users/aaron/Library/Developer/Xcode/DerivedData/iDB-cvvkmobzsecywdherzjesrjswdng/Build/Intermediates/PrecompiledHeaders/iDB-Prefix-aojkwzmrifipbudgsdryqwbhphsf/iDB-Prefix.pch -MMD -MT dependencies -MF /Users/aaron/Library/Developer/Xcode/DerivedData/iDB-cvvkmobzsecywdherzjesrjswdng/Build/Intermediates/iDB.build/Debug-iphonesimulator/Flexile.build/Objects-normal/i386/SCheckBox.d --serialize-diagnostics /Users/aaron/Library/Developer/Xcode/DerivedData/iDB-cvvkmobzsecywdherzjesrjswdng/Build/Intermediates/iDB.build/Debug-iphonesimulator/Flexile.build/Objects-normal/i386/SCheckBox.dia -c "/Users/aaron/Dropbox/XCode Projects/iDB/iDB/SCheckBox.m" -o /Users/aaron/Library/Developer/Xcode/DerivedData/iDB-cvvkmobzsecywdherzjesrjswdng/Build/Intermediates/iDB.build/Debug-iphonesimulator/Flexile.build/Objects-normal/i386/SCheckBox.o
0 clang 0x000000010a5c15a2 _ZL15PrintStackTracePv + 34
1 clang 0x000000010a5c1a29 _ZL13SignalHandleri + 553
2 libsystem_c.dylib 0x00007fff94b6dcfa _sigtramp + 26
3 libsystem_c.dylib 0x00007fff6929a1b0 _sigtramp + 18446744072978875600
4 clang 0x0000000109ef3798 _ZL20findRetainCycleOwnerPN5clang4ExprERN12_GLOBAL__N_116RetainCycleOwnerE + 312
5 clang 0x0000000109ef35af clang::Sema::checkRetainCycles(clang::ObjCMessageExpr*) + 303
6 clang 0x00000001097efaef clang::Sema::BuildInstanceMessage(clang::Expr*, clang::QualType, clang::SourceLocation, clang::Selector, clang::ObjCMethodDecl*, clang::SourceLocation, llvm::ArrayRef<clang::SourceLocation>, clang::SourceLocation, clang::ASTMultiPtr<clang::Expr*>) + 6479
7 clang 0x00000001097ee18a clang::Sema::ActOnInstanceMessage(clang::Scope*, clang::Expr*, clang::Selector, clang::SourceLocation, llvm::ArrayRef<clang::SourceLocation>, clang::SourceLocation, clang::ASTMultiPtr<clang::Expr*>) + 138
8 clang 0x00000001097ee04b clang::Parser::ParseObjCMessageExpressionBody(clang::SourceLocation, clang::SourceLocation, clang::OpaquePtr<clang::QualType>, clang::Expr*) + 2091
9 clang 0x00000001097ed7f4 clang::Parser::ParseObjCMessageExpression() + 852
10 clang 0x0000000109765597 clang::Parser::ParseCastExpression(bool, bool, bool&, bool) + 6807
11 clang 0x0000000109763ab2 clang::Parser::ParseAssignmentExpression() + 114
12 clang 0x0000000109763a21 clang::Parser::ParseExpression() + 17
13 clang 0x00000001097b8efe clang::Parser::ParseExprStatement(clang::ParsedAttributes&) + 46
14 clang 0x00000001097634bc clang::Parser::ParseStatementOrDeclaration(clang::ASTOwningVector<clang::Stmt*, 32u>&, bool) + 1564
15 clang 0x00000001097627d9 clang::Parser::ParseCompoundStatementBody(bool) + 409
16 clang 0x0000000109763242 clang::Parser::ParseStatementOrDeclaration(clang::ASTOwningVector<clang::Stmt*, 32u>&, bool) + 930
17 clang 0x00000001097b6d0b clang::Parser::ParseIfStatement(clang::ParsedAttributes&) + 475
18 clang 0x000000010976353c clang::Parser::ParseStatementOrDeclaration(clang::ASTOwningVector<clang::Stmt*, 32u>&, bool) + 1692
19 clang 0x00000001097627d9 clang::Parser::ParseCompoundStatementBody(bool) + 409
20 clang 0x0000000109edbd30 clang::Parser::ParseLexedObjCMethodDefs(clang::Parser::LexedMethod&) + 272
21 clang 0x000000010980483e clang::Parser::ParseObjCAtEndDeclaration(clang::SourceRange) + 158
22 clang 0x00000001097e2222 clang::Parser::ParseObjCAtDirectives() + 386
23 clang 0x0000000109723e87 clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&, clang::Parser::ParsingDeclSpec*) + 759
24 clang 0x0000000109723b19 clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&) + 249
25 clang 0x000000010970688b clang::ParseAST(clang::Sema&, bool) + 299
26 clang 0x00000001097053d9 clang::CodeGenAction::ExecuteAction() + 857
27 clang 0x00000001096d793f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 879
28 clang 0x00000001096d65cb clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 2683
29 clang 0x00000001096c8dce cc1_main(char const**, char const**, char const*, void*) + 5086
30 clang 0x00000001096a35d8 main + 648
31 clang 0x00000001096a3344 start + 52
32 clang 0x0000000000000071 start + 18446744069256629601
Stack dump:
0. Program arguments: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -cc1 -triple i386-apple-macosx10.6.0 -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name SCheckBox.m -pic-level 1 -mdisable-fp-elim -relaxed-aliasing -masm-verbose -target-cpu yonah -target-linker-version 128.2 -g -coverage-file /Users/aaron/Library/Developer/Xcode/DerivedData/iDB-cvvkmobzsecywdherzjesrjswdng/Build/Intermediates/iDB.build/Debug-iphonesimulator/Flexile.build/Objects-normal/i386/SCheckBox.o -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/3.1 -dependency-file /Users/aaron/Library/Developer/Xcode/DerivedData/iDB-cvvkmobzsecywdherzjesrjswdng/Build/Intermediates/iDB.build/Debug-iphonesimulator/Flexile.build/Objects-normal/i386/SCheckBox.d -MT dependencies -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk -iquote /Users/aaron/Library/Developer/Xcode/DerivedData/iDB-cvvkmobzsecywdherzjesrjswdng/Build/Intermediates/iDB.build/Debug-iphonesimulator/Flexile.build/Flexile-generated-files.hmap -iquote /Users/aaron/Library/Developer/Xcode/DerivedData/iDB-cvvkmobzsecywdherzjesrjswdng/Build/Intermediates/iDB.build/Debug-iphonesimulator/Flexile.build/Flexile-project-headers.hmap -include-pch /Users/aaron/Library/Developer/Xcode/DerivedData/iDB-cvvkmobzsecywdherzjesrjswdng/Build/Intermediates/PrecompiledHeaders/iDB-Prefix-aojkwzmrifipbudgsdryqwbhphsf/iDB-Prefix.pch.pth -D DEBUG=1 -D IBOutlet=__attribute__((iboutlet)) -D IBOutletCollection(ClassName)=__attribute__((iboutletcollection(ClassName))) -D IBAction=void)__attribute__((ibaction) -D __IPHONE_OS_VERSION_MIN_REQUIRED=50000 -I /Users/aaron/Library/Developer/Xcode/DerivedData/iDB-cvvkmobzsecywdherzjesrjswdng/Build/Intermediates/iDB.build/Debug-iphonesimulator/Flexile.build/Flexile-own-target-headers.hmap -I /Users/aaron/Library/Developer/Xcode/DerivedData/iDB-cvvkmobzsecywdherzjesrjswdng/Build/Intermediates/iDB.build/Debug-iphonesimulator/Flexile.build/Flexile-all-target-headers.hmap -I /Users/aaron/Library/Developer/Xcode/DerivedData/iDB-cvvkmobzsecywdherzjesrjswdng/Build/Products/Debug-iphonesimulator/include -I /Users/aaron/Library/Developer/Xcode/DerivedData/iDB-cvvkmobzsecywdherzjesrjswdng/Build/Intermediates/iDB.build/Debug-iphonesimulator/Flexile.build/DerivedSources/i386 -I /Users/aaron/Library/Developer/Xcode/DerivedData/iDB-cvvkmobzsecywdherzjesrjswdng/Build/Intermediates/iDB.build/Debug-iphonesimulator/Flexile.build/DerivedSources -F/Users/aaron/Library/Developer/Xcode/DerivedData/iDB-cvvkmobzsecywdherzjesrjswdng/Build/Products/Debug-iphonesimulator -fmodule-cache-path /var/folders/1y/fbhzgfpn2ld9qxdfpgl7d_rm0000gn/T/clang-module-cache -O0 -Wno-trigraphs -Werror -Wno-missing-field-initializers -Wmissing-prototypes -Wreturn-type -Wno-implicit-atomic-properties -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wunused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-sign-compare -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wprotocol -Wdeprecated-declarations -Wno-conversion -Wno-sign-conversion -std=gnu99 -ferror-limit 19 -fmessage-length 0 -stack-protector 1 -fblocks -fobjc-runtime-has-arc -fobjc-runtime-has-weak -fobjc-arc -fobjc-exceptions -fexceptions -fpascal-strings -fdiagnostics-show-option -serialize-diagnostic-file /Users/aaron/Library/Developer/Xcode/DerivedData/iDB-cvvkmobzsecywdherzjesrjswdng/Build/Intermediates/iDB.build/Debug-iphonesimulator/Flexile.build/Objects-normal/i386/SCheckBox.dia -o /Users/aaron/Library/Developer/Xcode/DerivedData/iDB-cvvkmobzsecywdherzjesrjswdng/Build/Intermediates/iDB.build/Debug-iphonesimulator/Flexile.build/Objects-normal/i386/SCheckBox.o -x objective-c /Users/aaron/Dropbox/XCode Projects/iDB/iDB/SCheckBox.m
1. /Users/aaron/Dropbox/XCode Projects/iDB/iDB/SCheckBox.m:36:47: current parser token ';'
2. /Users/aaron/Dropbox/XCode Projects/iDB/iDB/SCheckBox.m:27:146: in compound statement ('{}')
3. /Users/aaron/Dropbox/XCode Projects/iDB/iDB/SCheckBox.m:29:102: in compound statement ('{}')
clang: error: unable to execute command: Segmentation fault: 11
clang: error: clang frontend command failed due to signal 2 (use -v to see invocation)
clang: note: diagnostic msg: Please submit a bug report to http://developer.apple.com/bugreporter/ and include command line arguments and all diagnostic information.
clang: note: diagnostic msg: Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /var/folders/1y/fbhzgfpn2ld9qxdfpgl7d_rm0000gn/T/SCheckBox-GckJrn.mi
clang: note: diagnostic msg: /var/folders/1y/fbhzgfpn2ld9qxdfpgl7d_rm0000gn/T/SCheckBox-GckJrn.sh
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 254
UPDATE
So I noticed that the dump refers to specific lines on code in a specific class (SCheckBox.m).
It's in an init method. I've checked over the method but could not find anything wrong with it. However, if I comment everything inside the method out and return nil, the code compiles. I went through and uncommented every line until I got the error. The error causing the problem is this:
[super.inputField addSubview:_checked];
I had intended on using 'self' instead of 'super'(which was a typo on my part). But super does in fact have a inputField property. It's not redefined or overwritten in the subclass. So accessing 'super.inputField' vs 'self.inputField' should access the exact same thing (and did before upgrading Xcode). OK, so changing 'super' to 'self' does fix the problem.
My question now is: Why?
I managed to trigger this issue on Xcode 4.3.2 by trying to output through NSLog the result of an in-place operation (which returns void).
In my case, what I was trying to do was:-
NSLog(#"result = %#", [array filterUsingPredicate:predicate]);
The fact that filterUsingPredicate: is an in-place method that returns void seems to have triggered this compiler error. It's interesting that Xcode's as-you-type error detection doesn't pick up on it.
Changing this to the correct version:-
NSLog(#"result = %#", [array filteredArrayUsingPredicate:predicate]);
Works fine and resolves the issue!
You've found a compiler bug. It looks like the compiler's error report pinpoints where in your code it's barfing, so your best bet is to fiddle with that code and see if you can make it more easily digestable.
You could also submit a bug report, but that will not solve your problem in a timely fashion.
I had a Copy-Paste error, met often when the deadline is short :)
in .m file:
#implementation DetailGetter
... stuff here..
#end
than I have copy-paste an interface declaration above this, but with other name,
#implementation FromOtherMFile()
#end
#implementation DetailGetter
... stuff here..
#end
of course, if it is changed the FromOtherMFile to DetailGetter it will be no compiler error, but needed to scroll a whole page where is the error, and isn't highlighted in editor.
I had the same problem. In this code:
[super pxSeek:#"1"];
[super.SQL setString:[NSString stringWithFormat:#"%# %#", #"SELECT COUNT(*) AS MYCOUNT FROM ", super.Name]];
[super executeSQL];
return [super getIntColumn:0];
I need to change [super.SQL] for [[super SQL], that is invoking the method.
I ran into the same error message after upgrading from 4.2 to 4.3. By examining the dump, I was able to find the class name and the line that was causing the compiler to puke.
I'm sure the cause is different for everyone but adding my fix here.
Changing from
[super.tabBarController setSelectedIndex:0];
To
[[super tabBarController] setSelectedIndex:0];
addressed the problem for me. I thought dot notations translate to brackets though. It'd be great if someone could explain this fix which wasn't required in XCode 4.2.
im using xcode 4.3, have error like yours. It was some bug, i just reboot my computer and error gone.
The system has been useing Macports. I configured the system exactly as per the line by line instructions of these guidelines. In the process I got the error below. The only change I have from it is that instead of using easy_install I did easy_install-2.6. I feel it is a CXX error something which is kind of above my knowledge. Can some one help me in setting up my Mac correctly? I am a heavy user of Xcode (iPhone development) and a Roboticist and need a compiler for executing C files. I would also be willing on working with Python for this and future setups (wsgi applications). I have a 64-bit OSX Lion running currently.
{-------------------------------------------------------------------------------
-- The CXX compiler identification is GNU
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
[rosbuild] Building package rosconsole
[rosbuild] Cached build flags older than manifests; calling rospack to get flags
[rosbuild] Including /Users/rajeshmedampudi/ros/ros_comm/clients/roslisp/cmake/roslisp.cmake
[rosbuild] Including /Users/rajeshmedampudi/ros/ros_comm/clients/rospy/cmake/rospy.cmake
[rosbuild] Including /Users/rajeshmedampudi/ros/ros_comm/clients/cpp/roscpp/cmake/roscpp.cmake
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/rajeshmedampudi/ros/ros_comm/tools/rosconsole/build
cd build && make -l8
Scanning dependencies of target rospack_genmsg_libexe
[ 0%] Built target rospack_genmsg_libexe
Scanning dependencies of target rosbuild_precompile
[ 0%] Built target rosbuild_precompile
Scanning dependencies of target rosconsole
[ 50%] Building CXX object CMakeFiles/rosconsole.dir/src/rosconsole/rosconsole.o
/Users/rajeshmedampudi/ros/ros_comm/tools/rosconsole/src/rosconsole/rosconsole.cpp:684: internal compiler error: Segmentation fault: 11
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.
make[3]: *** [CMakeFiles/rosconsole.dir/src/rosconsole/rosconsole.o] Error 1
make[2]: *** [CMakeFiles/rosconsole.dir/all] Error 2
make[1]: *** [all] Error 2
-------------------------------------------------------------------------------}
[ rosmake ] Output from build of package rosconsole written to:
[ rosmake ] /Users/rajeshmedampudi/.ros/rosmake/rosmake_output-20111107-233014/rosconsole/build_output.log
[rosmake-4] Finished <<< rosconsole [FAIL] [ 7.71 seconds ]
[ rosmake ] Halting due to failure in package rosconsole.
[ rosmake ] Waiting for other threads to complete.
[rosmake-0] Finished <<< rosunit [PASS] [ 24.44 seconds ]
[rosmake-5] Finished <<< rosgraph [PASS] [ 24.44 seconds ]
[rosmake-6] Finished <<< std_msgs [PASS] [ 24.44 seconds ]
[ rosmake ] Results:
[ rosmake ] Built 28 packages with 1 failures.
[ rosmake ] Summary output to directory
[ rosmake ] /Users/rajeshmedampudi/.ros/rosmake/rosmake_output-20111107-233014
Traceback (most recent call last):
File "/usr/local/bin/rosinstall", line 5, in <module>
pkg_resources.run_script('rosinstall==0.5.22', 'rosinstall')
File "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/pkg_resources.py", line 489, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/pkg_resources.py", line 1214, in run_script
exec script_code in namespace, namespace
File "/Library/Python/2.6/site-packages/rosinstall-0.5.22-py2.6.egg/EGG-INFO/scripts/rosinstall", line 679, in <module>
File "/Library/Python/2.6/site-packages/rosinstall-0.5.22-py2.6.egg/EGG-INFO/scripts/rosinstall", line 670, in rosinstall_main
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 488, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'source /Users/rajeshmedampudi/ros/setup.sh && rosmake ros ros_comm --rosdep-install' returned non-zero exit status 1
This is the Config problem i am having while i am trying to compile with my current llvm-gcc
This is the config.log(in full) as you already must be knowing i am a little inexperienced with the compiler changes and all...
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by llvm configure 3.1svn, which was
generated by GNU Autoconf 2.60. Invocation command line was
$ ./configure --prefix=/opt --enable-optimized
## --------- ##
## Platform. ##
## --------- ##
hostname = Rajeshs-Mac-Pro.local
uname -m = x86_64
uname -r = 11.2.0
uname -s = Darwin
uname -v = Darwin Kernel Version 11.2.0: Tue Aug 9 20:54:00 PDT 2011; root:xnu-1699.24.8~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
/usr/bin/hostinfo = Mach kernel version:
Darwin Kernel Version 11.2.0: Tue Aug 9 20:54:00 PDT 2011; root:xnu-1699.24.8~1/RELEASE_X86_64
Kernel configured for up to 8 processors.
4 processors are physically available.
8 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1 2 3 4 5 6 7
Primary memory available: 8.00 gigabytes
Default processor set: 141 tasks, 759 threads, 8 processors
Load average: 0.99, Mach factor: 7.00
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /Library/Frameworks/Python.framework/Versions/2.7/bin
PATH: /opt/local/bin
PATH: /opt/local/sbin
PATH: /opt/local/bin
PATH: /opt/local/sbin
PATH: /Library/Frameworks/Python.framework/Versions/2.6/bin
PATH: /opt/local/bin
PATH: /opt/local/sbin
PATH: /opt/local/bin
PATH: /opt/local/sbin
PATH: /usr/local/mysql/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/bin
PATH: /usr/X11/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2067: checking for C compiler version
configure:2074: clang --version >&5
Apple clang version 3.0 (tags/Apple/clang-211.10.1) (based on LLVM 3.0svn)
Target: x86_64-apple-darwin11.2.0
Thread model: posix
configure:2077: $? = 0
configure:2084: clang -v >&5
Apple clang version 3.0 (tags/Apple/clang-211.10.1) (based on LLVM 3.0svn)
Target: x86_64-apple-darwin11.2.0
Thread model: posix
configure:2087: $? = 0
configure:2094: clang -V >&5
clang: error: argument to '-V' is missing (expected 1 value)
clang: error: no input files
configure:2097: $? = 1
configure:2120: checking for C compiler default output file name
configure:2147: clang -Qunused-arguments -Qunused-arguments conftest.c >&5
configure:2150: $? = 0
configure:2196: result: a.out
configure:2201: checking whether the C compiler works
configure:2211: ./a.out
configure:2214: $? = 0
configure:2231: result: yes
configure:2238: checking whether we are cross compiling
configure:2240: result: no
configure:2243: checking for suffix of executables
configure:2250: clang -o conftest -Qunused-arguments -Qunused-arguments conftest.c >&5
configure:2253: $? = 0
configure:2277: result:
configure:2283: checking for suffix of object files
configure:2309: clang -c -Qunused-arguments -Qunused-arguments conftest.c >&5
configure:2312: $? = 0
configure:2335: result: o
configure:2339: checking whether we are using the GNU C compiler
configure:2368: clang -c -Qunused-arguments -Qunused-arguments conftest.c >&5
configure:2374: $? = 0
configure:2381: test -z "$ac_c_werror_flag" || test ! -s conftest.err
configure:2384: $? = 0
configure:2391: test -s conftest.o
configure:2394: $? = 0
configure:2408: result: yes
configure:2413: checking whether clang accepts -g
configure:2443: clang -c -g -Qunused-arguments conftest.c >&5
configure:2449: $? = 0
configure:2456: test -z "$ac_c_werror_flag" || test ! -s conftest.err
configure:2459: $? = 0
configure:2466: test -s conftest.o
configure:2469: $? = 0
configure:2599: result: yes
configure:2616: checking for clang option to accept ISO C89
configure:2690: clang -c -Qunused-arguments -Qunused-arguments conftest.c >&5
configure:2696: $? = 0
configure:2703: test -z "$ac_c_werror_flag" || test ! -s conftest.err
configure:2706: $? = 0
configure:2713: test -s conftest.o
configure:2716: $? = 0
configure:2736: result: none needed
configure:2870: checking for C++ compiler version
configure:2877: llvm-g++ --version >&5
i686-apple-darwin11-llvm-g++-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.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:2880: $? = 0
configure:2887: llvm-g++ -v >&5
Using built-in specs.
Target: i686-apple-darwin11
Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.1~1/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-2336.1~1/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 2336.1.00)
configure:2890: $? = 0
configure:2897: llvm-g++ -V >&5
llvm-g++-4.2: argument to `-V' is missing
configure:2900: $? = 1
configure:2903: checking whether we are using the GNU C++ compiler
configure:2932: llvm-g++ -c -Qunused-arguments conftest.cpp >&5
configure:2938: $? = 0
configure:2945: test -z "$ac_cxx_werror_flag" || test ! -s conftest.err
configure:2948: $? = 0
configure:2955: test -s conftest.o
configure:2958: $? = 0
configure:2972: result: yes
configure:2977: checking whether llvm-g++ accepts -g
configure:3007: llvm-g++ -c -g -Qunused-arguments conftest.cpp >&5
configure:3013: $? = 0
configure:3020: test -z "$ac_cxx_werror_flag" || test ! -s conftest.err
configure:3023: $? = 0
configure:3030: test -s conftest.o
configure:3033: $? = 0
configure:3163: result: yes
configure:3191: checking how to run the C preprocessor
configure:3321: result: llvm-gcc-4.2
configure:3350: llvm-gcc-4.2 -Qunused-arguments conftest.c
conftest.c:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error'
configure:3356: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "llvm"
| #define PACKAGE_TARNAME "-llvm-"
| #define PACKAGE_VERSION "3.1svn"
| #define PACKAGE_STRING "llvm 3.1svn"
| #define PACKAGE_BUGREPORT "llvmbugs#cs.uiuc.edu"
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:3350: llvm-gcc-4.2 -Qunused-arguments conftest.c
conftest.c:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error'
configure:3356: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "llvm"
| #define PACKAGE_TARNAME "-llvm-"
| #define PACKAGE_VERSION "3.1svn"
| #define PACKAGE_STRING "llvm 3.1svn"
| #define PACKAGE_BUGREPORT "llvmbugs#cs.uiuc.edu"
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:3432: error: C preprocessor "llvm-gcc-4.2" fails sanity check
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value=clang
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value=-Qunused-arguments
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=-Qunused-arguments
ac_cv_env_CPP_set=set
ac_cv_env_CPP_value=llvm-gcc-4.2
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value=llvm-g++
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_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_objext=o
ac_cv_prog_CPP=llvm-gcc-4.2
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ALL_BINDINGS=''
AR=''
ARCH=''
BINDINGS_TO_BUILD=''
BINPWD=''
BINUTILS_INCDIR=''
BUILD_CC=''
BUILD_CXX=''
BUILD_EXEEXT=''
BZIP2=''
CAT=''
CC='clang'
CFLAGS='-Qunused-arguments'
CIRCO=''
CLANG_SRC_ROOT=''
CMP=''
CONVENIENCE_LTDL_FALSE=''
CONVENIENCE_LTDL_TRUE=''
CP=''
CPP='llvm-gcc-4.2'
CPPFLAGS='-Qunused-arguments'
CVSBUILD=''
CXX='llvm-g++'
CXXFLAGS='-g -O2'
DATE=''
DEBUG_RUNTIME=''
DEBUG_SYMBOLS=''
DEFS=''
DISABLE_ASSERTIONS=''
DOT=''
DOTTY=''
DOXYGEN=''
ECHO_C='ECHO_N=''
ECHO_T=''
EGREP=''
ENABLE_CBE_PRINTF_A=''
ENABLE_DOCS=''
ENABLE_DOXYGEN=''
ENABLE_EMBED_STDCXX=''
ENABLE_EXPENSIVE_CHECKS=''
ENABLE_OPTIMIZED=''
ENABLE_PIC=''
ENABLE_POLLY=''
ENABLE_PROFILING=''
ENABLE_PTHREADS=''
ENABLE_SHARED=''
ENABLE_THREADS=''
ENABLE_TIMESTAMPS=''
ENABLE_VISIBILITY_INLINES_HIDDEN=''
ENDIAN=''
EXEEXT=''
EXPENSIVE_CHECKS=''
EXTRA_LD_OPTIONS=''
EXTRA_OPTIONS=''
FDP=''
FIND=''
GAS=''
GRAPHVIZ=''
GREP=''
GROFF=''
GV=''
GZIPBIN=''
HAVE_LINK_VERSION_SCRIPT=''
HAVE_PERL=''
HAVE_PTHREAD=''
HOST_OS=''
HUGE_VAL_SANITY=''
INSTALL_DATA=''
INSTALL_LTDL_FALSE=''
INSTALL_LTDL_TRUE=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
JIT=''
LDFLAGS=''
LIBADD_DL=''
LIBOBJS=''
LIBS=''
LINKALL=''
LLVM_BINDIR=''
LLVM_CONFIGTIME=''
LLVM_COPYRIGHT='Copyright (c) 2003-2011 University of Illinois at Urbana-Champaign.'
LLVM_CROSS_COMPILING=''
LLVM_DATADIR=''
LLVM_DOCSDIR=''
LLVM_ENUM_ASM_PARSERS=''
LLVM_ENUM_ASM_PRINTERS=''
LLVM_ENUM_DISASSEMBLERS=''
LLVM_ENUM_TARGETS=''
LLVM_ETCDIR=''
LLVM_HAS_POLLY=''
LLVM_INCLUDEDIR=''
LLVM_INFODIR=''
LLVM_LIBDIR=''
LLVM_MANDIR=''
LLVM_ON_UNIX=''
LLVM_ON_WIN32=''
LLVM_PREFIX=''
LN_S=''
LTLIBOBJS=''
MKDIR=''
MMAP_FILE=''
MV=''
NEATO=''
NM=''
NOLINKALL=''
NO_MISSING_FIELD_INITIALIZERS=''
NO_VARIADIC_MACROS=''
OBJEXT='o'
OCAMLC=''
OCAMLDEP=''
OCAMLDOC=''
OCAMLOPT=''
OCAML_LIBDIR=''
OPTIMIZE_OPTION=''
OS=''
PACKAGE_BUGREPORT='llvmbugs#cs.uiuc.edu'
PACKAGE_NAME='llvm'
PACKAGE_STRING='llvm 3.1svn'
PACKAGE_TARNAME='-llvm-'
PACKAGE_VERSION='3.1svn'
PATH_SEPARATOR=':'
PDFROFF=''
PERL=''
POD2HTML=''
POD2MAN=''
RANLIB=''
RDYNAMIC=''
RM=''
RPATH=''
RUNTEST=''
SED=''
SHELL='/bin/sh'
SHLIBEXT=''
SHLIBPATH_VAR=''
TAR=''
TARGETS_TO_BUILD=''
TARGET_HAS_JIT=''
TARGET_OS=''
TCLSH=''
TWOPI=''
USE_OPROFILE=''
USE_UDIS86=''
XDOT_PY=''
ZIP=''
ac_ct_CC=''
ac_ct_CXX=''
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}'
ifGNUmake=''
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/opt'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs=''
sysconfdir='${prefix}/etc'
target=''
target_alias=''
target_cpu=''
target_os=''
target_vendor=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_NAME "llvm"
#define PACKAGE_TARNAME "-llvm-"
#define PACKAGE_VERSION "3.1svn"
#define PACKAGE_STRING "llvm 3.1svn"
#define PACKAGE_BUGREPORT "llvmbugs#cs.uiuc.edu"
configure: exit 1
Now i did not find any material of how to go about in installing llvm-chang in my system where do you need to install it and how to go about it. do you know of any such... It would be a great help in clearing this out... thanks.
PS: this is the guide i am using. i tried making downloading the files to /usr/llvm and they did download but got stuck at the .configure part.... do you want me to specify any other form of messages that need to be done in setting up the mac compiler correctly.
The guidelines you are referring to are outdated, please check the users guide on their website
Have you tried to install the package apple-gcc42 and force the compiler to GCC instead of LLVM? Xcode 4.2 uses LLVM by default and it does not come with GCC anymore.
Well, I just ran into the same problem on Mac OS X Lion (10.7).
So far, this workaround worked for me:
change to the directory ..../ros/ros_comm/tools/rosconsole/build
and call 'make'. This should produce the same error again.
Now call 'make -n' which prints out the commands which are really called by make.
Pick the (long) line where it compiles (c++) rosconsole.cpp from them, change the optimization option from -O2 to -O0 (thats MINUS OHH ZERO) and execute that command.
Then call make again to let it finish its work.
The problem seems that the Python that comes installed with the Lion software seems to have been messe with. What i Basically did was to create a new login and then carry on the installation process with easy-install2.6 . rather than use easy install easy_install