Re: php5 does not buid

2007-10-04 Thread Alexander Konovalenko
On Wednesday 03 October 2007, Martin Tournoij wrote:
 On Tue 02 Oct 2007 18:10, Alexander Konovalenko wrote:
  Hello,
 
  I got an error while building php5:
 
  make clean build
  ===  Cleaning for php5-5.2.4_1
  ===  Vulnerability check disabled, database not found
  ===  Found saved configuration for php5-5.2.4_1
  ===  Extracting for php5-5.2.4_1
  = MD5 Checksum OK for php-5.2.4.tar.bz2.
  = SHA256 Checksum OK for php-5.2.4.tar.bz2.
  ===  Patching for php5-5.2.4_1
  ===  Applying FreeBSD patches for php5-5.2.4_1
  ===   php5-5.2.4_1 depends on file: /usr/local/sbin/apxs - found
  ===   php5-5.2.4_1 depends on file: /usr/local/bin/autoconf-2.61 - found
  ===   php5-5.2.4_1 depends on executable: pkg-config - found
  ===   php5-5.2.4_1 depends on shared library: xml2.5 - found
  ===  Configuring for php5-5.2.4_1
  configure.in:152: warning: AC_PROG_LEX invoked multiple times
  ../../lib/autoconf/programs.m4:779: AC_DECL_YYTEXT is expanded from...
  aclocal.m4:2080: PHP_PROG_LEX is expanded from...
  configure.in:152: the top level
  ===  Building for php5-5.2.4_1
  make: cannot open Makefile.
  *** Error code 2
 
  Stop in /usr/ports/lang/php5.
  *** Error code 1
 
  Stop in /usr/ports/lang/php5.
 
  Is there any work around?
 
  I tried php4 but got the same error. I need to build php5 module for
  Apache22.
 
  uname -a
  FreeBSD myhost 6.2-STABLE FreeBSD 6.2-STABLE #2: Mon Oct  1 12:35:16 CEST
  2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP-DEVELOPER  i386

 While updating autotools, the commiter also accidentally updated m4 to a
 new (unstable) version, leading to various problems.

 The problem has been fixed, try updating your ports tree, removing
 the php work directory and building again.

 Regards,
 Martin Tournoij

Thanks a lot! That worked!

After tree update I reinstalled auomake* autoconf and m4.

-- 



/Alexander Konovalenko

+46-8-5537-8142 (office)
+46-7-3752-2116
http://daemon.nanophys.kth.se/~kono

Royal Institute of Technology (KTH)
Nanostructure Physics Department, Albanova
Roslagstullsbacken 21
10691 Stockholm
Sweden
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: php5 does not buid

2007-10-03 Thread Alexander Konovalenko
On Tuesday 02 October 2007, Brian A. Seklecki wrote:
 On Tue, 2007-10-02 at 18:23 +0200, Alexander Konovalenko wrote:
  Hello,
 
  I got an error while building php5:
 
  make clean build
  ===  Cleaning for php5-5.2.4_1
  ===  Vulnerability check disabled, database not found
  ===  Found saved configuration for php5-5.2.4_1
  ===  Extracting for php5-5.2.4_1
  = MD5 Checksum OK for php-5.2.4.tar.bz2.
  = SHA256 Checksum OK for php-5.2.4.tar.bz2.
  ===  Patching for php5-5.2.4_1
  ===  Applying FreeBSD patches for php5-5.2.4_1
  ===   php5-5.2.4_1 depends on file: /usr/local/sbin/apxs - found
  ===   php5-5.2.4_1 depends on file: /usr/local/bin/autoconf-2.61 - found
  ===   php5-5.2.4_1 depends on executable: pkg-config - found
  ===   php5-5.2.4_1 depends on shared library: xml2.5 - found

 What does config.log look like? /var/db/ports/php5/options ?



cat /var/db/ports/php5/options
# This file is auto-generated by 'make config'.
# No user-servicable parts inside!
# Options for php5-5.2.4_1
_OPTIONS_READ=php5-5.2.4_1
WITH_CLI=true
WITH_CGI=true
WITH_APACHE=true
WITHOUT_DEBUG=true
WITHOUT_SUHOSIN=true
WITHOUT_MULTIBYTE=true
WITHOUT_IPV6=true
WITHOUT_MAILHEAD=true
WITHOUT_REDIRECT=true
WITHOUT_DISCARD=true
WITH_FASTCGI=true
WITH_PATHINFO=true


It is actually strange, I switched of IPV6 support from the menu but this file 
above has it on.



/Alexander Konovalenko

+46-8-5537-8142 (office)
+46-7-3752-2116
http://daemon.nanophys.kth.se/~kono

Royal Institute of Technology (KTH)
Nanostructure Physics Department, Albanova
Roslagstullsbacken 21
10691 Stockholm
Sweden
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


php5 does not buid

2007-10-02 Thread Alexander Konovalenko

Hello,

I got an error while building php5:

make clean build
===  Cleaning for php5-5.2.4_1
===  Vulnerability check disabled, database not found
===  Found saved configuration for php5-5.2.4_1
===  Extracting for php5-5.2.4_1
= MD5 Checksum OK for php-5.2.4.tar.bz2.
= SHA256 Checksum OK for php-5.2.4.tar.bz2.
===  Patching for php5-5.2.4_1
===  Applying FreeBSD patches for php5-5.2.4_1
===   php5-5.2.4_1 depends on file: /usr/local/sbin/apxs - found
===   php5-5.2.4_1 depends on file: /usr/local/bin/autoconf-2.61 - found
===   php5-5.2.4_1 depends on executable: pkg-config - found
===   php5-5.2.4_1 depends on shared library: xml2.5 - found
===  Configuring for php5-5.2.4_1
configure.in:152: warning: AC_PROG_LEX invoked multiple times
../../lib/autoconf/programs.m4:779: AC_DECL_YYTEXT is expanded from...
aclocal.m4:2080: PHP_PROG_LEX is expanded from...
configure.in:152: the top level
===  Building for php5-5.2.4_1
make: cannot open Makefile.
*** Error code 2

Stop in /usr/ports/lang/php5.
*** Error code 1

Stop in /usr/ports/lang/php5.

Is there any work around?

I tried php4 but got the same error. I need to build php5 module for Apache22. 

uname -a
FreeBSD myhost 6.2-STABLE FreeBSD 6.2-STABLE #2: Mon Oct  1 12:35:16 CEST 2007  
   
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP-DEVELOPER  i386


/Alexander Konovalenko

+46-8-5537-8142 (office)
+46-7-3752-2116
http://daemon.nanophys.kth.se/~kono

Royal Institute of Technology (KTH)
Nanostructure Physics Department, Albanova
Roslagstullsbacken 21
10691 Stockholm
Sweden
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: php5 does not buid

2007-10-02 Thread Brian A. Seklecki

On Tue, 2007-10-02 at 18:23 +0200, Alexander Konovalenko wrote:
 Hello,
 
 I got an error while building php5:
 
 make clean build
 ===  Cleaning for php5-5.2.4_1
 ===  Vulnerability check disabled, database not found
 ===  Found saved configuration for php5-5.2.4_1
 ===  Extracting for php5-5.2.4_1
 = MD5 Checksum OK for php-5.2.4.tar.bz2.
 = SHA256 Checksum OK for php-5.2.4.tar.bz2.
 ===  Patching for php5-5.2.4_1
 ===  Applying FreeBSD patches for php5-5.2.4_1
 ===   php5-5.2.4_1 depends on file: /usr/local/sbin/apxs - found
 ===   php5-5.2.4_1 depends on file: /usr/local/bin/autoconf-2.61 - found
 ===   php5-5.2.4_1 depends on executable: pkg-config - found
 ===   php5-5.2.4_1 depends on shared library: xml2.5 - found

What does config.log look like? /var/db/ports/php5/options ?

php5/Makefiles was touched two weeks ago for 5.2.4 and then two days ago
for autotools-related changes:

Revision 1.121: download - view: text, markup, annotated -
select for diffs
Sun Sep 30 04:47:00 2007 UTC (2 days, 11 hours ago) by linimon
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +2 -2 lines
Switch autoconf dependencies from 2.53 or 2.59 to 2.61.

PR: ports/116639
Submitted by:   aDe

 ===  Configuring for php5-5.2.4_1
 configure.in:152: warning: AC_PROG_LEX invoked multiple times
 ../../lib/autoconf/programs.m4:779: AC_DECL_YYTEXT is expanded from...
 aclocal.m4:2080: PHP_PROG_LEX is expanded from...
 configure.in:152: the top level
 ===  Building for php5-5.2.4_1
 make: cannot open Makefile.
 *** Error code 2
 
 Stop in /usr/ports/lang/php5.
 *** Error code 1
 
 Stop in /usr/ports/lang/php5.
 
 Is there any work around?
 
 I tried php4 but got the same error. I need to build php5 module for 
 Apache22. 
 
 uname -a
 FreeBSD myhost 6.2-STABLE FreeBSD 6.2-STABLE #2: Mon Oct  1 12:35:16 CEST 
 2007 
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP-DEVELOPER  i386
 
 
 /Alexander Konovalenko
 
 +46-8-5537-8142 (office)
 +46-7-3752-2116
 http://daemon.nanophys.kth.se/~kono
 
 Royal Institute of Technology (KTH)
 Nanostructure Physics Department, Albanova
 Roslagstullsbacken 21
 10691 Stockholm
 Sweden
 ___
 freebsd-ports@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-ports
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 
 
 
 
 
-- 
Brian A. Seklecki [EMAIL PROTECTED]
Collaborative Fusion, Inc.




IMPORTANT: This message contains confidential information and is intended only 
for the individual named. If the reader of this message is not an intended 
recipient (or the individual responsible for the delivery of this message to an 
intended recipient), please be advised that any re-use, dissemination, 
distribution or copying of this message is prohibited.  Please notify the 
sender immediately by e-mail if you have received this e-mail by mistake and 
delete this e-mail from your system.


___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: php5 does not buid

2007-10-02 Thread Martin Tournoij
On Tue 02 Oct 2007 18:10, Alexander Konovalenko wrote:
 
 Hello,
 
 I got an error while building php5:
 
 make clean build
 ===  Cleaning for php5-5.2.4_1
 ===  Vulnerability check disabled, database not found
 ===  Found saved configuration for php5-5.2.4_1
 ===  Extracting for php5-5.2.4_1
 = MD5 Checksum OK for php-5.2.4.tar.bz2.
 = SHA256 Checksum OK for php-5.2.4.tar.bz2.
 ===  Patching for php5-5.2.4_1
 ===  Applying FreeBSD patches for php5-5.2.4_1
 ===   php5-5.2.4_1 depends on file: /usr/local/sbin/apxs - found
 ===   php5-5.2.4_1 depends on file: /usr/local/bin/autoconf-2.61 - found
 ===   php5-5.2.4_1 depends on executable: pkg-config - found
 ===   php5-5.2.4_1 depends on shared library: xml2.5 - found
 ===  Configuring for php5-5.2.4_1
 configure.in:152: warning: AC_PROG_LEX invoked multiple times
 ../../lib/autoconf/programs.m4:779: AC_DECL_YYTEXT is expanded from...
 aclocal.m4:2080: PHP_PROG_LEX is expanded from...
 configure.in:152: the top level
 ===  Building for php5-5.2.4_1
 make: cannot open Makefile.
 *** Error code 2
 
 Stop in /usr/ports/lang/php5.
 *** Error code 1
 
 Stop in /usr/ports/lang/php5.
 
 Is there any work around?
 
 I tried php4 but got the same error. I need to build php5 module for 
 Apache22. 
 
 uname -a
 FreeBSD myhost 6.2-STABLE FreeBSD 6.2-STABLE #2: Mon Oct  1 12:35:16 CEST 
 2007 
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP-DEVELOPER  i386

While updating autotools, the commiter also accidentally updated m4 to a
new (unstable) version, leading to various problems.

The problem has been fixed, try updating your ports tree, removing
the php work directory and building again.

Regards,
Martin Tournoij
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]