Gotta love this,

Turns out that a couple things in combination seem to work for sapdb, but
now apache is broken. Anyway this works for SAPDB:

    -ensure that --with-odbc is specified before --with-sapdb
    -copy the contents of /opt/sapdb/depends/lib to
/opt/sapdb/interfaces/odbc/lib (yes that is dumb :)
    -edit /etc/ld.so.conf, add /opt/sapdb/interfaces/odbc/lib
    -run ldconfig
    -run ldconfig -p |grep sqlrte
        You must see:
        libsqlrte.so (libc6) => /opt/sapdb/interfaces/odbc/lib/libsqlrte.so
    -make
    -watch in disbelief as everything compiles fine except for apache
support! Apache support! the most basic of all! argh!

I _can_ compile perfectly well without SAPI/Apache. So for some reason 4.1.2
doesn't like Apache now, great :)

---------

PHP no longer complains about ld -sqlrte, now I get a 100% unrelated error
compiling with both apache 1.3.22 and 1.3.23:

.22/src/os/unix -I/root/bc_install/packages/php-4.1.2.mod/Zend
-I/usr/local/curl/include -I/usr/local/libxml2/include/libxml2
-I/usr/local/include -I/usr/local/mcrypt/include -I/usr/local/mhash/include
-I/root/bc_install/packages/php-4.1.2.mod/ext/mysql/libmysql
-I/u01/oracle/product/8.1.6/rdbms/public
-I/u01/oracle/product/8.1.6/rdbms/demo
-I/u01/oracle/product/8.1.6/network/public -I/opt/sapdb/interfaces/odbc/incl
-I/usr/local/mm/include -I/usr/local/expat/include
-I/usr/local/Sablot/include
-I/root/bc_install/packages/apache_1.3.22/src/include
-I/root/bc_install/packages/apache_1.3.22/src/os/unix
-I/root/bc_install/packages/php-4.1.2.mod/TSRM -g -O2  -c sapi_apache.c &&
touch sapi_apache.lo
In file included from
/root/bc_install/packages/apache_1.3.22/src/include/ap_config.h:77,
                 from
/root/bc_install/packages/apache_1.3.22/src/include/httpd.h:72,
                 from sapi_apache.c:32:
/root/bc_install/packages/apache_1.3.22/src/include/ap_config_auto.h:6:
unterminated `#if' conditional
In file included from
/root/bc_install/packages/apache_1.3.22/src/include/httpd.h:72,
                 from sapi_apache.c:32:
/root/bc_install/packages/apache_1.3.22/src/include/ap_config.h:1367:
warning: `XtOffsetOf' redefined
/root/bc_install/packages/php-4.1.2.mod/main/php.h:342: warning: this is the
location of the previous definition
make[3]: *** [sapi_apache.lo] Error 1
make[3]: Leaving directory
`/root/bc_install/packages/php-4.1.2.mod/sapi/apache'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/root/bc_install/packages/php-4.1.2.mod/sapi/apache'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/bc_install/packages/php-4.1.2.mod/sapi'
make: *** [all-recursive] Error 1

-----------

a hahahahha give me a bullet in the head! :)

this one doesn't seem to be something I can solve. ergh.

ideas anyone?

please_please cc: [EMAIL PROTECTED] and [EMAIL PROTECTED]
with any responses...

tia,

_alex



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to