[Xapian-discuss] problem compiling xapian-bindings-0.8.0 on FreeBSD 5.2.1
Samuel Liddicott
samjam@gmail.com
Fri Jun 25 11:28:03 BST 2004
This is probably my fault; I wrote the swig code that generates the
config.m4 that phpize uses.
In the old days m4 and autoconf and pals were very lax about syntax,
and I never understood autoconf files anyway, so I just caused swig to
write config.m4 after the pattern php was using at the time.
You probably want to compare the generated config.m4 to those in the
php source of NEWER php modules and make any syntax fixups needed and
then re-run phpize.
Sam
On Thu, 24 Jun 2004 17:16:32 +0100, James Cronin <james@unfortu.net> wrote:
>
> OK,
>
> I admit this is probably more of a problem with my complete inability
> to understand how on earth libtool works (God I hate libtool).
>
> I've a FreeBSD 5.2.1 system that I'm trying to get the PHP Xapian
> bindings compiled up on. (it's for www.theyworkforyou.com)
>
> Interesting things:
>
> gcc - 3.3.3
> automake - 1.8.5
> autoconf - 2.59
> libtool - 1.5.6
>
> my configure arguments are --without-python
>
> when I do a make in xapian-bindings-0.8.0 I get:
>
> ...
>
> ./../xapian.i:481: Warning(501): Overloaded declaration ignored. const Xapian::Enquire::get_matching_terms_end(Xapian::MSetIterator const &)
> ./../xapian.i:479: Warning(501): Previous declaration is const Xapian::Enquire::get_matching_terms_end(Xapian::docid)
> make all-am
> cd xapian && /usr/local/bin/phpize
> configure.in:9: warning: underquoted definition of PHP_WITH_PHP_CONFIG
> run info '(automake)Extending aclocal'
> or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal
> configure.in:32: warning: underquoted definition of PHP_EXT_BUILDDIR
> configure.in:33: warning: underquoted definition of PHP_EXT_DIR
> configure.in:34: warning: underquoted definition of PHP_EXT_SRCDIR
> configure.in:35: warning: underquoted definition of PHP_ALWAYS_SHARED
> acinclude.m4:19: warning: underquoted definition of PHP_PROG_RE2C
> configure.in:65: error: possibly undefined macro: AC_PROG_LIBTOOL
> If this token and others are legitimate, please use m4_pattern_allow.
> See the Autoconf documentation.
> *** Error code 1
>
> Stop in /root/src/xapian-bindings-0.8.0/php4.
> *** Error code 1
>
> Stop in /root/src/xapian-bindings-0.8.0/php4.
> *** Error code 1
>
> Stop in /root/src/xapian-bindings-0.8.0.
> *** Error code 1
>
> Stop in /root/src/xapian-bindings-0.8.0.
>
> Any ideas for a next step?
>
> Ta,
>
> J.
>
> _______________________________________________
> Xapian-discuss mailing list
> Xapian-discuss@lists.xapian.org
> http://lists.xapian.org/mailman/listinfo/xapian-discuss
>
>
More information about the Xapian-discuss
mailing list