[Comm] php-sybase_ct

PEGAS TOUR - DMITRIY =?iso-8859-1?q?dima_=CE=C1_pegastour=2Eru?=
Ср Авг 31 10:29:29 MSD 2005


не могу собрать из исходиников...

rpm -rebuild php-sybase_ct-4.3.5-alt0.cvs20031112.src.rpm
Устанавливается php-sybase_ct-4.3.5-alt0.cvs20031112.src.rpm
Выполняется(%prep): /bin/sh -e /home/dima/tmp/rpm-tmp.8644
+ umask 022
+ /bin/mkdir -p /home/dima/RPM/BUILD
+ cd /home/dima/RPM/BUILD
+ cd /home/dima/RPM/BUILD
+ rm -rf php-sybase_ct-4.3.0
+ /bin/mkdir -p php-sybase_ct-4.3.0
+ cd php-sybase_ct-4.3.0
+ /bin/chmod -Rf u+rwX,go-w .
+ cp -pr /usr/src/php-devel/extensions/sybase_ct/CREDITS
/usr/src/php-devel/extensions/sybase_ct/config.m4
/usr/src/php-devel/extensions/sybase_ct/php_sybase_ct.c
/usr/src/php-devel/extensions/sybase_ct/php_sybase_ct.h
/usr/src/php-devel/extensions/sybase_ct/sybase_ct.dsp .
+ exit 0
Выполняется(%build): /bin/sh -e /home/dima/tmp/rpm-tmp.8644
+ umask 022
+ /bin/mkdir -p /home/dima/RPM/BUILD
+ cd /home/dima/RPM/BUILD
+ cd php-sybase_ct-4.3.0
+ phpize
You should update your `aclocal.m4' by running aclocal.
Configuring for:
  PHP Api Version:   20020918
  Zend Module Api No:   20020429
  Zend Extension Api No:   20021010
+
CFLAGS=-pipe -Wall -O2 -fexpensive-optimizations -march=i686 -fPIC -L/usr/li
b
+ export CFLAGS
+ export PHP_SYBASE=no
+ PHP_SYBASE=no
+
CFLAGS=-pipe -Wall -O2 -fexpensive-optimizations -march=i686 -fPIC -L/usr/li
b
+ export CFLAGS
+ CXXFLAGS=-pipe -Wall -O2 -fexpensive-optimizations -march=i686
+ export CXXFLAGS
+ FFLAGS=-pipe -Wall -O2 -fexpensive-optimizations -march=i686
+ export FFLAGS
+ '[' -f configure.in ']'
+ libtoolize --copy --force
You should update your `aclocal.m4' by running aclocal.
+
./configure --build=i686-alt-linux --host=i686-alt-linux --prefix=/usr --exe
c-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --data
dir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr
/lib --localstatedir=/var/lib --sharedstatedir=/usr/com --mandir=/usr/share/
man --infodir=/usr/share/info --without-included-gettext --disable-static --
with-sybase-ct=/usr
checking for i686-alt-linux-gcc... no
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
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 for PHP prefix... /usr
checking for PHP
includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Ze
nd -I/usr/include/php/TSRM
checking for PHP extension directory...
/usr/lib/extensions/no-debug-non-zts-20020429
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for Sybase-CT support... yes, shared
checking build system type... i686-alt-linux-gnu
checking host system type... i686-alt-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking command to parse nm output... 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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for i686-alt-linux-ranlib... no
checking for ranlib... ranlib
checking for i686-alt-linux-strip... no
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether -lc should be explicitly linked in... no
creating libtool
checking for gawk... gawk
checking for working mkdir -p... yes
configure: creating ./config.status
config.status: creating config.h
+ BUILD_ENV_VARS=top_srcdir=/home/dima/RPM/BUILD/php-sybase_ct-4.3.0
                top_builddir=/home/dima/RPM/BUILD/php-sybase_ct-4.3.0

PEAR_INSTALLDIR=/home/dima/tmp/php-sybase_ct-buildroot/usr/lib/php

EXTENSION_DIR=/home/dima/tmp/php-sybase_ct-buildroot/usr/lib/php/extensions
+ make top_srcdir=/home/dima/RPM/BUILD/php-sybase_ct-4.3.0
top_builddir=/home/dima/RPM/BUILD/php-sybase_ct-4.3.0
PEAR_INSTALLDIR=/home/dima/tmp/php-sybase_ct-buildroot/usr/lib/php
EXTENSION_DIR=/home/dima/tmp/php-sybase_ct-buildroot/usr/lib/php/extensions
/bin/sh /home/dima/RPM/BUILD/php-sybase_ct-4.3.0/libtool --mode=compile
cc  -I. -I/home/dima/RPM/BUILD/php-sybase_ct-4.3.0 -DPHP_ATOM_INC -I/home/di
ma/RPM/BUILD/php-sybase_ct-4.3.0/include -I/home/dima/RPM/BUILD/php-sybase_c
t-4.3.0/main -I/home/dima/RPM/BUILD/php-sybase_ct-4.3.0 -I/usr/include/php -
I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM  -DHA
VE_CONFIG_H  -pipe -Wall -O2 -fexpensive-optimizations -march=i686 -fPIC -L/
usr/lib  -prefer-pic -c
/home/dima/RPM/BUILD/php-sybase_ct-4.3.0/php_sybase_ct.c -o php_sybase_ct.lo
gcc -I. -I/home/dima/RPM/BUILD/php-sybase_ct-4.3.0 -DPHP_ATOM_INC -I/home/di
ma/RPM/BUILD/php-sybase_ct-4.3.0/include -I/home/dima/RPM/BUILD/php-sybase_c
t-4.3.0/main -I/home/dima/RPM/BUILD/php-sybase_ct-4.3.0 -I/usr/include/php -
I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -DHAV
E_CONFIG_H -pipe -Wall -O2 -fexpensive-optimizations -march=i686 -fPIC -L/us
r/lib -c
/home/dima/RPM/BUILD/php-sybase_ct-4.3.0/php_sybase_ct.c  -fPIC -DPIC -o
php_sybase_ct.lo
/home/dima/RPM/BUILD/php-sybase_ct-4.3.0/php_sybase_ct.c: In function
`_close_sybase_link':
/home/dima/RPM/BUILD/php-sybase_ct-4.3.0/php_sybase_ct.c:166: warning:
implicit declaration of function `ct_con_props'
/home/dima/RPM/BUILD/php-sybase_ct-4.3.0/php_sybase_ct.c:173: warning:
implicit declaration of function `ct_close'
/home/dima/RPM/BUILD/php-sybase_ct-4.3.0/php_sybase_ct.c:178: warning:
implicit declaration of function `ct_con_drop'
/home/dima/RPM/BUILD/php-sybase_ct-4.3.0/php_sybase_ct.c: In function
`php_sybase_init_globals':
/home/dima/RPM/BUILD/php-sybase_ct-4.3.0/php_sybase_ct.c:312: warning:
implicit declaration of function `ct_init'
/home/dima/RPM/BUILD/php-sybase_ct-4.3.0/php_sybase_ct.c:317: warning:
implicit declaration of function `ct_callback'
/home/dima/RPM/BUILD/php-sybase_ct-4.3.0/php_sybase_ct.c:349: warning:
implicit declaration of function `ct_config'
/home/dima/RPM/BUILD/php-sybase_ct-4.3.0/php_sybase_ct.c: In function
`php_sybase_destroy_globals':
/home/dima/RPM/BUILD/php-sybase_ct-4.3.0/php_sybase_ct.c:366: warning:
implicit declaration of function `ct_exit'
/home/dima/RPM/BUILD/php-sybase_ct-4.3.0/php_sybase_ct.c: In function
`php_sybase_do_connect_internal':
/home/dima/RPM/BUILD/php-sybase_ct-4.3.0/php_sybase_ct.c:425: warning:
implicit declaration of function `ct_con_alloc'
/home/dima/RPM/BUILD/php-sybase_ct-4.3.0/php_sybase_ct.c:476: warning:
implicit declaration of function `ct_connect'
/home/dima/RPM/BUILD/php-sybase_ct-4.3.0/php_sybase_ct.c:482: warning:
implicit declaration of function `ct_cmd_alloc'
/home/dima/RPM/BUILD/php-sybase_ct-4.3.0/php_sybase_ct.c: In function
`exec_cmd':
/home/dima/RPM/BUILD/php-sybase_ct-4.3.0/php_sybase_ct.c:836: warning:
implicit declaration of function `ct_command'
/home/dima/RPM/BUILD/php-sybase_ct-4.3.0/php_sybase_ct.c:840: warning:
implicit declaration of function `ct_send'
/home/dima/RPM/BUILD/php-sybase_ct-4.3.0/php_sybase_ct.c:845: warning:
implicit declaration of function `ct_results'
/home/dima/RPM/BUILD/php-sybase_ct-4.3.0/php_sybase_ct.c:856: warning:
implicit declaration of function `ct_cancel'
/home/dima/RPM/BUILD/php-sybase_ct-4.3.0/php_sybase_ct.c: In function
`php_sybase_fetch_result_row':
/home/dima/RPM/BUILD/php-sybase_ct-4.3.0/php_sybase_ct.c:1031: warning:
implicit declaration of function `ct_fetch'
/home/dima/RPM/BUILD/php-sybase_ct-4.3.0/php_sybase_ct.c: In function
`php_sybase_fetch_result_set':
/home/dima/RPM/BUILD/php-sybase_ct-4.3.0/php_sybase_ct.c:1102: warning:
implicit declaration of function `ct_res_info'
/home/dima/RPM/BUILD/php-sybase_ct-4.3.0/php_sybase_ct.c:1123: warning:
implicit declaration of function `ct_describe'
/home/dima/RPM/BUILD/php-sybase_ct-4.3.0/php_sybase_ct.c:1181: warning:
implicit declaration of function `ct_bind'
/usr/include/bits/socket.h: At top level:
/home/dima/RPM/BUILD/php-sybase_ct-4.3.0/php_sybase_ct.c:365: warning:
`php_sybase_destroy_globals' defined but not used
/bin/sh /home/dima/RPM/BUILD/php-sybase_ct-4.3.0/libtool --mode=link
gcc -DPHP_ATOM_INC -I/home/dima/RPM/BUILD/php-sybase_ct-4.3.0/include -I/hom
e/dima/RPM/BUILD/php-sybase_ct-4.3.0/main -I/home/dima/RPM/BUILD/php-sybase_
ct-4.3.0 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend 
-I/usr/include/php/TSRM  -DHAVE_CONFIG_H  -pipe -Wall -O2 -fexpensive-optimi
zations -march=i686 -fPIC -L/usr/lib   -o
sybase_ct.la -export-dynamic -avoid-version -prefer-pic -module -rpath
/home/dima/RPM/BUILD/php-sybase_ct-4.3.0/modules  php_sybase_ct.lo -lct
mkdir .libs
rm -fr .libs/sybase_ct.la .libs/sybase_ct.* .libs/sybase_ct.*
(cd . && ln -s php_sybase_ct.lo php_sybase_ct.o)
gcc -shared  php_sybase_ct.lo  -L/usr/lib
/usr/lib/libct.so  -Wl,-soname -Wl,sybase_ct.so -o .libs/sybase_ct.so
creating sybase_ct.la
(cd .libs && rm -f sybase_ct.la && ln -s ../sybase_ct.la sybase_ct.la)
/bin/sh /home/dima/RPM/BUILD/php-sybase_ct-4.3.0/libtool --mode=install cp
./sybase_ct.la /home/dima/RPM/BUILD/php-sybase_ct-4.3.0/modules
cp ./.libs/sybase_ct.so
/home/dima/RPM/BUILD/php-sybase_ct-4.3.0/modules/sybase_ct.so
cp ./.libs/sybase_ct.lai
/home/dima/RPM/BUILD/php-sybase_ct-4.3.0/modules/sybase_ct.la
PATH="$PATH:/sbin" ldconfig -n
/home/dima/RPM/BUILD/php-sybase_ct-4.3.0/modules
----------------------------------------------------------------------
Libraries have been installed in:
   /home/dima/RPM/BUILD/php-sybase_ct-4.3.0/modules

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
+ exit 0
Выполняется(%install): /bin/sh -e /home/dima/tmp/rpm-tmp.11010
+ umask 022
+ /bin/mkdir -p /home/dima/RPM/BUILD
+ cd /home/dima/RPM/BUILD
+ /bin/chmod -Rf u+rwX -- /home/dima/tmp/php-sybase_ct-buildroot
+ :
+ /bin/rm -rf -- /home/dima/tmp/php-sybase_ct-buildroot
+ cd php-sybase_ct-4.3.0
+ %php_make_install
/home/dima/tmp/rpm-tmp.11010: line 70: fg: no job control
ошибка: Неверный код возврата из /home/dima/tmp/rpm-tmp.11010 (%install)


Ошибки сборки пакетов:
    Неверный код возврата из /home/dima/tmp/rpm-tmp.11010 (%install)


С уважением,
Дмитрий Тютюнников
Системный администратор ООО "Пегас-Тур"
454080, Челябинск, пр. Ленина, 64
тел. +7(351)247-92-85, +7(351)247-92-84, +7(351)266-60-31
E-mail: dima на pegastour.ru
ICQ: 194-508-09




Подробная информация о списке рассылки community