minor installation problems
Michael Hohn
hohn@math.utah.edu
Sun, 16 May 1999 23:44:38 -0600 (MDT)
Hello,
I just finished installing R-0.64.1 on my linux machine (using kernel
2.0.36 under red hat 5.2, and
gcc version egcs-2.91.60 19981201 (egcs-1.1.1 release)
)
The two problems I had:
1. ./configure --with-readline --with-x --prefix=/usr/local
ran to a point, then gave up with
...
checking return type of signal handlers... void
checking for working const... yes
checking size of long... 0
Size of long must be at least 32 bits
Manual modification of ./configure to use 4 bytes fixed this problem.
A manual run of the autoconf C program
#include "confdefs.h"
#include <stdio.h>
main()
{
FILE *f=fopen("conftestval", "w");
if (!f) exit(1);
fprintf(f, "%d\n", sizeof(long));
exit(0);
}
produced the correct result, so
I don't know where this zero size problem came from.
2. After the final linking of R via
g77 -o ../../bin/R.binary arithmetic.o array.o attrib.o bind.o
builtin.o character.o coerce.o colors.o complex.o context.o cov.o
cum.o debug.o deparse.o deriv.o devices.o dotcode.o dstruct.o
duplicate.o envir.o errors.o eval.o format.o fourier.o gram.o
gram-ex.o graphics.o iosupport.o list.o logic.o main.o match.o
memory.o model.o names.o objects.o optimize.o options.o par.o paste.o
platform.o plot.o plot3d.o plotmath.o print.o printarray.o
printvector.o printutils.o random.o relop.o saveload.o scan.o seq.o
sort.o source.o split.o subassign.o subscript.o subset.o summary.o
unique.o util.o version.o ../unix/libunix.a ../appl/libappl.a
../nmath/libmath.a -lSM -lICE -L/usr/X11R6/lib -lX11 -lreadline -lz
-ldl -lncurses -lm
the binary would exit with the error
/usr/local/lib/R-0.64.1/bin/R.binary: error in loading shared
libraries
: undefined symbol: __register_frame_info
when run.
This symbol is defined in libstdc++. A manual link via
g77 -o ../../bin/R.binary /usr/lib/libstdc++.so arithmetic.o array.o
attrib.o bind.o builtin.o character.o coerce.o colors.o complex.o
context.o cov.o cum.o debug.o deparse.o deriv.o devices.o dotcode.o
dstruct.o duplicate.o envir.o errors.o eval.o format.o fourier.o
gram.o gram-ex.o graphics.o iosupport.o list.o logic.o main.o match.o
memory.o model.o names.o objects.o optimize.o options.o par.o paste.o
platform.o plot.o plot3d.o plotmath.o print.o printarray.o
printvector.o printutils.o random.o relop.o saveload.o scan.o seq.o
sort.o source.o split.o subassign.o subscript.o subset.o summary.o
unique.o util.o version.o ../unix/libunix.a ../appl/libappl.a
../nmath/libmath.a -lSM -lICE -L/usr/X11R6/lib -lX11 -lreadline -lz
-ldl -lncurses -lm
produced a working executable.
Any ideas on the source of these two problems?
Cheers,
Mike
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._