From p.dalgaard at biostat.ku.dk  Tue Jan 25 10:04:38 2005
From: p.dalgaard at biostat.ku.dk (Peter Dalgaard)
Date: Tue Jan 25 10:08:02 2005
Subject: [Rd] about R CMD check
In-Reply-To: <41F60177.3050507@stat.wisc.edu>
References: <1106608541.41f5819dabd24@mail.encs.concordia.ca>
	<41F5F656.3030303@statistik.uni-dortmund.de>
	<41F60177.3050507@stat.wisc.edu>
Message-ID: <x2zmyxriah.fsf@biostat.ku.dk>

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


[Rd] about R CMD check
Peter Dalgaard