Thanks --e
I've copied the pvm3.h on the include directory (R.framework/versions/2.5/Resources/include) An now i'm getting ld: warning can't open dynamic library: /Developer/SDKs/MacOSX10.4u.sdk/Library/Frameworks/R.framework/Versions/2.5/ Resources/lib/libRblas.dylib referenced from: /Library/Frameworks/R.framework/../R.framework/R (checking for undefined symbols may be affected) (No such file or directory, errno = 2) Thanks for your help WARNING: ignoring environment value of R_HOME * Installing *source* package 'rpvm' ... checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed Check if PVM_ROOT is defined... no Warning: PVM_ROOT not defined. I'll try to build rpvm but you need set PVM_ROOT before use pvm. See pvm_intro(1PVM) Try to guess if pvm is installed somewhere ... Found pvm: /Users/najinassar/pvm3 PVM_ROOT is /Users/najinassar/pvm3 PVM_ARCH is DARWIN checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking pvm3.h usability... yes checking pvm3.h presence... yes checking for pvm3.h... yes checking for main in -lpvm3... no Try to find libpvm3 ... Found in /Users/najinassar/pvm3/lib/DARWIN checking for pvmd... /Users/najinassar/pvm3/lib/pvmd checking for pvmgs... /Users/najinassar/pvm3/bin/DARWIN/pvmgs configure: creating ./config.status config.status: creating src/Makevars config.status: creating inst/pvmhosts ** libs ** arch - ppc gcc-4.0 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -std=gnu99 -no-cpp-precomp -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/ppc -I/include -I/usr/local/include -DSOCKADHASLEN -DNOREXEC -DRSHCOMMAND=\"/usr/bin/rsh\" -DHASSTDLIB -DNEEDMENDIAN -DHASERRORVARS -DFAKEXDRFLOAT -DSYSERRISCONST -I/usr/include/malloc -I/System/Library/Frameworks/System.framework/Headers/bsd/sys -fPIC -g -O2 -c rpvm_core.c -o rpvm_core.o gcc-4.0 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -std=gnu99 -no-cpp-precomp -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/ppc -I/include -I/usr/local/include -DSOCKADHASLEN -DNOREXEC -DRSHCOMMAND=\"/usr/bin/rsh\" -DHASSTDLIB -DNEEDMENDIAN -DHASERRORVARS -DFAKEXDRFLOAT -DSYSERRISCONST -I/usr/include/malloc -I/System/Library/Frameworks/System.framework/Headers/bsd/sys -fPIC -g -O2 -c rpvm_ser.c -o rpvm_ser.o gcc-4.0 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -std=gnu99 -no-cpp-precomp -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/ppc -I/include -I/usr/local/include -DSOCKADHASLEN -DNOREXEC -DRSHCOMMAND=\"/usr/bin/rsh\" -DHASSTDLIB -DNEEDMENDIAN -DHASERRORVARS -DFAKEXDRFLOAT -DSYSERRISCONST -I/usr/include/malloc -I/System/Library/Frameworks/System.framework/Headers/bsd/sys -fPIC -g -O2 -c utils.c -o utils.o gcc-4.0 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -std=gnu99 -dynamiclib -Wl,-macosx_version_min -Wl,10.3 -undefined dynamic_lookup -single_module -multiply_defined suppress -L/usr/local/lib -o rpvm.so rpvm_core.o rpvm_ser.o utils.o -L/Users/najinassar/pvm3/lib/DARWIN -lpvm3 -lgpvm3 -F/Library/Frameworks/R.framework/.. -framework R ld: warning can't open dynamic library: /Developer/SDKs/MacOSX10.4u.sdk/Library/Frameworks/R.framework/Versions/2.5/ Resources/lib/libRblas.dylib referenced from: /Library/Frameworks/R.framework/../R.framework/R (checking for undefined symbols may be affected) (No such file or directory, errno = 2) Le 26/07/07 14:26, [EMAIL PROTECTED] <[EMAIL PROTECTED]> a écrit : > > > > there are flags to tell R CMD build/install where to find headers and > libraries. you will need them, as your headers and libs are in > nonstandard locations. PVM_ROOT is insufficient. > > --e > > > > On Thu, 26 Jul 2007, Naji wrote: > >> Date: Thu, 26 Jul 2007 13:55:18 +0200 >> From: Naji <[EMAIL PROTECTED]> >> To: [email protected] >> Subject: [R-SIG-Mac] Some trouble installing RPVM >> >> Hi... >> >> >> >> I downloaded RPVM sources from CRAN.. Ive encountered a lot a error >> messages.. >> Thanks for your help >> >> WARNING: ignoring environment value of R_HOME >> * Installing *source* package 'rpvm' ... >> checking for gcc... gcc >> checking for C compiler default output file name... a.out >> checking whether the C compiler works... yes >> checking whether we are cross compiling... no >> checking for suffix of executables... >> checking for suffix of object files... o >> checking whether we are using the GNU C compiler... yes >> checking whether gcc accepts -g... yes >> checking for gcc option to accept ANSI C... none needed >> Check if PVM_ROOT is defined... no >> Warning: PVM_ROOT not defined. >> I'll try to build rpvm but you need set PVM_ROOT >> before use pvm. See pvm_intro(1PVM) >> >> Try to guess if pvm is installed somewhere ... >> Found pvm: /Users/najinassar/pvm3 >> PVM_ROOT is /Users/najinassar/pvm3 >> PVM_ARCH is DARWIN >> checking how to run the C preprocessor... gcc -E >> checking for egrep... grep -E >> checking for ANSI C header files... yes >> checking for sys/types.h... yes >> checking for sys/stat.h... yes >> checking for stdlib.h... yes >> checking for string.h... yes >> checking for memory.h... yes >> checking for strings.h... yes >> checking for inttypes.h... yes >> checking for stdint.h... yes >> checking for unistd.h... yes >> checking pvm3.h usability... yes >> checking pvm3.h presence... yes >> checking for pvm3.h... yes >> checking for main in -lpvm3... no >> Try to find libpvm3 ... >> Found in /Users/najinassar/pvm3/lib/DARWIN >> checking for pvmd... /Users/najinassar/pvm3/lib/pvmd >> checking for pvmgs... /Users/najinassar/pvm3/bin/DARWIN/pvmgs >> configure: creating ./config.status >> config.status: creating src/Makevars >> config.status: creating inst/pvmhosts >> ** libs >> ** arch - ppc >> >> gcc-4.0 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -std=gnu99 >> -no-cpp-precomp -I/Library/Frameworks/R.framework/Resources/include >> -I/Library/Frameworks/R.framework/Resources/include/ppc -I/include >> -I/usr/local/include -DSOCKADHASLEN -DNOREXEC >> -DRSHCOMMAND=\"/usr/bin/rsh\" -DHASSTDLIB -DNEEDMENDIAN -DHASERRORVARS >> -DFAKEXDRFLOAT -DSYSERRISCONST -I/usr/include/malloc >> -I/System/Library/Frameworks/System.framework/Headers/bsd/sys -fPIC -g -O2 >> -c rpvm_core.c -o rpvm_core.o >> ** Removing >> '/Library/Frameworks/R.framework/Versions/2.5/Resources/library/rpvm' >> ** Restoring previous >> '/Library/Frameworks/R.framework/Versions/2.5/Resources/library/rpvm' >> rpvm_core.c:6:18: error: pvm3.h: No such file or directory >> rpvm_core.c: In function rpvm_chkerror¹: >> >> >> I've installed PVM (running quite fine under my terminal_bash >> >> MacG5:~ najinassar$ pvm >> pvm> quit >> quit >> pvmd still running. >> >> And PVM_ROOT is recognized >> >> MacG5:~ najinassar$ $PVM_ROOT >> -bash: /Users/najinassar/pvm3: is a directory >> >> _______________________________________________ >> R-SIG-Mac mailing list >> [email protected] >> https://stat.ethz.ch/mailman/listinfo/r-sig-mac >> _______________________________________________ R-SIG-Mac mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-sig-mac
