I am attempting to build Apache 1.3.31 with PHP 4.3.8 as a DSO on Red Hat Enterprise Linux 3 ES. I need PHP to connect to Sybase (ASE 12.5.2).

 

Apache compiles ok, but PHP fails on make.

 

The PHP compile script is:

 

CPPFLAGS="-ISYSTEM -DEAPI" \

LDFLAGS=-LSYSTEM \

CC="gcc296 -I /usr/lib/i386-redhat-linux7/include -B \

/usr/lib/i386-redhat-linux7/lib/" \

./configure '--prefix=/usr/local/php-4.3.8' '--with-apxs=/usr/local/apache_1.3.31/bin/apxs' '--enable-shared' '--with-sybase-ct=/opt/sybase/OCS-12_5' '--with-regex=system'

 

I get the following errors:

 

/root/admin/software/php-4.3.8/regex/engine.c: In function `smatcher':

/root/admin/software/php-4.3.8/regex/engine.c:86: `REG_STARTEND' undeclared (first use in this function)

/root/admin/software/php-4.3.8/regex/engine.c:86: (Each undeclared identifier is reported only once

/root/admin/software/php-4.3.8/regex/engine.c:86: for each function it appears in.)

/root/admin/software/php-4.3.8/regex/engine.c:94: `REG_INVARG' undeclared (first use in this function)

/root/admin/software/php-4.3.8/regex/engine.c:154: `REG_BACKR' undeclared (first use in this function)

In file included from /root/admin/software/php-4.3.8/regex/regexec.c:95:

 

Does anyone have any idea what the problem is?

 

Thanks

 

Alick Bridger

 
--
  
Alick Bridger
Linux Systems Administrator
Eckoh Technologies (UK) Limited
Telford House, Corner Hall,
Hemel Hempstead, Hertfordshire HP3 9HN
 
T 08701 107194
F 08701 107107
M n/a
W
 www.eckoh.com
 
This communication contains information, which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s) only. If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender and then delete it. Opinions expressed in this message are those of the author, and are not binding on the company.
 
Registered in England and Wales, No. 2796531
Registered office: Telford House, Corner Hall, Hemel Hempstead, Hertfordshire HP3 9HN
 
A member of the Eckoh Technologies plc group of companies.

Reply via email to