The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Problems with Mhash during Apache update

Discussion in 'EasyApache' started by dmgens, Dec 10, 2006.

  1. dmgens

    dmgens Well-Known Member

    Joined:
    Dec 10, 2006
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    6
    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?
     

    Attached Files:

  2. katmai

    katmai Well-Known Member

    Joined:
    Mar 13, 2006
    Messages:
    526
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    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.
     
  3. k1k

    k1k Active Member

    Joined:
    Mar 24, 2006
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    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
     
  4. dmgens

    dmgens Well-Known Member

    Joined:
    Dec 10, 2006
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    6
    Tried both approaches

    Folks,

    Tried both approcahes and still get the errors and warnings

    Any more thoughts?

    Thanks
     
  5. dmgens

    dmgens Well-Known Member

    Joined:
    Dec 10, 2006
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    6
    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
     
Loading...

Share This Page