[R] Problem installing Rcplex in ubuntu

From: kv <kaveh.vakili_at_ulb.ac.be>
Date: Mon, 16 May 2011 13:23:16 -0700 (PDT)


Dear List,

I'm trying to install Rcplex on a ubuntu 64 bit machine, and have not been successful.

After installing cplex latest version from ibm's website (everything as standard, except
 had it installed unto ~/ (the home directory) rather than the default directory).

i type (from inside the directory where Rcplex_0.3-0.tar.gz is):

>CPLEX_INCLUDE_PATH=~/ILOG/CPLEX/cplex
>CPLEX_INCLUDE_PATH=~/ILOG/CPLEX/cplex/examples/x86-64_sles10_4.1/static_pic

>R CMD INSTALL \

    --configure-args="--with-cplex-include=$CPLEX_INCLUDE_PATH \
    --with-cplex-cflags=-fPIC \
    --with-cplex-lib='-L$CPLEX_LIB_PATH/static_pic \
    -lcplex -lm -lpthread'" Rcplex_0.3-0.tar.gz

and i get;

however, when i check

>cd ~/ILOG/CPLEX/cplex/include/ilcplex
>ls
>cplex.h ilm.h ilocarray.h ilocplex.h ilocplexi.h iloextrmgr.h
ilogoals.h solution.xsd solution.xsl

i.e. cplex seems to be here.

i also attach to this mail the MAKE file (found in ~/ILOG/CPLEX/cplex/examples/x86-64_sles10_4.1/static_pic)

Also i don't have much experience in all this bash/shell business and installing software in linux.

Can anyone, by any chance, help me ?

Thanks in advance,

--
View this message in context: http://r.789695.n4.nabble.com/Problem-installing-Rcplex-in-ubuntu-tp3527332p3527332.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
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.
Received on Mon 16 May 2011 - 20:26:28 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 16 May 2011 - 20:30:07 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive