Quoting Pete French <[EMAIL PROTECTED]>:
I may try that. But I'm at a loss as to what that has to do with
getting php5 to build. As (mentioned earlier) I am unable to find
where php5 does anything more that to ask if I'm using Apache 1.3 || 2.
This puzzles me - my php5 from ports doesnt ask this at all. You just
build it and it finds your Apache install (if you dont have apache
installed then it tries to install 1.3). As to what it needs from
Apache - well preseumbaly it uses axps and associated bits in order
to build the module.
Yes, it's an if, then block, and that's the size of it. Nothing more.
OK. Off to the /meat/ of things...
I did a build by declaring a WITHOUT_APACHE=true in my /etc/make.conf
and the /var/db/ports/php5/options. Leaving the following in both:
WITH_SUHOSIN=true
WITHOUT_MULTIBYTE=true
WITHOUT_MAILHEAD=true
WITH_CLI=true
WITH_CGI=true
WITHOUT_REDIRECT=true
WITHOUT_DISCARD=true
WITH_FASTCGI=true
WITH_PATHINFO=true
As suspected, it built without /any/ errors - OK just the following:
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
But it's been doing that for quite awhile, and doesn't get in the way
of a successful build or install.
On another note of interest; I found the problem that causes the
error message as used in the title of this thread:
[: -le: argument expected
The cause is in the file: lang/php5/files/patch-Zend_zend_list.c
It accounts for all /3/ errors emitted during the initial portion
of the make process. The lines are as follows:
--- Zend/zend_list.c.orig 2007-01-01 10:35:46.000000000 +0100
+++ Zend/zend_list.c 2008-01-29 11:05:14.000000000 +0100
@@ -48,7 +48,7 @@
return index;
}
-ZEND_API int _zend_list_delete(int id TSRMLS_DC)
+ZEND_API int _zend_list_delete(ulong id TSRMLS_DC)
{
*** zend_rsrc_list_entry *le;
@@ -65,7 +65,7 @@
}
-ZEND_API void *_zend_list_find(int id, int *type TSRMLS_DC)
+ZEND_API void *_zend_list_find(ulong id, int *type TSRMLS_DC)
{
*** zend_rsrc_list_entry *le;
@@ -78,7 +78,7 @@
}
}
-ZEND_API int _zend_list_addref(int id TSRMLS_DC)
+ZEND_API int _zend_list_addref(ulong id TSRMLS_DC)
{
*** zend_rsrc_list_entry *le;
(highlighted with three asterisks for clarity).
While it's nice that I found them. I'm not sure what to do to
make them correct. Any thoughts? Should I simply send-pr -
php5-apache-module build failure (lang/php5/files/patch-Zend_zend_list.c)?
Anyway, at least some headway has been made. :)
Thanks again, for all your input.
--Chris H
-pete.
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
--
panic: kernel trap (ignored)
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"