[Mapserver-users] Installing Python Mapscript

Sean Gillies sgillies at frii.com
Thu Jul 29 15:55:50 EDT 2004


On Jul 29, 2004, at 1:47 PM, William Hudspeth wrote:

>>
>> Alright, let's start over.  Can you post the terminal output you 
>> received
>> after running "python setup.py install"?
>>
>> Sean
>
>
>
>
>
> %python setup.py install
> running install
> running build
> running build_py
> running build_ext
> building '_mapscript' extension
> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall 
> -Wstrict-prototypes -fPIC -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_PROJ 
> -DUSE_PROJ_API_H -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT 
> -DUSE_OGR -DUSE_GDAL -I/usr/local/include/python2.3 -I. 
> -I/usr/local/src/proj-4.4.7/src -I/usr/local/src/gd-2.0.22 
> -I/usr/local/include -I/usr/local/include/python2.3 -c 
> pygdioctx/pygdioctx.c -o 
> build/temp.linux-i686-2.3/pygdioctx/pygdioctx.o
> gcc: pygdioctx/pygdioctx.c: No such file or directory
> gcc: no input files
> error: command 'gcc' failed with exit status 1
>

Bill,

You're missing files from the mapserver distribution.  the pygdioctx 
stuff
ships with mapserver in mapserver/mapscript/python/pygdioctx since 
mapserver
4.2.

Which version of mapserver are you building?  What's the revision 
number of
the setup.py file you are using?  It seems like there may be a mix up
between them.

Sean






More information about the mapserver-users mailing list