473,327 Members | 2,012 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,327 software developers and data experts.

linux, php,cvs, curl instlling problem

Hello

I checked out openssl,mm,apr,apr-util,apache 2,curl,libxml and php
from cvs.

php couse an ERROR

I did the following steps:

export ORACLE_BASE=/usr/local/share/oracle/
export ORACLE_HOME=/usr/local/share/oracle/OraHome1
export ORACLE_DOC=$ORACLE_BASE/doc
export ORACLE_SID=udb
export TWO_TASK=udb.suchtreffer.de
export PATH=$PATH:/usr/local/share/oracle/OraHome1/bin
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export CLASSPATH=/usr/local/share/oracle/jre:$ORACLE_HOME/jlib
export NLS_LANG='ENGLISH_UNITED KINGDOM.WE8ISO8859P1'
export ORA_NLS33=/usr/local/share/oracle/OraHome1/ocommon/nls/admin/data
openssl:
cd /usr/local/src
rsync -rztpv --delete rsync://dev.openssl.org/openssl-cvs/
/usr/local/src/openssl-cvs-rsync/
cvs -d /usr/local/src/openssl-cvs-rsync co openssl
cd ./openssl
config no-idea no-threads -fPIC
make
make test
make install

mm:
cd /usr/local/src
download mm-1.3.0.tar.gz (http://www.ossp.org/pkg/lib/mm/)
tar -zxvpf mm-1.3.0.tar.gz
cd ./mm-1.3.0
../configure --disable-shared
make
make install

apr:
cd /usr/local/src
cvs -d :pserver:an*****@cvs.apache.org:/home/cvspublic login
Password: anoncvs cvs -d :pserver:an*****@cvs.apache.org:/home/cvspublic co apr
cd ./apr
../buildconf
../configure
make
make install

apr-util:
cd /usr/local/src
cvs -d :pserver:an*****@cvs.apache.org:/home/cvspublic co apr-util
cd ./apr-util
../buildconf
../configure --with-apr=../apr
make
make install

apache 2:
cd /usr/local/src
cvs -d :pserver:an*****@cvs.apache.org:/home/cvspublic co -d httpd
httpd-2.0
cd ./httpd/srclib
ln -s /usr/local/src/apr .
ln -s /usr/local/src/apr-util .
cd ..
../buildconf
../configure --prefix=/usr/local --with-apr=../apr
--with-apr-util=../apr-util/ --with-ssl=/usr/local/ssl --enable-ssl
make
make install

curl:
cd /usr/local/src
cvs -d :pserver:cv*****@cvs.php.net:/repository login Password: phpfi cvs -d :pserver:cv*****@cvs.php.net:/repository checkout curl
cd ./curl
../buildconf
../configure --prefix=/usr/local --disable-ipv6
--with-ssl=/usr/local/ssl
make
make install
libxml2:

cd /usr/local/src
cvs -d :pserver:an*******@anoncvs.gnome.org:/cvs/gnome login Password: [RETURN]

cvs -d :pserver:an*******@anoncvs.gnome.org:/cvs/gnome co libxml2
cd ./libxml2
../autogen.sh
make
make install
php:
cd /usr/local/src
cvs -d :pserver:cv*****@cvs.php.net:/repository co -d php php-src
cd ./php
../buildconf
../configure --with-apache2=../httpd --enable-sysvshm=yes
--enable-url-includes --enable-track-vars=yes --enable-trans-sid=yes
--with-xml=../libxml2 --enable-magic-quotes --enable-ftp
--with-oracle=$ORACLE_HOME --with-oci8=$ORACLE_HOME --enable-sigchild
--with-mysql --with-openssl=/usr/local/ssl --with-curl=usr/local/lib
--with-curlwrappers
make

now I get an Error-Message:

gcc -Iext/curl/ -I/usr/local/src/php/ext/curl/ -DPHP_ATOM_INC
-I/usr/local/src/php/include -I/usr/local/src/php/main
-I/usr/local/src/php -I/usr/local/src/php/Zend
-I/usr/local/include/libxml2 -I/usr/local/ssl/include
-I/usr/local/include -I/usr/include/mysql
-I/usr/local/share/oracle/OraHome1/rdbms/public
-I/usr/local/share/oracle/OraHome1/rdbms/demo
-I/usr/local/src/php/TSRM -g -O2 -c
/usr/local/src/php/ext/curl/interface.c -o ext/curl/interface.o &&
echo > ext/curl/interface.lo
/usr/local/src/php/ext/curl/interface.c: In function `curl_free_post':
/usr/local/src/php/ext/curl/interface.c:643: warning: passing arg 1 of
`curl_formfree' from incompatible pointer type
/usr/local/src/php/ext/curl/interface.c: In function
`alloc_curl_handle':
/usr/local/src/php/ext/curl/interface.c:711: sizeof applied to an
incomplete type
/usr/local/src/php/ext/curl/interface.c: In function
`zif_curl_setopt':
/usr/local/src/php/ext/curl/interface.c:999: warning: passing arg 1 of
`curl_formadd' from incompatible pointer type
/usr/local/src/php/ext/curl/interface.c:999: warning: passing arg 2 of
`curl_formadd' from incompatible pointer type
/usr/local/src/php/ext/curl/interface.c:1006: warning: passing arg 1
of `curl_formadd' from incompatible pointer type
/usr/local/src/php/ext/curl/interface.c:1006: warning: passing arg 2
of `curl_formadd' from incompatible pointer type
make: *** [ext/curl/interface.lo] Error 1

I also tried to configure php with
--with-curl=/usr/local/lib
--with-curl=/usr/local/include/curl
--with-curl=/usr/local/src/curl/include/curl/
Can you help ?
please !
Jul 17 '05 #1
1 2903
Haluk Durmus wrote:
Hello

I checked out openssl,mm,apr,apr-util,apache 2,curl,libxml and php
from cvs.

php couse an ERROR

I did the following steps:

export ORACLE_BASE=/usr/local/share/oracle/
export ORACLE_HOME=/usr/local/share/oracle/OraHome1
export ORACLE_DOC=$ORACLE_BASE/doc
export ORACLE_SID=udb
export TWO_TASK=udb.suchtreffer.de
export PATH=$PATH:/usr/local/share/oracle/OraHome1/bin
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export CLASSPATH=/usr/local/share/oracle/jre:$ORACLE_HOME/jlib
export NLS_LANG='ENGLISH_UNITED KINGDOM.WE8ISO8859P1'
export ORA_NLS33=/usr/local/share/oracle/OraHome1/ocommon/nls/admin/data
openssl:
cd /usr/local/src
rsync -rztpv --delete rsync://dev.openssl.org/openssl-cvs/
/usr/local/src/openssl-cvs-rsync/
cvs -d /usr/local/src/openssl-cvs-rsync co openssl
cd ./openssl
config no-idea no-threads -fPIC
make
make test
make install

mm:
cd /usr/local/src
download mm-1.3.0.tar.gz (http://www.ossp.org/pkg/lib/mm/)
tar -zxvpf mm-1.3.0.tar.gz
cd ./mm-1.3.0
./configure --disable-shared
make
make install

apr:
cd /usr/local/src
cvs -d :pserver:an*****@cvs.apache.org:/home/cvspublic login
> Password: anoncvs

cvs -d :pserver:an*****@cvs.apache.org:/home/cvspublic co apr
cd ./apr
./buildconf
./configure
make
make install

apr-util:
cd /usr/local/src
cvs -d :pserver:an*****@cvs.apache.org:/home/cvspublic co apr-util
cd ./apr-util
./buildconf
./configure --with-apr=../apr
make
make install

apache 2:
cd /usr/local/src
cvs -d :pserver:an*****@cvs.apache.org:/home/cvspublic co -d httpd
httpd-2.0
cd ./httpd/srclib
ln -s /usr/local/src/apr .
ln -s /usr/local/src/apr-util .
cd ..
./buildconf
./configure --prefix=/usr/local --with-apr=../apr
--with-apr-util=../apr-util/ --with-ssl=/usr/local/ssl --enable-ssl
make
make install

curl:
cd /usr/local/src
cvs -d :pserver:cv*****@cvs.php.net:/repository login
> Password: phpfi

cvs -d :pserver:cv*****@cvs.php.net:/repository checkout curl
cd ./curl
./buildconf
./configure --prefix=/usr/local --disable-ipv6
--with-ssl=/usr/local/ssl
make
make install
libxml2:

cd /usr/local/src
cvs -d :pserver:an*******@anoncvs.gnome.org:/cvs/gnome login
> Password: [RETURN]

cvs -d :pserver:an*******@anoncvs.gnome.org:/cvs/gnome co libxml2
cd ./libxml2
./autogen.sh
make
make install
php:
cd /usr/local/src
cvs -d :pserver:cv*****@cvs.php.net:/repository co -d php php-src
cd ./php
./buildconf
./configure --with-apache2=../httpd --enable-sysvshm=yes
--enable-url-includes --enable-track-vars=yes --enable-trans-sid=yes
--with-xml=../libxml2 --enable-magic-quotes --enable-ftp
--with-oracle=$ORACLE_HOME --with-oci8=$ORACLE_HOME --enable-sigchild
--with-mysql --with-openssl=/usr/local/ssl --with-curl=usr/local/lib
--with-curlwrappers
make

now I get an Error-Message:

gcc -Iext/curl/ -I/usr/local/src/php/ext/curl/ -DPHP_ATOM_INC
-I/usr/local/src/php/include -I/usr/local/src/php/main
-I/usr/local/src/php -I/usr/local/src/php/Zend
-I/usr/local/include/libxml2 -I/usr/local/ssl/include
-I/usr/local/include -I/usr/include/mysql
-I/usr/local/share/oracle/OraHome1/rdbms/public
-I/usr/local/share/oracle/OraHome1/rdbms/demo
-I/usr/local/src/php/TSRM -g -O2 -c
/usr/local/src/php/ext/curl/interface.c -o ext/curl/interface.o &&
echo > ext/curl/interface.lo
/usr/local/src/php/ext/curl/interface.c: In function `curl_free_post':
/usr/local/src/php/ext/curl/interface.c:643: warning: passing arg 1 of
`curl_formfree' from incompatible pointer type
/usr/local/src/php/ext/curl/interface.c: In function
`alloc_curl_handle':
/usr/local/src/php/ext/curl/interface.c:711: sizeof applied to an
incomplete type
/usr/local/src/php/ext/curl/interface.c: In function
`zif_curl_setopt':
/usr/local/src/php/ext/curl/interface.c:999: warning: passing arg 1 of
`curl_formadd' from incompatible pointer type
/usr/local/src/php/ext/curl/interface.c:999: warning: passing arg 2 of
`curl_formadd' from incompatible pointer type
/usr/local/src/php/ext/curl/interface.c:1006: warning: passing arg 1
of `curl_formadd' from incompatible pointer type
/usr/local/src/php/ext/curl/interface.c:1006: warning: passing arg 2
of `curl_formadd' from incompatible pointer type
make: *** [ext/curl/interface.lo] Error 1

I also tried to configure php with
--with-curl=/usr/local/lib
--with-curl=/usr/local/include/curl
--with-curl=/usr/local/src/curl/include/curl/
Can you help ?
please !


I solved it by my selfe.
I switched CURL down to curl_7_10_5.
now it's working :)
Jul 17 '05 #2

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

Similar topics

1
by: D Benfer | last post by:
Hi all, Im a bit thrown by curl. I want to submit some order data on an ecommerce site via a form to a php page, where the data is saved to a database. Then I want to use curl to submit the form...
1
by: machodev | last post by:
Hello Friends, Getting a bit fuzzy on the Authorize.net and the Curl Integration. I have the script using the for the authorize.net Integration with the curl command exec("/usr/local/bin -m...
9
by: Dave Martin | last post by:
I've successfully used CURL to maneuver around and through sites but a new site I've been trying to work with has got me stumped. To retrieve the data I'm trying to get a login is required. If...
9
by: Conrad F | last post by:
Hi, If any Microsoft people are listening.... Are there any plans for the new web language called "Curl" to be supported in .NET (ASP.NET)? I ask as Curl represents the first step to true OO...
6
by: Wescotte | last post by:
I'm writing a tiny php app that will log into our bank of america account and retrieve a file containing a list of checks that cleared the previous day. The problem I'm running into is when I...
4
by: zorro | last post by:
Hello there, I can't figure out why is it that when i use an array for my postfields it doesn't work : this works curl_setopt($curl, CURLOPT_POSTFIELDS, "clown=bozo" ); this doesn't...
1
by: c1pkw | last post by:
Hi there, I’m having a real heap of trouble with PHP and cURL My aim is to use this code (or something like it) to submit 2 fields to a remote server (using GET) and receive back 6 fields...
11
by: Flexor | last post by:
I have a php script that runs from command line and makes an https request to paypal, using curl. It works fine if I run it from a web page. It fails if I run it from CLI. The error I get from...
3
by: Sarah | last post by:
I was wondering if someone might be able to help me with this issue. I have a feeling this has something to do with my host's server settings as I used to be able to get CURL to follow redirects by...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.