h4ck3rm1k3 / TwoNickels

branch of dime contains a new dxf2osm autocad dxf file format reader and openstreemap osm output https://svn.coin3d.org/repos/dime/trunk
https://svn.coin3d.org/repos/dime/trunk
GNU General Public License v2.0
3 stars 2 forks source link

No rule to make target `/usr/lib/libproj.la', needed by `libdime.la'. Stop. #3

Open stodge opened 13 years ago

stodge commented 13 years ago

The dependancy for libproj is hard coded in the makefile and fails to build on Fedora 12:

libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../include -I../include -DDIME_INTERNAL -g -O2 -MT State.lo -MD -MP -MF .deps/State.Tpo -c State.cpp -o State.o >/dev/null 2>&1 mv -f .deps/State.Tpo .deps/State.Plo make[2]: * No rule to make target /usr/lib/libproj.la', needed bylibdime.la'. Stop. make[2]: Leaving directory `/home/mike/Downloads/TwoNickels/src' make[1]: * [all-recursive] Error 1 make[1]: Leaving directory`/home/mike/Downloads/TwoNickels/src' make: *\ [all-recursive] Error 1

I can get around this by removing the references to libproj.la and adding -lproj to the LD flags.

h4ck3rm1k3 commented 13 years ago

ok, you have a patch for this? I guess I should make it more dynamic. Sorry for the late reply, I did not see this message.

h4ck3rm1k3 commented 12 years ago

in the file TwoNickels/dxf2osm/Makefile.am there is a line: dxf2osm_LDADD = ../src/libdime.la libproj.la I thought that should have found the libproj, but it did not work . i changed it to -lproj

To git@github.com:h4ck3rm1k3/TwoNickels.git 41f23f1..d4bb316 master -> master