Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

php 5 /scripts/easyapache issues

Discussion in 'EasyApache' started by SMG, May 25, 2006.

  1. SMG

    SMG Member

    Joined:
    Nov 29, 2003
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    151
    I held off until now to update to php 5 because I was afraid something was gonna break ... I guess my fears were warranted because it did. When I tried doing 5.0.5 and 5.1.4 they both gave compile errors ... any help? Below is a section of the output ending with where it failed. I had installed mysql 4.1 a while before this, to update the libraries I installed php 4.4.2 successfully after the 5.x fails.
    oh and the server is a RHE 3 box
    - the server is RHE 3
    Code:
    `cat CCTYPE` -c `cat CFLAGS` flstring.c
    `cat CCTYPE` -c `cat CFLAGS` fdstring.c
    `cat CCTYPE` -c `cat CFLAGS` rfc822.c
    `cat CCTYPE` -c `cat CFLAGS` nntp.c
    `cat CCTYPE` -c `cat CFLAGS` smtp.c
    `cat CCTYPE` -c `cat CFLAGS` imap4r1.c
    `cat CCTYPE` -c `cat CFLAGS` pop3.c
    `cat CCTYPE` -c `cat CFLAGS` unix.c
    `cat CCTYPE` -c `cat CFLAGS` mbx.c
    `cat CCTYPE` -c `cat CFLAGS` mmdf.c
    `cat CCTYPE` -c `cat CFLAGS` tenex.c
    `cat CCTYPE` -c `cat CFLAGS` mtx.c
    `cat CCTYPE` -c `cat CFLAGS` news.c
    news.c: In function `news_open':
    news.c:347: warning: passing arg 3 of `scandir' from incompatible pointer type
    `cat CCTYPE` -c `cat CFLAGS` phile.c
    `cat CCTYPE` -c `cat CFLAGS` mh.c
    mh.c: In function `mh_ping':
    mh.c:688: warning: passing arg 3 of `scandir' from incompatible pointer type
    mh.c: In function `mh_append':
    mh.c:938: warning: passing arg 3 of `scandir' from incompatible pointer type
    `cat CCTYPE` -c `cat CFLAGS` mx.c
    mx.c: In function `mx_ping':
    mx.c:647: warning: passing arg 3 of `scandir' from incompatible pointer type
    sh -c 'rm -rf c-client.a || true'
    ar rc c-client.a osdep.o mail.o misc.o newsrc.o smanager.o utf8.o siglocal.o dummy.o pseudo.o netmsg.o flstring.o fdstring.o rfc822.o nntp.o smtp.o imap4r1.o pop3.o unix.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o;ranlib c-client.a
    make[4]: Leaving directory `/usr/local/cpanel/src/3rdparty/bsd/imap-2004g/c-client'
    make[3]: Leaving directory `/usr/local/cpanel/src/3rdparty/bsd/imap-2004g/c-client'
    echo slx > OSTYPE
    touch rebuild
    sh -c 'rm -rf rebuild || true'
    Building bundled tools...
    cd mtest;make
    make[3]: Entering directory `/usr/local/cpanel/src/3rdparty/bsd/imap-2004g/mtest'
    `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS`   -c -o mtest.o mtest.c
    `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o mtest mtest.o ../c-client/c-client.a `cat ../c-client/LDFLAGS`
    mtest.o(.text+0x1f72): In function `smtptest':
    /usr/local/cpanel/src/3rdparty/bsd/imap-2004g/mtest/mtest.c:766: the `gets' function is dangerous and should not be used.
    make[3]: Leaving directory `/usr/local/cpanel/src/3rdparty/bsd/imap-2004g/mtest'
    cd ipopd;make
    make[3]: Entering directory `/usr/local/cpanel/src/3rdparty/bsd/imap-2004g/ipopd'
    `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS`   -c -o ipop2d.o ipop2d.c
    `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o ipop2d ipop2d.o ../c-client/c-client.a `cat ../c-client/LDFLAGS`
    `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS`   -c -o ipop3d.o ipop3d.c
    `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o ipop3d ipop3d.o ../c-client/c-client.a `cat ../c-client/LDFLAGS`
    make[3]: Leaving directory `/usr/local/cpanel/src/3rdparty/bsd/imap-2004g/ipopd'
    cd imapd;make
    make[3]: Entering directory `/usr/local/cpanel/src/3rdparty/bsd/imap-2004g/imapd'
    `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS`   -DANOFILE=\"/etc/anonymous.newsgroups\" -DALERTFILE=\"/etc/imapd.alert\" -DNNTPFILE=\"/etc/imapd.nntp\" -DUSERALERTFILE=\".imapalert\" -DSHUTDOWNFILE=\"/etc/nologin\"   -c -o imapd.o imapd.c
    imapd.c: In function `kodint':
    imapd.c:1524: warning: pointer type mismatch in conditional expression
    `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS`   -DANOFILE=\"/etc/anonymous.newsgroups\" -DALERTFILE=\"/etc/imapd.alert\" -DNNTPFILE=\"/etc/imapd.nntp\" -DUSERALERTFILE=\".imapalert\" -DSHUTDOWNFILE=\"/etc/nologin\" -o imapd imapd.o ../c-client/c-client.a `cat ../c-client/LDFLAGS`
    make[3]: Leaving directory `/usr/local/cpanel/src/3rdparty/bsd/imap-2004g/imapd'
    cd mailutil;make
    make[3]: Entering directory `/usr/local/cpanel/src/3rdparty/bsd/imap-2004g/mailutil'
    `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS`   -c -o mailutil.o mailutil.c
    `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o mailutil mailutil.o ../c-client/c-client.a `cat ../c-client/LDFLAGS`
    make[3]: Leaving directory `/usr/local/cpanel/src/3rdparty/bsd/imap-2004g/mailutil'
    cd mlock;make || true
    make[3]: Entering directory `/usr/local/cpanel/src/3rdparty/bsd/imap-2004g/mlock'
    `cat ../c-client/CCTYPE` `cat ../c-client/CFLAGS`   -c -o mlock.o mlock.c
    `cat ../c-client/CCTYPE` `cat ../c-client/CFLAGS` -o mlock mlock.o
    make[3]: Leaving directory `/usr/local/cpanel/src/3rdparty/bsd/imap-2004g/mlock'
    cd dmail;make || true
    make[3]: Entering directory `/usr/local/cpanel/src/3rdparty/bsd/imap-2004g/dmail'
    `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS`   -c -o dmail.o dmail.c
    `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o dmail dmail.o ../c-client/c-client.a `cat ../c-client/LDFLAGS`
    make[3]: Leaving directory `/usr/local/cpanel/src/3rdparty/bsd/imap-2004g/dmail'
    cd tmail;make || true
    make[3]: Entering directory `/usr/local/cpanel/src/3rdparty/bsd/imap-2004g/tmail'
    `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS`   -c -o tmail.o tmail.c
    `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o tmail tmail.o ../c-client/c-client.a `cat ../c-client/LDFLAGS`
    make[3]: Leaving directory `/usr/local/cpanel/src/3rdparty/bsd/imap-2004g/tmail'
    make[2]: Leaving directory `/usr/local/cpanel/src/3rdparty/bsd/imap-2004g'
    make[1]: Leaving directory `/usr/local/cpanel/src/3rdparty/bsd/imap-2004g'
    (cd imap-2004g/c-client/; \
    rm -f libc-client.a; ln -s c-client.a libc-client.a; \
    rm -f include; ln -s . include; \
    rm -f lib; ln -s . lib)
    rm -rf imap-2004g
    12:40:05 URL:http://layer1.cpanel.net/buildapache/1/php-5.0.5.tar.gz [6082082/6082082] -> "php-5.0.5.tar.gz" [1]
    Untarring php....Done
    Running configure:
    LDFLAGS="-L/usr/X11R6/lib64" /home/cpapachebuild/buildapache/callbacklog --prog configure --dir /home/cpapachebuild/buildapache/build-log --  --with-apxs=/usr/local/apache/bin/apxs  --prefix=/usr/local --with-xml    --enable-bcmath --enable-calendar  --with-curl   --enable-ftp --with-gd --with-jpeg-dir=/usr/local --with-png-dir=/usr --with-xpm-dir=/usr/X11R6  --with-imap=/usr/local/imap-2004g --enable-magic-quotes --with-mysqli  --with-mysql=/usr  --enable-discard-path  --with-pear  --enable-sockets --enable-track-vars --with-ttf --with-freetype-dir=/usr --enable-gd-native-ttf --enable-versioning --with-zlib
    ./configure [@php-5.0.5]...(--with-apxs=/usr/local/apache/bin/apxs --prefix=/usr/local --with-xml --enable-bcmath --enable-calendar --with-curl --enable-ftp --with-gd --with-jpeg-dir=/usr/local --with-png-dir=/usr --with-xpm-dir=/usr/X11R6 --with-imap=/usr/local/imap-2004g --enable-magic-quotes --with-mysqli --with-mysql=/usr --enable-discard-path --with-pear --enable-sockets --enable-track-vars --with-ttf --with-freetype-dir=/usr --enable-gd-native-ttf --enable-versioning --with-zlib)...........................................Done
    make [@php-5.0.5]...(-j 1 clean)....Done
    make [@php-5.0.5]...(-j 1)........................................................................................................................................................................................Done
    make: *** [libphp5.la] Error 1
    make [@php-5.0.5]...(install)....Done
    make: *** [libphp5.la] Error 1
    [Thu May 25 12:43:55 2006] [warn] NameVirtualHost 67.15.68.21:80 has no VirtualHosts
    /etc/rc.d/init.d/httpd start: httpd started
    ./configure [@php-5.0.5]...(--prefix=/usr --with-xml --enable-bcmath --enable-calendar --with-curl --enable-ftp --with-gd --with-jpeg-dir=/usr/local --with-png-dir=/usr --with-xpm-dir=/usr/X11R6 --with-imap=/usr/local/imap-2004g --enable-magic-quotes --with-mysqli --with-mysql=/usr --enable-discard-path --with-pear --enable-sockets --enable-track-vars --with-ttf --with-freetype-dir=/usr --enable-gd-native-ttf --enable-versioning --with-zlib)....................Done
    make [@php-5.0.5]...(-j 1 clean)....Done
    make [@php-5.0.5]...(-j 1).............................................................................................................................................Done
    make: *** [sapi/cgi/php] Error 1
    make [@php-5.0.5]...(install).....Done
    make: *** [sapi/cgi/php] Error 1
    initfpsuexec: using apache 1.x support
    PHP version file has been updated to 4.4.1
    
     
    #1 SMG, May 25, 2006
    Last edited: May 25, 2006
  2. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,483
    Likes Received:
    31
    Trophy Points:
    158
    cPanel Access Level:
    DataCenter Provider

    You will need the latest EDGE and/or Mysql 4.1.19 or Mysql 5.0.21 to get php5 to compile.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice