[Xastir] snag trying to install shapelib via source onto mac os X 10.5
T Wegner
towegn at tds.net
Fri Sep 17 20:55:12 EDT 2010
actually, guessing no need to re-execute the "cc" and "ar" commands as
that is probably already done and once is enough?
from last post:
> picking through the responses piece by piece guys.
>
> did this:
>
> bash-3.2$ Diff /usr/local/lib /Users/tomwegner/Downloads/
> shapelib-1.2.10/libshp.a
>
> and got this:
>
> bash-3.2$
>
> so I plan to do this:
>
> mv /usr/local/lib usr/local/whatsthis
> mkdir /usr/local/lib
>
> then start over with the instructions , skipping the first one (tar -
> xvzf shapelib-1.2.10.tar.gz) since I'm pretty sure that is a
> decompression step, and it's already been done.
>
> cd shapelib-1.2.10
> cc -c shpopen.c
> cc -c shptree.c
> cc -c dbfopen.c
> ar cru libshp.a shpopen.o shptree.o dbfopen.o
> sudo cp libshp.a /usr/local/lib
> sudo ranlib /usr/local/lib/libshp.a
> sudo mkdir /usr/local/include/libshp
> sudo cp shapefil.h /usr/local/include/libshp
>
> does that sound good?
>
> I'm not sure what you mean by the chmod and what you think I should
> do with that.
>
> thanks for the help
More information about the Xastir
mailing list