[Mapserver-users] error compiling mapserver - ***shp2img
Maurício Pereira Reis
mpr at dpi.ufv.br
Tue Jan 14 03:58:45 PST 2003
--=====================_2321077==_.ALT
Content-Type: text/plain; charset="iso-8859-1"; format=flowed
Content-Transfer-Encoding: quoted-printable
Hi,
I am trying to compile nightly builds of mapserver on windows xp using=20
cygwin. This is the first time I try to build this application.
I am using the following options with the configuration script.
"./configure --with-gd=3D../gd-1.8.4 --with-proj=3D/usr/local"
proj-4.4.5
gd-1.8.4
freetype-1.3
When I run 'make' I get the following problem
gcc -02 - Wall=20
-DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_PROJ -DUSE_PROJ_API_H=20
-DUSE_WMS_SVR
-DUSE_GD_SWAP_XY -I/usr/src/projects/mapserver_dev/..gd-1.8.4=20
-I/usr/local/include shp2img.o -L -lmap=20
-L/usr/src/projects/mapserver_dev/../gd-1.8.4/.libs -lgd -L/lib -lpng=20
-L/lib -lz -L/lib -lXpm -lX11 -L/lib -lpng -L/lib -lz -L/lib -lXpm -lX11 -=
=20
L/usr/local/lib -lproj -lm -o shp2img
/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/ld:=20
cannot find -lX11
collect2: ld returned 1 exit status
make: *** [shp2img] Error 1
Any ideas?
Thanks,
Maur=EDcio
------
Mauricio Pereira Reis
Graduando em Ci=EAncia da Computa=E7=E3o
Universidade Federal de Vi=E7osa - UFV
--=====================_2321077==_.ALT
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<html>
Hi,<br><br>
I am trying to compile nightly builds of mapserver on windows xp using
cygwin. This is the <b>first</b> <b>time</b> I try to build this
application.<br>
I am using the following options with the configuration
script.<br>
"./configure --with-gd=3D../gd-1.8.4
--with-proj=3D/usr/local"<br><br>
proj-4.4.5 <br>
gd-1.8.4 <br>
freetype-1.3<br>
<br>
When I run 'make' I get the following problem <br><br>
<font face=3D"Courier New, Courier">gcc -02 - Wall -DIGNORE_MISSING_DATA
<x-tab> </x-tab>-DUSE_EPPL<x-tab> &n=
bsp; </x-tab>-DUSE_PROJ<x-tab> </x-t=
ab>-DUSE_PROJ_API_H<x-tab> </=
x-tab>-DUSE_WMS_SVR<br>
-DUSE_GD_SWAP_XY<x-tab> </x-t=
ab>-I/usr/src/projects/mapserver_dev/..gd-1.8.4<x-tab> &nbs=
p;</x-tab>-I/usr/local/include<x-tab> </x-tab>shp2img=
.o
-L -lmap -L/usr/src/projects/mapserver_dev/../gd-1.8.4/.libs
-lgd<x-tab> </x-tab>-L/lib -lpng -L/lib -lz -L/lib
-lXpm -lX11 -L/lib -lpng -L/lib -lz -L/lib -lXpm -lX11 - L/usr/local/lib
-lproj -lm<x-tab> </x-tab>-o
shp2img<br>
/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/ld: =
cannot find -lX11<br>
collect2: ld returned 1 exit status<br>
make: *** [shp2img] Error 1<br><br>
<br>
</font>Any ideas?<br>
Thanks,<br><br>
Maur=EDcio<br><br>
<br>
<x-sigsep><p></x-sigsep>
------<br>
Mauricio Pereira Reis<br>
Graduando em Ci=EAncia da Computa=E7=E3o <br>
Universidade Federal de Vi=E7osa - UFV</html>
--=====================_2321077==_.ALT--
More information about the MapServer-users
mailing list