[Rd] about R CMD check

Peter Dalgaard p.dalgaard at biostat.ku.dk
Tue Jan 25 10:04:38 CET 2005


Douglas Bates <bates at stat.wisc.edu> writes:

> Uwe Ligges wrote:
> > xt_wang at cse.concordia.ca wrote:
> >
> >> hello,
> >>
> >> I create a package which includes C code and Lapack. But when I run
> >> " R CMD
> >> check ". an error message, "/usr/bin/ld: cannot find -lfrtbegin "
> >> occurs. could
> >> you tell me what is the problem?
> > OS? R version? Self compiled or rpm/apt get?
> 
> Looks like RedHat Linux from the name of the libraries.
> 
> > Why do you check "var" when the package claims to be called "WXT"?
> > Before any checking it is a good idea to try R CMD INSTALL ...
> > (which does not work either, I guess).
> 
> My guess is that an f2c or g2c development package needs to be
> installed.   On a Debian system the library comes from the libg2c0-dev
> package
> 
> $ dlocate libfrtbegin
> libg2c0-dev: /usr/lib/libfrtbegin.a

More likely it is Fortran itself that isn't there:

$ rpm -qf `locate  libfrtbegin`
gcc-g77-3.4.2-6.fc3


-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907



More information about the R-devel mailing list