tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* PHP4
@ 2000-08-18 12:52 Chewy
  0 siblings, 0 replies; only message in thread
From: Chewy @ 2000-08-18 12:52 UTC (permalink / raw)
  To: tru64-unix-managers

Has anyone installed PHP4 under Tru64 5.0a? I'm compiling as a static
binary, because apxs keeps returning things like 'APXS cannot be found'.
It seems it needs some weird switches. If anyone has a workaround, I'd
rather be using APXS, but on to the current problem.
When I compile php as a static binary, it goes more or less ok, and says
'fine, done'
When I go to build apache, it complains that it can't find some include
files, so I add the include files, and things go ok until the end, where I
get:

cc -c  -I./os/unix -I./include -I/usr/local/include/php/Zend -I/usr/local/in
clude/php/main -I/usr/local/include/php  -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I
./lib/expat-lite -DNO_DL_NEEDED  modules.c
cc -c  -I./os/unix -I./include -I/usr/local/include/php/Zend -I/usr/local/in
clude/php/main -I/usr/local/include/php  -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I
./lib/expat-lite -DNO_DL_NEEDED  buildmark.c
cc  -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED      
-o httpd buildmark.o modules.o  modules/php4/libphp4.a
modules/standard/libstandard.a  main/libmain.a  ./os/unix/libos.a
ap/libap.a regex/libregex.a lib/expat-lite/libexpat.a  -lm
ld:
Unresolved:
modphp4_module
*** Exit 1
Stop.

This is after the php module has (allegedly) compiled, with a couple of
warnings, namely:
cc: Warning: mod_php4.c, line 334: In this declaration, "sapi_module" is
declared with both internal and external linkage.  The previous declaration
is at line number 59 in file /usr/local/include/php/main/SAPI.h.
(mixlinkage)
static sapi_module_struct sapi_module = {
--------------------------^
cc: Warning: /usr/local/src/php-4.0.1pl2/Zend/zend_execute.h, line 174:
There is no function named zend_assign_to_variable_reference defined in this
compilation unit. (nofunc)
ZEND_API inline void zend_assign_to_variable_reference(znode *result, zval
**variable_ptr_ptr, zval **value_ptr_ptr, temp_variable *Ts ELS_DC)
---------------------^
cc: Warning: /usr/local/src/php-4.0.1pl2/Zend/zend_execute.h, line 131:
There is no function named zend_ptr_stack_get_arg defined in this
compilation unit. (nofunc)
ZEND_API inline int zend_ptr_stack_get_arg(int requested_arg, void **data
ELS_DC)
--------------------^
cc: Warning: /usr/local/src/php-4.0.1pl2/Zend/zend_execute.h, line 115:
There is no function named zend_ptr_stack_clear_multiple defined in this
compilation unit. (nofunc)
ZEND_API inline void zend_ptr_stack_clear_multiple(ELS_D)
---------------------^
cc: Warning: /usr/local/src/php-4.0.1pl2/Zend/zend_execute.h, line 71: There
is no function named i_zend_is_true defined in this compilation unit.
(nofunc)
ZEND_API inline int i_zend_is_true(zval *op)
--------------------^
cc: Warning: /usr/local/src/php-4.0.1pl2/Zend/zend_execute.h, line 57: There
is no function named safe_free_zval_ptr defined in this compilation unit.
(nofunc)
ZEND_API inline void safe_free_zval_ptr(zval *p)
---------------------^
cc: Warning: /usr/local/src/php-4.0.1pl2/Zend/zend_operators.h, line 61:
There is no function named is_numeric_string defined in this compilation
unit. (nofunc)
ZEND_API inline int is_numeric_string(char *str, int length, long *lval,
double *dval)
--------------------^


If anyone has any ideas or has worked around this before, I'd love to hear
some possible solutions.
Thanks in advance.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-08-18 12:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-08-18 12:52 PHP4 Chewy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox