php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59125 Not compile this package
Submitted: 2010-03-17 09:27 UTC Modified: 2010-03-18 03:22 UTC
From: pfcits at mail dot ru Assigned:
Status: Not a bug Package: swish (PECL)
PHP Version: 5.2.12 OS: gentoo x86_64
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: pfcits at mail dot ru
New email:
PHP Version: OS:

 

 [2010-03-17 09:27 UTC] pfcits at mail dot ru
Description:
------------
creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
running: make
/bin/sh /var/tmp/pear-build-root/swish-0.4.0/libtool --mode=compile cc  -I. -I/tmp/pear/download/swish-0.4.0 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/swish-0.4.0/include -I/var/tmp/pear-build-root/swish-0.4.0/main -I/tmp/pear/download/swish-0.4.0 -I/usr/lib64/php5/include/php -I/usr/lib64/php5/include/php/main -I/usr/lib64/php5/include/php/TSRM -I/usr/lib64/php5/include/php/Zend -I/usr/lib64/php5/include/php/ext -I/usr/lib64/php5/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /tmp/pear/download/swish-0.4.0/swish.c -o swish.lo
/var/tmp/pear-build-root/swish-0.4.0/libtool: line 467: CDPATH: command not found
/var/tmp/pear-build-root/swish-0.4.0/libtool: line 1152: func_opt_split: command not found
libtool: Version mismatch error.  This is libtool 2.2.6b, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6b
libtool: and run autoconf again.
make: *** [swish.lo] Error 63
ERROR: `make' failed



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-03-17 09:33 UTC] tony at daylessday dot org
Try with a working autotools instead.
autoconf 2.13, for example.
 [2010-03-17 09:41 UTC] pfcits at mail dot ru
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.63.  Invocation command line was

  $ ./configure --with-swish=/usr

## --------- ##
## Platform. ##
## --------- ##

hostname = srv5.localdomain
uname -m = x86_64
uname -r = 2.6.31-gentoo-r10
uname -s = Linux
uname -v = #1 SMP Sun Mar 14 13:57:22 MSK 2010

/usr/bin/uname -p = Intel(R) Xeon(R) CPU X3320 @ 2.50GHz
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2320: checking for grep that handles long lines and -e
configure:2380: result: /bin/grep
configure:2385: checking for egrep
configure:2449: result: /bin/grep -E
configure:2454: checking for a sed that does not truncate output
configure:2508: result: /bin/sed
configure:2640: checking for cc
configure:2656: found /usr/bin/cc
configure:2667: result: cc
configure:2701: checking for C compiler version
configure:2709: cc --version >&5
gcc (Gentoo 4.3.4 p1.1, pie-10.1.5) 4.3.4
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2713: $? = 0
configure:2720: cc -v >&5
Using built-in specs.
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.3.4/work/gcc-4.3.4/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.3.4 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.4 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.4/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.4/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-fixed-point --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --enable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --disable-libgcj --enable-languages=c,c++,treelang,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.3.4 p1.1, pie-10.1.5'
Thread model: posix
gcc version 4.3.4 (Gentoo 4.3.4 p1.1, pie-10.1.5) 
configure:2724: $? = 0
configure:2731: cc -V >&5
gcc: '-V' option must have argument
configure:2735: $? = 1
configure:2758: checking for C compiler default output file name
configure:2780: cc    conftest.c  >&5
configure:2784: $? = 0
configure:2822: result: a.out
configure:2841: checking whether the C compiler works
configure:2851: ./a.out
configure:2855: $? = 0
configure:2874: result: yes
configure:2881: checking whether we are cross compiling
configure:2883: result: no
configure:2886: checking for suffix of executables
configure:2893: cc -o conftest    conftest.c  >&5
configure:2897: $? = 0
configure:2923: result: 
configure:2929: checking for suffix of object files
configure:2955: cc -c   conftest.c >&5
configure:2959: $? = 0
configure:2984: result: o
configure:2988: checking whether we are using the GNU C compiler
configure:3017: cc -c   conftest.c >&5
configure:3024: $? = 0
configure:3041: result: yes
configure:3050: checking whether cc accepts -g
configure:3080: cc -c -g  conftest.c >&5
configure:3087: $? = 0
configure:3188: result: yes
configure:3205: checking for cc option to accept ISO C89
configure:3279: cc  -c -g -O2  conftest.c >&5
configure:3286: $? = 0
configure:3309: result: none needed
configure:3333: checking how to run the C preprocessor
configure:3373: cc -E  conftest.c
configure:3380: $? = 0
configure:3411: cc -E  conftest.c
conftest.c:8:28: error: ac_nonexistent.h: No such file or directory
configure:3418: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3451: result: cc -E
configure:3480: cc -E  conftest.c
configure:3487: $? = 0
configure:3518: cc -E  conftest.c
conftest.c:8:28: error: ac_nonexistent.h: No such file or directory
configure:3525: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3567: checking for icc
configure:3580: result: no
configure:3594: checking for suncc
configure:3607: result: no
configure:3625: checking whether cc understands -c and -o together
configure:3657: cc -c conftest.c -o conftest2.o >&5
configure:3661: $? = 0
configure:3667: cc -c conftest.c -o conftest2.o >&5
configure:3671: $? = 0
configure:3726: result: yes
configure:3742: checking for system library directory
configure:3760: result: lib
configure:3767: checking if compiler supports -R
configure:3796: cc -o conftest -g -O2   conftest.c -R /usr/lib  >&5
gcc: unrecognized option '-R'
/usr/lib: file not recognized: Is a directory
collect2: ld returned 1 exit status
configure:3803: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3825: result: no
configure:3830: checking if compiler supports -Wl,-rpath,
configure:3859: cc -o conftest -g -O2   conftest.c -Wl,-rpath,/usr/lib  >&5
configure:3866: $? = 0
configure:3888: result: yes
configure:3937: checking build system type
configure:3955: result: x86_64-unknown-linux-gnu
configure:3977: checking host system type
configure:3992: result: x86_64-unknown-linux-gnu
configure:4014: checking target system type
configure:4029: result: x86_64-unknown-linux-gnu
configure:4141: checking for PHP prefix
configure:4143: result: /usr/lib64/php5
configure:4145: checking for PHP includes
configure:4147: result: -I/usr/lib64/php5/include/php -I/usr/lib64/php5/include/php/main -I/usr/lib64/php5/include/php/TSRM -I/usr/lib64/php5/include/php/Zend -I/usr/lib64/php5/include/php/ext -I/usr/lib64/php5/include/php/ext/date/lib
configure:4149: checking for PHP extension directory
configure:4151: result: /usr/lib64/php5/lib/php/extensions/no-debug-zts-20060613
configure:4153: checking for PHP installed headers prefix
configure:4155: result: /usr/lib64/php5/include/php
configure:4158: checking if debug is enabled
configure:4188: result: no
configure:4191: checking if zts is enabled
configure:4221: result: no
configure:4303: checking for re2c
configure:4319: found /usr/bin/re2c
configure:4330: result: re2c
configure:4339: checking for re2c version
configure:4353: result: 0.13.5 (ok)
configure:4372: checking for gawk
configure:4389: found /bin/gawk
configure:4400: result: gawk
configure:4448: checking for Swish-e support
configure:4491: result: yes, shared
configure:4663: checking for stemmer constants
configure:4694: cc -c -O2 -pipe -fomit-frame-pointer -mmmx -msse2 -mssse3 -msse4.1 -mfpmath=sse -I/usr/include  conftest.c >&5
conftest.c: In function 'main':
conftest.c:16: error: 'STEM_OK' undeclared (first use in this function)
conftest.c:16: error: (Each undeclared identifier is reported only once
conftest.c:16: error: for each function it appears in.)
configure:4701: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
| 
| #include <stdio.h>
| #include <swish-e.h>
| 
| int
| main ()
| {
| 
|        int i = STEM_OK;
| 
|   ;
|   return 0;
| }
configure:4721: result: no
configure:5124: checking for ld used by cc
configure:5191: result: /usr/x86_64-pc-linux-gnu/bin/ld
configure:5200: checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld
configure:5215: result: yes
configure:5220: checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files
configure:5227: result: -r
configure:5245: checking for BSD-compatible nm
configure:5294: result: /usr/bin/nm -B
configure:5298: checking whether ln -s works
configure:5302: result: yes
configure:5309: checking how to recognize dependent libraries
configure:5495: result: pass_all
configure:5580: cc -c -g -O2  conftest.c >&5
configure:5583: $? = 0
configure:5736: checking for ANSI C header files
configure:5766: cc -c -g -O2  conftest.c >&5
configure:5773: $? = 0
configure:5872: cc -o conftest -g -O2   conftest.c  >&5
configure:5876: $? = 0
configure:5882: ./conftest
configure:5886: $? = 0
configure:5904: result: yes
configure:5928: checking for sys/types.h
configure:5949: cc -c -g -O2  conftest.c >&5
configure:5956: $? = 0
configure:5973: result: yes
configure:5928: checking for sys/stat.h
configure:5949: cc -c -g -O2  conftest.c >&5
configure:5956: $? = 0
configure:5973: result: yes
configure:5928: checking for stdlib.h
configure:5949: cc -c -g -O2  conftest.c >&5
configure:5956: $? = 0
configure:5973: result: yes
configure:5928: checking for string.h
configure:5949: cc -c -g -O2  conftest.c >&5
configure:5956: $? = 0
configure:5973: result: yes
configure:5928: checking for memory.h
configure:5949: cc -c -g -O2  conftest.c >&5
configure:5956: $? = 0
configure:5973: result: yes
configure:5928: checking for strings.h
configure:5949: cc -c -g -O2  conftest.c >&5
configure:5956: $? = 0
configure:5973: result: yes
configure:5928: checking for inttypes.h
configure:5949: cc -c -g -O2  conftest.c >&5
configure:5956: $? = 0
configure:5973: result: yes
configure:5928: checking for stdint.h
configure:5949: cc -c -g -O2  conftest.c >&5
configure:5956: $? = 0
configure:5973: result: yes
configure:5928: checking for unistd.h
configure:5949: cc -c -g -O2  conftest.c >&5
configure:5956: $? = 0
configure:5973: result: yes
configure:6003: checking dlfcn.h usability
configure:6020: cc -c -g -O2  conftest.c >&5
configure:6027: $? = 0
configure:6041: result: yes
configure:6045: checking dlfcn.h presence
configure:6060: cc -E  conftest.c
configure:6067: $? = 0
configure:6081: result: yes
configure:6109: checking for dlfcn.h
configure:6118: result: yes
configure:6145: checking the maximum length of command line arguments
configure:6257: result: 1572864
configure:6269: checking command to parse /usr/bin/nm -B output from cc object
configure:6374: cc -c -g -O2  conftest.c >&5
configure:6377: $? = 0
configure:6381: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ 	]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ 	][ 	]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' \> conftest.nm
configure:6384: $? = 0
configure:6436: cc -o conftest -g -O2   conftest.c conftstm.o >&5
configure:6439: $? = 0
configure:6477: result: ok
configure:6481: checking for objdir
configure:6496: result: .libs
configure:6588: checking for ar
configure:6604: found /usr/bin/ar
configure:6615: result: ar
configure:6680: checking for ranlib
configure:6696: found /usr/bin/ranlib
configure:6707: result: ranlib
configure:6772: checking for strip
configure:6788: found /usr/bin/strip
configure:6799: result: strip
configure:7368: checking if cc supports -fno-rtti -fno-exceptions
configure:7386: cc -c -g -O2  -fno-rtti -fno-exceptions conftest.c >&5
cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C
configure:7390: $? = 0
configure:7403: result: no
configure:7418: checking for cc option to produce PIC
configure:7658: result: -fPIC
configure:7666: checking if cc PIC flag -fPIC works
configure:7684: cc -c -g -O2  -fPIC -DPIC conftest.c >&5
configure:7688: $? = 0
configure:7701: result: yes
configure:7729: checking if cc static flag -static works
configure:7757: result: yes
configure:7767: checking if cc supports -c -o file.o
configure:7788: cc -c -g -O2  -o out/conftest2.o conftest.c >&5
configure:7792: $? = 0
configure:7814: result: yes
configure:7840: checking whether the cc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries
configure:8772: result: yes
configure:8793: checking whether -lc should be explicitly linked in
configure:8798: cc -c -g -O2  conftest.c >&5
configure:8801: $? = 0
configure:8816: cc -shared conftest.o  -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| grep  -lc  \>/dev/null 2\>\&1
configure:8819: $? = 0
configure:8831: result: no
configure:8839: checking dynamic linker characteristics
configure:9441: result: GNU/Linux ld.so
configure:9465: checking how to hardcode library paths into programs
configure:9490: result: immediate
configure:9504: checking whether stripping libraries is possible
configure:9509: result: yes
configure:10339: checking if libtool supports shared libraries
configure:10341: result: yes
configure:10344: checking whether to build shared libraries
configure:10365: result: yes
configure:10368: checking whether to build static libraries
configure:10372: result: no
configure:10467: result:
creating libtool
configure:14168: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by config.status, which was
generated by GNU Autoconf 2.63.  Invocation command line was

  CONFIG_FILES    = 
  CONFIG_HEADERS  = 
  CONFIG_LINKS    = 
  CONFIG_COMMANDS = 
  $ ./config.status 

on srv5.localdomain

config.status:606: creating config.h

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=x86_64-unknown-linux-gnu
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_GREP=/bin/grep
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='cc -E'
ac_cv_prog_RE2C=re2c
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=cc
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_c89=
ac_cv_prog_cc_cc_c_o=yes
ac_cv_prog_cc_g=yes
ac_cv_stemmer_constants=no
ac_cv_target=x86_64-unknown-linux-gnu
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_objdir=.libs
lt_cv_path_LD=/usr/x86_64-pc-linux-gnu/bin/ld
lt_cv_path_NM='/usr/bin/nm -B'
lt_cv_path_SED=/bin/sed
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_rtti_exceptions=no
lt_cv_prog_compiler_static_works=yes
lt_cv_prog_gnu_ld=yes
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ 	]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ 	][ 	]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'''
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/  {\"\1\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \([^ ]*\) \([^ ]*\)$/  {"\2", (lt_ptr) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^. .* \(.*\)$/extern int \1;/p'\'''
lt_cv_sys_lib_dlsearch_path_spec='/lib /usr/lib /usr/local/lib /lib /usr/lib /lib64 /usr/lib64 /usr/local/lib64 /lib32 /usr/lib32 /usr/local/lib32 /usr/x86_64-pc-linux-gnu/lib /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4 /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/32 '
lt_cv_sys_lib_search_path_spec='/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4 /usr/lib64 /lib64 /usr/x86_64-pc-linux-gnu/lib'
lt_cv_sys_max_cmd_len=1572864
lt_lt_cv_prog_compiler_c_o='"yes"'
lt_lt_cv_sys_global_symbol_pipe='"sed -n -e '\''s/^.*[ 	]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[ 	][ 	]*\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2 \\2/p'\''"'
lt_lt_cv_sys_global_symbol_to_c_name_address='"sed -n -e '\''s/^: \\([^ ]*\\) \$/  {\\\"\\1\\\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \\([^ ]*\\) \\([^ ]*\\)\$/  {\"\\2\", (lt_ptr) \\&\\2},/p'\''"'
lt_lt_cv_sys_global_symbol_to_cdecl='"sed -n -e '\''s/^. .* \\(.*\\)\$/extern int \\1;/p'\''"'
php_cv_cc_dashr=no
php_cv_cc_rpath=yes
php_cv_re2c_version='0.13.5 (ok)'

## ----------------- ##
## Output variables. ##
## ----------------- ##

AR='ar'
AWK='gawk'
CC='cc'
CFLAGS='-g -O2'
CONFIGURE_COMMAND=' '\''./configure'\''  '\''--with-swish=/usr'\'''
CONFIGURE_OPTIONS=' '\''--with-swish=/usr'\'''
CPP='cc -E'
CPPFLAGS=' -DHAVE_CONFIG_H'
DEFS='-DHAVE_CONFIG_H'
DSYMUTIL=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
EXEEXT=''
GREP='/bin/grep'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LN_S='ln -s'
LTLIBOBJS=''
NMEDIT=''
OBJEXT='o'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB='ranlib'
RE2C='re2c'
SED='/bin/sed'
SHELL='/bin/sh'
SHLIB_DL_SUFFIX_NAME='so'
SHLIB_SUFFIX_NAME='so'
STRIP='strip'
ac_ct_CC='cc'
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='$(prefix)'
host='x86_64-unknown-linux-gnu'
host_alias='x86_64-unknown-linux-gnu'
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/lib64/php5'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='x86_64-unknown-linux-gnu'
target_alias=''
target_cpu='x86_64'
target_os='linux-gnu'
target_vendor='unknown'

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define COMPILE_DL_SWISH 1
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_DLFCN_H 1

configure: exit 0
 [2010-03-17 09:49 UTC] tony at daylessday dot org
>It was created by configure, which was generated by GNU Autoconf 2.63. 

I repeat: try autoconf 2.13 instead of the latest and greatest autoconf in your Gentoo, which is known to fail.

Also if you're using PHP packages coming with Gentoo - try to build clean PHP sources from php.net.
 [2010-03-17 10:07 UTC] pfcits at mail dot ru
I install and use autoconf-2.13,
but it don't print any massage to the standard output.

it's print:

....
cat >> $CONFIG_STATUS <<\EOF
  rm -f conftest.frag conftest.h
  echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
  cat conftest.in >> conftest.h
  rm -f conftest.in
  if cmp -s $ac_file conftest.h 2>/dev/null; then
    echo "$ac_file is unchanged"
    rm -f conftest.h
  else
    # Remove last slash and all that follows it.  Not all systems have dirname.
      ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
      # The file is in a subdirectory.
      test ! -d "$ac_dir" && mkdir "$ac_dir"
    fi
    rm -f $ac_file
    mv conftest.h $ac_file
  fi
fi; done

EOF
cat >> $CONFIG_STATUS <<EOF

EOF
cat >> $CONFIG_STATUS <<\EOF

exit 0
EOF
chmod +x $CONFIG_STATUS
rm -fr confdefs* $ac_clean_files
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1


# I think, php is right :), but I have NEW and stable libtool-2.2.6b, this is not right for php-pear-swish-e!

Thank you for help me!, but try again.
 [2010-03-17 10:20 UTC] tony at daylessday dot org
So are you using Gentoo PHP packages or clean PHP from php.net?
 [2010-03-18 01:46 UTC] pfcits at mail dot ru
I try this "http://pecl.php.net/bugs/bug.php?id=16963&edit=1" method, and have some error:

srv5 swish-0.4.0 # phpize
Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20060613
Zend Extension Api No:   220060519
srv5 swish-0.4.0 # aclocal
acinclude.m4:1098: warning: underquoted definition of PHP_CHECK_SIZEOF
acinclude.m4:1098:   run info '(automake)Extending aclocal'
acinclude.m4:1098:   or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
srv5 swish-0.4.0 # libtoolize --force
libtoolize: putting auxiliary files in `.'.
libtoolize: linking file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.

Any idea ?
 [2010-03-18 01:55 UTC] tony at daylessday dot org
I have several of them, but you didn't answer my question.
 [2010-03-18 02:03 UTC] pfcits at mail dot ru
So... I'm install this package with stable gentoo php-5.2.12.

phpize
aclocal
libtoolize --force
autoheader
autoconf
automake
aclocal
./configure
aclocal
automake
make
 [code]
/bin/sh /home/ivan/swish-0.4.0/libtool --mode=compile cc  -I. -I/home/ivan/swish-0.4.0 -DPHP_ATOM_INC -I/home/ivan/swish-0.4.0/include -I/home/ivan/swish-0.4.0/main -I/home/ivan/swish-0.4.0 -I/usr/lib64/php5/include/php -I/usr/lib64/php5/include/php/main -I/usr/lib64/php5/include/php/TSRM -I/usr/lib64/php5/include/php/Zend -I/usr/lib64/php5/include/php/ext -I/usr/lib64/php5/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /home/ivan/swish-0.4.0/swish.c -o swish.lo 
libtool: compile:  cc -I. -I/home/ivan/swish-0.4.0 -DPHP_ATOM_INC -I/home/ivan/swish-0.4.0/include -I/home/ivan/swish-0.4.0/main -I/home/ivan/swish-0.4.0 -I/usr/lib64/php5/include/php -I/usr/lib64/php5/include/php/main -I/usr/lib64/php5/include/php/TSRM -I/usr/lib64/php5/include/php/Zend -I/usr/lib64/php5/include/php/ext -I/usr/lib64/php5/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/ivan/swish-0.4.0/swish.c  -fPIC -DPIC -o .libs/swish.o
/bin/sh /home/ivan/swish-0.4.0/libtool --mode=link cc -DPHP_ATOM_INC -I/home/ivan/swish-0.4.0/include -I/home/ivan/swish-0.4.0/main -I/home/ivan/swish-0.4.0 -I/usr/lib64/php5/include/php -I/usr/lib64/php5/include/php/main -I/usr/lib64/php5/include/php/TSRM -I/usr/lib64/php5/include/php/Zend -I/usr/lib64/php5/include/php/ext -I/usr/lib64/php5/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -o swish.la -export-dynamic -avoid-version -prefer-pic -module -rpath /home/ivan/swish-0.4.0/modules  swish.lo -lswish-e -lz -lm
libtool: link: cc -shared  .libs/swish.o   /usr/lib64/libswish-e.so -lz -lm    -Wl,-soname -Wl,swish.so -o .libs/swish.so
libtool: link: ( cd ".libs" && rm -f "swish.la" && ln -s "../swish.la" "swish.la" )
/bin/sh /home/ivan/swish-0.4.0/libtool --mode=install cp ./swish.la /home/ivan/swish-0.4.0/modules
libtool: install: cp ./.libs/swish.so /home/ivan/swish-0.4.0/modules/swish.so
libtool: install: cp ./.libs/swish.lai /home/ivan/swish-0.4.0/modules/swish.la
libtool: finish: PATH="/sbin:/bin:/usr/sbin:/usr/bin:/sbin" ldconfig -n /home/ivan/swish-0.4.0/modules
----------------------------------------------------------------------
Libraries have been installed in:
   /home/ivan/swish-0.4.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.
----------------------------------------------------------------------

Build complete.
Don't forget to run 'make test'.
 [/code]

make install
Installing shared extensions:     /usr/lib64/php5/lib/php/extensions/no-debug-zts-20060613/

I check this extension? it's WORK, and I'm happy!!!
 [2010-03-18 03:22 UTC] tony at daylessday dot org
Good.
The package is ok then -> no bug.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 05:01:28 2024 UTC