Problems with Mhash during Apache update

dmgens

Well-Known Member
Dec 10, 2006
51
0
156
While trying to update the apache server through WHM I get error duning the copliation of the mhash option for php they are:

/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

the rest of the stuff is attached:

I may have folwed up some lib's etc. in an attempt to get mhash on to my server.
Any advice?
 

Attachments

katmai

Well-Known Member
Mar 13, 2006
564
4
168
Brno, Czech Republic
actually i tried updating apache through the interface 4 5 times. all times failed.

try running /scripts/easyapache from shell. should surely work.
 

k1k

Active Member
Mar 24, 2006
27
0
151
Strange

That sounds really "bad".
You could try the following steps:

1. change your update version /etc/cpupdate.conf to current
2. /scripts/upcp --force
3. /scripts/sysup
4. Try to recompile the web server again
 

dmgens

Well-Known Member
Dec 10, 2006
51
0
156
Tried both approaches

Folks,

Tried both approcahes and still get the errors and warnings

Any more thoughts?

Thanks
 

dmgens

Well-Known Member
Dec 10, 2006
51
0
156
Thanks for the help

Folks:

Found the problem, mincludes was missing from the /usr/local/include/mutils directory, so mhash.h and mutils.h didn't have some type definitions they needed. Igot it from another directory /usr/src/mhash-0.9.4/include/mutils/ and ran the Aphache update and it worked

Thanks for the suggestions, well if we see that one again we've got it licked

David