Hi,
        I was able to compile and run dirloop_sse linked with lpsolve51, I used 
./configure --prefix=/home/marcelo/ALPS --with-lp_solve=/home/marcelo/install/lp_solve_5.1

the only modification that i had to make was to copy the liblpsolve51.so from

/home/marcelo/install/lp_solve_5.1/lpsolve51

to

/home/marcelo/install/lp_solve_5.1

I guess if you set the path to /home/marcelo/install/lp_solve_5.1/lpsolve51 it finds the library but it fails to find the headers...


On Tue, Oct 5, 2010 at 2:44 PM, Matthias Troyer <troyer@phys.ethz.ch> wrote:
Hi,

we recommend to use lpsolve version 4. ALPS 1.3.5 has only been tested with lpsolve 3.2 and 4.0

Matthias

On 5 Oct 2010, at 17:52, Juan Felipe Carrasquilla wrote:

> Dear Everyone.
>
> I am trying to install the 1.3.5 version of the applications and libraries
> on a laptop computer with Ubuntu  10.04 LTS. I think I successfully
> installed the alps libraries and now I am stuck with the applications
> part. I have downloaded the 5.1 version of lp_solve and compiled it using
> the a small script I found using sh ccc (ccc is the script). In the folder
> where I installed it I do ls and obtain:
>
> ~/ALPS/lp_solve_5.1/lpsolve51$ ls
> ccc    cccLUSOL.osx  cgcc.bat  dll.sln   liblpsolve51.a   lib.sln
> lpsolve.rc  resource.h ccc.hp-ux  ccc.osx       cvc6.bat  dll.vcproj
> liblpsolve51.so  lib.vcproj  readme.txt
>
> Then I proceed to try to build the applications by first typing configure
> as follows:
>
> ./configure --with-lp_solve=/home/juan/ALPS/lp_solve_5.1/lpsolve51/
>
> Then a big number of checks are performed, among which I see one which I
> think is related to my problem:
>
> checking for make_lp in -llpsolve51... yes
> checking for make_lp in -llpk5... no
> checking for make_lp in -llpk... no
>
> so llpsolve51 seems to be recognized. Is that OK?

No, that is not all - did it find the headers as well?