[Mapserver-users] Re: Compilation problems
Jordy Keighan
jkeighan at cubewerx.com
Tue Jul 8 08:36:44 PDT 2003
--------------010003080303070208030803
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Ok, I used mapserv-3.6.6
with : ./configure
--with-tiff
--with-jpeg
--with-zlib
--with-png
--with-freetype=/usr/local/freetype-1.3.1
--enable-force-freetype1
--with-eppl
--with-proj=/usr/local/proj-4.4.7
--with-gdal=/usr/local/gdal-1.1.8/apps/gdal-config --with-wmsclient
-with-php=/usr/local/php-4.2.3
--with-gd=/usr/local/gd-1.8.4
--with-ogr=/usr/local/gdal-1.1.8/apps/gdal-config
when i run info.phtml its telling me that i'm using
MapServer version 3.7 (development) OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
SUPPORTS=TTF INPUT=TIFF INPUT=EPPL7 INPUT=JPEG INPUT=SHAPEFILE
without PROJ ...
the error i'm getting is : (though it creates the php_mapscript.so file)
/usr/local/mapserver-3.6.6/maptemplate.h:16: warning: `inchesPerUnit'
defined but not used
gcc -shared -L/usr/local/lib -rdynamic-Wl -o php_mapscript.so
php_mapscript_util.o php_mapscript.o mapscript_i.o
-L/usr/local/mapserver-3.6.6 -lmap -L/usr/local/lib -lwwwxml -lxmltok
-lxmlparse -lwwwinit -lwwwapp -lwwwhtml -lwwwtelnet -lwwwnews -lwwwhttp
-lwwwmime -lwwwgopher -lwwwftp -lwwwfile -lwwwdir -lwwwcache -lwwwstream
-lwwwmux -lwwwtrans -lwwwcore -lwwwutils -lmd5 -ldl
-L/usr/local/gdal-1.1.8 -lgdal.1.1 -lgif -ljpeg -lpng -lz -lm -ldl
-L/usr/local/lib -lm -L/usr/local/proj-4.4.7/src/.libs -lproj -ltiff
-ljpeg -lfreetype -lpng -lz -L/usr/local/gd-1.8.4 -lgd -ljpeg -lfreetype
-lpng -lz -ljpeg -lm -lstdc++
gcc: unrecognized option `-rdynamic-Wl'
make[1]: Leaving directory `/usr/local/mapserver-3.6.6/mapscript/php3'
Jean-Francois.Doyon at CCRS.NRCan.gc.ca wrote:
>Jordy,
>
>Well, with MapServer 3.6, you're better off with GD 1.84 and Freetype 1 ...
>
>Also, there's issues with RedHat 9 (More precisely GCC 3.x) and MapServer
>...
>
>Could you provide more detailed information on the errors you're getting ?
>
>J.F.
>
>-----Original Message-----
>From: Jordy Keighan [mailto:jkeighan at cubewerx.com]
>Sent: Monday, July 07, 2003 3:33 PM
>To: mapserver-users at lists.gis.umn.edu
>Subject: [Mapserver-users] Compilation problems
>
>
>Hi i'm running Redhat 9 with maplab2.0.1
>i've been told that maplab does not support mapserv 3.7 and 4.0
>i tried to install mapserv 3.6 but i am unable to compile it.
>
>here is my mapserv configure string :
> ./configure --with-tiff --with-jpeg --with-zlib --with-png
>--with-freetype --with-eppl --with-proj=/usr/local/proj-4.4.7
>--with-gdal=/usr/local/gdal-1.1.8/apps/gdal-config --with-wmsclient
>-with-php=/usr/local/php-4.2.3 --with-gd=/usr/local/gd-2.0.15gif
>--with-ogr=/usr/local/gdal-1.1.8/apps/gdal-config
>
>
>what should i do ??? what version of mapserv do i realy need to use.
>
>thxs jordy
>
>_______________________________________________
>Mapserver-users mailing list
>Mapserver-users at lists.gis.umn.edu
>http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>
>
>
--------------010003080303070208030803
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
</head>
<body>
Ok, I used mapserv-3.6.6<br>
<br>
with : ./configure<br>
--with-tiff <br>
--with-jpeg <br>
--with-zlib <br>
--with-png<br>
--with-freetype=/usr/local/freetype-1.3.1 <br>
--enable-force-freetype1<br>
--with-eppl<br>
--with-proj=/usr/local/proj-4.4.7<br>
--with-gdal=/usr/local/gdal-1.1.8/apps/gdal-config --with-wmsclient<br>
-with-php=/usr/local/php-4.2.3 <br>
--with-gd=/usr/local/gd-1.8.4<br>
--with-ogr=/usr/local/gdal-1.1.8/apps/gdal-config<br>
<br>
when i run info.phtml its telling me that i'm using <br>
<font face="Arial, Helvetica, sans-serif" size="2" color="#000000">MapServer
version 3.7 (development) OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=TTF
INPUT=TIFF INPUT=EPPL7 INPUT=JPEG INPUT=SHAPEFILE<br>
</font>without PROJ ...<br>
<br>
the error i'm getting is : (though it creates the php_mapscript.so file)<br>
<br>
/usr/local/mapserver-3.6.6/maptemplate.h:16: warning: `inchesPerUnit' defined
but not used<br>
gcc -shared -L/usr/local/lib -rdynamic-Wl -o php_mapscript.so php_mapscript_util.o
php_mapscript.o mapscript_i.o -L/usr/local/mapserver-3.6.6 -lmap -L/usr/local/lib
-lwwwxml -lxmltok -lxmlparse -lwwwinit -lwwwapp -lwwwhtml -lwwwtelnet -lwwwnews
-lwwwhttp -lwwwmime -lwwwgopher -lwwwftp -lwwwfile -lwwwdir -lwwwcache -lwwwstream
-lwwwmux -lwwwtrans -lwwwcore -lwwwutils -lmd5 -ldl -L/usr/local/gdal-1.1.8
-lgdal.1.1 -lgif -ljpeg -lpng -lz -lm -ldl -L/usr/local/lib -lm -L/usr/local/proj-4.4.7/src/.libs
-lproj -ltiff -ljpeg -lfreetype -lpng -lz -L/usr/local/gd-1.8.4 -lgd -ljpeg
-lfreetype -lpng -lz -ljpeg -lm -lstdc++<br>
<font color="#ff0000">gcc: unrecognized option `-rdynamic-Wl'</font><br>
make[1]: Leaving directory `/usr/local/mapserver-3.6.6/mapscript/php3'<br>
<br>
<br>
<a class="moz-txt-link-abbreviated"
href="mailto:Jean-Francois.Doyon at CCRS.NRCan.gc.ca">Jean-Francois.Doyon at CCRS.NRCan.gc.ca</a>
wrote:<br>
<blockquote type="cite"
cite="mid7CDD7B94357FD5119E800002A537C46E230893 at s5-ccr-r1.ccrs.nrcan.gc.ca">
<pre wrap="">Jordy,
Well, with MapServer 3.6, you're better off with GD 1.84 and Freetype 1 ...
Also, there's issues with RedHat 9 (More precisely GCC 3.x) and MapServer
...
Could you provide more detailed information on the errors you're getting ?
J.F.
-----Original Message-----
From: Jordy Keighan [<a class="moz-txt-link-freetext"
href="mailto:jkeighan at cubewerx.com">mailto:jkeighan at cubewerx.com</a>]
Sent: Monday, July 07, 2003 3:33 PM
To: <a class="moz-txt-link-abbreviated"
href="mailto:mapserver-users at lists.gis.umn.edu">mapserver-users at lists.gis.umn.edu</a>
Subject: [Mapserver-users] Compilation problems
Hi i'm running Redhat 9 with maplab2.0.1
i've been told that maplab does not support mapserv 3.7 and 4.0
i tried to install mapserv 3.6 but i am unable to compile it.
here is my mapserv configure string :
./configure --with-tiff --with-jpeg --with-zlib --with-png
--with-freetype --with-eppl --with-proj=/usr/local/proj-4.4.7
--with-gdal=/usr/local/gdal-1.1.8/apps/gdal-config --with-wmsclient
-with-php=/usr/local/php-4.2.3 --with-gd=/usr/local/gd-2.0.15gif
--with-ogr=/usr/local/gdal-1.1.8/apps/gdal-config
what should i do ??? what version of mapserv do i realy need to use.
thxs jordy
_______________________________________________
Mapserver-users mailing list
<a class="moz-txt-link-abbreviated"
href="mailto:Mapserver-users at lists.gis.umn.edu">Mapserver-users at lists.gis.umn.edu</a>
<a class="moz-txt-link-freetext"
href="http://lists.gis.umn.edu/mailman/listinfo/mapserver-users">http://lists.gis.umn.edu/mailman/listinfo/mapserver-users</a>
</pre>
</blockquote>
<br>
</body>
</html>
--------------010003080303070208030803--
More information about the MapServer-users
mailing list