Connecting Tech Pros Worldwide Help | Site Map

Compiling PHP-5.1.6 on Fedora 9

Rahsaan D. Page
Guest
 
Posts: n/a
#1: Jul 25 '08
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_curl':
/home/rpage/Download/lamp_stack/php-5.1.6/ext/curl/interface.c:274: error:
'CURLOPT_FTPASCII' 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_PASSWDFUNCTION' undeclared (first use in this function)
make: *** [ext/curl/interface.lo] Error 1

Any help would be appreciated, Thanks


Rahsaan D. Page
Guest
 
Posts: n/a
#2: Jul 25 '08

re: Compiling PHP-5.1.6 on Fedora 9


so i have decided to edit interface.c and comment out
#REGISTER_CURL_CONSTANT(CURLOPT_FTPASCII); and
#REGISTER_CURL_CONSTANT(CURLOPT_PASSWDFUNCTION);
Lets see if that works , keeping fingers cross :)

"Rahsaan D. Page" <rahsaan.page@verizon.netwrote in message
news:Fc8ik.6$c52.0@trnddc03...
Quote:
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_curl':
/home/rpage/Download/lamp_stack/php-5.1.6/ext/curl/interface.c:274: error:
'CURLOPT_FTPASCII' 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_PASSWDFUNCTION' undeclared (first use in this function)
make: *** [ext/curl/interface.lo] Error 1
>
Any help would be appreciated, Thanks
>

Rahsaan D. Page
Guest
 
Posts: n/a
#3: Jul 25 '08

re: Compiling PHP-5.1.6 on Fedora 9


Guess i fixed my own issue, LOL

Cheers
"Rahsaan D. Page" <rahsaan.page@verizon.netwrote in message
news:Dx9ik.512$DS3.116@trnddc01...
Quote:
so i have decided to edit interface.c and comment out
#REGISTER_CURL_CONSTANT(CURLOPT_FTPASCII); and
#REGISTER_CURL_CONSTANT(CURLOPT_PASSWDFUNCTION);
Lets see if that works , keeping fingers cross :)
>
"Rahsaan D. Page" <rahsaan.page@verizon.netwrote in message
news:Fc8ik.6$c52.0@trnddc03...
Quote:
>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_curl':
>/home/rpage/Download/lamp_stack/php-5.1.6/ext/curl/interface.c:274:
>error: 'CURLOPT_FTPASCII' 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_PASSWDFUNCTION' undeclared (first use in this function)
>make: *** [ext/curl/interface.lo] Error 1
>>
>Any help would be appreciated, Thanks
>>
>
>

Rahsaan D. Page
Guest
 
Posts: n/a
#4: Jul 25 '08

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_PATH' 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@verizon.netwrote in message
news:pG9ik.513$DS3.37@trnddc01...
Quote:
Guess i fixed my own issue, LOL
>
Cheers
"Rahsaan D. Page" <rahsaan.page@verizon.netwrote in message
news:Dx9ik.512$DS3.116@trnddc01...
Quote:
>so i have decided to edit interface.c and comment out
>#REGISTER_CURL_CONSTANT(CURLOPT_FTPASCII); and
>#REGISTER_CURL_CONSTANT(CURLOPT_PASSWDFUNCTION) ;
>Lets see if that works , keeping fingers cross :)
>>
>"Rahsaan D. Page" <rahsaan.page@verizon.netwrote in message
>news:Fc8ik.6$c52.0@trnddc03...
Quote:
>>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_curl':
>>/home/rpage/Download/lamp_stack/php-5.1.6/ext/curl/interface.c:274:
>>error: 'CURLOPT_FTPASCII' 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_PASSWDFUNCTION' undeclared (first use in this function)
>>make: *** [ext/curl/interface.lo] Error 1
>>>
>>Any help would be appreciated, Thanks
>>>
>>
>>
>
>

Closed Thread


Similar PHP bytes