You need to ask the author (as the posting guide asked you to).
I'm tempted to not help further given the (almost complete) lack of
cooperation of that author with R's recommendations, but note
'ordinal..so' in your log and look for the obvious fix in
src/Makefile.
On Wed, 14 Jan 2009, Rick Bilonick wrote:
> I'm trying to install the ordinal package
> (http://popgen.unimaas.nl/~plindsey/rlibs.html).
>
> I downloaded ordinal03.tgz and untarred it. rmutil was previously
> installed (and appears to work ok.) Then I installed ordinal:
>
> [root at localhost ~]# R CMD INSTALL /home/chippy/Download/ordinal
> * Installing to library '/usr/lib/R/library'
> * Installing *source* package 'ordinal' ...
> ** libs
> ** arch -
> gcc -m32 -std=gnu99 -I/usr/include/R -I/usr/local/include -fpic -O2
> -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
> -fasynchronous-unwind-tables -c dist.c -o dist.o
> dist.c: In function ?evalfn?:
> dist.c:119: warning: unused variable ?nn?
> dist.c: In function ?romberg?:
> dist.c:146: warning: unused variable ?j?
> dist.c:147: warning: ?sum[0]? may be used uninitialized in this function
> dist.c:147: warning: ?Rf_df? may be used uninitialized in this function
> gcc -m32 -std=gnu99 -I/usr/include/R -I/usr/local/include -fpic -O2
> -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
> -fasynchronous-unwind-tables -c kord.c -o kord.o
> kord.c: In function ?pkord?:
> kord.c:428: warning: suggest explicit braces to avoid ambiguous ?else?
> kord.c: In function ?kord?:
> kord.c:73: warning: ?omega? may be used uninitialized in this function
> kord.c:73: warning: ?b0b? may be used uninitialized in this function
> kord.c:73: warning: ?a0a? may be used uninitialized in this function
> gcc -m32 -std=gnu99 -I/usr/include/R -I/usr/local/include -fpic -O2
> -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
> -fasynchronous-unwind-tables -c lcr.c -o lcr.o
> lcr.c: In function ?lbr?:
> lcr.c:247: warning: ?p? may be used uninitialized in this function
> gcc -m32 -std=gnu99 -shared -L/usr/local/lib -o ordinal..so dist.o
> kord.o lcr.o -L/usr/lib/R/lib -lR
> ** R
> ** data
> ** preparing package for lazy loading
> Loading required package: rmutil
>
> Attaching package: 'rmutil'
>
>
> The following object(s) are masked from package:base :
>
> units
>
> ** help
> >>> Building/Updating help pages for package 'ordinal'
> Formats: text html latex example
> ** building package indices ...
> * DONE (ordinal)
>
>
> I start up R but when I try to load ordinal I get error messages:
>
>
> [root at localhost ~]# R
>
> R version 2.8.0 (2008-10-20)
> Copyright (C) 2008 The R Foundation for Statistical Computing
> ISBN 3-900051-07-0
>
> R is free software and comes with ABSOLUTELY NO WARRANTY.
> You are welcome to redistribute it under certain conditions.
> Type 'license()' or 'licence()' for distribution details.
>
> Natural language support but running in an English locale
>
> R is a collaborative project with many contributors.
> Type 'contributors()' for more information and
> 'citation()' on how to cite R or R packages in publications.
>
> Type 'demo()' for some demos, 'help()' for on-line help, or
> 'help.start()' for an HTML browser interface to help.
> Type 'q()' to quit R.
>
> [Previously saved workspace restored]
>
>> library(ordinal)
> Loading required package: rmutil
>
> Attaching package: 'rmutil'
>
>
> The following object(s) are masked from package:base :
>
> units
>
> Error in library.dynam("ordinal", pkg, lib) :
> shared library 'ordinal' not found
> Error in library(ordinal) : .First.lib failed for 'ordinal'
>
>
> Does anyone know how to fix this?
>
> Rick B.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595