[PHP-DEV] Buildproblems in latest CVS

2001-08-08 Thread Anders Johannsen

I'am experiencing problems building PHP from the latest cvs. The errors
occur when running 'buildconf'. The box is a Debian/unstable. Autoconf,
automake and libtool versions seems to suffice.

aj@uranos% ./buildconf
buildconf: checking installation...
buildconf: autoconf version 2.52 (ok)
buildconf: automake version 1.4-p4 (ok)
buildconf: libtool version 1.4b

1996, (ok)
rebuilding Makefile templates
automake: configure.in: installing `Zend/ylwrap'
rebuilding configure
./aclocal.m4:943: error: m4_defn: undefined macro: _m4_divert_diversion
./aclocal.m4:472: PHP_SUBST is expanded from...
./aclocal.m4:943: the top level
rebuilding acconfig.h
rebuilding main/php_config.h.in
./aclocal.m4:943: error: m4_defn: undefined macro: _m4_divert_diversion
./aclocal.m4:472: PHP_SUBST is expanded from...
./aclocal.m4:943: the top level
autoconf2.50: tracing failed
aj@uranos%  

Any help is much appreciated.

/A

-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Buildproblems in latest CVS

2001-08-08 Thread Jani Taskinen


Well, the latest CVS only supports these:

libtool 1.4
autoconf 2.13
automake 1.4

I think you only need to downgrade autoconf.

--Jani

On Thu, 9 Aug 2001, Anders Johannsen wrote:

>I'am experiencing problems building PHP from the latest cvs. The errors
>occur when running 'buildconf'. The box is a Debian/unstable. Autoconf,
>automake and libtool versions seems to suffice.
>
>aj@uranos% ./buildconf
>buildconf: checking installation...
>buildconf: autoconf version 2.52 (ok)
>buildconf: automake version 1.4-p4 (ok)
>buildconf: libtool version 1.4b
>
>1996, (ok)
>rebuilding Makefile templates
>automake: configure.in: installing `Zend/ylwrap'
>rebuilding configure
>./aclocal.m4:943: error: m4_defn: undefined macro: _m4_divert_diversion
>./aclocal.m4:472: PHP_SUBST is expanded from...
>./aclocal.m4:943: the top level
>rebuilding acconfig.h
>rebuilding main/php_config.h.in
>./aclocal.m4:943: error: m4_defn: undefined macro: _m4_divert_diversion
>./aclocal.m4:472: PHP_SUBST is expanded from...
>./aclocal.m4:943: the top level
>autoconf2.50: tracing failed
>aj@uranos%
>
>Any help is much appreciated.
>
>/A
>
>


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Buildproblems in latest CVS

2001-08-09 Thread Anders Johannsen

In article <[EMAIL PROTECTED]>,
"Jani Taskinen" <[EMAIL PROTECTED]> wrote:

> Well, the latest CVS only supports these:
> 
> libtool 1.4
> autoconf 2.13
> automake 1.4
> 
> I think you only need to downgrade autoconf.

That was my original thought, however a downgrade yields:

aj@uranos% ./buildconf
buildconf: checking installation...
buildconf: autoconf version 2.13 (ok)
buildconf: automake version 1.4-p4 (ok)
buildconf: libtool version 1.4b

1996, (ok)
rebuilding Makefile templates
automake: configure.in: installing `Zend/ylwrap'
rebuilding configure
FATAL ERROR: Autoconf version 2.50 or higher is required for this script
rebuilding acconfig.h
rebuilding main/php_config.h.in
FATAL ERROR: Autoconf version 2.50 or higher is required for this script

Best regards
Anders Johannsen

-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Buildproblems in latest CVS

2001-08-09 Thread Jani Taskinen

On Thu, 9 Aug 2001, Anders Johannsen wrote:

>In article <[EMAIL PROTECTED]>,
>"Jani Taskinen" <[EMAIL PROTECTED]> wrote:
>
>> Well, the latest CVS only supports these:
>>
>> libtool 1.4
>> autoconf 2.13
>> automake 1.4
>>
>> I think you only need to downgrade autoconf.
>
>That was my original thought, however a downgrade yields:
>
>aj@uranos% ./buildconf
>buildconf: checking installation...
>buildconf: autoconf version 2.13 (ok)
>buildconf: automake version 1.4-p4 (ok)
>buildconf: libtool version 1.4b
>
>1996, (ok)
>rebuilding Makefile templates
>automake: configure.in: installing `Zend/ylwrap'
>rebuilding configure
>FATAL ERROR: Autoconf version 2.50 or higher is required for this script
>rebuilding acconfig.h
>rebuilding main/php_config.h.in
>FATAL ERROR: Autoconf version 2.50 or higher is required for this script

Well, seems you need to downgrade also automake and libtool too.

--Jani



-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Buildproblems in latest CVS

2001-08-10 Thread Petr Cech

On Thu, Aug 09, 2001 at 01:22:18PM +0200 , Anders Johannsen wrote:
> aj@uranos% ./buildconf
> buildconf: checking installation...
> buildconf: autoconf version 2.13 (ok)
> buildconf: automake version 1.4-p4 (ok)
> buildconf: libtool version 1.4b

note the 1.4b. it requires autoconf 2.50. but I think this goes for 1.4
also, but doesn't screem

> 1996, (ok)
> rebuilding Makefile templates
> automake: configure.in: installing `Zend/ylwrap'
> rebuilding configure
> FATAL ERROR: Autoconf version 2.50 or higher is required for this script
> rebuilding acconfig.h
> rebuilding main/php_config.h.in
> FATAL ERROR: Autoconf version 2.50 or higher is required for this script

heh. debian package I'm sure. even if you try to use autoconf2.50 to force
2.52 you will fail.
Petr Cech
-- 
Debian GNU/Linux maintainer - www.debian.{org,cz}
   [EMAIL PROTECTED]

 We Are Debian.  You Will Be Packaged. Media Opinion Is Irrelevant.

-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Buildproblems in latest CVS

2001-08-10 Thread Sascha Schumann

> note the 1.4b. it requires autoconf 2.50. but I think this goes for 1.4
> also, but doesn't screem

Libtool 1.4 does not require autoconf 2.50 or higher.  Note
that libtool-1.4b is an alpha release, so you have to expect
failures.

- Sascha Experience IRCG
  http://schumann.cx/http://schumann.cx/ircg


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Buildproblems in latest CVS

2001-08-10 Thread Rasmus Lerdorf

> > note the 1.4b. it requires autoconf 2.50. but I think this goes for 1.4
> > also, but doesn't screem
>
> Libtool 1.4 does not require autoconf 2.50 or higher.  Note
> that libtool-1.4b is an alpha release, so you have to expect
> failures.

Perhaps I am too tired, but where did the stuff that would install php.h
and the rest of the header files in /usr/local/include/php go?  A "make
install" doesn't seem to do this anymore which means standalone extensions
are going to have issues.

-Rasmus


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Buildproblems in latest CVS

2001-08-10 Thread Sascha Schumann

> Perhaps I am too tired, but where did the stuff that would install php.h
> and the rest of the header files in /usr/local/include/php go?  A "make
> install" doesn't seem to do this anymore which means standalone extensions
> are going to have issues.

It sits in pear/Makefile(.in)?.

An installation I did two days ago looks complete -- all
header files were copied to $prefix/include/php.

- Sascha Experience IRCG
  http://schumann.cx/http://schumann.cx/ircg


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Buildproblems in latest CVS

2001-08-10 Thread Rasmus Lerdorf

> It sits in pear/Makefile(.in)?.
>
> An installation I did two days ago looks complete -- all
> header files were copied to $prefix/include/php.

Yeah, it is working now.  Almost 5am.  I must have done something weird.

-Rasmus


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Buildproblems in latest CVS

2001-08-10 Thread Olivier Bourgeois

Le Fri, 10 Aug 2001 13:11:33 +0200
Petr Cech <[EMAIL PROTECTED]> a ecrit :

> On Thu, Aug 09, 2001 at 01:22:18PM +0200 , Anders Johannsen wrote:
> > aj@uranos% ./buildconf
> > buildconf: checking installation...
> > buildconf: autoconf version 2.13 (ok)
> > buildconf: automake version 1.4-p4 (ok)
> > buildconf: libtool version 1.4b
> 
> note the 1.4b. it requires autoconf 2.50. but I think this goes for 1.4
> also, but doesn't screem
> 
> > 1996, (ok)
> > rebuilding Makefile templates
> > automake: configure.in: installing `Zend/ylwrap'
> > rebuilding configure
> > FATAL ERROR: Autoconf version 2.50 or higher is required for this
script
> > rebuilding acconfig.h
> > rebuilding main/php_config.h.in
> > FATAL ERROR: Autoconf version 2.50 or higher is required for this
script
> 
> heh. debian package I'm sure. even if you try to use autoconf2.50 to
force
> 2.52 you will fail.
>   Petr Cech

exact, it fails like that (with an AC_PREREQ(2.50) added in configure.in)
:

buildconf: checking installation...
buildconf: autoconf version 2.52 (ok)
buildconf: automake version 1.4-p4 (ok)
buildconf: libtool version 1.4b

1996, (ok)
rebuilding Makefile templates
automake: configure.in: installing `Zend/ylwrap'
rebuilding configure
./aclocal.m4:943: error: m4_defn: undefined macro: _m4_divert_diversion
./aclocal.m4:472: PHP_SUBST is expanded from...
./aclocal.m4:943: the top level
rebuilding acconfig.h
rebuilding main/php_config.h.in
./aclocal.m4:943: error: m4_defn: undefined macro: _m4_divert_diversion
./aclocal.m4:472: PHP_SUBST is expanded from...
./aclocal.m4:943: the top level
autoconf2.50: tracing failed


So what happended between PHP-4.0.6 (which builds nice) and PHP-CVS that
fails on Debian ?
I know Debian's autoconf/libtool are buggy, but is there any solution to
build PHP ?

Or should I wait until the bug is fixed ?

> -- 
> Debian GNU/Linux maintainer - www.debian.{org,cz}
>[EMAIL PROTECTED]
> 
>  We Are Debian.  You Will Be Packaged. Media Opinion Is
Irrelevant.
> 


-- 
Feminism, n.:
A political position which seeks to rebuild society so that
both men and women are treated as women wish to be treated.

-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Buildproblems in latest CVS

2001-08-21 Thread jan

On Thu, Aug 09, 2001 at 02:40:19AM +0200, Anders Johannsen wrote:
> I'am experiencing problems building PHP from the latest cvs. The errors
> occur when running 'buildconf'. The box is a Debian/unstable. Autoconf,
> automake and libtool versions seems to suffice.
> 
> aj@uranos% ./buildconf
> buildconf: checking installation...
> buildconf: autoconf version 2.52 (ok)
> buildconf: automake version 1.4-p4 (ok)
> buildconf: libtool version 1.4b

Please check if your auto* combination works with the patch provided in:

[PHP-DEV] Bug #12871: updating build-system to autoconf 2.5x

  Jan

-- 
  => http://www.kneschke.de <==> http://www.random-downloads.com <=
   mailto: [EMAIL PROTECTED]

-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Buildproblems in latest CVS

2001-08-21 Thread Anders Johannsen

On 21 Aug 2001 12:57:03 +0200, [EMAIL PROTECTED] wrote:
> On Thu, Aug 09, 2001 at 02:40:19AM +0200, Anders Johannsen wrote:
> > I'am experiencing problems building PHP from the latest cvs. The errors
> > occur when running 'buildconf'. The box is a Debian/unstable. Autoconf,
> > automake and libtool versions seems to suffice.
> > 
> > aj@uranos% ./buildconf
> > buildconf: checking installation...
> > buildconf: autoconf version 2.52 (ok)
> > buildconf: automake version 1.4-p4 (ok)
> > buildconf: libtool version 1.4b
> 
> Please check if your auto* combination works with the patch provided in:

Except for one warning, it works excellent:

aj@uranos% time ./buildconf 
buildconf: checking installation...
buildconf: autoconf version 2.52 (ok)
buildconf: automake version 1.4-p4 (ok)
buildconf: libtool version 1.4b

1996, (ok)
rebuilding Makefile templates
automake: configure.in: installing `Zend/ylwrap'
rebuilding configure
configure.in:124: warning: AC_PROG_LEX invoked multiple times
rebuilding acconfig.h
rebuilding main/php_config.h.in
./buildconf  52.90s user 5.10s system 88% cpu 1:05.68 total

However it takes forever to run?

/A



-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]