From bogus@does.not.exist.com Mon Oct 27 11:23:42 2003 From: bogus@does.not.exist.com (Johan Olanders) Date: Mon, 27 Oct 2003 11:23:42 +0100 Subject: Problems executing make for gen2shp Message-ID: <200310271123.45830.Johan Olanders <>> Hi again! I finally got the River Ouse catchment (Sussex, UK) working with GREAT-ER 1.05 befor I left! Unfortunatley I had to leave the PC. So now I'm setting up a another PC back in Sweden to be able to do some re pre-processing. This time I'm using Mandrake 9.1 GNU/Linux gen2shp 0.3.1 shapelib 1.2.10 Here are the errors I get [johan at frodo gen2shp-0.3.1]$ make cc -I /home/johan/greater/preproc -o gen2shp -lshp gen2shp.c utils.o /usr//bin/ld: cannot find -lshp collect2: ld returned 1 exit status make: *** [gen2shp] Error 1 [johan at frodo gen2shp-0.3.1]$ I guess it's some kind of problem with paths and I've tried to figure out the right way to solve it without sucess. I had the same problems back in UK when running RedHat, that time the problem was solved by using already finished rpm's for gen2shp and shapelib. But they won't install correctly in Mandrake 9.1 (I'm using Mandrake now because my old IBM 6091 screen is more difficult to get working with RedHat.) (I remember Jan-Oliver told me last time to specify where to find the libshp.la and adapt the CFLAGS to this but I can't find a libshp.la file after uncompressing shapelib 1.2.10) Any ideas? / Johan From jan at intevation.de Wed Oct 29 11:16:43 2003 From: jan at intevation.de (Jan-Oliver Wagner) Date: Wed, 29 Oct 2003 11:16:43 +0100 Subject: Problems executing make for gen2shp In-Reply-To: <200310271123.45830.Johan Olanders <> References: <200310271123.45830.Johan Olanders <> Message-ID: <20031029101643.GA883@intevation.de> Hi Johan, you are gessing right that the path to the libshp is perhaps missing. My first question is: Have you successfully compiled the shapelib package? If so, there must be some library file. Another hint: If you feel yourself familiar with the RPM packaging system, you can download the src-rpm files of shapelib and gen2shp and create new binary install packages for your Mandrake 9.1. In case you are not familiar, but interested, I have attached a html-file which will be part of the next FreeGIS CD release and explains how to create binary packages yourself. All the best Jan On Mon, Oct 27, 2003 at 11:23:42AM +0100, Johan Olanders wrote: > This time I'm using Mandrake 9.1 GNU/Linux > gen2shp 0.3.1 > shapelib 1.2.10 > > Here are the errors I get > > [johan at frodo gen2shp-0.3.1]$ make > cc -I /home/johan/greater/preproc -o gen2shp -lshp gen2shp.c utils.o > /usr//bin/ld: cannot find -lshp > collect2: ld returned 1 exit status > make: *** [gen2shp] Error 1 > [johan at frodo gen2shp-0.3.1]$ > > I guess it's some kind of problem with paths and I've tried to figure out the > right way to solve it without sucess. > > I had the same problems back in UK when running RedHat, that time the problem > was solved by using already finished rpm's for gen2shp and shapelib. But they > won't install correctly in Mandrake 9.1 (I'm using Mandrake now because my > old IBM 6091 screen is more difficult to get working with RedHat.) > > (I remember Jan-Oliver told me last time to specify where to find the > libshp.la and adapt the CFLAGS to this but I can't find a libshp.la file > after uncompressing shapelib 1.2.10) -- Jan-Oliver Wagner http://intevation.de/~jan/ Intevation GmbH http://intevation.de/ FreeGIS http://freegis.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.intevation.de/pipermail/great-er-list/attachments/20031029/66302565/build.en.html