Changeset 2390

Show
Ignore:
Timestamp:
09/20/03 09:36:09 (5 years ago)
Author:
dan
Message:

Updates to reflect recent changes (nmake.opt, libwww gone, etc.)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/branch-4-0/mapserver/README.WIN32

    r1737 r2390  
    2121-------------------------------------------------------------------- 
    2222 
    23 For the developers using MSVC++, a NMAKE makefile (Makefile.vc) to 
    24 build the MapServer library and executable programs is included with 
     23For the developers using MSVC++, a NMAKE makefile (Makefile.vc + nmake.opt) 
     24to build the MapServer library and executable programs is included with 
    2525the distribution.  
    2626 
    2727To build the package using the Makefile.vc and NMAKE: 
    2828 
    29  - Edit Makefile.vc to select (or deselect) optional components of  
     29 - Edit nmake.opt to select (or deselect) optional components of  
    3030   the MapServer.  Please read the notes below about each component 
    3131   before you move ahead with the compilation. 
     
    6464 
    6565  If you are using a different version of GD, then it is very important 
    66   to make sure that you update the -DUSE_GD_* flags in all the Makefile.vc
     66  to make sure that you update the -DUSE_GD_* flags in the nmake.opt
    6767 
    6868  You'll have to compile your own GD library with the options you want, 
     
    8989      ftp://ftp.gnu.org/pub/gnu/regex/regex-0.12.tar.gz 
    9090 
    91   The default case in the Makefile.vc is set to compile with GNU  
     91  The default in the nmake.opt is set to compile with GNU  
    9292  regex-0.12 located in the "regex-0.12" directory. 
    9393 
     
    122122   the library. 
    123123 
    124  - make sure the value of the -DUSE_GD_* flag in the gdft/Makefile.vc  
    125    matches the version of GD that you are building with. 
    126  
    127  - directory ./mapserver/gdft should not be compiled with DEBUG option 
    128124 
    129125-------------------------------------------------------------------- 
     
    138134     the directory where the epsg file is located 
    139135   * if you build this module, at the top of the makefile (./src/makefile.vc), you 
    140      can set the PROJ_LIB variable and this setting will be used to locates the 
    141      files.   
     136     can set the PROJ_LIB variable and this setting will be used to  
     137     locate the proj support files.   
    142138 
    143139   
    144  
    145 -------------------------------------------------------------------- 
    146       Notes libwww : used to support WMS client connection 
    147       Depricated. Please refer to notes on libcurl below 
    148 --------------------------------------------------------------------  
    149   - the libaray is located at  http://www.w3.org/Library/  
    150  
    151  Notes on how to build it using MSVC: 
    152  
    153   - before starting please refer to http://www.w3.org/INSTALL.html#Windows 
    154  
    155   - Get the source code from CVS 
    156   - Get the latest MSVC makefiles 
    157   - Do the "bootstrap mechanism" : (http://www.w3.org/Library/cvs.html#Boot).  
    158     You will need a Perl module for this. 
    159   - you can then compile by opening the libwww/windows/world.dsw workspace  
    160     and do a batch build of the whole thing. 
    161  
    162  other notes :  I had to define #define WWW_MSWINDOWS 1 in wwwsys.h  
    163  before compiling. 
    164  
    165  Notes on mapserver's makefile.vc modifications : 
    166  
    167   - flag to add : -DUSE_WMS_LYR 
    168   - include : -I../Libwww/library/src -I../libwww/modules/expat/xmlparse 
    169   - libararies : ../Libwww/bin/wwwcore.lib ../Libwww/bin/wwwapp.lib  
    170                 ../Libwww/bin/wwwinit.lib ../Libwww/bin/wwwutils.lib 
    171  
    172  Installation : 
    173  
    174  - The best way is to get a precomiled binaries from the site. There is an  
    175    windows install available at :   
    176         ftp://ftp.idm.ru/libwww/Libwww_V5.3.2.exe 
    177  
    178  - copy the following dll to a location where dll's can be loaded  
    179   (ex : c:/winnt/syetem32) : gnu_regex.dll xmlparse.dll xmltok.dll  
    180    (these dlls should be in .libwww/library/external after the build or  
    181     available in your install directory) 
    182  
    183  - You also needs the following dll files. These file are installed in your system directory when you install Libwww : 
    184  
    185         * wwwapp.dll 
    186         * wwwcache.dll 
    187         * wwwcore.dll 
    188         * wwwdir.dll 
    189         * wwwdll.dll 
    190         * wwwfile.dll 
    191         * wwwftp.dll 
    192         * wwwgophe.dll 
    193         * wwwhtml.dll 
    194         * wwwhttp.dll 
    195         * wwwinit.dll 
    196         * wwwmime.dll 
    197         * wwwmux.dll 
    198         * wwwnews.dll 
    199         * wwwstream.dll 
    200         * wwwtelnt.dll 
    201         * wwwtrans.dll 
    202         * wwwutils.dll 
    203         * wwwwais.dll 
    204         * wwwxml.dll 
    205         * wwwzip.dll 
    206  
    207  
    208140-------------------------------------------------------------------- 
    209141      Notes libcurl : used to support WMS client connection 
    210       Mapserver 3.7 is using libcurl instead of libwww for WMS client 
     142      Mapserver 4.x is using libcurl instead of libwww for WMS client 
    211143      support 
    212144--------------------------------------------------------------------  
     
    215147  Quick notes on how to build the library using MSVC++: 
    216148 
    217   - Download and extract the library (at this time it is know to work  
    218     with version 7.10.2
     149  - Download and extract the library (at this time it is known to work  
     150    with version 7.10.2 or more recent
    219151  - Open the workspace curlib.dsw located under curl-XXX/lib 
    220152  - Build libcurl.dll. Note that the default active configuraion of the project 
     
    223155 
    224156   
    225   Notes on mapserver's makefile.vc modifications : 
     157  Notes on mapserver's nmake.opt modifications : 
    226158 
    227159  - uncomment the flag WMSCLIENT= -DUSE_WMS_LYR 
     
    264196  
    265197 2) Build mapserver with PDF 
    266   - uncomment in the makefile.vc the flags related to PDF 
    267  
    268  
     198  - uncomment in the nmake.opt the flags related to PDF 
    269199 
    270200 
  • trunk/mapserver/README.WIN32

    r1737 r2390  
    2121-------------------------------------------------------------------- 
    2222 
    23 For the developers using MSVC++, a NMAKE makefile (Makefile.vc) to 
    24 build the MapServer library and executable programs is included with 
     23For the developers using MSVC++, a NMAKE makefile (Makefile.vc + nmake.opt) 
     24to build the MapServer library and executable programs is included with 
    2525the distribution.  
    2626 
    2727To build the package using the Makefile.vc and NMAKE: 
    2828 
    29  - Edit Makefile.vc to select (or deselect) optional components of  
     29 - Edit nmake.opt to select (or deselect) optional components of  
    3030   the MapServer.  Please read the notes below about each component 
    3131   before you move ahead with the compilation. 
     
    6464 
    6565  If you are using a different version of GD, then it is very important 
    66   to make sure that you update the -DUSE_GD_* flags in all the Makefile.vc
     66  to make sure that you update the -DUSE_GD_* flags in the nmake.opt
    6767 
    6868  You'll have to compile your own GD library with the options you want, 
     
    8989      ftp://ftp.gnu.org/pub/gnu/regex/regex-0.12.tar.gz 
    9090 
    91   The default case in the Makefile.vc is set to compile with GNU  
     91  The default in the nmake.opt is set to compile with GNU  
    9292  regex-0.12 located in the "regex-0.12" directory. 
    9393 
     
    122122   the library. 
    123123 
    124  - make sure the value of the -DUSE_GD_* flag in the gdft/Makefile.vc  
    125    matches the version of GD that you are building with. 
    126  
    127  - directory ./mapserver/gdft should not be compiled with DEBUG option 
    128124 
    129125-------------------------------------------------------------------- 
     
    138134     the directory where the epsg file is located 
    139135   * if you build this module, at the top of the makefile (./src/makefile.vc), you 
    140      can set the PROJ_LIB variable and this setting will be used to locates the 
    141      files.   
     136     can set the PROJ_LIB variable and this setting will be used to  
     137     locate the proj support files.   
    142138 
    143139   
    144  
    145 -------------------------------------------------------------------- 
    146       Notes libwww : used to support WMS client connection 
    147       Depricated. Please refer to notes on libcurl below 
    148 --------------------------------------------------------------------  
    149   - the libaray is located at  http://www.w3.org/Library/  
    150  
    151  Notes on how to build it using MSVC: 
    152  
    153   - before starting please refer to http://www.w3.org/INSTALL.html#Windows 
    154  
    155   - Get the source code from CVS 
    156   - Get the latest MSVC makefiles 
    157   - Do the "bootstrap mechanism" : (http://www.w3.org/Library/cvs.html#Boot).  
    158     You will need a Perl module for this. 
    159   - you can then compile by opening the libwww/windows/world.dsw workspace  
    160     and do a batch build of the whole thing. 
    161  
    162  other notes :  I had to define #define WWW_MSWINDOWS 1 in wwwsys.h  
    163  before compiling. 
    164  
    165  Notes on mapserver's makefile.vc modifications : 
    166  
    167   - flag to add : -DUSE_WMS_LYR 
    168   - include : -I../Libwww/library/src -I../libwww/modules/expat/xmlparse 
    169   - libararies : ../Libwww/bin/wwwcore.lib ../Libwww/bin/wwwapp.lib  
    170                 ../Libwww/bin/wwwinit.lib ../Libwww/bin/wwwutils.lib 
    171  
    172  Installation : 
    173  
    174  - The best way is to get a precomiled binaries from the site. There is an  
    175    windows install available at :   
    176         ftp://ftp.idm.ru/libwww/Libwww_V5.3.2.exe 
    177  
    178  - copy the following dll to a location where dll's can be loaded  
    179   (ex : c:/winnt/syetem32) : gnu_regex.dll xmlparse.dll xmltok.dll  
    180    (these dlls should be in .libwww/library/external after the build or  
    181     available in your install directory) 
    182  
    183  - You also needs the following dll files. These file are installed in your system directory when you install Libwww : 
    184  
    185         * wwwapp.dll 
    186         * wwwcache.dll 
    187         * wwwcore.dll 
    188         * wwwdir.dll 
    189         * wwwdll.dll 
    190         * wwwfile.dll 
    191         * wwwftp.dll 
    192         * wwwgophe.dll 
    193         * wwwhtml.dll 
    194         * wwwhttp.dll 
    195         * wwwinit.dll 
    196         * wwwmime.dll 
    197         * wwwmux.dll 
    198         * wwwnews.dll 
    199         * wwwstream.dll 
    200         * wwwtelnt.dll 
    201         * wwwtrans.dll 
    202         * wwwutils.dll 
    203         * wwwwais.dll 
    204         * wwwxml.dll 
    205         * wwwzip.dll 
    206  
    207  
    208140-------------------------------------------------------------------- 
    209141      Notes libcurl : used to support WMS client connection 
    210       Mapserver 3.7 is using libcurl instead of libwww for WMS client 
     142      Mapserver 4.x is using libcurl instead of libwww for WMS client 
    211143      support 
    212144--------------------------------------------------------------------  
     
    215147  Quick notes on how to build the library using MSVC++: 
    216148 
    217   - Download and extract the library (at this time it is know to work  
    218     with version 7.10.2
     149  - Download and extract the library (at this time it is known to work  
     150    with version 7.10.2 or more recent
    219151  - Open the workspace curlib.dsw located under curl-XXX/lib 
    220152  - Build libcurl.dll. Note that the default active configuraion of the project 
     
    223155 
    224156   
    225   Notes on mapserver's makefile.vc modifications : 
     157  Notes on mapserver's nmake.opt modifications : 
    226158 
    227159  - uncomment the flag WMSCLIENT= -DUSE_WMS_LYR 
     
    264196  
    265197 2) Build mapserver with PDF 
    266   - uncomment in the makefile.vc the flags related to PDF 
    267  
    268  
     198  - uncomment in the nmake.opt the flags related to PDF 
    269199 
    270200