[Date Prev][Date Next] [Chronological] [Thread] [Top]

[Mapserver-users] Fwd: ./configure bug



FYi, I ran accross this as well, but got it to work fine once I caught on to
the change in the configure otpion ...

One problem you might be having is with the cache of the configure script.

In your PHP source tree root, remove config.cache and run your configure
again, that should do it!

And on that note, don't use the APXS build method, MapServer will complain
about that too :) It has to be built as a CGI.

Hope this helps,
J.F.

-----Original Message-----
From: Daniel Morissette [mailto:morissette@dmsolutions.ca]
Sent: Thursday, January 02, 2003 3:12 PM
To: richard hornsby
Cc: mapserver-users@lists.gis.umn.edu
Subject: Re: [Mapserver-users] Fwd: ./configure bug



I have created a bug about this in bugzilla:
http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=252

Can you please review my comment in the bug report and provide the
information that I listed there to help us reproduce the problem?

Thanks

Daniel


> Subject: ./configure bug
> Date: Mon, 30 Dec 2002 16:19:04 -0500 (EST)
> From: richard hornsby <rhornsby@io.osuedc.org>
> To: mapserver-bugs@lists.gis.umn.edu
> 
> I think I'll be able to work around this, but this error is coming up when
> trying to ./configure MapServer:
> 
> !!! The current version of PHP MapScript has some problems with       !!!
> !!! PHP4's bundled regex.  Until we figure the solution to the        !!!
> !!! problem, the workaround is to compile PHP4 with the system regex  !!!
> !!! Please re-configure and re-compile PHP4 with --with-system-regex  !!!
> !!! and then re-configure and re-compile MapServer.                   !!!
> 
> The '--with-system-regex' option in PHP is deprecated, and has been
> superceded by '--with-regex=system'
> 
> ie, my PHP ./configure looks like:
> 
>  './configure' '--with-apxs=/usr/local/apache/bin/apxs'
> '--enable-trans-sid' '--enable-track-vars' '--with-gd' '--with-pdflib'
> '--with-jpeg-dir' '--with-tiff-dir' '--with-pspell' '--with-freetype-dir'
> '--enable-gd-native-ttf' '--with-png-dir' '--with-zlib-dir' '--with-ttf'
> '--with-regex=system'
> 
> but the MapServer script complains.  :)
> 
> thanks for your time!
> -rj
> 
> --
> Information Center, n.:
>         A room staffed by professional computer people whose job it is to
>         tell you why you cannot have the information you require.
> 
> rj hornsby . systems engineer . www.osuedc.org
> human and community resource development
> p 614 688 8761 . f 614 688 8762
>
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users

From Norman Vine" <nhv@cape.com  Thu Jan  2 20:52:19 2003
From: Norman Vine" <nhv@cape.com (Norman Vine)
Date: Thu, 2 Jan 2003 15:52:19 -0500
Subject: [Mapserver-users] MDK9 (gcc3): undefined reference to `__gxx_personality_v0'
References: <Pine.LNX.4.44.0301021447140.22895-100000@io.osuedc.org>
Message-ID: <04c701c2b2a0$d8df9cc0$1436ba8c@sfdev3>

richard hornsby writes:
>
> ref gcc version 3.2 (Mandrake Linux 9.0 3.2-1mdk)
> ref mapserver 3.6.3
> 
> Checking the mailing list archives and realizing that this seems to be a
> common problem with GCC 3 not understanding what 'personality_v0' is or
> whatever, and seeing all the stuff about changing the makefile to point to
> g++ in the problem areas, what I can't figure out is:
> 
>  - what lines (by number if possible) in the Makefile need to be changed,
> so that those who are trying aren't changing the wrong lines?
> 
>  - does it actually do anything to change lines in the Makefile to point
> to g++ in linux?  ie, I get the same version response whether I ask 'gcc
> -v' or 'g++ -v'?

this keeps coming up so I hope the following can be used as
the basis for a FAQ entry  or even better for changes to be 
made in the mapserver Makefile 
  < please clean up as necessary >

g++ and c++ are just driver programs that call the actual compiler
g++ automatically links with -lstdc++ whereas gcc does not

so since the some of the libraries mapserver link with are C++
libraries you need to link with libstdc++ to link successfuly 

You can accomplish this  by either 

1) changing the Makefile so that g++ is called for the linking stage
    of the mapserver executables

2) adding -lstdc++ to the list of libraries thesse executables are
    linked against
 
>  - is it possible to install and use gcc 2.9.x concurrently with gcc 3.x,
> and therefore compile mapserver with the gcc 2.9.x, all *without*
> breaking the existing installation of gcc 3.x?  if so, could someone point
> out where the documentation on howto do this is?

http://gcc.gnu.org/fom_serv/cache/14.html

HTH

Norman