MadMax82
11-01-2001, 12:41 AM
Ok I am trying The exchange Project's shopping card (version 2.1) which requires PHP to be compiled using curl. I first installed curl using a rpm package which appeared to work (confirmed by running curl --version). Course it appears the rpm did not put curl in the default location so when I go back and try and recompile PHP I get an error about not finding the location. I can't seem to find it looking around myself. Reading through the curl site has not been a help as the files it is apparently looking for (perhaps easy.h?) are not on the server as far as I can see.
Has anyone installed PHP 4.06 as a possible solution for this or how are folks getting this to work?
MadMax82
11-01-2001, 12:50 AM
Ok PHP 4.0.6 does not help. In fact that did not want to install either. Any ideas?
I used the following to configure:
./configure --with-apxs=/usr/local/apache/bin/apxs --with-xml --with-gd=shared --with-mcrypt --with-mysql --enable-track-vars --disable-debug
This went fine (yes I deliberately tried it without curl)
Here is what I got when I typed make:
<snip>
root@host [/usr/local/cpanel/3rdparty/include/php-4.0.6]# make
Making all in Zend
make[1]: Entering directory `/usr/local/cpanel/3rdparty/include/php-4.0.6/Zend'
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main
-DLINUX=22 -DMOD_SSL=208100 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -DSUPPORT_UTF8 -
DXML_BYTE_ORDER=12 -g -O2 -c zend_language_scanner.c
In file included from /usr/include/stdio.h:57,
from zend_language_scanner.c:28:
/usr/include/libio.h:214: parse error before `__off_t'
/usr/include/libio.h:214: warning: no semicolon at end of struct or union
/usr/include/libio.h:233: parse error before `_offset'
/usr/include/libio.h:233: warning: data definition has no type or storage class
/usr/include/libio.h:237: parse error before `}'
/usr/include/libio.h:262: parse error before `__io_read_fn'
/usr/include/libio.h:263: warning: data definition has no type or storage class
/usr/include/libio.h:271: parse error before `__io_write_fn'
/usr/include/libio.h:272: warning: data definition has no type or storage class
/usr/include/libio.h:280: parse error before `__off_t'
/usr/include/libio.h:367: parse error before `_IO_padn'
/usr/include/libio.h:367: parse error before `__ssize_t'
/usr/include/libio.h:367: warning: data definition has no type or storage class
/usr/include/libio.h:370: parse error before `_IO_seekoff'
/usr/include/libio.h:370: parse error before `__off64_t'
/usr/include/libio.h:370: warning: data definition has no type or storage class
/usr/include/libio.h:371: parse error before `_IO_seekpos'
/usr/include/libio.h:371: parse error before `__off64_t'
/usr/include/libio.h:371: warning: data definition has no type or storage class
In file included from zend_language_scanner.c:28:
/usr/include/stdio.h:61: parse error before `fpos_t'
/usr/include/stdio.h:61: warning: data definition has no type or storage class
In file included from zend_language_scanner.c:28:
/usr/include/stdio.h:477: parse error before `off_t'
/usr/include/stdio.h:477: warning: data definition has no type or storage class
/usr/include/stdio.h:500: parse error before `fpos_t'
/usr/include/stdio.h:502: parse error before `*'
/usr/include/bits/stdio.h: In function `getc_unlocked':
In file included from /usr/include/stdio.h:635,
from zend_language_scanner.c:28:
/usr/include/bits/stdio.h:51: dereferencing pointer to incomplete type
/usr/include/bits/stdio.h:51: dereferencing pointer to incomplete type
/usr/include/bits/stdio.h:51: dereferencing pointer to incomplete type
</snip>