473,480 Members | 1,871 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 5047
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
1428
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
6866
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
2150
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
1868
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
2487
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
1270
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
2257
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
2303
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
3589
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
2243
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
7048
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7088
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
6956
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...
1
4783
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...
0
4485
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
2986
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1300
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
563
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
183
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.