How do I compile and build lemon?
I follow the instructions
http://lemon.cs.elte.hu/trac/lemon/wiki/InstallLinux 1) Step into the root of the source directory. $ cd lemon-x.y.z 2) Create a build subdirectory and step into it. $ mkdir build $ cd build 3) Perform system checks and create the makefiles. $ cmake .. 4) Build LEMON. $ make when I type build, it says make: *** No targets specified and no makefile found. Stop. Inside build folders cmake CMakeFiles CPackConfig.cmake demo lemon tools CMakeCache.txt contrib CPackSourceConfig.cmake doc test |
i take it you do not know that you are supposed to replace "lemon-x.y.z"
with the REAL name of the folder you do know what the commands are ????? "cd" = change directory "mkdir" = make directory " mkdir build" = make the folder "build" "cmake .." run cmake on the folder ONE UP from the build folder |
Hi lilzz,
I was not able to follow their instructions neither. The cmake does not finish. Code:
-- Found PythonInterp: /usr/bin/python (found version "2.7.6") GLPK is probably "libglpk-dev", depending on your distribution, do you have similar cmake errors? They have a "users" mailing list on the website, you should try to work the dependencies out and just ask there if you're stuck. In general, your post lacks a lot of info, for the future, please remember to include your distribution and way more important the commands you actually entered and their feedback, not just a copy of the insructions... BR Florian |
Use cmake
mkdir build
cd build cmake .. make |
To make this useless necrobump slightly more justifiable.
There is an unrelated software of the same name (the Lemon LALR(1) parser generator) which is packaged as lemon by most distributions. Because of that, the library in question (Library of Efficient Models and Optimization in Networks aka LEMON) is packaged as coin-or-lemon by Fedora and as liblemon by Debian. It's still packaged as lemon by OpenSUSE Science repo though. |
All times are GMT -5. The time now is 06:05 PM. |