Compiling PHP-5.1.6 on Fedora 9

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Rahsaan D. Page

    Compiling PHP-5.1.6 on Fedora 9

    Hello Everyone,

    i am currently trying to compile php 5.1.6 on fedora 9 i386, when i ran in
    to a compile issue with 'ext/cur;/interface.lo'. i got pass the ./configure
    phase but dont know why its complaining about the 'make' phase.. Here is the
    error below:

    /home/rpage/Download/lamp_stack/php-5.1.6/ext/curl/interface.c: In function
    'zm_startup_cur l':
    /home/rpage/Download/lamp_stack/php-5.1.6/ext/curl/interface.c:274 : error:
    'CURLOPT_FTPASC II' undeclared (first use in this function)
    /home/rpage/Download/lamp_stack/php-5.1.6/ext/curl/interface.c:274 : error:
    (Each undeclared identifier is reported only once
    /home/rpage/Download/lamp_stack/php-5.1.6/ext/curl/interface.c:274 : error:
    for each function it appears in.)
    /home/rpage/Download/lamp_stack/php-5.1.6/ext/curl/interface.c:314 : error:
    'CURLOPT_PASSWD FUNCTION' undeclared (first use in this function)
    make: *** [ext/curl/interface.lo] Error 1

    Any help would be appreciated, Thanks


  • Rahsaan D. Page

    #2
    Re: Compiling PHP-5.1.6 on Fedora 9

    so i have decided to edit interface.c and comment out
    #REGISTER_CURL_ CONSTANT(CURLOP T_FTPASCII); and
    #REGISTER_CURL_ CONSTANT(CURLOP T_PASSWDFUNCTIO N);
    Lets see if that works , keeping fingers cross :)

    "Rahsaan D. Page" <rahsaan.page@v erizon.netwrote in message
    news:Fc8ik.6$c5 2.0@trnddc03...
    Hello Everyone,
    >
    i am currently trying to compile php 5.1.6 on fedora 9 i386, when i ran in
    to a compile issue with 'ext/cur;/interface.lo'. i got pass the
    ./configure phase but dont know why its complaining about the 'make'
    phase.. Here is the error below:
    >
    /home/rpage/Download/lamp_stack/php-5.1.6/ext/curl/interface.c: In
    function 'zm_startup_cur l':
    /home/rpage/Download/lamp_stack/php-5.1.6/ext/curl/interface.c:274 : error:
    'CURLOPT_FTPASC II' undeclared (first use in this function)
    /home/rpage/Download/lamp_stack/php-5.1.6/ext/curl/interface.c:274 : error:
    (Each undeclared identifier is reported only once
    /home/rpage/Download/lamp_stack/php-5.1.6/ext/curl/interface.c:274 : error:
    for each function it appears in.)
    /home/rpage/Download/lamp_stack/php-5.1.6/ext/curl/interface.c:314 : error:
    'CURLOPT_PASSWD FUNCTION' undeclared (first use in this function)
    make: *** [ext/curl/interface.lo] Error 1
    >
    Any help would be appreciated, Thanks
    >

    Comment

    • Rahsaan D. Page

      #3
      Re: Compiling PHP-5.1.6 on Fedora 9

      Guess i fixed my own issue, LOL

      Cheers
      "Rahsaan D. Page" <rahsaan.page@v erizon.netwrote in message
      news:Dx9ik.512$ DS3.116@trnddc0 1...
      so i have decided to edit interface.c and comment out
      #REGISTER_CURL_ CONSTANT(CURLOP T_FTPASCII); and
      #REGISTER_CURL_ CONSTANT(CURLOP T_PASSWDFUNCTIO N);
      Lets see if that works , keeping fingers cross :)
      >
      "Rahsaan D. Page" <rahsaan.page@v erizon.netwrote in message
      news:Fc8ik.6$c5 2.0@trnddc03...
      >Hello Everyone,
      >>
      >i am currently trying to compile php 5.1.6 on fedora 9 i386, when i ran
      >in to a compile issue with 'ext/cur;/interface.lo'. i got pass the
      >./configure phase but dont know why its complaining about the 'make'
      >phase.. Here is the error below:
      >>
      >/home/rpage/Download/lamp_stack/php-5.1.6/ext/curl/interface.c: In
      >function 'zm_startup_cur l':
      >/home/rpage/Download/lamp_stack/php-5.1.6/ext/curl/interface.c:274 :
      >error: 'CURLOPT_FTPASC II' undeclared (first use in this function)
      >/home/rpage/Download/lamp_stack/php-5.1.6/ext/curl/interface.c:274 :
      >error: (Each undeclared identifier is reported only once
      >/home/rpage/Download/lamp_stack/php-5.1.6/ext/curl/interface.c:274 :
      >error: for each function it appears in.)
      >/home/rpage/Download/lamp_stack/php-5.1.6/ext/curl/interface.c:314 :
      >error: 'CURLOPT_PASSWD FUNCTION' undeclared (first use in this function)
      >make: *** [ext/curl/interface.lo] Error 1
      >>
      >Any help would be appreciated, Thanks
      >>
      >
      >

      Comment

      • Rahsaan D. Page

        #4
        Re: Compiling PHP-5.1.6 on Fedora 9

        Guess i was wrong that did not work.. so i decided to u pgrade to php 5.2.6
        and got the same error..
        so i did a few system commands to check if 'LD_LIBRARY_PAT H' was set and it
        was not... So since this is a intel base i386 box...
        I set Libs path to
        LD_LIBRARY_PATH =:/usr/lib:/usr/local/lib:/usr/X11R6/lib... And its working,
        maybe it should work for php 5.1.6 too..

        Hope this works for you...

        Cheers
        "Rahsaan D. Page" <rahsaan.page@v erizon.netwrote in message
        news:pG9ik.513$ DS3.37@trnddc01 ...
        Guess i fixed my own issue, LOL
        >
        Cheers
        "Rahsaan D. Page" <rahsaan.page@v erizon.netwrote in message
        news:Dx9ik.512$ DS3.116@trnddc0 1...
        >so i have decided to edit interface.c and comment out
        >#REGISTER_CURL _CONSTANT(CURLO PT_FTPASCII); and
        >#REGISTER_CURL _CONSTANT(CURLO PT_PASSWDFUNCTI ON);
        >Lets see if that works , keeping fingers cross :)
        >>
        >"Rahsaan D. Page" <rahsaan.page@v erizon.netwrote in message
        >news:Fc8ik.6$c 52.0@trnddc03.. .
        >>Hello Everyone,
        >>>
        >>i am currently trying to compile php 5.1.6 on fedora 9 i386, when i ran
        >>in to a compile issue with 'ext/cur;/interface.lo'. i got pass the
        >>./configure phase but dont know why its complaining about the 'make'
        >>phase.. Here is the error below:
        >>>
        >>/home/rpage/Download/lamp_stack/php-5.1.6/ext/curl/interface.c: In
        >>function 'zm_startup_cur l':
        >>/home/rpage/Download/lamp_stack/php-5.1.6/ext/curl/interface.c:274 :
        >>error: 'CURLOPT_FTPASC II' undeclared (first use in this function)
        >>/home/rpage/Download/lamp_stack/php-5.1.6/ext/curl/interface.c:274 :
        >>error: (Each undeclared identifier is reported only once
        >>/home/rpage/Download/lamp_stack/php-5.1.6/ext/curl/interface.c:274 :
        >>error: for each function it appears in.)
        >>/home/rpage/Download/lamp_stack/php-5.1.6/ext/curl/interface.c:314 :
        >>error: 'CURLOPT_PASSWD FUNCTION' undeclared (first use in this function)
        >>make: *** [ext/curl/interface.lo] Error 1
        >>>
        >>Any help would be appreciated, Thanks
        >>>
        >>
        >>
        >
        >

        Comment

        Working...