473,398 Members | 2,120 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

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_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
Jul 24 '08 #1
3 5044
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" <ra**********@verizon.netwrote in message
news:Fc8ik.6$c52.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_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

Jul 25 '08 #2
Guess i fixed my own issue, LOL

Cheers
"Rahsaan D. Page" <ra**********@verizon.netwrote in message
news:Dx9ik.512$DS3.116@trnddc01...
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" <ra**********@verizon.netwrote in message
news:Fc8ik.6$c52.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_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


Jul 25 '08 #3
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" <ra**********@verizon.netwrote in message
news:pG9ik.513$DS3.37@trnddc01...
Guess i fixed my own issue, LOL

Cheers
"Rahsaan D. Page" <ra**********@verizon.netwrote in message
news:Dx9ik.512$DS3.116@trnddc01...
>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" <ra**********@verizon.netwrote in message
news:Fc8ik.6$c52.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_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



Jul 25 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Mangina | last post by:
Can anyone point me in the right direction to getting a successful structure setup for compiling PHP on Win2k ? I have the PHP sources, but I am not sure which compiler to get. Are there any...
6
by: Andres Rosado-Sepulveda | last post by:
Hello, I'm having trouble compiling PHP 4.3.4 on Solaris 8. This is the error message it is showing: -- start -- Undefined first referenced symbol ...
0
by: jmdeschamps | last post by:
Hello to all, I'm trying to get binaries for Ming but can't find them FOR PYTHON... Yes I know its a PHP group, but i believe someone as made a binary of Ming that is symbolically linked to PHP...
0
by: yzzzzz | last post by:
Hi, I am compiling PHP 5.0.2 myself with MySQL support. I did a ./configure --with-mysqli=/usr/local/mysql/bin/mysql_config (see end of post for complete configure) Note: I also have...
3
by: MBS | last post by:
As far as I know PHP code is always a script which is interpreted by the PHP interpreter, compiled to machine code, then executed by the CPU. Much like Java, one could say. (I am not talking...
1
by: Carl Vondrick | last post by:
I'm having trouble compiling PHP 5.1.2 on Kubuntu Breezy. I've downloaded PHP 5.1.2, and when I configure, it gives me an error about libxml2. I am trying to install PHP as a CGI/CLI. The...
0
by: follower | last post by:
This post is mostly Google-bait for anyone else that might want to compile SpiderMonkey ( libjs / libjs.so / libjs.dylib ) for OS X (10.4.5 in my case) and then use it with Python's ctypes. I can't...
0
by: heddy Boubaker | last post by:
hi, as the subject said I've pb compiling php-4.4.4 and php-5.1.6 with ldap module activated on linux debian sarge (2.6.8-3-686-smp) : - for 4.4.4 I've % /bin/sh /www/src/php-4.4.4/libtool...
1
by: smack | last post by:
Does anyone know how to create an extension DLL for Windows. I have no problem compiling my selfdevelopt extension for Linux, but can't seem to find any relevant information on how to compile an...
6
by: msb_6 | last post by:
Currently I have a PHP extension thats all written and compiles under windows, but the PC I'm going to end up putting it on is running Ubuntu 8.04 (g++ 4.2.3). I've delved into PHP documentation...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.