Hello ,

 This is my PHP configuration Script which i run in SUSE Linux .

./configure --with-apxs2=/usr/local/apache/bin/apxs
--with-sapdb=/opt/sdb/interface/odbc/ --with-iconv
--with-imap=/opt/imap-2007a --with-imap-ssl=/usr --with-gd
--enable-gd-native-ttf --with-jpeg-dir=/usr
--with-xpm-dir=/usr/local/X11R6 --with-mime-magic --enable-ftp
--with-config-file-path=/usr/local/apache/php
--prefix=/usr/local/apache/php --enable-force-cgi-redirect --disable-cgi
--enable-soap

Error Message :

"configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL
is missing. This should not happen. Check config.log for additional
information."

Then I removed the " --with-imap=/opt/imap-2007a --with-imap-ssl=/usr "
form the configuration command .This went well but it ended with a
attention window .


./configure --with-apxs2=/usr/local/apache/bin/apxs
--with-sapdb=/opt/sdb/interface/odbc/ --with-iconv --with-gd
--enable-gd-native-ttf --with-jpeg-dir=/usr
--with-xpm-dir=/usr/local/X11R6 --with-mime-magic --enable-ftp
--with-config-file-path=/usr/local/apache/php
--prefix=/usr/local/apache/php --enable-force-cgi-redirect --disable-cgi
--enable-soap


Then While running the make command it gives a sequence of error as
mention below and endded with "make: *** [ext/odbc/php_odbc.lo] Error 1
"

/usr/local/src/php/ext/odbc/php_odbc.c:2962: error: ‘odbc_result’ has no
member named ‘numparams’
/usr/local/src/php/ext/odbc/php_odbc.c:2963: error: ‘odbc_result’ has no
member named ‘stmt’
/usr/local/src/php/ext/odbc/php_odbc.c:2963: error: ‘odbc_result’ has no
member named ‘numcols’
/usr/local/src/php/ext/odbc/php_odbc.c:2965: error: ‘odbc_result’ has no
member named ‘numcols’
/usr/local/src/php/ext/odbc/php_odbc.c:2971: error: ‘odbc_result’ has no
member named ‘values’
/usr/local/src/php/ext/odbc/php_odbc.c:2973: error: ‘odbc_result’ has no
member named ‘conn_ptr’
/usr/local/src/php/ext/odbc/php_odbc.c:2974: error: ‘odbc_result’ has no
member named ‘fetched’

Pls help me to proceed further .I have attached my Debug.log file also .


With Regards ,

Fernando






Confidentiality Warning : This message and any attachments are intended only 
for the use of the intended recipient(s), are confidential, and may be 
privileged. If you are not the intended recipient, you are hereby notified that 
any review, retransmission, conversion to hard copy, copying, circulation or 
other use of this message and any attachments is strictly prohibited. If you 
are not the intended recipient, please notify the sender immediately by return 
e-mail, and delete this message and any attachments from your system.
CONFIGURE:   './configure'  '--with-apxs2=/usr/local/apache/bin/apxs' '--with-sapdb=/opt/sdb/interface/odbc/' '--with-iconv' '--with-gd' '--enable-gd-native-ttf' '--with-jpeg-dir=/usr' '--with-xpm-dir=/usr/local/X11R6' '--with-mime-magic' '--enable-ftp' '--with-config-file-path=/usr/local/apache/php' '--prefix=/usr/local/apache/php' '--enable-force-cgi-redirect' '--disable-cgi' '--enable-soap'
CC:         gcc
CFLAGS:     -I/usr/include -g -O2
CPPFLAGS:   
CXX:        
CXXFLAGS:   
INCLUDES:    -I/usr/include/libxml2 -I/usr/local/src/php/ext/date/lib -I/opt/sdb/interface/odbc//incl
LDFLAGS:    -L/usr/lib  -Wl,-rpath,/opt/sdb/interface/odbc//lib -L/opt/sdb/interface/odbc//lib
LIBS:       -lsqlod -lX11 -lXpm -lpng -lz -ljpeg -lresolv -lm -ldl -lnsl  -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm
DLIBS:      
SAPI:       apache2handler
PHP_RPATHS:  /opt/sdb/interface/odbc//lib
uname -a:   Linux SUSE 2.6.22.5-31-default #1 SMP 2007/09/21 22:29:00 UTC i686 i686 i386 GNU/Linux

gcc -o conftest -I/usr/include -g -O2  -L/usr/lib  -Wl,-rpath,/opt/sdb/interface/odbc//lib -L/opt/sdb/interface/odbc//lib conftest.c -lsqlod -lX11 -lXpm -lpng -lz -ljpeg -lresolv -lm -ldl -lnsl  -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm 1>&5
conftest.c: In function 'main':
conftest.c:3: warning: incompatible implicit declaration of built-in function 'exit'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../../i586-suse-linux/bin/ld: cannot find -lsqlod
collect2: ld returned 1 exit status

Reply via email to