[R] sm packcage compilation problem fixed

king@tolstoy.newcastle.edu.au king at tolstoy.newcastle.edu.au
Wed Oct 30 22:29:37 CET 2002


I have discovered a problem with the compilation of the sm package.

On debian 2.2, sm was not compiling.

* Installing *source* package 'sm' ...
** libs
g77   -fPIC  -g -O2 -c routines.f -o routines.o
gcc -shared  -o sm.so routines.o   -L/usr/lib/gcc-lib/i386-linux/2.95.4
-lreadline -ldl -lncurses -lg2c-pic -lm -L/usr/lib/R/bin -lR
/usr/bin/ld: cannot find -lg2c-pic
collect2: ld returned 1 exit status
make: *** [sm.so] Error 1
ERROR: compilation failed for package 'sm'

But updating to a newer version of g77 and g77-2.95 fixed the problem:

(Reading database ... 81253 files and directories currently installed.)
Preparing to replace g77-2.95 1:2.95.4-0.010810 (using
.../g77-2.95_1%3a2.95.4-7_i386.deb) ...
Unpacking replacement g77-2.95 ...
Preparing to replace g77 2:2.95.4-6 (using
.../g77_2%3a2.95.4-14_i386.deb) ...
Unpacking replacement g77 ...


----
Robert King, Statistics, School of Mathematical & Physical Sciences,
University of Newcastle, Australia
Room V133  ph +61 2 4921 5548
Robert.King at newcastle.edu.au   http://maths.newcastle.edu.au/~rking/







-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list