Hello again :)
<div><br></div><div>Trying to build and install the trsp branch on my CentOS linux box. (Using <a href="https://github.com/pgRouting/pgrouting/wiki/Developer---Getting-Started">https://github.com/pgRouting/pgrouting/wiki/Developer---Getting-Started</a> as a baseline)</div>
<div><br></div><div>Here is where I'm at:</div><div># git clone <a href="https://github.com/pgRouting/pgrouting.git">https://github.com/pgRouting/pgrouting.git</a></div><div># cd pgrouting</div><div><br></div><div>//Hack around installing GAUL</div>
<div><br></div><div># cmake -DWITH_TSP=ON -DWITH_DD=ON .</div><div><div>-- POSTGRESQL_EXECUTABLE is POSTGRESQL_EXECUTABLE-NOTFOUND</div><div>-- Found PostgreSQL: /usr/include/postgresql/include/server, /usr/pgsql-9.1/lib/libpq.so</div>
<div>Boost headers were found here: /usr/include</div><div>Output directory for libraries is set to /usr/pgsql-9.1/lib</div><div>Installation directory for libraries is set to /usr/pgsql-9.1/lib and for SQL files is set to /usr/share/pgrouting</div>
<div>Installation directory for libraries is set to /usr/pgsql-9.1/lib</div><div>-- Configuring done</div><div>-- Generating done</div><div>-- Build files have been written to: /home/shorn/pgrouting</div></div><div><br></div>
<div># make<br><div>Linking CXX shared library ../../../lib/librouting_tsp.so</div><div><b>/usr/bin/ld: cannot find -lgmp  //THIS APPEARS TO BE THE PROBLEM?</b></div><div>collect2: ld returned 1 exit status</div><div>make[2]: *** [lib/librouting_tsp.so] Error 1</div>
<div>make[1]: *** [extra/tsp/src/CMakeFiles/routing_tsp.dir/all] Error 2</div><div>make: *** [all] Error 2</div></div><div><br></div><div>Can anyone help me understand the error "Cannot find -lgmp"?</div><div><br>
</div><div>Thanks!</div><div>-Steve</div>