Shingo Ichii <[EMAIL PROTECTED]> writes:

> Hi,
> 
> > I just changed to FreeBSD platform, and want to install R on it. I use
> > FreeBSD 5.0 and install nearly all packages on the machine. When I use
> > ports to install R, (cd /usr/ports/math/R-letter, and then type make) I
> > got the following error information.
> > ../../../../library/methods/libs/methods.so is unchanged
> > dumping R code in package 'methods'
> > Fatal error: The X11 shared library could not be loaded.
> >   The error was /usr/ports/math/R-letter/work/R-1.6.0/modules/R_X11.so:
> > Undefined symbol "R_GlobalEnv"
> 
> I encountered the same problem.
> My quick solution is:
> 
>       $ ./configure
>       $ make (fails)
>       $ cd src/main
>       $ rm R.bin
>       $ edit Makefile
>       (uncomment the line 81: "R_bin_LDFLAGS = -export-dynamic")
>       $ make
>       $ cd ../..
>       $ make
> 
> Hope this helps.

A cleaner solution is to modify the line in configure that says

 freebsd[3-4].*)

to have [3-5] instead. Or change it in configure.ac and run autoconf.
The basic problem is that we didn't support FreeBSD v.5 before it
existed...
 
-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - ([EMAIL PROTECTED])             FAX: (+45) 35327907

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to