Dear list, I'm following the instructions provided here to compile R 64 bit on AIX 6.1. I did export OBJECT_MODE=64 export CC="gcc -maix64 -pthread" export CXX="g++ -maix64 -pthread" export FC="gfortran -maix64 -pthread" export F77="gfortran -maix64 -pthread" export CFLAGS="-O2 -g -mcpu=power6" export FFLAGS="-O2 -g -mcpu=power6" export FCFLAGS="-O2 -g -mcpu=power6" ./configure make -j 16 and it errors out at gcc -maix64 -pthread -std=gnu99 -I../../../../include -DNDEBUG -I../../../include -I../../../../src/include -DHAVE_CONFIG_H -I../../../../src/main -I/usr/local/include -mminimal-toc -O2 -g -mcpu=power6 -c gramRd.c -o gramRd.o gcc -maix64 -pthread -std=gnu99 -shared -Wl,-brtl -Wl,-G -Wl,-bexpall -Wl,-bnoentry -lc -L/usr/local/lib -o tools.so text.o init.o Rmd5.o md5.o signals.o install.o getfmts.o http.o gramLatex.o gramRd.o -lm -lintl make[6]: Entering directory '/sas/data04/vinh/R-3.2.2/src/library/tools/src' mkdir -p -- ../../../../library/tools/libs make[6]: Leaving directory '/sas/data04/vinh/R-3.2.2/src/library/tools/src' make[5]: Leaving directory '/sas/data04/vinh/R-3.2.2/src/library/tools/src' make[4]: Leaving directory '/sas/data04/vinh/R-3.2.2/src/library/tools' make[4]: Entering directory '/sas/data04/vinh/R-3.2.2/src/library/tools' installing 'sysdata.rda' Error: Line starting 'Package: tools ...' is malformed! Execution halted ../../../share/make/basepkg.mk:150: recipe for target 'sysdata' failed make[4]: *** [sysdata] Error 1 make[4]: Leaving directory '/sas/data04/vinh/R-3.2.2/src/library/tools' Makefile:30: recipe for target 'all' failed make[3]: *** [all] Error 2 make[3]: Leaving directory '/sas/data04/vinh/R-3.2.2/src/library/tools' Makefile:36: recipe for target 'R' failed make[2]: *** [R] Error 1 make[2]: Leaving directory '/sas/data04/vinh/R-3.2.2/src/library' Makefile:28: recipe for target 'R' failed make[1]: *** [R] Error 1 make[1]: Leaving directory '/sas/data04/vinh/R-3.2.2/src' Makefile:59: recipe for target 'R' failed make: *** [R] Error 1 I tried going all the way back to R 2.15.3 and I still get this error. Any suggestions for fixing this? Thanks. -- Vinh
Please note that if I don't specify those variables, then R 32 bit compiles fine. Thanks. -- Vinh On Thu, Oct 8, 2015 at 6:50 PM, Vinh Nguyen <vinhdizzo at gmail.com> wrote:> Dear list, > > I'm following the instructions provided here to compile R 64 bit on > AIX 6.1. I did > > export OBJECT_MODE=64 > export CC="gcc -maix64 -pthread" > export CXX="g++ -maix64 -pthread" > export FC="gfortran -maix64 -pthread" > export F77="gfortran -maix64 -pthread" > export CFLAGS="-O2 -g -mcpu=power6" > export FFLAGS="-O2 -g -mcpu=power6" > export FCFLAGS="-O2 -g -mcpu=power6" > ./configure > make -j 16 > > and it errors out at > > gcc -maix64 -pthread -std=gnu99 -I../../../../include -DNDEBUG > -I../../../include -I../../../../src/include -DHAVE_CONFIG_H > -I../../../../src/main -I/usr/local/include -mminimal-toc -O2 -g > -mcpu=power6 -c gramRd.c -o gramRd.o > > gcc -maix64 -pthread -std=gnu99 -shared -Wl,-brtl -Wl,-G -Wl,-bexpall > -Wl,-bnoentry -lc -L/usr/local/lib -o tools.so text.o init.o Rmd5.o > md5.o signals.o install.o getfmts.o http.o gramLatex.o gramRd.o -lm > -lintl > > make[6]: Entering directory '/sas/data04/vinh/R-3.2.2/src/library/tools/src' > > mkdir -p -- ../../../../library/tools/libs > > make[6]: Leaving directory '/sas/data04/vinh/R-3.2.2/src/library/tools/src' > > make[5]: Leaving directory '/sas/data04/vinh/R-3.2.2/src/library/tools/src' > > make[4]: Leaving directory '/sas/data04/vinh/R-3.2.2/src/library/tools' > > make[4]: Entering directory '/sas/data04/vinh/R-3.2.2/src/library/tools' > > installing 'sysdata.rda' > > Error: Line starting 'Package: tools ...' is malformed! > > Execution halted > > ../../../share/make/basepkg.mk:150: recipe for target 'sysdata' failed > > make[4]: *** [sysdata] Error 1 > > make[4]: Leaving directory '/sas/data04/vinh/R-3.2.2/src/library/tools' > > Makefile:30: recipe for target 'all' failed > > make[3]: *** [all] Error 2 > > make[3]: Leaving directory '/sas/data04/vinh/R-3.2.2/src/library/tools' > > Makefile:36: recipe for target 'R' failed > > make[2]: *** [R] Error 1 > > make[2]: Leaving directory '/sas/data04/vinh/R-3.2.2/src/library' > > Makefile:28: recipe for target 'R' failed > > make[1]: *** [R] Error 1 > > make[1]: Leaving directory '/sas/data04/vinh/R-3.2.2/src' > > Makefile:59: recipe for target 'R' failed > > make: *** [R] Error 1 > > > > I tried going all the way back to R 2.15.3 and I still get this error. > Any suggestions for fixing this? Thanks. > > -- Vinh
One other note: I'm also using the latest src/main/dcf.c that was giving an issue on AIX previously; see [this](https://stat.ethz.ch/pipermail/r-devel/2015-September/071781.html) thread. Thanks. On Thu, Oct 8, 2015 at 6:51 PM, Vinh Nguyen <vinhdizzo at gmail.com> wrote:> Please note that if I don't specify those variables, then R 32 bit > compiles fine. Thanks. > > -- Vinh
Maybe Matching Threads
- R 3.2.2 64 bit compilation error on AIX
- R 3.2.2 64 bit compilation error on AIX
- segfault with readDCF on R 3.1.2 on AIX 6.1 when using install.packages
- R 3.2.2 64 bit compilation error on AIX
- segfault with readDCF on R 3.1.2 on AIX 6.1 when using install.packages