Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2006
    Posts
    34

    i got some errors while compiling php

    hi

    i was compiling php in apache update section in whm. but when compiling curl, i got
    some errors :



    make [@php-5.0.4]...(-j 1 clean).... Done

    make [@php-5.0.4]...(-j 1).... . . . . . . . . . . Done

    /home/cpapachebuild/buildapache/php-5.0.4/ext/curl/interface.c:173: error: `CURLOPT_FTPASCII' undeclared (first use in this function)
    /home/cpapachebuild/buildapache/php-5.0.4/ext/curl/interface.c:173: error: (Each undeclared identifier is reported only once
    /home/cpapachebuild/buildapache/php-5.0.4/ext/curl/interface.c:173: error: for each function it appears in.)
    /home/cpapachebuild/buildapache/php-5.0.4/ext/curl/interface.c:211: error: `CURLOPT_PASSWDFUNCTION' undeclared (first use in this function)
    make: *** [ext/curl/interface.lo] Error 1

    make [@php-5.0.4]...(install).... Done

    /home/cpapachebuild/buildapache/php-5.0.4/ext/curl/interface.c:173: error: `CURLOPT_FTPASCII' undeclared (first use in this function)
    /home/cpapachebuild/buildapache/php-5.0.4/ext/curl/interface.c:173: error: (Each undeclared identifier is reported only once
    /home/cpapachebuild/buildapache/php-5.0.4/ext/curl/interface.c:173: error: for each function it appears in.)
    /home/cpapachebuild/buildapache/php-5.0.4/ext/curl/interface.c:211: error: `CURLOPT_PASSWDFUNCTION' undeclared (first use in this function)
    make: *** [ext/curl/interface.lo] Error 1


    i'm compiling php5.0.4, with default settings and Curl (Version 7.15.3), GD
    (Version 2.0.15), GetText, Freetype Support.

  2. #2
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    9,072
    Have you tried using the latest version of PHP (5.2.3).

    I remember that bug you're experiencing, and it was resolved by changing a line or two IIRC in the source code for cURL... but I would try using the latest PHP first.
    RACK911 Labs | Penetration Testing | https://www.RACK911Labs.ca

    www.HostingSecList.com - Security Notices for the Hosting Community.

  3. #3
    Join Date
    Jun 2006
    Posts
    34
    Yep. That fixed the problem. Thanks Pat H

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •