What command did you use to try to install lpSolve? Did you get this error
message when you let the WhatIf installer try to handle it automatically? If
so, have you tried installing lpSolve by itself using a normal installation
procedure?
Sean
On Sun, Apr 20, 2008 at 12:49 PM, Yinan (Benny) Zhu <
yinanzhu at fas.harvard.edu> wrote:
Hi Everyone:
I am installing WhatIf and getting a problem installing a dependent
package lpSolve. Here is the error: Any thoughts? Thanks
* Installing *source* package 'lpSolve' ...
** libs
gcc-4.2 -std=gnu99 -I/usr/share/R/include -I/usr/share/R/include -I .
-DINTEGERTIME -DPARSER_LP -DBUILDING_FOR_R -DYY_NEVER_INTERACTIVE -DUSRDLL
-DCLOCKTIME -DRoleIsExternalInvEngine -DINVERSE_ACTIVE=INVERSE_LUSOL
-DINLINE=static -DParanoia -fpic -g -O2 -c colamd.c -o colamd.o
In file included from colamd.c:676:
colamd.h:66:20: error: stdlib.h: No such file or directory
In file included from colamd.c:676:
colamd.h:262: warning: parameter names (without types) in function
declaration
In file included from
/usr/lib/gcc/i486-linux-gnu/4.2.1/include/syslimits.h:7,
from
/usr/lib/gcc/i486-linux-gnu/4.2.1/include/limits.h:11,
from colamd.c:677:
/usr/lib/gcc/i486-linux-gnu/4.2.1/include/limits.h:122:61: error:
limits.h: No such file or directory
colamd.c:683:19: error: stdio.h: No such file or directory
colamd.c:684:20: error: assert.h: No such file or directory
colamd.c:1026: warning: parameter names (without types) in function
declaration
colamd.c: In function 'print_report':
colamd.c:3052: warning: implicit declaration of function 'printf'
colamd.c:3052: warning: incompatible implicit declaration of built-in
function 'printf'
colamd.c:3062: warning: incompatible implicit declaration of built-in
function 'printf'
colamd.c:3066: warning: incompatible implicit declaration of built-in
function 'printf'
colamd.c:3074: warning: incompatible implicit declaration of built-in
function 'printf'
make: *** [colamd.o] Error 1
ERROR: compilation failed for package 'lpSolve'
** Removing '/usr/local/lib/R/site-library/lpSolve'
* Installing *source* package 'WhatIf' ...
** R
** data
** demo
** inst
** help
>> Building/Updating help pages for package
'WhatIf'
Formats: text html latex example
peacecf text html latex
peacef text html latex
plot.whatif text html latex example
print.summary.whatif text html latex example
print.whatif text html latex example
summary.whatif text html latex example
whatif text html latex example
** building package indices ...
* DONE (WhatIf)
The downloaded packages are in
/tmp/Rtmp1Bdq7d/downloaded_packages
Warning message:
installation of package 'lpSolve' had non-zero exit status in:
install.packages()
_______________________________________________
gov2001-l mailing list
gov2001-l at
lists.fas.harvard.edu
http://lists.fas.harvard.edu/mailman/listinfo/gov2001-l