[Coin-lpsolver] installation problems

Oliver Kullmann O.Kullmann at Swansea.ac.uk
Fri May 23 11:17:27 EDT 2003


Hi,

I'm running Linux (Suse 8.0). Installation of Clp seemed
successful, but I'm not able to compile the tests or the
samples:

Clp> make unitTest

Compiling ClpMain.cpp
ClpMain.cpp:565:31: readline/readline.h: No such file or directory
ClpMain.cpp:566:30: readline/history.h: No such file or directory
ClpMain.cpp: In function `std::string nextField()':
ClpMain.cpp:589: `readline' undeclared (first use this function)
ClpMain.cpp:589: (Each undeclared identifier is reported only once for each
   function it appears in.)
ClpMain.cpp:594: `add_history' undeclared (first use this function)

Clp/Samples> make -f Makefile.minimum

Creating testit
g++ -I-  -Wall -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -pipe -g -I../..//include -I../..//Clp/include  -DREADLINE -o testit Linux-g/minimum.o -L../..//lib -L../..//lib -Wl,-rpath,../..//lib -Wl,-rpath,../..//lib -lCoin -lClp -lhistory -lreadline -ltermcap   -lm
/usr/bin/ld: cannot find -lhistory
collect2: ld returned 1 exit status

Where should these libraries -lhistory -lreadline come from?!

Thanks in any case!

Oliver




More information about the Clp mailing list