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.

easyapache compile problems (php)

Discussion in 'EasyApache' started by Marty, Apr 26, 2004.

  1. Marty

    Marty Well-Known Member

    Joined:
    Oct 10, 2001
    Messages:
    630
    Likes Received:
    1
    Trophy Points:
    18
    I am having problems compiling php whether with easyapache or manually. I get failures for imap and for sablot. I am hoping that somebody here can give me a fix before I have to submit a ticket to cpanel to fix this.

    This is a RH 7.3 box.

    Here is the error that shows in the config.log file for imap:

    configure:40034: checking whether IMAP works
    configure:40067: gcc -o conftest -g -O2 -Wl,-rpath,/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-rpath,/usr/kerberos/lib -L/usr/kerb$
    /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libc-client.a(osdep.o): In function `ssl_onceonlyinit':
    /usr/src/build/90147-i386/BUILD/imap-2001a/c-client/osdep.c:286: the use of `tmpnam' is dangerous, better use `mkstemp'
    configure: failed program was:
    #line 40042 "configure"
    #include "confdefs.h"

    Here is the error that I get for Sablot:

    checking whether to enable xslt support... yes
    checking for XSLT Sablotron backend... yes
    checking for libexpat dir for Sablotron XSL support... no
    checking for iconv dir for Sablotron XSL support... no
    checking for JavaScript for Sablotron XSL support... no
    checking for Sablotron libraries in the default path... found in /usr
    checking for sablot-config... found
    checking for Sablotron version... configure: error: Sablotron version 0.96 or greater required.


    configure:81194: checking for XSLT Sablotron backend
    configure:81219: checking for libexpat dir for Sablotron XSL support
    configure:81244: checking for iconv dir for Sablotron XSL support
    configure:81269: checking for JavaScript for Sablotron XSL support
    configure:81523: checking for Sablotron libraries in the default path
    configure:81539: checking for sablot-config
    configure:81557: checking for Sablotron version
    configure:81582: gcc -o conftest -g -O2 -I/usr/include -Wl,-rpath,/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-rpath,/usr/local/fla$
    configure: failed program was:
    #line 81564 "configure"
    #include "confdefs.h"

    #include <stdlib.h>
    #include <sablot.h>

    int main ()
    {
    double version;
    version = atof(SAB_VERSION);

    if (version >= 0.96) {
    exit(0);
    }
    exit(255);
    }


    Any suggestions?
     
  2. Marty

    Marty Well-Known Member

    Joined:
    Oct 10, 2001
    Messages:
    630
    Likes Received:
    1
    Trophy Points:
    18
    mmm, nobody else is seeing this?
     
  3. lorio

    lorio Well-Known Member

    Joined:
    Feb 25, 2004
    Messages:
    243
    Likes Received:
    3
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    The IMAP problem is back when trying a build with PHP 5.0.2.

    The logfiles won't offering a clear hint which part needs to be fixed.

    WHM 9.9.7 cPanel 9.9.8-S6
    RedHat 9 i686 - WHM X v3.1.0

    Since IMAP is needed by Horde it must be a problem you recognize very fast ;-)

    Any solution in reach? After searching for two days the web and this forum I need a hint to search with a different keyword set.

    Thanks!
     
  4. damainman

    damainman Well-Known Member

    Joined:
    Nov 13, 2003
    Messages:
    515
    Likes Received:
    0
    Trophy Points:
    16
    Have you submitted a ticket to cpanel?
     
  5. lorio

    lorio Well-Known Member

    Joined:
    Feb 25, 2004
    Messages:
    243
    Likes Received:
    3
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    No, I first wanted to search down a solution via the board. I will submit one now.
     
  6. Sinewy

    Sinewy Well-Known Member

    Joined:
    May 15, 2004
    Messages:
    367
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Sydney, Australia
    cPanel Access Level:
    DataCenter Provider
    /scripts/makecpphp

    does this give any errors?

    easyapache has been updated a lot since you last posted, maybe you should try it again.
     
  7. lorio

    lorio Well-Known Member

    Joined:
    Feb 25, 2004
    Messages:
    243
    Likes Received:
    3
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    1.) /scripts/makecpphp breaks.
    Even though it uses PHP 4.3.9 in the building process it breaks after checking for imap

    2.) I try easyapache every day with every released version except bleeding edge.
    IMOP the c-client library and/or a different gcc version would help to prevent the problem.

    I updated the RPMs where possible. But I am not deep enough into the stuff. But I still cannot believe I am the only one PHP 5 and IMAP not able to run on a Redhat 9 VPS (Virtuozzo).
     
  8. Sinewy

    Sinewy Well-Known Member

    Joined:
    May 15, 2004
    Messages:
    367
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Sydney, Australia
    cPanel Access Level:
    DataCenter Provider
    do these files exist?

    /usr/lib/c-client.a
    /usr/lib/libc-client.a
     
  9. lorio

    lorio Well-Known Member

    Joined:
    Feb 25, 2004
    Messages:
    243
    Likes Received:
    3
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    The files are available. I think a gcc downgrade will be helpful. But that might break different parts of cpanel. So the developers will be in charge.

    Everybody can contribute to the bugtracker
    http://bugzilla.cpanel.net/show_bug.cgi?id=1633

    Thanks!
     
  10. lorio

    lorio Well-Known Member

    Joined:
    Feb 25, 2004
    Messages:
    243
    Likes Received:
    3
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Weeks have passed.

    Nobody voted for bug. It really looks that everybody can build a apache with php 5.02 and imap under RedHat. A confirmation would be fine.
     
  11. bamasbest

    bamasbest Well-Known Member

    Joined:
    Jan 10, 2004
    Messages:
    531
    Likes Received:
    0
    Trophy Points:
    16
    Hmm....

    php 5.x.x is still listed as "Testing"

    Compiling 4.3.9 with IMAP on my Fedora boxes works like a charm (at least for me)!
     
  12. lorio

    lorio Well-Known Member

    Joined:
    Feb 25, 2004
    Messages:
    243
    Likes Received:
    3
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    It's still testing. 5.0.3 shows the same problem. Is notbody using 5.0.3 with IMAP or is the issue that seldom?
     
Loading...

Share This Page