[ka-Map-users] Re: Gentoo, php, php_mapscript?
Steve Walker
walker at mfgis.com
Mon Nov 27 12:45:29 EST 2006
> (2) After I build the latest mapserver (which works to make a png),
> what exactly do I do to install mapscript such that Ka-map can use it?
>
> (2.1) I think: copy mapserver-dir/php3/php_mapscript.so to
> somewhere, but where is that? Is there a standard in /usr/local so
> that I can avoid the main tree? (And I the "php3" name makes me
> nervous, too.)
>
> (2.2) I think also: I just change the name in config to match, and
> the standard place does its magic?
>
> Thanks, and if I get it running I will post on the wiki.
For what it's worth, on my Debian system the mapscript location is
/usr/lib/php4/20050606
I personally was stuck quite a while here. New builds of mapserver (such
as with ECW and SID support) never seemed to function properly. Finally I
realized that I had failed to install the new php_mapscript.so to the
above folder, so mapserver was never seeing the ECW/SID support and would
fail to draw these images.
-steve
>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 27 Nov 2006 16:07:22 +0400
> From: Yahya Mohammad <yahya at atc-me.com>
> Subject: Re: [ka-Map-users] Gentoo, php, php_mapscript?
> To: ka-map-users at lists.maptools.org
> Message-ID: <200611271607.22893.yahya at atc-me.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi,
> It looks like you installed mapserver from the sources.
> If you search gentoo bugzilla there is a mapserver ebuild which worked
> very
> well for me a few months ago... It looks like it's in the main tree under
> testing now: http://packages.gentoo.org/search/?sstring=mapserver . So all
> you need to do is sync your portage tree, add ~x86 to you
> package.keywords,
> set USE flags and run "emerge mapserver", without worrying about where to
> place the mapscript module.
> I'm using php5 without any problems. afaik the php3 name in the sources
> doesn't mean anything anymore.
>
> Regards
--
Steve Walker
Middle Fork Geographic Information Services
walker at mfgis.com
360-671-2505
More information about the ka-Map-users
mailing list