Re: [PECL-DEV] dbase extesion help

[email protected] (Fernando Sánchez García)
Newsgroups php.pecl.dev
Message-ID <[email protected]>
Sorry, I have installed Ubuntu 10.4 PHP Version 5.3.2-1ubuntu4.2. And  
I tried to get the package dbase.so with php-5.2.14 whose outcome is:

root@sig-uco-server:/home/sig-uco/Desktop/php-5.2.14/ext/dbase# phpize
Configuring for:
PHP Api Version:         20090626
Zend Module Api No:      20090626
Zend Extension Api No:   220090626

root@sig-uco-server:/home/sig-uco/Desktop/php-5.2.14/ext/dbase# ./configure
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -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 -D_LARGEFILE_SOURCE  
-D_FILE_OFFSET_BITS=64
checking for PHP extension directory... /usr/lib/php5/20090626+lfs
checking for PHP installed headers prefix... /usr/include/php5
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to  
regenerate PHP parsers.
checking for gawk... no
checking for nawk... nawk
checking if nawk is broken... no
checking whether to enable dbase support... yes, shared
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/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
configure: creating ./config.status
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing libtool commands


root@sig-uco-server:/home/sig-uco/Desktop/php-5.2.14/ext/dbase# make
/bin/bash /home/sig-uco/Desktop/php-5.2.14/ext/dbase/libtool  
--mode=compile cc  -I. -I/home/sig-uco/Desktop/php-5.2.14/ext/dbase  
-DPHP_ATOM_INC -I/home/sig-uco/Desktop/php-5.2.14/ext/dbase/include  
-I/home/sig-uco/Desktop/php-5.2.14/ext/dbase/main  
-I/home/sig-uco/Desktop/php-5.2.14/ext/dbase -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 -D_LARGEFILE_SOURCE  
-D_FILE_OFFSET_BITS=64  -DHAVE_CONFIG_H  -g -O2   -c  
/home/sig-uco/Desktop/php-5.2.14/ext/dbase/dbase.c -o dbase.lo
libtool: compile:  cc -I. -I/home/sig-uco/Desktop/php-5.2.14/ext/dbase  
-DPHP_ATOM_INC -I/home/sig-uco/Desktop/php-5.2.14/ext/dbase/include  
-I/home/sig-uco/Desktop/php-5.2.14/ext/dbase/main  
-I/home/sig-uco/Desktop/php-5.2.14/ext/dbase -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 -D_LARGEFILE_SOURCE  
-D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -g -O2 -c  
/home/sig-uco/Desktop/php-5.2.14/ext/dbase/dbase.c  -fPIC -DPIC -o  
.libs/dbase.o
/home/sig-uco/Desktop/php-5.2.14/ext/dbase/dbase.c: In function  
'zif_dbase_open':
/home/sig-uco/Desktop/php-5.2.14/ext/dbase/dbase.c:126: warning:  
'zend_get_parameters_ex' is deprecated (declared at  
/usr/include/php5/Zend/zend_API.h:222)
/home/sig-uco/Desktop/php-5.2.14/ext/dbase/dbase.c: In function  
'zif_dbase_close':
/home/sig-uco/Desktop/php-5.2.14/ext/dbase/dbase.c:173: warning:  
'zend_get_parameters_ex' is deprecated (declared at  
/usr/include/php5/Zend/zend_API.h:222)
/home/sig-uco/Desktop/php-5.2.14/ext/dbase/dbase.c: In function  
'zif_dbase_numrecords':
/home/sig-uco/Desktop/php-5.2.14/ext/dbase/dbase.c:197: warning:  
'zend_get_parameters_ex' is deprecated (declared at  
/usr/include/php5/Zend/zend_API.h:222)
/home/sig-uco/Desktop/php-5.2.14/ext/dbase/dbase.c: In function  
'zif_dbase_numfields':
/home/sig-uco/Desktop/php-5.2.14/ext/dbase/dbase.c:220: warning:  
'zend_get_parameters_ex' is deprecated (declared at  
/usr/include/php5/Zend/zend_API.h:222)
/home/sig-uco/Desktop/php-5.2.14/ext/dbase/dbase.c: In function  
'zif_dbase_pack':
/home/sig-uco/Desktop/php-5.2.14/ext/dbase/dbase.c:243: warning:  
'zend_get_parameters_ex' is deprecated (declared at  
/usr/include/php5/Zend/zend_API.h:222)
/home/sig-uco/Desktop/php-5.2.14/ext/dbase/dbase.c: In function  
'zif_dbase_add_record':
/home/sig-uco/Desktop/php-5.2.14/ext/dbase/dbase.c:273: warning:  
'zend_get_parameters_ex' is deprecated (declared at  
/usr/include/php5/Zend/zend_API.h:222)
/home/sig-uco/Desktop/php-5.2.14/ext/dbase/dbase.c: In function  
'zif_dbase_replace_record':
/home/sig-uco/Desktop/php-5.2.14/ext/dbase/dbase.c:343: warning:  
'zend_get_parameters_ex' is deprecated (declared at  
/usr/include/php5/Zend/zend_API.h:222)
/home/sig-uco/Desktop/php-5.2.14/ext/dbase/dbase.c: In function  
'zif_dbase_delete_record':
/home/sig-uco/Desktop/php-5.2.14/ext/dbase/dbase.c:403: warning:  
'zend_get_parameters_ex' is deprecated (declared at  
/usr/include/php5/Zend/zend_API.h:222)
/home/sig-uco/Desktop/php-5.2.14/ext/dbase/dbase.c: In function  
'php_dbase_get_record':
/home/sig-uco/Desktop/php-5.2.14/ext/dbase/dbase.c:443: warning:  
'zend_get_parameters_ex' is deprecated (declared at  
/usr/include/php5/Zend/zend_API.h:222)
/home/sig-uco/Desktop/php-5.2.14/ext/dbase/dbase.c: In function  
'zif_dbase_create':
/home/sig-uco/Desktop/php-5.2.14/ext/dbase/dbase.c:599: warning:  
'zend_get_parameters_ex' is deprecated (declared at  
/usr/include/php5/Zend/zend_API.h:222)
/home/sig-uco/Desktop/php-5.2.14/ext/dbase/dbase.c: At top level:
/home/sig-uco/Desktop/php-5.2.14/ext/dbase/dbase.c:758: error:  
duplicate 'static'
/home/sig-uco/Desktop/php-5.2.14/ext/dbase/dbase.c:764: error:  
duplicate 'static'
/home/sig-uco/Desktop/php-5.2.14/ext/dbase/dbase.c:769: error:  
duplicate 'static'
/home/sig-uco/Desktop/php-5.2.14/ext/dbase/dbase.c:774: error:  
duplicate 'static'
/home/sig-uco/Desktop/php-5.2.14/ext/dbase/dbase.c:779: error:  
duplicate 'static'
/home/sig-uco/Desktop/php-5.2.14/ext/dbase/dbase.c:784: error:  
duplicate 'static'
/home/sig-uco/Desktop/php-5.2.14/ext/dbase/dbase.c:790: error:  
duplicate 'static'
/home/sig-uco/Desktop/php-5.2.14/ext/dbase/dbase.c:797: error:  
duplicate 'static'
/home/sig-uco/Desktop/php-5.2.14/ext/dbase/dbase.c:803: error:  
duplicate 'static'
/home/sig-uco/Desktop/php-5.2.14/ext/dbase/dbase.c:809: error:  
duplicate 'static'
/home/sig-uco/Desktop/php-5.2.14/ext/dbase/dbase.c:815: error:  
duplicate 'static'
/home/sig-uco/Desktop/php-5.2.14/ext/dbase/dbase.c:821: error:  
duplicate 'static'
/home/sig-uco/Desktop/php-5.2.14/ext/dbase/dbase.c: In function  
'zif_dbase_get_header_info':
/home/sig-uco/Desktop/php-5.2.14/ext/dbase/dbase.c:857: warning:  
'zend_get_parameters_ex' is deprecated (declared at  
/usr/include/php5/Zend/zend_API.h:222)
make: *** [dbase.lo] Error 1



I have also tried to get dbase.so with php-5.3.3. but there is no  
folder inside the folder dbase ext.






Johannes Findeisen <[email protected]> escribió:

> Hi,
>
> not much information you give us... :(
>
> On Mon, 2010-07-26 at 09:29 +0200, Fernando Sánchez García wrote:
>> Hello, I want to get help for the dbase extension there was
>> deprecated. I have developed a GIS with MapServer and Chameleon 1 year
>> ago on Ubuntu 9.04 which works with php 5.2.10-2 (PHP API -> 20041225,
>> PHP Extensions -> 20060613, Zend Extensions -> 220060519). I need
>> dbase extension to run Chameleon (javascript library) and using the
>> php_5.2.12.tar.gz package obtained it. I unpacked, I went into the
>> folder ext/dbase, execute phpize, ./configure and make. Just got
>> dbase.so. The problem is that we have upgraded to Ubuntu 10.04 and now
>> I can not get Chameleon dbase.so to work properly. What I can do? How
>> do I get dbase.so again? Thank you.
>
> What is the output of "configure" and "make"?
>
> Regards,
> Johannes
>
>
>



Fernando Sánchez García
SIG-UCO Universidad de Córdoba
Dept. Ingeniería Gráfica Y Geomática
Edificio Gregor Mendel C5 - 3ª Pta.
Campus Universitario de Rabanales. Ctra. N-IV a km. 396
14071 CÓRDOBA (España). Telf. 957 21 21 26
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.