Re: [PHP-DEV] PHP 4.0 Bug #10589 Updated: buildconf not compatiblewith Gnu Libtool 1.4

2001-05-02 Thread chrisv

 ID: 10589
 User Update by: [EMAIL PROTECTED]
 Status: Closed
 Bug Type: *Install and Config
 Description: buildconf not compatible with Gnu Libtool 1.4
 
 [root@gecko /root]# cd /usr/src/php4
 [root@gecko php4]# ./cvsclean; ./buildconf
 buildconf: checking installation...
 buildconf: autoconf version 2.13 (ok)
 buildconf: automake version 1.4 (ok)
 build/buildcheck.sh: test: integer expression expected before -ge
 buildconf: libtool version 1.4 found.
You need libtool version 1.3.3 or newer installed
to build PHP from CVS.
 make: *** [buildmk.stamp] Error 1

I see the problem when I force $lt_version to 1.4 (which appears to be
what 'libtool --version' is returning) in build/buildcheck.sh. A patch to
workaround this:

===CUT===
--- buildcheck.sh.bak   Wed May  2 01:39:07 2001
+++ buildcheck.sh   Wed May  2 01:37:41 2001
@@ -67,14 +67,27 @@
 fi
 lt_version=`echo $lt_pversion|sed -e 's/\([a-z]*\)$/.\1/'`
 IFS=.; set $lt_version; IFS=' '
-if test $1 -gt 1 || test $2 -gt 3 || test $2 = 3  (test $3 = c || 
test $3 -ge 3)
+if test $1 -gt 1 || test $2 -gt 3 || test $2 = 3  (test x$3 != x)
 then
-echo buildconf: libtool version $lt_pversion (ok)
+   if test $3 = c || test $3 -ge 3
+   then
+   echo buildconf: libtool version $lt_pversion (ok)
+   else
+   echo buildconf: libtool version $lt_pversion found.
+   echoYou need libtool version 1.3.3 or newer installed
+   echoto build PHP from CVS.
+   exit 1
+   fi
 else
-echo buildconf: libtool version $lt_pversion found.
-echoYou need libtool version 1.3.3 or newer installed
-echoto build PHP from CVS.
-exit 1
+   if test x$3 == x  test $2 -lt 4
+   then
+   echo buildconf: libtool version $lt_pversion found.
+   echoYou need libtool version 1.3.3 or newer installed
+   echoto build PHP from CVS.
+   exit 1
+   else
+   echo buildconf: libtool version $lt_pversion (ok)
+   fi
 fi

 am_prefix=`which automake | sed -e 's#/[^/]*/[^/]*$##'`
===CUT===

Chris



-- 
PHP Development Mailing List http://www.php.net/
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] PHP 4.0 Bug #10589 Updated: buildconf not compatiblewith Gnu Libtool 1.4

2001-05-02 Thread Jani Taskinen


Because I didn't read the report well enough.
I didn't know that libtool 1.4 had been released. :(

And now the machine hosting the bug system is down so
I can't reopen it..

--Jani


On Wed, 2 May 2001, Andi Gutmans wrote:

Any idea why the status is 'Closed'?
I don't see a resolution.
Andi

At 01:13 AM 5/2/2001 +, [EMAIL PROTECTED] wrote:
ID: 10589
User Update by: [EMAIL PROTECTED]
Status: Closed
Bug Type: *Install and Config
Description: buildconf not compatible with Gnu Libtool 1.4

[root@gecko /root]# cd /usr/src/php4
[root@gecko php4]# ./cvsclean; ./buildconf
buildconf: checking installation...
buildconf: autoconf version 2.13 (ok)
buildconf: automake version 1.4 (ok)
build/buildcheck.sh: test: integer expression expected before -ge
buildconf: libtool version 1.4 found.
You need libtool version 1.3.3 or newer installed
to build PHP from CVS.
make: *** [buildmk.stamp] Error 1

Previous Comments:
---

[2001-05-01 20:43:23] [EMAIL PROTECTED]
Works for me just fine. Try doing './cvsclean ; ./buildconf'

--jani


---

[2001-05-01 15:58:38] [EMAIL PROTECTED]
After the problems installing 4.0.5, I got the latest CVS.

Running buildconf told me I needed libtool installed.  Went to Gnu, got
the latest (1.4) and installed it.

buildconf now reports:
buildconf: libtool version 1.4 found.
You need libtool version 1.3.3 or newer installed
to build PHP from CVS.
make: *** [buildmk.stamp] Error 1



---


Full Bug description available at: http://bugs.php.net/?id=10589


--
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]





-- 
PHP Development Mailing List http://www.php.net/
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] PHP 4.0 Bug #10589 Updated: buildconf not compatiblewith Gnu Libtool 1.4

2001-05-02 Thread Jani Taskinen


Sascha is the one who knows this best.. :)

And as we're talking about this..shouldn't the libtool bundled
with PHP be updated as well?

--Jani

p.s. What's wrong again with the machine running CVS?


On Wed, 2 May 2001, Andi Gutmans wrote:

I reopened it :)
We just need someone who knows the configure stuff well to accept the patch
and commit it to the CVS.

Andi

At 03:23 PM 5/2/2001 +0200, Jani Taskinen wrote:

Because I didn't read the report well enough.
I didn't know that libtool 1.4 had been released. :(

And now the machine hosting the bug system is down so
I can't reopen it..

--Jani


On Wed, 2 May 2001, Andi Gutmans wrote:

 Any idea why the status is 'Closed'?
 I don't see a resolution.
 Andi
 
 At 01:13 AM 5/2/2001 +, [EMAIL PROTECTED] wrote:
 ID: 10589
 User Update by: [EMAIL PROTECTED]
 Status: Closed
 Bug Type: *Install and Config
 Description: buildconf not compatible with Gnu Libtool 1.4
 
 [root@gecko /root]# cd /usr/src/php4
 [root@gecko php4]# ./cvsclean; ./buildconf
 buildconf: checking installation...
 buildconf: autoconf version 2.13 (ok)
 buildconf: automake version 1.4 (ok)
 build/buildcheck.sh: test: integer expression expected before -ge
 buildconf: libtool version 1.4 found.
 You need libtool version 1.3.3 or newer installed
 to build PHP from CVS.
 make: *** [buildmk.stamp] Error 1
 
 Previous Comments:
 ---
 
 [2001-05-01 20:43:23] [EMAIL PROTECTED]
 Works for me just fine. Try doing './cvsclean ; ./buildconf'
 
 --jani
 
 
 ---
 
 [2001-05-01 15:58:38] [EMAIL PROTECTED]
 After the problems installing 4.0.5, I got the latest CVS.
 
 Running buildconf told me I needed libtool installed.  Went to Gnu, got
 the latest (1.4) and installed it.
 
 buildconf now reports:
 buildconf: libtool version 1.4 found.
 You need libtool version 1.3.3 or newer installed
 to build PHP from CVS.
 make: *** [buildmk.stamp] Error 1
 
 
 
 ---
 
 
 Full Bug description available at: http://bugs.php.net/?id=10589
 
 
 --
 PHP Development Mailing List http://www.php.net/
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]
 
 
 


--
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]





-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]