[Shapelib] is shapelib build complete?

shapelib-admin at lists.maptools.org shapelib-admin at lists.maptools.org
Wed Mar 10 06:11:56 PST 2004


make shputils returns:

cc -g shputils.c shpopen.o dbfopen.o -o shputils
shputils.c: In function `main':
shputils.c:277: error: too few arguments to function `exit'
make: ** [shputils] Erro 1

I changed the line 277 to "exit(1)" ... - was "exit()"
and it works!

regarding shpdump and dbfdump they're fine. all built.

and about shptree/treedump I have used them on windows machines.
I had a built copy of shptree.exe and was using it to build .QIX files 
for increase MapServer seaches.
Or this is not necessary on Linux boxes?

thanks.

Eduardo


shapelib-admin at lists.maptools.org escreveu:

> shapelib-admin at lists.maptools.org wrote:
>
>> I'm building shapelib 1.2.10 with default instructions...
>>
>> $ make
>>
>> but the results aren't building binaries for 'shptree', 'shptreedump' 
>> and 'shputils'.
>>
>> Is it OK?
>
>
> Eduardo,
>
> You can do "make shputils" to build that program if you need it for 
> something.
> The shptree and shptreedump are not really of general usefulness so 
> you should
> likely ignore them.
>
> The only programs in the distribution that I use for anything other 
> than a
> bit of testing are the shpdump and dbfdump programs which should have 
> been built.
>
> Best regards,


-- 
Eduardo Patto Kanegae
http://www.consultoria.eti.br

## Projeto MapServer Brasil - http://mapserver.cttmar.univali.br ##
***************************************
***Fim da Mensagem / End of Message ***
***************************************




More information about the Shapelib mailing list