Problems compiling nightly build
Daniel Morissette
morissette at dmsolutions.on.ca
Tue Nov 7 06:15:08 PST 2000
Tim,
There appears to be an intermittent problem with the configure script
that I haven't been able to reproduce myself. Until it's fixed, there
is a workaround that works for RH users... find the following lines in
the file configure.in:
AC_MSG_CHECKING([whether 'perl -V' works])
if (perl -V > /dev/null 2>&1) ; then
AC_MSG_RESULT(yes)
AC_LD_SHARED_FROM_PERL
PHP_CC="$PERL_CC"
PHP_LD="$PERL_LD"
else
AC_MSG_RESULT(no)
AC_COMPILER_PIC
AC_LD_SHARED
PHP_CC="$CC $C_PIC"
PHP_LD="$LD_SHARED"
fi
and remove the first case in the if(), to keep only:
AC_COMPILER_PIC
AC_LD_SHARED
PHP_CC="$CC $C_PIC"
PHP_LD="$LD_SHARED"
Then run 'autoconf' and re-run configure.
--
------------------------------------------------------------
Daniel Morissette morissette at dmsolutions.on.ca
http://www.dmsolutions.on.ca/
------------------------------------------------------------
Don't put for tomorrow what you can do today, because if
you enjoy it today you can do it again tomorrow.
Tim and Marcelle Sutton wrote:
>
> Hi
>
> I am trying to compile the nightly build of a few days back on RH7.0 / PHP4
>
> I get the following error:
>
> _______________________________________________________________
> checking for location of config.h or php_config.h...
> /usr/local/src/php-4.0.2/php_config.h
> checking whether we have PHP3 or PHP4... -DPHP4
> checking whether we should use PHP's regex... no
> PHP/MapScript module configured.
> checking for location of Apache headers using apxs... -I/usr/include/apache
> creating ./config.status
> creating Makefile
> sed: file conftest.s1 line 74: Unterminated `s' command
> creating gdft/Makefile
> sed: file conftest.s1 line 74: Unterminated `s' command
> creating mapscript/php3/Makefile
> sed: file conftest.s1 line 74: Unterminated `s' command
> _______________________________________________________________
>
> Can anyone point out for me how what the problem may be?
>
> I compiled PHP4 with:
>
> ./configure --with-system-regex --with-mysql --with-apxs
> --with-config-file-path=/etc/httpd
> --with-unixODBC=/usr/local/easysoft/unixODBC --with-esoob
> --with-sybase-ct=/opt/sybase-11.9.2 --enable-dbase && make && make install
>
> and Mapserver with:
>
> ./configure --with-gd --with-jpg --with-ttf --with-proj --with-apxs
> --with-php=/usr/local/src/php-4.0.2
> make
>
> Many thanks
>
> Tim Sutton
>
> tim @ linuxuser.co.za
> --
> Confucius say too much.
> -- Recent Chinese Proverb
More information about the MapServer-users
mailing list