List Info

Thread: pecl-yaz




pecl-yaz
user name
2006-12-23 10:42:26
hi

im trying to install openbiblio's addon to work with z39.50.
but i cant get pecl-yaz to work.
im running gentoo.
this is what happens when i install yaz
(be it with portage or by running pecl install yaz.

any ideas hw to fix thins?

thanx in advance 

edd




running: /tmp/pear/cache/yaz-1.0.7/configure --with-yaz
creating cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking how to run the C preprocessor... cc -E
checking for egrep... grep -E
checking for a sed that does not truncate output...
/usr/bin/sed
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a
cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether gcc and cc understand -c and -o together...
yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for PHP prefix... /usr/lib/php5
checking for PHP includes... -I/usr/lib/php5/include/php
-I/usr/lib/php5/include/php/main
-I/usr/lib/php5/include/php/TSRM -I/u
usr/lib/php5/include/php/ext
checking for PHP extension
directory...
/usr/lib/php5/lib/php/extensions/no-debug-non-zts-20050922
checking for PHP installed headers prefix...
/usr/lib/php5/include/php
checking for re2c... no
configure: warning: You will need re2c 0.9.11 or later if
you want to
regenerate PHP parsers.
checking for gawk... gawk
checking for YAZ support... yes, shared
checking for yaz-config... /usr/bin/yaz-config
checking for YAZ version... 2.1.10
checking build system type... i686-pc-linux-gnu
checking for ld used by gcc... /usr/i386-pc-linux-gnu/bin/ld
checking if the linker (/usr/i386-pc-linux-gnu/bin/ld) is
GNU ld... yes
checking for /usr/i386-pc-linux-gnu/bin/ld option to reload
object
files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for object suffix... o
checking for executable suffix... no
checking for dlfcn.h... yes
checking for c++... c++
checking whether the C++ compiler (c++  ) works... yes
checking whether the C++ compiler (c++  ) is a
cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking how to run the C++ preprocessor... c++ -E
checking the maximum length of command line arguments...
32768
checking command to parse /usr/bin/nm -B output from gcc
object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker
(/usr/i386-pc-linux-gnu/bin/ld) supports
shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs...
immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no

creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by c++... /usr/i386-pc-linux-gnu/bin/ld
checking if the linker (/usr/i386-pc-linux-gnu/bin/ld) is
GNU ld... yes
checking whether the c++ linker
(/usr/i386-pc-linux-gnu/bin/ld) supports
shared libraries... yes
checking for c++ option to produce PIC... -fPIC
checking if c++ PIC flag -fPIC works... yes
checking if c++ supports -c -o file.o... yes
checking whether the c++ linker
(/usr/i386-pc-linux-gnu/bin/ld) supports
shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs...
immediate
checking whether stripping libraries is possible... yes
updating cache ./config.cache
creating ./config.status
creating config.h
running: make
/bin/sh /var/tmp/pear-build-root/yaz-1.0.7/libtool
--mode=compile gcc
-I. -I/tmp/pear/cache/yaz-1.0.7 -DPHP_ATOM_INC -I/var/tm
ude -I/var/tmp/pear-build-root/yaz-1.0.7/main
-I/tmp/pear/cache/yaz-1.0.7 -I/usr/lib/php5/include/php
-I/usr/lib/php5/include/p
php/TSRM -I/usr/lib/php5/include/php/Zend
-I/usr/lib/php5/include/php/ext  -DHAVE_CONFIG_H  -g -O2
-c /tmp/pear/cache/yaz-1.0
mkdir .libs
 gcc -I. -I/tmp/pear/cache/yaz-1.0.7 -DPHP_ATOM_INC
-I/var/tmp/pear-build-root/yaz-1.0.7/include
-I/var/tmp/pear-build-root/yaz
z-1.0.7 -I/usr/lib/php5/include/php
-I/usr/lib/php5/include/php/main
-I/usr/lib/php5/include/php/TSRM -I/usr/lib/php5/include/p
php/ext -DHAVE_CONFIG_H -g -O2 -c
/tmp/pear/cache/yaz-1.0.7/php_yaz.c
-fPIC -DPIC -o .libs/php_yaz.o
/tmp/pear/cache/yaz-1.0.7/php_yaz.c: In function
`zm_deactivate_yaz':
/tmp/pear/cache/yaz-1.0.7/php_yaz.c:2066: error: `LOG_LOG'
undeclared
(first use in this function)
/tmp/pear/cache/yaz-1.0.7/php_yaz.c:2066: error: (Each
undeclared
identifier is reported only once
/tmp/pear/cache/yaz-1.0.7/php_yaz.c:2066: error: for each
function it
appears in.)
make: *** [php_yaz.lo] Error 1
ERROR: `make' failed

-- 
It is necessary for the welfare of society that genius
should be
privileged to utter sedition, to blaspheme, to outrage good
taste, to
corrupt the youthful mind, and generally to scandalize one's
uncles.
                -- George Bernard Shaw

_______________________________________________
Yazlist mailing list
Yazlistlists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
pecl-yaz
user name
2006-12-23 12:25:51
Edrich de Lange wrote:
> hi
> 
> im trying to install openbiblio's addon to work with
z39.50.
> but i cant get pecl-yaz to work.
> im running gentoo.
> this is what happens when i install yaz
> (be it with portage or by running pecl install yaz.
> 
> any ideas hw to fix thins?

Use PHP/YAZ 1.0.8. Thanks for reporting this.

/ Adam

> 
> thanx in advance 
> 
> edd
> 
> 
> 
> 
> running: /tmp/pear/cache/yaz-1.0.7/configure --with-yaz
> creating cache ./config.cache
> checking for Cygwin environment... no
> checking for mingw32 environment... no
> checking how to run the C preprocessor... cc -E
> checking for egrep... grep -E
> checking for a sed that does not truncate output...
/usr/bin/sed
> checking for gcc... gcc
> checking whether the C compiler (gcc  ) works... yes
> checking whether the C compiler (gcc  ) is a
cross-compiler... no
> checking whether we are using GNU C... yes
> checking whether gcc accepts -g... yes
> checking whether gcc and cc understand -c and -o
together... yes
> checking if compiler supports -R... no
> checking if compiler supports -Wl,-rpath,... yes
> checking host system type... i686-pc-linux-gnu
> checking target system type... i686-pc-linux-gnu
> checking for PHP prefix... /usr/lib/php5
> checking for PHP includes...
-I/usr/lib/php5/include/php
> -I/usr/lib/php5/include/php/main
-I/usr/lib/php5/include/php/TSRM -I/u
> usr/lib/php5/include/php/ext
> checking for PHP extension
> directory...
/usr/lib/php5/lib/php/extensions/no-debug-non-zts-20050922
> checking for PHP installed headers prefix...
/usr/lib/php5/include/php
> checking for re2c... no
> configure: warning: You will need re2c 0.9.11 or later
if you want to
> regenerate PHP parsers.
> checking for gawk... gawk
> checking for YAZ support... yes, shared
> checking for yaz-config... /usr/bin/yaz-config
> checking for YAZ version... 2.1.10
> checking build system type... i686-pc-linux-gnu
> checking for ld used by gcc...
/usr/i386-pc-linux-gnu/bin/ld
> checking if the linker (/usr/i386-pc-linux-gnu/bin/ld)
is GNU ld... yes
> checking for /usr/i386-pc-linux-gnu/bin/ld option to
reload object
> files... -r
> checking for BSD-compatible nm... /usr/bin/nm -B
> checking whether ln -s works... yes
> checking how to recognise dependent libraries...
pass_all
> checking for object suffix... o
> checking for executable suffix... no
> checking for dlfcn.h... yes
> checking for c++... c++
> checking whether the C++ compiler (c++  ) works... yes
> checking whether the C++ compiler (c++  ) is a
cross-compiler... no
> checking whether we are using GNU C++... yes
> checking whether c++ accepts -g... yes
> checking how to run the C++ preprocessor... c++ -E
> checking the maximum length of command line
arguments... 32768
> checking command to parse /usr/bin/nm -B output from
gcc object... ok
> checking for objdir... .libs
> checking for ar... ar
> checking for ranlib... ranlib
> checking for strip... strip
> checking if gcc static flag  works... yes
> checking if gcc supports -fno-rtti -fno-exceptions...
no
> checking for gcc option to produce PIC... -fPIC
> checking if gcc PIC flag -fPIC works... yes
> checking if gcc supports -c -o file.o... yes
> checking whether the gcc linker
(/usr/i386-pc-linux-gnu/bin/ld) supports
> shared libraries... yes
> checking whether -lc should be explicitly linked in...
no
> checking dynamic linker characteristics... GNU/Linux
ld.so
> checking how to hardcode library paths into programs...
immediate
> checking whether stripping libraries is possible... yes
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... no
> 
> creating libtool
> appending configuration tag "CXX" to libtool
> checking for ld used by c++...
/usr/i386-pc-linux-gnu/bin/ld
> checking if the linker (/usr/i386-pc-linux-gnu/bin/ld)
is GNU ld... yes
> checking whether the c++ linker
(/usr/i386-pc-linux-gnu/bin/ld) supports
> shared libraries... yes
> checking for c++ option to produce PIC... -fPIC
> checking if c++ PIC flag -fPIC works... yes
> checking if c++ supports -c -o file.o... yes
> checking whether the c++ linker
(/usr/i386-pc-linux-gnu/bin/ld) supports
> shared libraries... yes
> checking dynamic linker characteristics... GNU/Linux
ld.so
> checking how to hardcode library paths into programs...
immediate
> checking whether stripping libraries is possible... yes
> updating cache ./config.cache
> creating ./config.status
> creating config.h
> running: make
> /bin/sh /var/tmp/pear-build-root/yaz-1.0.7/libtool
--mode=compile gcc
> -I. -I/tmp/pear/cache/yaz-1.0.7 -DPHP_ATOM_INC
-I/var/tm
> ude -I/var/tmp/pear-build-root/yaz-1.0.7/main
> -I/tmp/pear/cache/yaz-1.0.7 -I/usr/lib/php5/include/php
> -I/usr/lib/php5/include/p
> php/TSRM -I/usr/lib/php5/include/php/Zend
> -I/usr/lib/php5/include/php/ext  -DHAVE_CONFIG_H  -g
-O2
> -c /tmp/pear/cache/yaz-1.0
> mkdir .libs
>  gcc -I. -I/tmp/pear/cache/yaz-1.0.7 -DPHP_ATOM_INC
> -I/var/tmp/pear-build-root/yaz-1.0.7/include
> -I/var/tmp/pear-build-root/yaz
> z-1.0.7 -I/usr/lib/php5/include/php
-I/usr/lib/php5/include/php/main
> -I/usr/lib/php5/include/php/TSRM
-I/usr/lib/php5/include/p
> php/ext -DHAVE_CONFIG_H -g -O2 -c
/tmp/pear/cache/yaz-1.0.7/php_yaz.c
> -fPIC -DPIC -o .libs/php_yaz.o
> /tmp/pear/cache/yaz-1.0.7/php_yaz.c: In function
`zm_deactivate_yaz':
> /tmp/pear/cache/yaz-1.0.7/php_yaz.c:2066: error:
`LOG_LOG' undeclared
> (first use in this function)
> /tmp/pear/cache/yaz-1.0.7/php_yaz.c:2066: error: (Each
undeclared
> identifier is reported only once
> /tmp/pear/cache/yaz-1.0.7/php_yaz.c:2066: error: for
each function it
> appears in.)
> make: *** [php_yaz.lo] Error 1
> ERROR: `make' failed
> 


_______________________________________________
Yazlist mailing list
Yazlistlists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
pecl-yaz
user name
2006-12-23 13:17:39
On Sat, 2006-12-23 at 13:25 +0100, Adam Dickmeiss wrote:
> Edrich de Lange wrote:
> > hi
> > 
> > im trying to install openbiblio's addon to work
with z39.50.
> > but i cant get pecl-yaz to work.
> > im running gentoo.
> > this is what happens when i install yaz
> > (be it with portage or by running pecl install
yaz.
> > 
> > any ideas hw to fix thins?
> 
> Use PHP/YAZ 1.0.8. Thanks for reporting this.
> 

no.

thank you

i have been abtteling with this for the past two days now.


thanx

edd

_______________________________________________
Yazlist mailing list
Yazlistlists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )