[R] Rserve Installing error on AIX5.3..
nabsan_jp
nabsan at gmail.com
Thu Nov 11 15:38:52 CET 2010
Hello all! I am nabsan.
I've got error below when I try to install the Rserve0.6.3 on AIX5.3.
also I tried several version of Rserve 0.4.3 to 0.6.3.. but there were same
error message..
[ld: 0711-317 ERROR: Undefined symbol: .main]
any help please.
------------------------------
OS:AIX5.3
R:R2.8.1(--enable-R-shlib)
Rserve: I tried .. 0.4.3 - 0.6.3
-------------------------------
......console logging below.......
# R CMD INSTALL Rserve_0.6-3.tar.gz -d
* Installing to library '/usr/local/lib/R/library'
'R CMD INSTALL': in startdir= /src/nsm/baldy/R_modules with tmpdir=
/tmp/R.INSTALL2199648-31295
lib= '/usr/local/lib/R/library', pkgs= '
"/tmp/R.INSTALL2199648-31295/Rserve"'
before checking lockdir= '/usr/local/lib/R/library/00LOCK'
after checking lockdir
build_help_opts= '--debug --txt --html --latex --example'
'R CMD INSTALL': now doing 'eval ... do_install':
* Installing *source* package 'Rserve' ...
checking whether to compile the server... yes
checking whether to compile the client... no
checking for gcc... gcc -std=gnu99
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc -std=gnu99 accepts -g... yes
checking for gcc -std=gnu99 option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... 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 for string.h... (cached) yes
checking for memory.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... yes
checking whether time.h and sys/time.h may both be included... yes
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking return type of signal handlers... void
checking for memset... yes
checking for mkdir... yes
checking for rmdir... yes
checking for select... yes
checking for socket... yes
checking for library containing crypt... none required
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking for socklen_t... yes
checking for connect... yes
checking for dlopen in -ldl... yes
configure: creating ./config.status
config.status: creating src/Makefile
config.status: creating src/client/cxx/Makefile
config.status: creating src/config.h
** libs
+ mkdir -p /usr/local/lib/R/library/Rserve/libs
+ test -f src/Makefile
+ + /usr/bin/sed -e s+^/++
+ echo
arch=
+ message arch -
** arch -
+ cd src
+ makefiles=-f "/usr/local/lib/R/etc/Makeconf" -f Makefile
+ test -r /home/baldy/.R/Makevars-powerpc-ibm-aix5.3.0.0
+ test -r /home/baldy/.R/Makevars
+ eval make -f "/usr/local/lib/R/etc/Makeconf" -f Makefile
+ make -f /usr/local/lib/R/etc/Makeconf -f Makefile
gcc -std=gnu99 -I/usr/local/lib/R/include -I/usr/local/include
-mno-fp-in-toc -DDAEMON -Iinclude -I. -I/usr/local/lib/R/include
-g -O2 -c Rserv.c -o Rserv.o
gcc -std=gnu99 -I/usr/local/lib/R/include -I/usr/local/include
-mno-fp-in-toc -DDAEMON -Iinclude -I. -I/usr/local/lib/R/include
-g -O2 -c session.c -o session.o
gcc -std=gnu99 -I/usr/local/lib/R/include -I/usr/local/include
-mno-fp-in-toc -DDAEMON -Iinclude -I. -I/usr/local/lib/R/include
-g -O2 -c md5.c -o md5.o
gcc -std=gnu99 -o Rserve -L/usr/local/lib/R/lib -lR -ldl
ld: 0711-317 ERROR: Undefined symbol: .main
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
collect2: ld returned 8 exit status
make: The error code from the last command is 1.
Stop.
+ has_error=true
+ cd ..
+ true
+ error compilation failed for package 'Rserve'
ERROR: compilation failed for package 'Rserve'
+ do_exit_on_error
** Removing '/usr/local/lib/R/library/Rserve'
---------------------------
--
View this message in context: http://r.789695.n4.nabble.com/Rserve-Installing-error-on-AIX5-3-tp3037931p3037931.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list