[Cartoweb-users] Can't load mapscript library - Suse 10

Pebble Puppy pebble_puppy at hotmail.com
Fri Apr 7 08:12:07 EDT 2006


Hi Frequens,

Yeah, my housekeeping probably leaves something to be desired.  :-)  I would 
like to have things cleaner, so I appreciate your tips.

As I've been building my system I've been using a convention of putting the 
source files in /usr/local which is why the Mapserver source is there.  It's 
convenient for me but I would agree it's probably not good to mix the source 
and binaries in one area.  What is your recommended location for source 
files?

Installing Cartoweb in /srv/www/htdocs/ so that the path is 
/srv/www/htdocs/cartoweb is a new one on me.  I don't recall seeing mention 
of doing that, but my not doing that may also reflect my newness to entire 
process.  I will unpack the .tgz into that directory and try again.  Thanks 
for the suggestion!

I totally agree that having php_mapscript.po in my cartoweb htdocs directory 
is not the intended location.  I still have something amiss in a config that 
I need to try to sort out.  At least it's working now so I have a starting 
point from which to start some testing.

THANK YOU again for your patience and assistance.  BTW, I have some visitors 
coming in today, so I may be offline for a few weeks before I can get back 
to this and/or reply to messages.

Best regards, Robert




>
>On 4/7/06, Pebble Puppy <pebble_puppy at hotmail.com> wrote:
> > Aha!  Got it!  The apache log was the clue...the current directory that 
>it
> > was looking for is the directory which contained client.php.
> >
> > Once I copied php_mapscript.so into /usr/local/cartoweb3/htdocs then in 
>a
> > browser ran http://localhost/cartoweb/client.php the client web page 
>came
> > up.  Not sure if this is the correct configuration, but at least I'm 
>this
> > far.
> >
>
>Still, it looks you have got a decent mess there :-)
>
>/usr/local/mapserver-4.8.2/mapscript/php3 is a mapserver souce/compile
>directory and should not be in /usr/local
>
>having cartoweb3 in /usr/local/ is also rather weird, the usual
>location on Suse10 would be /srv/www/htdocs/carto.....
>
>php_mapscript.so in the cartoweb3 web directory
>/usr/local/cartoweb3/htdocs is also unusual and generally means your
>mapscript is only available to cartoweb
>
>I would suggest sorting things out nice/clean/tidy as the problems
>usually pile up next time.
>With multiple versions of files lying around, you are on the road.
>
>BR
>
>frequens
>




More information about the Cartoweb-users mailing list