[Mapserver-dev] Compile Mapserver 4.2.1 on window2000 ? (GD's question)

=?gb2312?q?lzp=20lzp?= denzel1812 at yahoo.com.cn
Fri Jul 23 04:10:07 EDT 2004


--0-1519960185-1090570207=:60267
Content-Type: text/plain; charset=gb2312
Content-Transfer-Encoding: 8bit


hello,my friend

 

       I compiled mapserver 4.2.1 on my win2000 pc,but it seems error at running at tha apache2 server.

 

       I will tell you how I compile it,so anybody can tell me any wrong step?

 

       My Server: Windows2000 advance Server (with sp4) 

              Visual Studio 6 (with sp5) 

 

 

(1)     step 1: I download gdwin32.zip from http://www.boutell.com/gd/http/gdwin32.zip. And unzip it to c:\projects\gdwin32

So I can run c:\projects\gdwin32\makemsvcimport.bat,then get the file bgd.exp and bgd.lib

 

Question 1: Which gd release edition should I use:Gdwin32.zip or gd-2.0.28.zip?If I should use source code ,how could I compile it on windows?

 

Question 2:gd.lib?or bgd.lib?

          As I say before,If run makemsvcimport.bat directly ,I will get bgd.exp and bgd.lib. So I must edit mapserver¡¯s nmake.opt in line 369:

GD_LIB=  $(GD_DIR)/bgd.lib  \

 

         Is it right???

         And I only get the bgd.dll from the gdwin32.zip, Should I rename it from bgd.dll to gd.dll? Is It necessary?

 

OK, today is only step 1 with 2 question

 

ThanksJ)

 

                                               Denzel

 

 

 



---------------------------------
Do You Yahoo!?
ÃÀÅ®Ã÷ÐÇÓ¦Óо¡ÓУ¬"Ò»ËÑ"ËѱéÃÀͼ¡¢ÑÞͼºÍ¿áͼ
100Õ×ÓÊÏä¹»²»¹»Óã¿ÑÅ»¢µçÓÊ×ÔÖúÀ©ÈÝ£¡
--0-1519960185-1090570207=:60267
Content-Type: text/html; charset=gb2312
Content-Transfer-Encoding: 8bit

<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-pagination: widow-orphan" align=left><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">hello,my friend</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-font-kerning: 0pt"><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;I compiled mapserver 4.2.1 on my win2000 pc,but it seems error&nbsp;at running at tha apache2 server.<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I will tell you how I compile it,so anybody can tell me any&nbsp;wrong step?<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>My Server: Windows2000 advance Server (with sp4) <o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><SPAN style="mso-spacerun: yes">&nbsp;</SPAN><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>Visual Studio 6 (with sp5)&nbsp;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 37.5pt; TEXT-INDENT: -18pt; mso-list: l0 level1 lfo1; tab-stops: list 37.5pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">(1)<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">step 1: I download gdwin32.zip from <A href="http://www.boutell.com/gd/http/gdwin32.zip">http://www.boutell.com/gd/http/gdwin32.zip</A>. And unzip it to c:\projects\gdwin32<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 37.5pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">So I can run c:\projects\gdwin32\makemsvcimport.bat,then get the file bgd.exp and bgd.lib<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 37.5pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 37.5pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Question 1: Which gd release edition should I use:Gdwin32.zip or gd-2.0.28.zip?If I should use source code ,how could I compile it on windows?<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 37.5pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 37.5pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Question 2:gd.lib?or bgd.lib?<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 37.5pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>As I say before,If run makemsvcimport.bat directly ,I will get bgd.exp and bgd.lib. So I must edit mapserver¡¯s nmake.opt in line 369:<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 37.5pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">GD_LIB=<SPAN style="mso-tab-count: 1">&nbsp; </SPAN>$(GD_DIR)/bgd.lib<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>\<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 37.5pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 37.5pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>Is it right???<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 37.5pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>And I only get the bgd.dll from the gdwin32.zip, Should I rename it from bgd.dll to gd.dll? Is It necessary?<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 37.5pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 37.5pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">OK, today is only step 1 with 2 question<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 37.5pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 37.5pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thanks</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: Wingdings; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial; mso-bidi-font-family: Arial; mso-char-type: symbol; mso-symbol-font-family: Wingdings"><SPAN style="mso-char-type: symbol; mso-symbol-font-family: Wingdings">J</SPAN></SPAN><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">)<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 37.5pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 37.5pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><SPAN style="mso-tab-count: 2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="mso-tab-count: 2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="mso-tab-count: 2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="mso-tab-count: 2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="mso-tab-count: 2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="mso-tab-count: 1">&nbsp; </SPAN>Denzel<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 37.5pt"><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 37.5pt"><SPAN lang=EN-US><FONT size=3><FONT face="Times New Roman">&nbsp;<o:p></o:p></FONT></FONT></SPAN></P>
<P>&nbsp;</P><p><br><hr size=1><b>Do You Yahoo!?</b><br>
<a href="http://image.yisou.com" target=blank>ÃÀÅ®Ã÷ÐÇÓ¦Óо¡ÓУ¬"Ò»ËÑ"ËѱéÃÀͼ¡¢ÑÞͼºÍ¿áͼ</a><br>
<a href="http://cn.rd.yahoo.com/mail_cn/tag/100m/*http://cn.promo.yahoo.com/minisite/100m/" target=blank>100Õ×ÓÊÏä¹»²»¹»Óã¿ÑÅ»¢µçÓÊ×ÔÖúÀ©ÈÝ£¡</a>
--0-1519960185-1090570207=:60267--



More information about the mapserver-dev mailing list