Running different versions on Windows simultaneously

Jacob Delfos jacob.delfos at MAUNSELL.COM
Sat Jun 18 00:08:36 PDT 2005


Hi Bart,

I must have been doing something wrong...... though I'm not sure what.

I did attempt compiling php_mapscript, but in version 44 (which I use 
for chameleon) I ran into issues (with proj4) which were only fixed in 
version 46. I actually compiled gdal to produce a dll with a different 
name, and compiled php_mapscript_46 against it, so I could have both 
versions without name conflicts or version conflicts. Problem was the 
ecw dll's still had the same name, even though they were not compatible 
between version beta 3.1 and beta 3.2. So I still could not run them 
side by side.

Do you keep the mapscript dll's and all dependent dll's in one directory?

thanks,

Jacob


-----Original Message-----
From: UMN MapServer Users List
To: MAPSERVER-USERS at LISTS.UMN.EDU
Sent: 6/17/2005 5:16 PM
Subject: Re: [UMN_MAPSERVER-USERS] Running different versions on Windows 
simultaneously

Hi Jacob,

I have never run into the issue of needing to put gdal12.dll in the
system32 directory, and I have done several installs lately, on both IIS
(4 and 6) and Apache.

You could recompile all Mapserver/Mapscript extensions to use the same
GDAL release (plus nmake options) but I don't know if that is an option
for you.

Best regards,
Bart

Btw there is a partly related Mapserver enhancement bug for this:
http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=545

Bart van den Eijnden
Syncera IT Solutions
Postbus 270
2600 AG  DELFT

tel.nr.: 015-7512436
email: BEN at Syncera-ITSolutions.nl

 >>> Jacob Delfos <jacob.delfos at MAUNSELL.COM> 06/17/05 10:52am >>>
Hi All,

I am about to set up a new internal server for running mapserver-based
sites, and I am trying to do it such that I can run different versions
of php_mapscript (and mapserver).

The problem I am running into is that certain versions of the dll are
compiled against certain of its dependent dll's. For example,
php_mapscript_46 works fine with the gdal12.dll that comes with it, but
not with the dll I compiled for php_mapscript_44. And one gdal12.dll
will only work with the ecw dll's it was compiled with.

I have tried keeping them in separate directories. This nearly worked,
but for some reason gdal12.dll MUST sit in the windows System directory
(even if you set up your paths correctly). I cannot just sit with the
php_mapscript dll. The same goes for some other dll's. Even if the
dependency walker says that all is fine, the website will not run unless
it sits in system32.

Has anyone been able to implement this more successfully? Any tips?

Regards,

Jacob



JACOB DELFOS
SPATIAL INFORMATION ANALYST
Maunsell Australia Pty Ltd
629 Newcastle Street, Leederville, WA 6007
PO Box 81, Leederville, WA 6902
Western Australia
ABN 20 093 846 925

Tel     + 61 8 9281 6185
Fax    + 61 8 9281 6297
jacob.delfos at maunsell.com



More information about the MapServer-users mailing list