Opened 12 years ago
#4267 new defect
pip mapscript error
Reported by: | panterz | Owned by: | hobu |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | MapScript-Python | Version: | unspecified |
Severity: | normal | Keywords: | pip, mapscript, mapserver header |
Cc: |
Description
I am trying to install mapscript through pip but I am getting back an error. It cannot find the mapserver header:
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c mapscript_wrap.c -o build/temp.linux-i686-2.7/mapscript_wrap.o
mapscript_wrap.c:2564:23: fatal error: mapserver.h: No such file or directory
I have already installed mapserver through apt-get install.
Do you know what the problem can be?
Note:
See TracTickets
for help on using tickets.