[mapserver-users] Problem compiling Mapserver w/ PHP Mapscript on Solaris 2.6

Andries J. Algera aalgera at ibama.gov.br
Tue Aug 21 11:13:15 EDT 2001


Worked fine, thanks for the help.

Andries

On Tue, 21 Aug 2001, Daniel Morissette wrote:

> "Andries J. Algera" wrote:
> > 
> > I sucessfully compiled mapserver 3.5 on linux (Redhat). Whenever I try to
> > do the same steps on solaris 2.6 I get the following errors at link time
> > of the PHP module.
> > 
> > gcc  -W -Wl -o php_mapscript.so php_mapscript_util.o php_mapscript.o
> > mapscript_i
> > .o  -L/home/aalgera/mapserver -lmap       -ltiff -lgd    -lm
> 
> 
> The part of the configure script that takes care of the PHP module needs
> some rework...
> 
> Look in mapscript/php3/Makefile for the line "LD= gcc -W -Wl" and try
> replacing it with "LD= gcc -shared" ... hopefully that will do the
> trick.
> 
> -- 
> ------------------------------------------------------------
>  Daniel Morissette               morissette at dmsolutions.ca
>  DM Solutions Group              http://www.dmsolutions.ca/
> ------------------------------------------------------------
>   Don't put for tomorrow what you can do today, because if 
>       you enjoy it today you can do it again tomorrow.
> 

--------------------------------------------------------------------
Andries Algera
CSR - IBAMA
SAIN L4, Lote 4, Ed. IBAMA Sede
70800.200  Brasilia / DF
BRASIL
ph: +5561 316-1326
          316-1453
fax:+5561 223-7108
--------------------------------------------------------------------




More information about the mapserver-users mailing list