Re: [Rd] about R CMD check

From: Peter Dalgaard <p.dalgaard_at_biostat.ku.dk>
Date: Tue 25 Jan 2005 - 20:04:38 EST

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

> Uwe Ligges wrote:
> > xt_wang@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@biostat.ku.dk)             FAX: (+45) 35327907

______________________________________________
R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Tue Jan 25 19:28:50 2005

This archive was generated by hypermail 2.1.8 : Tue 25 Jan 2005 - 21:23:32 EST