Skip to content

Almost succesfull build on AIX

2 messages · Friedrich Leisch, Kurt Hornik

#
Hi,

Kurt Hornik and myself have an almost successful build of R on AIX 
including dynamic loading of libraries ... which fails make check :-(
Anyway, as we have no AIX experience at all, maybe somebody else knows
what's going on.

Here's the problem:
[1]INF
[1] TRUE

R was built using the flags included below, gcc version is 2.7.2. Does
anybody with experience on AIX know what's going on (the all uppercase
INF looks somewhat suspicious).

If you want to give it a try, in tomorrow's devel snapshot from CRAN
all configure/make scripts should be sufficent for a usual compile,
i.e., simply say
	configure; make
using GNU make and the install-sh from the tools directory (the
installbsd on our AIX machine fails).

Best,
Fritz

**********************************************************
_                           
platform   rs6000-ibm-aix4.2.1.0       
arch       rs6000                      
os         aix4.2.1.0                  
system     rs6000, aix4.2.1.0          
status     Under development (unstable)
status.rev 0                           
major      0                           
minor      65.0                        
year       1999                        
month      July                        
day        08                          
language   R                           


**********************************************************


PACKAGE = R
VERSION = 0.65.0

AR = ar
BLAS = 
CC = gcc
CFLAGS = -g -O2
CPICFLAGS = -fPIC
CPPFLAGS = 
DEFS = -DHAVE_CONFIG_H
DLLFLAGS = -bdynamic -bE:$(top_builddir)/etc/R.exp -bM:SRE -lc -lm
DVIPS = /usr/local/bin/dvips
FC = f77
FFLAGS = 
FLIBS = -lblas  -L/usr/local/lib -lxlf90 -lxlf -lm
FPICFLAGS = -fPIC
F2C = 
F2CFLAGS = 
GNOMEUI_LIBS = 
GNOME_LIBDIR = 
GNOME_INCLUDEDIR = 
INSTALL = /tmp/fl/R/tools/install-sh -c
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_PROGRAM = ${INSTALL}
INSTALL_DIR = ${INSTALL} -d
LATEX = /usr/local/bin/latex
LDCMD = f77
LDFLAGS = 
LIBS = -ldl -ltermcap -lm 
LN_S = ln -s
MAKEINDEX = /usr/local/bin/makeindex
MKINSTALLDIRS = $(top_srcdir)/tools/mkinstalldirs
R_XTRA_CFLAGS = 
R_XTRA_CPPFLAGS = -I. -I../include -I$(top_srcdir)/src/include
R_XTRA_FFLAGS = 
R_XTRA_LIBS = 
RANLIB = ranlib
SHELL = /bin/sh
SHLIBEXT = so
SHLIBLD = f77
SHLIBLDFLAGS = -bM:SRE -H512 -T512 -bnoentry -bexpall       -bI:$(R_HOME)/etc/R.
exp -lc -lm
TAR = tar
X_CFLAGS = 
X_LIBS =  -lX11
X_PRE_LIBS = 
X_EXTRA_LIBS = 
YACC = bison -y
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
If I may add.  Building for me only works with LDCMD and SHLIBLD as

	f77
or
	cc with `-lc -lm' added to DLLFLAGS and SHLIBLDFLAGS

It did not work with

	ld (gives an exec format error in the main binary)
or
	gcc (cannot find libgcc.a???)

I am not sure up to what extend this is a problem with AIX in general or
the specific system Fritz and I have access to, which in particular has
gcc built 3 years ago for AIX 3.something.

Perhaps someone knows more about this?

-k
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._