[Mapserver-users] mapserver win32 compilation problems-Correc tion

Swaminathan, Gayathri gayathri at ou.edu
Mon May 12 13:54:18 EDT 2003


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C318AF.827CB460
Content-Type: text/plain;
	charset="iso-8859-1"

Sorry about this,
The first should read,
I am not sure of a way that will, make this work under, command line
compiler instead of the earlier posting.

-----Original Message-----
From: Swaminathan, Gayathri [mailto:gayathri at ou.edu]
Sent: Monday, May 12, 2003 10:50 AM
To: 'Rosangela Silva'; Mapserver-Users at Lists. Gis. Umn. Edu
Subject: RE: [Mapserver-users] mapserver win32 compilation problems


Hi:
I am sure of a way that will, make this work under, command line compiler.,
 
May be the in.h under cygwin is different than the inet.h Microsoft VC++
uses., in some ways.,
 
I am thinking the declarations of sockaddr_in under cygwin/in.h and
/include/inet.h are different.,
 
You are probably getting errors using, the workspace because, the paths to
lib or include files do not match right., To change these to point to right
places, go under Projects->Settings-> Link, and Check the
Tools->Options->Include file paths and Lib file paths in the VC++ workspace.
Set them to the
right paths to where you library or include files are.
 
Also, dont bother about the postgresql7.3.2-1 and postgis 0.7.5, I have
these only, and the instructions you obtained of the mailing lists, was the
procedure I used to get mapserver
to compile with Postgis.
Thanks,
Gayathri
 

-----Original Message-----
From: Rosangela Silva [mailto:rosangela.silva at zenitpolar.com.br]
Sent: Monday, May 12, 2003 10:41 AM
To: Swaminathan, Gayathri; Mapserver-Users at Lists. Gis. Umn. Edu
Subject: Re: [Mapserver-users] mapserver win32 compilation problems


Hi Gayathri,
 
Thanks for your help.
I change the u_short to short and it's solve the erros in
HTProt.h and HTHost.h files. 
But about 'sockaddr_in' , how you sad, the file "in.h" is 
in Cygwin directory. But I'm not compiling mapserver
under Cygwin, is it wrong?? I try to copy this file
and others files of cygwin../include/sys directory, but
other erros had appeared.
 
About workspace and compile mapserver with VC++,
I tried to make this when Prashant Desai posted your dsw, but
I had many many erros of LINK that they had made me to give up .  
But I need to compile mapserver, specially because I'm using
posgresql7.3.2-1 and postgis 0.7.5. 
 
Thanks
Rosangela.
 
 

From: Swaminathan,  <mailto:gayathri at ou.edu> Gayathr i
<mailto:gayathri at ou.edu>  
To: 'Rosangela Silva' <mailto:rosangela.silva at zenitpolar.com.br>  ;
Mapserver-Users at Lists.  <mailto:Mapserver-Users at Lists. Gis. Umn. Edu> Gis.
Umn. Edu 
Cc: vladimir.kozlov at idm.ru <mailto:vladimir.kozlov at idm.ru>  ;
jnovak at novacell.com <mailto:jnovak at novacell.com>  
Sent: Monday, May 12, 2003 1:53 PM
Subject: RE: [Mapserver-users] mapserver win32 compilation problems


Hi ,
I have got the exact errors you mention, earlier in my attempts to compile. 
 
For some reason the u_short does not work well for "cl" in windows., 
 
if you change u_short to short - it will compile without those u_short
errors ( I am not sure of the implications)., 
 
Again if you check that error, "Libwww/Library/src/HTHstMan.h(94) : error
C2079: 'sock_addr' uses undefined struct 'sockaddr_in'"
 
and open HTHstMan.h, you will see that, this is actually coming from a
inclusion of the header "wwwsys.h" and that requires a "in.h" which under
cygwin lib.,
 
sockaddr_in is defined in "in.h", somehow the VC++ compiler overlooks this
and we have this persistent error.
 
But the way I overcame these errors when I hurt real bad to compile
Mapserver with WMS was, 
 
by using the VC++ workspace Prashant Desai posted sometime back and setting
my lib paths in VC workspace and compiling mapserver using a VC++ workspace.
 
If you would like to have a copy of the workspace let me know. Will send it
to you.
Thanks,
Gayathri
 

-----Original Message-----
From: Rosangela Silva [mailto:rosangela.silva at zenitpolar.com.br]
Sent: Monday, May 12, 2003 7:40 AM
To: Mapserver-Users at Lists. Gis. Umn. Edu
Cc: vladimir.kozlov at idm.ru; jnovak at novacell.com
Subject: [Mapserver-users] mapserver win32 compilation problems


Hello,
 
I'm trying to compile mapserver on win32 (winxp) and I'm looking
for some help but I coundn't find it in lists (mapserver, libwww).
 
I'm using the precompiled Libwww avaiable for Vladimir A. Kozlov
(  <ftp://ftp.idm.ru/libwww/> ftp://ftp.idm.ru/libwww).
 
And I'm using the "compiling postgis with mapserver" instructions by
Gayathri Swaminathan 
( http://lists.gis.umn.edu/pipermail/mapserver-users/2003-April/003469.html
<http://lists.gis.umn.edu/pipermail/mapserver-users/2003-April/003469.html>
). About
postgis, I don't know if it will run, because the warnings "ignored" lines.
 
The mapserver compilation erros results are:
 
 
nmake /f Makefile.vc
 
Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
 
        cl libpq7.3.2/libpq.lib libpq7.3.2/interfaces/libpq/libpqdll.lib
/nologo
 /Zi /W3 /DDEBUG /DWIN32 libpq7.3.2/libpq.lib
libpq7.3.2/interfaces/libpq/libpqd
ll.lib -I gd-1.8.4 -I tiff-v3.5.7/libtiff   -I proj-4.4.5/src
-Iphp-4.3.1\rege
x -DPHP_NO_ALIASES -Igdal-1.1.7/ogr/ogrsf_frmts -Igdal-1.1.7/ogr
-Igdal-1.1.7/og
r/../port -Igdal-1.1.7/core  -I Libwww/library/src -I
Libwww/modules/expat/xmlpa
rse -DHAVE_STRING_H -DREGEX_MALLOC -DNEED_STRCASECMP -DNEED_STRNCASECMP
-DUSE_
EPPL -DUSE_PROJ -DUSE_PROJ_API_H -DUSE_TIFF  -DUSE_GD_GIF -DUSE_GD_PNG
-DUSE_GD_
JPEG -DUSE_GD_WBMP -DUSE_GD_TTF  -DUSE_GD_TTF -DGD_HAS_GDIMAGEGIFPTR
-DUSE_OGR -
DUSE_WMS -DUSE_WMS_LYR  -DIGNORE_MISSING_DATA -DUSE_GDAL -DFEATURE_INFO_HTML
/c
mapwmslayer.c /Fomapwmslayer.obj
Command line warning D4027 : source file 'libpq7.3.2/libpq.lib' ignored
Command line warning D4027 : source file
'libpq7.3.2/interfaces/libpq/libpqdll.l ib' ignored
Command line warning D4027 : source file 'libpq7.3.2/libpq.lib' ignored
Command line warning D4027 : source file
'libpq7.3.2/interfaces/libpq/libpqdll.l ib' ignored
mapwmslayer.c
Libwww/Library/src/HTProt.h(58) : error C2061: syntax error : identifier
'HTProtocolId'
Libwww/Library/src/HTProt.h(58) : error C2059: syntax error : ';'
Libwww/Library/src/HTProt.h(85) : error C2146: syntax error : missing ')'
before  identifier 'port'
Libwww/Library/src/HTProt.h(85) : error C2081: 'HTProtocolId' : name in
formal parameter list illegal
Libwww/Library/src/HTProt.h(85) : error C2061: syntax error : identifier
'port'
Libwww/Library/src/HTProt.h(85) : error C2059: syntax error : ';'
Libwww/Library/src/HTProt.h(85) : error C2059: syntax error : ','
Libwww/Library/src/HTProt.h(88) : error C2059: syntax error : ')'
Libwww/Library/src/HTProt.h(132) : error C2061: syntax error : identifier
'HTProtocol_id'
Libwww/Library/src/HTProt.h(132) : error C2059: syntax error : ';'
Libwww/Library/src/HTProt.h(132) : error C2059: syntax error : 'type'
Libwww/Library/src/HTHost.h(65) : error C2146: syntax error : missing ')'
before identifier 'u_port'
Libwww/Library/src/HTHost.h(65) : error C2081: 'u_short' : name in formal
parameter list illegal
Libwww/Library/src/HTHost.h(65) : error C2061: syntax error : identifier
'u_port'
Libwww/Library/src/HTHost.h(65) : error C2059: syntax error : ';'
Libwww/Library/src/HTHost.h(65) : error C2059: syntax error : ')'
Libwww/Library/src/HTHost.h(66) : error C2146: syntax error : missing ')'
before identifier 'u_port'
Libwww/Library/src/HTHost.h(66) : error C2081: 'u_short' : name in formal
parameter list illegal
Libwww/Library/src/HTHost.h(66) : error C2061: syntax error : identifier
'u_port'
Libwww/Library/src/HTHost.h(66) : error C2059: syntax error : ';'
Libwww/Library/src/HTHost.h(66) : error C2059: syntax error : ')'
Libwww/Library/src/HTHstMan.h(60) : error C2061: syntax error : identifier
'u_short'
Libwww/Library/src/HTHstMan.h(94) : error C2079: 'sock_addr' uses undefined
struct 'sockaddr_in'
Libwww/Library/src/HTHstMan.h(110) : error C2059: syntax error : '}'
mapwmslayer.c(292) : warning C4013: 'index' undefined; assuming extern
returning int
mapwmslayer.c(292) : warning C4047: '=' : 'const char *' differs in levels
of in direction from 'int '
mapwmslayer.c(340) : warning C4013: 'isspace' undefined; assuming extern
returning int
mapwmslayer.c(368) : warning C4090: 'function' : different 'const'
qualifiers
mapwmslayer.c(368) : warning C4024: 'strcasecmp' : different types for
formal and actual parameter 2
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.

All helps are welcome,
Thanks
Rosângela


------_=_NextPart_001_01C318AF.827CB460
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 6.00.2800.1170" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=723035919-12052003><FONT face=Arial color=#0000ff size=2>Sorry 
about this,</FONT></SPAN></DIV>
<DIV><SPAN class=723035919-12052003><FONT face=Arial color=#0000ff size=2>The 
first should read,</FONT></SPAN></DIV>
<DIV><SPAN class=723035919-12052003><FONT face=Arial color=#0000ff size=2>I am 
not sure of a way that will, make this work under, command line compiler instead 
of the earlier posting.</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Swaminathan, Gayathri 
  [mailto:gayathri at ou.edu]<BR><B>Sent:</B> Monday, May 12, 2003 10:50 
  AM<BR><B>To:</B> 'Rosangela Silva'; Mapserver-Users at Lists. Gis. Umn. 
  Edu<BR><B>Subject:</B> RE: [Mapserver-users] mapserver win32 compilation 
  problems<BR><BR></FONT></DIV>
  <DIV><FONT face=Arial color=#0000ff size=2><SPAN 
  class=733444819-12052003>Hi:</SPAN></FONT></DIV>
  <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=733444819-12052003>I am 
  sure of a way that will, make this work under, command line 
  compiler.,</SPAN></FONT></DIV>
  <DIV><FONT face=Arial color=#0000ff size=2><SPAN 
  class=733444819-12052003></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=733444819-12052003>May 
  be the in.h under cygwin is different than the inet.h Microsoft VC++ uses., in 
  some ways.,</SPAN></FONT></DIV>
  <DIV><FONT face=Arial color=#0000ff size=2><SPAN 
  class=733444819-12052003></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=733444819-12052003>I am 
  thinking the declarations of sockaddr_in under cygwin/in.h and /include/inet.h 
  are different.,</SPAN></FONT></DIV>
  <DIV><FONT face=Arial color=#0000ff size=2><SPAN 
  class=733444819-12052003></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=733444819-12052003>You 
  are probably getting errors using, the workspace because, the paths to lib or 
  include files do not match right., To change these to point to 
  right</SPAN></FONT></DIV>
  <DIV><FONT face=Arial color=#0000ff size=2><SPAN 
  class=733444819-12052003>places, go under Projects-&gt;Settings-&gt; Link, and 
  Check the Tools-&gt;Options-&gt;Include file paths and Lib file paths in the 
  VC++ workspace. Set them to the</SPAN></FONT></DIV>
  <DIV><FONT face=Arial color=#0000ff size=2><SPAN 
  class=733444819-12052003>right paths to where you library or include files 
  are.</SPAN></FONT></DIV>
  <DIV><FONT face=Arial color=#0000ff size=2><SPAN 
  class=733444819-12052003></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial color=#0000ff size=2><SPAN 
  class=733444819-12052003>Also, dont bother about the postgresql7.3.2-1 and 
  postgis 0.7.5, I have these only, and the instructions&nbsp;you obtained of 
  the mailing lists, was the procedure I used to get 
  mapserver</SPAN></FONT></DIV>
  <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=733444819-12052003>to 
  compile with Postgis.</SPAN></FONT></DIV>
  <DIV><FONT face=Arial color=#0000ff size=2><SPAN 
  class=733444819-12052003>Thanks,</SPAN></FONT></DIV>
  <DIV><FONT face=Arial color=#0000ff size=2><SPAN 
  class=733444819-12052003>Gayathri</SPAN></FONT></DIV>
  <DIV><FONT face=Arial color=#0000ff size=2><SPAN 
  class=733444819-12052003></SPAN></FONT>&nbsp;</DIV>
  <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
    <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
    size=2>-----Original Message-----<BR><B>From:</B> Rosangela Silva 
    [mailto:rosangela.silva at zenitpolar.com.br]<BR><B>Sent:</B> Monday, May 12, 
    2003 10:41 AM<BR><B>To:</B> Swaminathan, Gayathri; Mapserver-Users at Lists. 
    Gis. Umn. Edu<BR><B>Subject:</B> Re: [Mapserver-users] mapserver win32 
    compilation problems<BR><BR></FONT></DIV>
    <DIV><FONT face=Arial size=2>Hi Gayathri,</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>Thanks for your help.</FONT></DIV>
    <DIV><FONT face=Arial size=2>I change the u_short to short and it's solve 
    the erros in</FONT></DIV>
    <DIV><FONT face=Arial size=2>HTProt.h and HTHost.h files. </FONT></DIV>
    <DIV><FONT face=Arial size=2>But about 'sockaddr_in' , how you sad, the file 
    "in.h" is </FONT></DIV>
    <DIV><FONT face=Arial size=2>in&nbsp;Cygwin directory. But I'm not compiling 
    mapserver</FONT></DIV>
    <DIV><FONT face=Arial size=2>under Cygwin, is it wrong?? I try to copy this 
    file</FONT></DIV>
    <DIV><FONT face=Arial size=2>and others files of cygwin../include/sys 
    directory, but</FONT></DIV>
    <DIV><FONT face=Arial size=2>other erros had appeared.</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>About&nbsp;workspace and compile mapserver with 
    VC++,</FONT></DIV>
    <DIV><FONT face=Arial size=2>I&nbsp;tried to make&nbsp;this&nbsp;when 
    Prashant Desai posted&nbsp;your&nbsp;dsw, but</FONT></DIV>
    <DIV><FONT face=Arial size=2>I&nbsp;had many many erros 
    of&nbsp;LINK&nbsp;that they had made me to give 
    up&nbsp;.</FONT>&nbsp;&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>But I need to compile mapserver, specially 
    because I'm using</FONT></DIV>
    <DIV><FONT face=Arial size=2>posgresql7.3.2-1 and postgis 0.7.5. 
    </FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>Thanks</FONT></DIV>
    <DIV><FONT face=Arial size=2>Rosangela.</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <BLOCKQUOTE dir=ltr 
    style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
      <DIV style="FONT: 10pt arial"><STRONG>From:</STRONG> <A 
      title=gayathri at ou.edu href="mailto:gayathri at ou.edu">Swaminathan, 
      Gayathr</A><A title=gayathri at ou.edu href="mailto:gayathri at ou.edu">i</A> 
      </DIV>
      <DIV style="FONT: 10pt arial"><STRONG>To:</STRONG> <A 
      title=rosangela.silva at zenitpolar.com.br 
      href="mailto:rosangela.silva at zenitpolar.com.br">'Rosangela Silva'</A> ; <A 
      title=mapserver-users at lists.gis.umn.edu 
      href="mailto:Mapserver-Users at Lists. Gis. Umn. Edu">Mapserver-Users at Lists. 
      Gis. Umn. Edu</A> </DIV>
      <DIV style="FONT: 10pt arial"><B>Cc:</B> <A title=vladimir.kozlov at idm.ru 
      href="mailto:vladimir.kozlov at idm.ru">vladimir.kozlov at idm.ru</A> ; <A 
      title=jnovak at novacell.com 
      href="mailto:jnovak at novacell.com">jnovak at novacell.com</A> </DIV>
      <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, May 12, 2003 1:53 
      PM</DIV>
      <DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [Mapserver-users] 
      mapserver win32 compilation problems</DIV>
      <DIV><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT><FONT 
      face=Arial size=2></FONT><BR></DIV>
      <DIV><SPAN class=602484918-12052003><FONT face=Arial size=2>Hi 
      ,</FONT></SPAN></DIV>
      <DIV><SPAN class=602484918-12052003><FONT face=Arial size=2>I have got the 
      exact errors you mention, earlier in my attempts to compile. 
      </FONT></SPAN></DIV>
      <DIV><SPAN class=602484918-12052003><FONT face=Arial 
      size=2></FONT></SPAN>&nbsp;</DIV>
      <DIV><SPAN class=602484918-12052003><FONT face=Arial size=2>For some 
      reason the<STRONG> u_short does not work well for "cl" in 
      windows</STRONG>., </FONT></SPAN></DIV>
      <DIV><SPAN class=602484918-12052003><FONT face=Arial 
      size=2></FONT></SPAN>&nbsp;</DIV>
      <DIV><SPAN class=602484918-12052003><FONT face=Arial size=2><STRONG>if you 
      change u_short to short</STRONG>&nbsp;- it will compile without those 
      u_short errors ( I am not sure of the 
      implications).,&nbsp;</FONT></SPAN></DIV>
      <DIV><SPAN class=602484918-12052003><FONT face=Arial 
      size=2></FONT></SPAN>&nbsp;</DIV>
      <DIV><SPAN class=602484918-12052003><FONT face=Arial size=2>Again if you 
      check that error, "Libwww/Library/src/HTHstMan.h(94) : error C2079: 
      'sock_addr' uses undefined struct 'sockaddr_in'"</FONT></SPAN></DIV>
      <DIV><SPAN class=602484918-12052003><FONT face=Arial 
      size=2></FONT></SPAN>&nbsp;</DIV>
      <DIV><SPAN class=602484918-12052003><FONT face=Arial color=#0000ff 
      size=2><FONT color=#000000>and open HTHstMan.h, you will see that, this is 
      actually coming from a inclusion of the header "wwwsys.h" and that 
      requires a "in.h" which under cygwin lib.,</FONT></FONT></SPAN></DIV>
      <DIV><SPAN class=602484918-12052003><FONT face=Arial 
      size=2></FONT></SPAN>&nbsp;</DIV>
      <DIV><SPAN class=602484918-12052003><FONT face=Arial 
      size=2><STRONG>sockaddr_in is defined in "in.h"</STRONG>, somehow the VC++ 
      compiler overlooks this and we have this persistent 
      error.</FONT></SPAN></DIV>
      <DIV><SPAN class=602484918-12052003><FONT face=Arial 
      size=2></FONT></SPAN>&nbsp;</DIV>
      <DIV><SPAN class=602484918-12052003><FONT face=Arial size=2>But&nbsp;the 
      way I overcame these errors when I hurt real bad to compile <SPAN 
      class=602484918-12052003><FONT face=Arial size=2>Mapserver with WMS 
      was</FONT></SPAN>, </FONT></SPAN></DIV>
      <DIV><SPAN class=602484918-12052003><FONT face=Arial 
      size=2></FONT></SPAN>&nbsp;</DIV>
      <DIV><SPAN class=602484918-12052003><FONT face=Arial size=2>by using the 
      VC++ workspace Prashant Desai posted sometime back and setting my lib 
      paths in VC workspace and compiling mapserver using a VC++ 
      workspace.</FONT></SPAN></DIV>
      <DIV><SPAN class=602484918-12052003><FONT face=Arial 
      size=2></FONT></SPAN>&nbsp;</DIV>
      <DIV><SPAN class=602484918-12052003><FONT face=Arial size=2>If you would 
      like to have a copy of the workspace let me know. Will send it to 
      you.</FONT></SPAN></DIV>
      <DIV><SPAN class=602484918-12052003><FONT face=Arial 
      size=2>Thanks,</FONT></SPAN></DIV>
      <DIV><SPAN class=602484918-12052003><FONT face=Arial 
      size=2>Gayathri</FONT></SPAN></DIV>
      <DIV><SPAN class=602484918-12052003><FONT face=Arial 
      size=2></FONT></SPAN>&nbsp;</DIV>
      <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
        <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
        size=2>-----Original Message-----<BR><B>From:</B> Rosangela Silva 
        [mailto:rosangela.silva at zenitpolar.com.br]<BR><B>Sent:</B> Monday, May 
        12, 2003 7:40 AM<BR><B>To:</B> Mapserver-Users at Lists. Gis. Umn. 
        Edu<BR><B>Cc:</B> vladimir.kozlov at idm.ru; 
        jnovak at novacell.com<BR><B>Subject:</B> [Mapserver-users] mapserver win32 
        compilation problems<BR><BR></FONT></DIV>
        <DIV><FONT face=Arial size=2>Hello,</FONT></DIV>
        <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
        <DIV><FONT face=Arial size=2>I'm trying to compile mapserver on win32 
        (winxp) and I'm looking</FONT></DIV>
        <DIV><FONT face=Arial size=2>for some help but I coundn't find it in 
        lists (mapserver, libwww).</FONT></DIV>
        <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
        <DIV><FONT face=Arial size=2>I'm using the precompiled&nbsp;Libwww 
        avaiable for Vladimir A. Kozlov</FONT></DIV>
        <DIV><FONT face=Arial size=2>(<A href="ftp://ftp.idm.ru/libwww/"><FONT 
        face="Times New Roman" 
        size=3>ftp://ftp.idm.ru/libwww</FONT></A>).</FONT></DIV>
        <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
        <DIV><FONT face=Arial size=2>And I'm using&nbsp;the "compiling postgis 
        with mapserver" </FONT><FONT face=Arial size=2>instructions by Gayathri 
        Swaminathan </FONT></DIV>
        <DIV><FONT face=Arial size=2>(<A 
        href="http://lists.gis.umn.edu/pipermail/mapserver-users/2003-April/003469.html">http://lists.gis.umn.edu/pipermail/mapserver-users/2003-April/003469.html</A>). 
        About</FONT></DIV>
        <DIV><FONT face=Arial size=2>postgis, I don't know if it will run, 
        because the warnings "ignored" lines.</FONT></DIV>
        <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
        <DIV><FONT face=Arial size=2>The mapserver compilation erros results 
        are:</FONT></DIV>
        <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
        <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
        <DIV><FONT face=Arial size=2>nmake /f Makefile.vc</FONT></DIV>
        <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
        <DIV><FONT face=Arial size=2>Microsoft (R) Program Maintenance 
        Utility&nbsp;&nbsp; Version 6.00.8168.0<BR>Copyright (C) Microsoft Corp 
        1988-1998. All rights reserved.</FONT></DIV>
        <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
        <DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        cl libpq7.3.2/libpq.lib libpq7.3.2/interfaces/libpq/libpqdll.lib 
        /nologo<BR>&nbsp;/Zi /W3 /DDEBUG /DWIN32 libpq7.3.2/libpq.lib 
        libpq7.3.2/interfaces/libpq/libpqd<BR>ll.lib -I gd-1.8.4 -I 
        tiff-v3.5.7/libtiff&nbsp;&nbsp; -I proj-4.4.5/src&nbsp;&nbsp; 
        -Iphp-4.3.1\rege<BR>x -DPHP_NO_ALIASES -Igdal-1.1.7/ogr/ogrsf_frmts 
        -Igdal-1.1.7/ogr -Igdal-1.1.7/og<BR>r/../port -Igdal-1.1.7/core&nbsp; -I 
        Libwww/library/src -I Libwww/modules/expat/xmlpa<BR>rse -DHAVE_STRING_H 
        -DREGEX_MALLOC -DNEED_STRCASECMP -DNEED_STRNCASECMP&nbsp;&nbsp; 
        -DUSE_<BR>EPPL -DUSE_PROJ -DUSE_PROJ_API_H -DUSE_TIFF&nbsp; -DUSE_GD_GIF 
        -DUSE_GD_PNG -DUSE_GD_<BR>JPEG -DUSE_GD_WBMP -DUSE_GD_TTF&nbsp; 
        -DUSE_GD_TTF -DGD_HAS_GDIMAGEGIFPTR -DUSE_OGR -<BR>DUSE_WMS 
        -DUSE_WMS_LYR&nbsp; -DIGNORE_MISSING_DATA -DUSE_GDAL -DFEATURE_INFO_HTML 
        /c<BR>mapwmslayer.c /Fomapwmslayer.obj<BR>Command line warning D4027 : 
        source file 'libpq7.3.2/libpq.lib' ignored<BR>Command line warning D4027 
        : source file 'libpq7.3.2/interfaces/libpq/libpqdll.l ib' 
        ignored<BR>Command line warning D4027 : source file 
        'libpq7.3.2/libpq.lib' ignored<BR>Command line warning D4027 : source 
        file 'libpq7.3.2/interfaces/libpq/libpqdll.l ib' 
        ignored<BR>mapwmslayer.c<BR>Libwww/Library/src/HTProt.h(58) : error 
        C2061: syntax error : identifier 
        'HTProtocolId'<BR>Libwww/Library/src/HTProt.h(58) : error C2059: syntax 
        error : ';'<BR>Libwww/Library/src/HTProt.h(85) : error C2146: syntax 
        error : missing ')' before&nbsp;&nbsp;identifier 
        'port'<BR>Libwww/Library/src/HTProt.h(85) : error C2081: 'HTProtocolId' 
        : name in formal parameter list 
        illegal<BR>Libwww/Library/src/HTProt.h(85) : error C2061: syntax error : 
        identifier 'port'<BR>Libwww/Library/src/HTProt.h(85) : error C2059: 
        syntax error : ';'<BR>Libwww/Library/src/HTProt.h(85) : error C2059: 
        syntax error : ','<BR>Libwww/Library/src/HTProt.h(88) : error C2059: 
        syntax error : ')'<BR>Libwww/Library/src/HTProt.h(132) : error C2061: 
        syntax error : identifier 
        'HTProtocol_id'<BR>Libwww/Library/src/HTProt.h(132) : error C2059: 
        syntax error : ';'<BR>Libwww/Library/src/HTProt.h(132) : error C2059: 
        syntax error : 'type'<BR>Libwww/Library/src/HTHost.h(65) : error C2146: 
        syntax error : missing ')' before&nbsp;identifier 
        'u_port'<BR>Libwww/Library/src/HTHost.h(65) : error C2081: 'u_short' : 
        name in formal parameter list illegal<BR>Libwww/Library/src/HTHost.h(65) 
        : error C2061: syntax error : identifier 
        'u_port'<BR>Libwww/Library/src/HTHost.h(65) : error C2059: syntax error 
        : ';'<BR>Libwww/Library/src/HTHost.h(65) : error C2059: syntax error : 
        ')'<BR>Libwww/Library/src/HTHost.h(66) : error C2146: syntax error : 
        missing ')' before&nbsp;identifier 
        'u_port'<BR>Libwww/Library/src/HTHost.h(66) : error C2081: 'u_short' : 
        name in formal parameter list illegal<BR>Libwww/Library/src/HTHost.h(66) 
        : error C2061: syntax error : identifier 
        'u_port'<BR>Libwww/Library/src/HTHost.h(66) : error C2059: syntax error 
        : ';'<BR>Libwww/Library/src/HTHost.h(66) : error C2059: syntax error : 
        ')'<BR>Libwww/Library/src/HTHstMan.h(60) : error C2061: syntax error : 
        identifier 'u_short'<BR>Libwww/Library/src/HTHstMan.h(94) : error C2079: 
        'sock_addr' uses undefined struct 
        'sockaddr_in'<BR>Libwww/Library/src/HTHstMan.h(110) : error C2059: 
        syntax error : '}'<BR>mapwmslayer.c(292) : warning C4013: 'index' 
        undefined; assuming extern returning&nbsp;int<BR>mapwmslayer.c(292) : 
        warning C4047: '=' : 'const char *' differs in levels of in direction 
        from 'int '<BR>mapwmslayer.c(340) : warning C4013: 'isspace' undefined; 
        assuming extern returning int<BR>mapwmslayer.c(368) : warning C4090: 
        'function' : different 'const' qualifiers<BR>mapwmslayer.c(368) : 
        warning C4024: 'strcasecmp' : different types for formal and actual 
        parameter 2<BR>NMAKE : fatal error U1077: 'cl' : return code 
        '0x2'<BR>Stop.<BR></FONT></DIV>
        <DIV><FONT face=Arial size=2>All helps are welcome,</DIV></FONT>
        <DIV><FONT face=Arial size=2>Thanks</FONT></DIV>
        <DIV><FONT face=Arial 
  size=2>Rosângela</DIV></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></FONT></BODY></HTML>

------_=_NextPart_001_01C318AF.827CB460--



More information about the mapserver-users mailing list