Php recompile problems

ViAdCk

Verified User
Joined
Feb 14, 2005
Messages
254
Hello:

I'm trying to compile php 4.4.2 on one of our servers but it gives me a mesh error constantly. I have used ./build mesh with the latest mesh version before recompiling but it doesn't work. I get the following error during the recompile. Any thoughts?

Code:
In file included from /usr/local/directadmin/customapache/php-4.4.2/ext/mhash/mhash.c:30:
/usr/local/include/mhash.h:4:30: mutils/mincludes.h: No such file or directory
In file included from /usr/local/include/mutils/mtypes.h:24,
                 from /usr/local/include/mhash.h:6,
                 from /usr/local/directadmin/customapache/php-4.4.2/ext/mhash/mhash.c:30:
/usr/local/include/mutils/mutils.h:124: error: syntax error before "n"
/usr/local/include/mutils/mutils.h:127: error: syntax error before "n"
/usr/local/include/mutils/mutils.h:129: error: syntax error before "c"
/usr/local/include/mutils/mutils.h:130: error: syntax error before "n"
/usr/local/include/mutils/mutils.h:131: error: syntax error before "n"
/usr/local/include/mutils/mutils.h:132: error: syntax error before "n"
/usr/local/include/mutils/mutils.h:134: error: syntax error before "mutils_strlen"
/usr/local/include/mutils/mutils.h:134: error: syntax error before '*' token
/usr/local/include/mutils/mutils.h:135: error: syntax error before '*' token
/usr/local/include/mutils/mutils.h:135: error: syntax error before '*' token
/usr/local/include/mutils/mutils.h:136: error: syntax error before '*' token
/usr/local/include/mutils/mutils.h:136: error: syntax error before '*' token
/usr/local/include/mutils/mutils.h:137: error: syntax error before '*' token
/usr/local/include/mutils/mutils.h:137: error: syntax error before '*' token
/usr/local/include/mutils/mutils.h:138: error: syntax error before '*' token
/usr/local/include/mutils/mutils.h:138: error: syntax error before '*' token
/usr/local/include/mutils/mutils.h:139: error: syntax error before '*' token
/usr/local/include/mutils/mutils.h:140: error: syntax error before '*' token
/usr/local/include/mutils/mutils.h:141: error: syntax error before '*' token
/usr/local/include/mutils/mutils.h:143: error: syntax error before "mutils_word32swap"
/usr/local/include/mutils/mutils.h:143: error: syntax error before "x"
/usr/local/include/mutils/mutils.h:144: error: syntax error before '*' token
/usr/local/include/mutils/mutils.h:144: error: syntax error before '*' token
/usr/local/include/mutils/mutils.h:146: error: syntax error before '*' token
/usr/local/include/mutils/mutils.h:146: error: syntax error before '*' token
/usr/local/include/mutils/mutils.h:147: error: syntax error before '*' token
In file included from /usr/local/include/mhash.h:6,
                 from /usr/local/directadmin/customapache/php-4.4.2/ext/mhash/mhash.c:30:
/usr/local/include/mutils/mtypes.h:29: error: syntax error before "uint32_t"
/usr/local/include/mutils/mtypes.h:31: error: syntax error before "salt_size"
/usr/local/include/mutils/mtypes.h:41: error: syntax error before "uint32_t"
/usr/local/include/mutils/mtypes.h:43: error: syntax error before '*' token
/usr/local/include/mutils/mtypes.h:45: error: syntax error before '*' token
/usr/local/include/mutils/mtypes.h:46: error: syntax error before "state_size"
/usr/local/include/mutils/mtypes.h:52: error: syntax error before '}' token
/usr/local/include/mutils/mtypes.h:54: error: syntax error before '*' token
In file included from /usr/local/include/mhash.h:8,
                 from /usr/local/directadmin/customapache/php-4.4.2/ext/mhash/mhash.c:30:
/usr/local/include/mutils/mhash.h:52: error: syntax error before "mhash_count"
/usr/local/include/mutils/mhash.h:53: error: syntax error before "mhash_get_block_size"
/usr/local/include/mutils/mhash.h:54: error: syntax error before '*' token
/usr/local/include/mutils/mhash.h:57: error: syntax error before '*' token
/usr/local/include/mutils/mhash.h:61: error: syntax error before "mhash_init"
/usr/local/include/mutils/mhash.h:65: error: syntax error before "mhash_cp"
/usr/local/include/mutils/mhash.h:65: error: syntax error before "from"
/usr/local/include/mutils/mhash.h:69: error: syntax error before "thread"
/usr/local/include/mutils/mhash.h:73: error: syntax error before "thread"
/usr/local/include/mutils/mhash.h:74: error: syntax error before "thread"
/usr/local/include/mutils/mhash.h:74: error: syntax error before ')' token
/usr/local/include/mutils/mhash.h:75: error: syntax error before "thread"
/usr/local/include/mutils/mhash.h:79: error: syntax error before "mhash_get_hash_pblock"
/usr/local/include/mutils/mhash.h:80: error: syntax error before "tmp"
/usr/local/include/mutils/mhash.h:84: error: syntax error before "mhash_hmac_init"
/usr/local/include/mutils/mhash.h:84: error: syntax error before "uint32_t"
/usr/local/include/mutils/mhash.h:85: error: syntax error before "thread"
/usr/local/include/mutils/mhash.h:85: error: syntax error before ')' token
/usr/local/include/mutils/mhash.h:86: error: syntax error before "thread"
/usr/local/include/mutils/mhash.h:87: error: syntax error before "thread"
/usr/local/include/mutils/mhash.h:91: error: syntax error before "thread"
/usr/local/include/mutils/mhash.h:92: error: syntax error before "mhash_restore_state_mem"
/usr/local/include/mutils/mhash.h:96: error: syntax error before "mhash_keygen"
/usr/local/include/mutils/mhash.h:97: error: syntax error before "uint64_t"
/usr/local/include/mutils/mhash.h:102: error: syntax error before "mhash_keygen_ext"
/usr/local/include/mutils/mhash.h:102: error: syntax error before "KEYGEN"
/usr/local/include/mutils/mhash.h:106: error: syntax error before '*' token
/usr/local/include/mutils/mhash.h:108: error: syntax error before "mhash_get_keygen_salt_size"
/usr/local/include/mutils/mhash.h:109: error: syntax error before "mhash_get_keygen_max_key_size"
/usr/local/include/mutils/mhash.h:110: error: syntax error before "mhash_keygen_count"
/usr/local/directadmin/customapache/php-4.4.2/ext/mhash/mhash.c: In function `zm_startup_mhash':
/usr/local/directadmin/customapache/php-4.4.2/ext/mhash/mhash.c:71: warning: assignment from incompatible pointer type
/usr/local/directadmin/customapache/php-4.4.2/ext/mhash/mhash.c: In function `zif_mhash_get_hash_name':
/usr/local/directadmin/customapache/php-4.4.2/ext/mhash/mhash.c:132: warning: assignment from incompatible pointer type
/usr/local/directadmin/customapache/php-4.4.2/ext/mhash/mhash.c: In function `zif_mhash':
/usr/local/directadmin/customapache/php-4.4.2/ext/mhash/mhash.c:147: error: syntax error before "td"
/usr/local/directadmin/customapache/php-4.4.2/ext/mhash/mhash.c:165: error: `td' undeclared (first use in this function)
/usr/local/directadmin/customapache/php-4.4.2/ext/mhash/mhash.c:165: error: (Each undeclared identifier is reported only once
/usr/local/directadmin/customapache/php-4.4.2/ext/mhash/mhash.c:165: error: for each function it appears in.)
/usr/local/directadmin/customapache/php-4.4.2/ext/mhash/mhash.c:170: error: syntax error before numeric constant
/usr/local/directadmin/customapache/php-4.4.2/ext/mhash/mhash.c: In function `zif_mhash_keygen_s2k':
/usr/local/directadmin/customapache/php-4.4.2/ext/mhash/mhash.c:197: error: syntax error before "keystruct"
/usr/local/directadmin/customapache/php-4.4.2/ext/mhash/mhash.c:225: error: `keystruct' undeclared (first use in this function)
make: *** [ext/mhash/mhash.lo] Error 1
 
Back
Top