RE: [PHP] compile problem

2004-02-13 Thread Sam Masiello

The --with-curl directive can also take a directory (--with-curl=[DIR}).
Try passing in the directory where cURL is installed to. (I am not sure
where this is since you didn't mention whether cURL is installed on your
system via RPM or if you did it from source).

Good luck!

--Sam



Donpro wrote:
> Hi,
> 
> trying to compile PHP 4.3.4. on RedHat Linux 7.3 and getting the
> following 
> error:
> 
> checking for CURL support... yes
> checking for CURL in default path... found in /usr
> checking for cURL 7.9.8 or greater... configure: error: cURL version
> 7.9.8 or later is required to compile php with cURL support 
> 
> I am compiling with the --with-curl option AND I have curl 7.10.4
> installed. 
> 
> Any ideas?
> 
> Thanks,
> Don

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] compile problem

2004-02-13 Thread Donpro
Hi,
 
trying to compile PHP 4.3.4. on RedHat Linux 7.3 and getting the following
error:
 
checking for CURL support... yes
checking for CURL in default path... found in /usr
checking for cURL 7.9.8 or greater... configure: error: cURL version 7.9.8
or later is required to compile php with cURL support
 
I am compiling with the --with-curl option AND I have curl 7.10.4 installed.
 
Any ideas?
 
Thanks,
Don

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Compile problem.

2003-03-21 Thread Serge Paquin
Hello,

I am just upgrading to mySQL 4.   As per the recommendation at www.mysql.com I am 
recompiling programs that link against the mysql client.  When I try to compile 
PHP-4.3.1 I get many many lines similar to:

/usr/lib/mysql/libmysqlclient.a(net.o): In function `net_request_file':
net.o(.text+0x918): multiple definition of `net_request_file'
/usr/lib/mysql/libmysqlclient.a(net.o)(.text+0x918): first defined here
/usr/lib/mysql/libmysqlclient.a(net.o): In function `my_net_init':
net.o(.text+0xa90): multiple definition of `my_net_init'
/usr/lib/mysql/libmysqlclient.a(net.o)(.text+0xa90): first defined here
/usr/lib/mysql/libmysqlclient.a(net.o): In function `net_end':
net.o(.text+0xb68): multiple definition of `net_end'
/usr/lib/mysql/libmysqlclient.a(net.o)(.text+0xb68): first defined here
/usr/lib/mysql/libmysqlclient.a(net.o): In function `net_clear':
net.o(.text+0xb8c): multiple definition of `net_clear'
/usr/lib/mysql/libmysqlclient.a(net.o)(.text+0xb8c): first defined here
/usr/lib/mysql/libmysqlclient.a(net.o): In function `net_flush':
net.o(.text+0xbf8): multiple definition of `net_flush'
/usr/lib/mysql/libmysqlclient.a(net.o)(.text+0xbf8): first defined here
/usr/lib/mysql/libmysqlclient.a(net.o): In function `my_net_write':
net.o(.text+0xc3c): multiple definition of `my_net_write'
/usr/lib/mysql/libmysqlclient.a(net.o)(.text+0xc3c): first defined here
collect2: ld returned 1 exit status
make: *** [libphp4.la] Error 1

What is going wrong?  I did a make clean first.  My current compiled PHP seems to be 
working find and talked to the database but I am concerned that I am unable to 
recompile PHP.

I've search the archives and google and have come up with nothing.  Any help is 
appriciated.

Thanks,
Serge.


[PHP] compile problem with gd 2.0.1

2002-05-30 Thread Michael Geier

Linux Redhat 7.3
PHP 4.2.0
GD 2.0.1

during make:
/bin/sh /root/php-4.2.0/libtool --silent --mode=compile gcc  -I. -I/root/php-
4.2.0/ext/gd -I/root/php-4.2.0/main -I/root/php-4.2.0 -
I/usr/local/apache/include -I/root/php-4.2.0/Zend -I/usr/local/mysql/include -
I/usr/local/easysoft/oob/client/include -I/root/php-4.2.0/ext/xml/expat  -
DLINUX=22 -DUSE_HSREGEX -I/root/php-4.2.0/TSRM -g -O2 -prefer-pic  -c gd.c
gd.c: In function `zm_startup_gd':
gd.c:303: `gdArc' undeclared (first use in this function)
gd.c:303: (Each undeclared identifier is reported only once
gd.c:303: for each function it appears in.)
gd.c:304: `gdPie' undeclared (first use in this function)
gd.c:305: `gdChord' undeclared (first use in this function)
gd.c:306: `gdNoFill' undeclared (first use in this function)
gd.c:307: `gdEdged' undeclared (first use in this function)
gd.c: In function `zif_imagecreatetruecolor':
gd.c:588: warning: assignment makes pointer from integer without a cast
gd.c: In function `zif_imagecolorat':
gd.c:1626: structure has no member named `tpixels'
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/root/php-4.2.0/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/php-4.2.0/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/php-4.2.0/ext'
make: *** [all-recursive] Error 1


configure:
 --with-apxs=/usr/local/apache/bin/apxs
 --enable-ftp
 --with-gd
 --enable-force-cgi-redirect
 --with-pear
 --enable-mailparse
 --enable-sockets
 --with-esoob
 --with-mysql=/usr/local/mysql
 --with-zlib-dir=/usr/include
 --with-jpeg-dir=/usr/lib
 --with-png-dir=/usr/lib

any help appreciated
-- 
Michael Geier
email: [EMAIL PROTECTED]




-
This mail sent through CDM Sports Webmail.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Compile problem

2002-03-13 Thread S.Murali Krishna


could anybody help me out, while compiling and Making PHP
its going fine, but I couldn't get any php binary file instead a
file named 'libphp4.la' was created. 
I want to compile it as a standalone binary as a normal
user.

Thanks in Advance.

<[EMAIL PROTECTED]>
---
We must use time wisely and forever realize that the time is 
always ripe to do right."

-- Nelson Mandela
---


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Compile Problem: Place for Help

2001-01-10 Thread Mark Olbert

Can anyone recommend a place/forum for help in getting PHP to compile under
linux?

I am running into a problem that I haven't gotten any feedback on from
php-dev, php-general or php-install.

The specific problem is:

/usr/bin/ld: .libs/libphp4.so: undefined versioned symbol name
__fp_query@@GLIBC_2.0
/usr/bin/ld: failed to set dynamic section sizes: Bad value

Looks like the linker can't find __fp_query().

- Mark
[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]