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: > > sheep@RechenknechtRed:~$ 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 > [email protected] > https://lists.gnu.org/mailman/listinfo/help-glpk _______________________________________________ Help-glpk mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-glpk
