[mapserver-users] Re: Welcome to mapserver-users
chris_faulkner@anytimenow.com
chris_faulkner@anytimenow.com
Tue, 11 Jun 2002 23:22:38 +0100 (GMT Daylight Time)
--------------Boundary-00=_QHBK530L3AE9RBNE24L0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Hi
I am on Mandrake 8.1. I have compiled MapServer 3.6 and got the simple cg=
i demo working. I am now having a serious headache trying to get php_maps=
cript to work - I'd be grateful for help.
It compiles fine, against a php 4.2.1 source directory. I had to modify t=
he "CC" flag in the Makefile there are two "cc"s in it, but I found the a=
nswer to this one on the mail archives. I then also got this error=20
cc: unrecognized option `-rdynamic-Wl'
but I just put a space in there betweem rdynamic-Wl and it seems to go OK=
=2E Now, I am not a C programmer so this has taken some time to sort out.=
=20
Anyway, I put the php_mapscript.so into the correct place but when I hit =
the test page, nothing comes back and I see an error in my Apache error_l=
og
[Tue Jun 11 22:52:14 2002] [notice] child pid 11968 exit signal Segmentat=
ion fault (11). I know the .so is in the correct place because the first =
time I tried the page, I got the phpinfo stuff and a warning that the .so=
could not be found.
I see that someone else had the same problem in May 2000 but there was no=
thing in a follow up thread.=20
So what can I do now ?
I have read the DM Solutions FAQ which is generally useful but since I do=
n't know whether my PHP was compiled with DSO or whether Apache was compi=
led with -DEAPI its difficult to know what to do with my -rdynamic flags =
!! I'm just a simple guy who installed from the Mandrake CD !! I have tri=
ed with and without the apxs flag but it made no difference (Which involv=
ed an install of Apache development - more effort and time !).
Why is it not possible to supply the .so for the most common platforms ? =
This would save a lot of people a lot of time.
Thanks
Chris
--------------Boundary-00=_QHBK530L3AE9RBNE24L0--