[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Pkg-grass-general] libcurl errors on our build of mapserver



On Tue, 2005-03-15 at 11:04 -0500, Steve Halasz wrote:
> On Tue, 2005-03-15 at 07:37 -0800, Jon Saints wrote:
> > It seems that a recent update and upgrade of my debian
> > sarge may have broken the mapserver version that I
> > have installed from the Debian GIS repository.
> > 
> > Trying to run mapserver from the command line now is
> > giving me errors like
> > 
> > /usr/lib/libcurl.so: undefined reference to
> > `tld_strerror'
> > 
> > I am using version 7.13.1-1 of libcurl3-dev
> > 
> > Anyone else having this trouble? 
> 
> I get the same error. It looks like a known bug with libidn11:
> 
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=299348
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=299319
> 

I installed libidn11 from unstable(using apt-pinning) and everything
went fine.

apt-get install libidn11-dev/unstable libidn11/unstable 

That is until...

checking whether we have PHP3 or PHP4... -DPHP4
checking whether we should use PHP's regex... yes
configure: error:
!!! You PHP was compiled with PHP's bundled regex
library.               !!!
!!! In this case MapServer and PHP MapScript must also be
compiled       !!!
!!! using the same copy of
regex.                                        !!!
!!! There are two possible ways to get rid of this
error:                !!!
!!! 1- Download/extract and build the PHP source on your system (no
need !!!
!!!    to 'make install') and use the --with-php-regex-dir=DIR
configure !!!
!!!    option to specifiy the location of the PHP source tree where
the  !!!
!!!    regex/*.o files are located.  This is the only way to
build       !!!
!!!    PHP MapScript in an environment where PHP is configured as
an     !!!
!!!    Apache
DSO.                                                       !!!
!!! 2- Try to re-configure and re-compile PHP4 using
--with-regex=system !!!
!!!    and then re-configure and re-compile
MapServer.                   !!!
!!!    Note that PHP's --with-regex=system works only when PHP
is        !!!
!!!    is configured as a CGI (that is without the --with-apxs
and       !!!
!!!    --with-httpd options). So if you configured your PHP
using        !!!
!!!    --with-regex=system and still get this error then make sure
you   !!!
!!!    configured PHP as a
CGI.                                          !!!
make: *** [configure-php-stamp] Error 1



> 
> > I have started trying to rebuild the mapserver package
> > for DebianGIS (because Thomas no longer is working on
> > the project). I get simillar errors when compiling.
> > 
> > Thanks
> > Jon
> > 
> > _______________________________________________
> > Pkg-grass-general mailing list
> > Pkg-grass-general@lists.alioth.debian.org
> > http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-general
> 
> 
> _______________________________________________
> Pkg-grass-general mailing list
> Pkg-grass-general@lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-general




Reply to: