help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] glpk-java: "configure: error: glpk.h not found"


From: Heinrich Schuchardt
Subject: Re: [Help-glpk] glpk-java: "configure: error: glpk.h not found"
Date: Fri, 20 May 2016 09:07:43 +0200

Hello Sascha,

the described error will occur if you use another prefix than /usr or 
/usr/local when configuring GLPK.

Use CPPFLAGS, SWIGFLAGS, and LD_LIBRARY_PATH in this case.

Which OS are you using?

Best regards

Heinrich Schuchardt

http://www.xypron.de

Am 20.05.16 um 06:15 schrieb Sascha Brügmann

> Hi everyone,
> 
> I have a litte problem installing libglpk-java from the sources.
> 
> I've followed the steps described at 
> http://glpk-java.sourceforge.net/gettingStarted.html. Compiling of GLPK 
> itself went well. Then when trying to "./configure" glpk-java I got an 
> error that "glpk.h" is not found:
> 
>  > checking for swig... /usr/bin/swig
>  > checking for javac... /usr/bin/javac
>  > checking for javadoc... /usr/bin/javadoc
>  > checking for jar... /usr/bin/jar
>  > checking for mvn... no
>  > configure: WARNING: Maven is missing
>  > checking whether to load GLPK library from java.library.path... no
>  > checking glpk.h usability... no
>  > checking glpk.h presence... no
>  > checking for glpk.h... no
>  > configure: error: glpk.h not found
> 
> Installing GLPK did not throw an error and GLPK (glpsol --version) works 
> well.
> 
> Search for glpk.h after the error occured:
>  > address@hidden:~$ find / -name glpk.h
>  > /home/sheep/glpk-4.60/src/glpk.h
>  > /usr/local/include/glpk.h
> 
> What can I do to make "configure" happy?
> 
> 
> Thanks, Sascha
> 
> 
> _______________________________________________
> Help-glpk mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/help-glpk



reply via email to

[Prev in Thread] Current Thread [Next in Thread]