[R-SIG-Mac] Installing or Compiling EDGE
Evelien
eve.vaes at gmail.com
Thu Nov 24 17:18:50 CET 2011
Hi Simon,
We have been facing the same problem and tried to implement all changes you
suggested just here.
However, when compiling, we get an error that we don't seem
to understand (underneath). Any insights on what might be going wrong here?
I'm running a mac pro 1,1 with os 10.6.8 . Xcode 3.2 fresh off the disc
Thanks a lot, really appreciate any help!
Kind regards,
Evelien
for SUBDIR in threads cluster cluster/TestFramework cluster/Tests
threads/Tests
tests ../help ; do pushd $SUBDIR && make && popd; done
~/Desktop/EDGE/src/threads ~/Desktop/EDGE/src
mv Makefile Makefile.mv
SRCBASE=.. PKG_LIBS="" PKG_CXXFLAGS="
-DMAC_OS_X -Dassert\(expr\)= -fPIC
-I/Library/Frameworks/R.framework/Resources
-I../threads -I../cluster
-I/Library/Frameworks/R.framework/Resources/include -I..
-DEDGE_LIBRARY_VERSION=\"1.0.\"
-D__STDC_LIMIT_MACROS -Wall"
PKG_CFLAGS="-DMAC_OS_X -Dassert\(expr\)= -fPIC
-I/Library/Frameworks/R.framework/Resources
-I../threads -I../cluster
-I/Library/Frameworks/R.framework/Resources/include -I..
-DEDGE_LIBRARY_VERSION=\"1.0.\"
-D__STDC_LIMIT_MACROS -Wall" R CMD SHLIB -o
progressthreads.so ProgressThread.cpp
ProgressThreadDef.c Clock.c ;
RETURN=`echo $?` bash -c "mv Makefile.mv Makefile;
if test 0 -ne \$RETURN ;
echo 'build failed'; exit 1 ; fi"
g++-4.2 -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include/x86_64
-I/usr/local/include
-DMAC_OS_X -Dassert\(expr\)= -
fPIC -I/Library/Frameworks/R.framework/
Resources
-I../threads -I../cluster
-I/Library/Frameworks/R.framework/Resources/
include
-I.. -DEDGE_LIBRARY_VERSION=\"1.0.\"
-D__STDC_LIMIT_MACROS -Wall -fPIC
-g -O2
-c ProgressThread.cpp -o ProgressThread.o
gcc-4.2 -arch x86_64 -std=gnu99
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include/x86_64
-I/usr/local/include
-DMAC_OS_X -Dassert\(expr\)= -fPIC
-I/Library/Frameworks/R.framework/Resources
-I../threads -I../cluster -I/Library/Frameworks/R.framework/
Resources/include
-I.. -DEDGE_LIBRARY_VERSION=\"1.0.\"
-D__STDC_LIMIT_MACROS -Wall -fPIC
-g -O2
-c ProgressThreadDef.c -o ProgressThreadDef.o
gcc-4.2 -arch x86_64 -std=gnu99
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include/x86_64
-I/usr/local/include
-DMAC_OS_X -Dassert\(expr\)= -fPIC
-I/Library/Frameworks/R.framework/
Resources
-I../threads -I../cluster
-I/Library/Frameworks/R.framework/
Resources/include
-I.. -DEDGE_LIBRARY_VERSION=\"1.0.\"
-D__STDC_LIMIT_MACROS -Wall
-fPIC -g -O2
-c Clock.c -o Clock.o
g++-4.2 -arch x86_64 -dynamiclib
-Wl,-headerpad_max_instal
_names -undefined
dynamic_lookup -single_module -multiply_defined suppress
-L/usr/local/lib -o
progressthreads.so ProgressThread.o
ProgressThreadDef.o Clock.o
-F/Library/Frameworks/R.framework/..
-framework R -Wl,-framework -Wl,CoreFoundation
ar -rsv libprogressthreads.a ProgressThread.o
ProgressThreadDef.o Clock.o
ar: creating archive libprogressthreads.a
a - ProgressThread.o
a - ProgressThreadDef.o
a - Clock.o
ranlib libprogressthreads.a
~/Desktop/EDGE/src
~/Desktop/EDGE/src/cluster ~/Desktop/EDGE/src
make[1]: *** No rule to make target
`UnitTestRunner.cpp', needed by
`UnitTestRunner.o'. Stop.
/bin/sh: line 0: pushd: cluster/TestFramework:
No such file or directory
/bin/sh: line 0: pushd: cluster/Tests:
No such file or directory
/bin/sh: line 0: pushd: threads/Tests:
No such file or directory
~/Desktop/EDGE/src/cluster/tests
~/Desktop/EDGE/src/cluster
~/Desktop/EDGE/src
g++ -arch i386 -g -I.. -I../TestFramework
-I../../threads
-D__STDC_LIMIT_MACROS
-ftrapv -c main.cpp
g++ -arch i386 -g -I.. -I../TestFramework -I../../threads
-D__STDC_LIMIT_MACROS
-ftrapv -c VectorTestClasses.cpp
g++ -arch i386 -g -I.. -I../TestFramework -I../../threads
-D__STDC_LIMIT_MACROS
-ftrapv -c DataIO.cpp
make[1]: *** No rule to make target
`../TestFramework/libUnitTest.a',
needed by
`runtests'. Stop.
/bin/sh: line 0: pushd: ../help:
No such file or directory
make: *** [all] Error 1
More information about the R-SIG-Mac
mailing list