Hello Ivan Shcheklein,
thanks for your help. With the export command below the configure
finished succesfully, althought "make install" terminated with the
following error:
cc -I. -I/home/sajat/hirisov/sedna/php-api/src -DPHP_ATOM_INC
-I/home/sajat/hirisov/sedna/php-api/src/include
-I/home/sajat/hirisov/sedna/php-api/src/main
-I/home/sajat/hirisov/sedna/php-api/src -I/usr/include/php5
-I/usr/include/php5/main -I/usr/include/php5/TSRM
-I/usr/include/php5/Zend -I/usr/include/php5/ext
-I/usr/include/php5/ext/date/lib -I/opt/sedna/driver/c -DHAVE_CONFIG_H
-g -O2 -c /home/sajat/hirisov/sedna/php-api/src/env.c -fPIC -DPIC -o
.libs/env.o
/bin/sh /home/sajat/hirisov/sedna/php-api/src/libtool --mode=link cc
-DPHP_ATOM_INC -I/home/sajat/hirisov/sedna/php-api/src/include
-I/home/sajat/hirisov/sedna/php-api/src/main
-I/home/sajat/hirisov/sedna/php-api/src -I/usr/include/php5
-I/usr/include/php5/main -I/usr/include/php5/TSRM
-I/usr/include/php5/Zend -I/usr/include/php5/ext
-I/usr/include/php5/ext/date/lib -I/opt/sedna/driver/c -DHAVE_CONFIG_H
-g -O2 -o sedna.la -export-dynamic -avoid-version -prefer-pic -module
-rpath /home/sajat/hirisov/sedna/php-api/src/modules sedna.lo
sednaconn.lo xzstring.lo error.lo env.lo -Wl,-rpath,/opt/sedna/driver/c
-L/opt/sedna/driver/c -lsedna_pic
cc -shared .libs/sedna.o .libs/sednaconn.o .libs/xzstring.o
.libs/error.o .libs/env.o -L/opt/sedna/driver/c -lsedna_pic -Wl,-rpath
-Wl,/opt/sedna/driver/c -Wl,-soname -Wl,sedna.so -o .libs/sedna.so
/usr/bin/ld: skipping incompatible /opt/sedna/driver/c/libsedna_pic.a
when searching for -lsedna_pic
/usr/bin/ld: cannot find -lsedna_pic
collect2: ld returned 1 exit status
make: *** [sedna.la] Error 1
i've installed sedna into /opt/sedna/ and exported SEDNA_DIR
accordingly. Do you have any idea what can be the problem here?
thanks a lot,
Gabor
2011.02.23. 15:39 keltezéssel, Ivan Shcheklein írta:
Horn,
It works fine for me. Check once again that you set SEDNA_DIR as
described in the PHP-API's documentaion:
For example, I've downloaded and installed the
'sedna-3.4.66-linux-x64.sh <http://sedna-3.4.66-linux-x64.sh>' package
into /tmp/sedna, then exported:
export SEDNA_DIR=/tmp/sedna
and after that started:
phpize
./configure
sudo make install
Ivan Shcheklein,
Sedna Team
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in
Real-Time with Splunk. Collect, index and harness all the fast moving IT data
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business
insights. http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
Sedna-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sedna-discussion