Prev: php selecting multiple stylesheets
Next: pecl install geoip doesnt work. Warning: opendir(/var/tmp/pear-build-root/install-geoip-1.0.7//var/www/pear): failed to open dir: No such file or directory in PEAR/Builder.php on line188
From: David Taveras on 7 Feb 2010 23:35 Hello, Before writing to the general list I tried to search for a pecl users list but apparently it is closed only to developers. Iam running pecl install geoip, it confirms as per below that it was installed correctly but a find / -name geoip.so yields nothing, the paths mentioned at the end also do not exist. I assume this is because of the warning in the subject like of this message. Does anybody know what to do? Ive tried to uninstall pear and installed it again without luck. Iam using PEAR-1.9.0 , php5.2.8, and GeoIP-1.4.6. Thanks David T. # /root/bin/pecl install geoip downloading geoip-1.0.7.tgz ... Starting to download geoip-1.0.7.tgz (9,416 bytes) ......done: 9,416 bytes 3 source files, building running: phpize Configuring for: PHP Api Version: 20041225 Zend Module Api No: 20060613 Zend Extension Api No: 220060519 configure.in:145: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ....): suspicious cache-id, must contain _cv_ to be cached /usr/local/share/autoconf-2.62/autoconf/general.m4:1987: AC_CACHE_VAL is expanded from... /usr/local/share/autoconf-2.62/autoconf/general.m4:2000: AC_CACHE_CHECK is expanded from... aclocal.m4:3565: AC_LIBTOOL_LINKER_OPTION is expanded from... aclocal.m4:5577: _LT_AC_LANG_C_CONFIG is expanded from... aclocal.m4:5472: AC_LIBTOOL_LANG_C_CONFIG is expanded from... aclocal.m4:3089: AC_LIBTOOL_SETUP is expanded from... aclocal.m4:2947: _AC_PROG_LIBTOOL is expanded from... aclocal.m4:2927: AC_PROG_LIBTOOL is expanded from... configure.in:145: the top level configure.in:145: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ....): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:3528: AC_LIBTOOL_COMPILER_OPTION is expanded from... aclocal.m4:8099: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from... configure.in:145: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:6529: _LT_AC_LANG_CXX_CONFIG is expanded from... aclocal.m4:5585: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from... aclocal.m4:4717: _LT_AC_TAGCONFIG is expanded from... configure.in:145: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ....): suspicious cache-id, must contain _cv_ to be cached /usr/local/share/autoconf-2.62/autoconf/general.m4:1987: AC_CACHE_VAL is expanded from... /usr/local/share/autoconf-2.62/autoconf/general.m4:2000: AC_CACHE_CHECK is expanded from... aclocal.m4:3565: AC_LIBTOOL_LINKER_OPTION is expanded from... aclocal.m4:5577: _LT_AC_LANG_C_CONFIG is expanded from... aclocal.m4:5472: AC_LIBTOOL_LANG_C_CONFIG is expanded from... aclocal.m4:3089: AC_LIBTOOL_SETUP is expanded from... aclocal.m4:2947: _AC_PROG_LIBTOOL is expanded from... aclocal.m4:2927: AC_PROG_LIBTOOL is expanded from... configure.in:145: the top level configure.in:145: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ....): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:3528: AC_LIBTOOL_COMPILER_OPTION is expanded from... aclocal.m4:8099: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from... configure.in:145: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:6529: _LT_AC_LANG_CXX_CONFIG is expanded from... aclocal.m4:5585: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from... aclocal.m4:4717: _LT_AC_TAGCONFIG is expanded from... building in /var/tmp/pear-build-root/geoip-1.0.7 running: /root/temp/geoip/configure checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for a sed that does not truncate output... /usr/bin/sed checking for gcc... gcc checking for C compiler default output file name... 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 ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for icc... no checking whether gcc and cc understand -c and -o together... yes checking for system library directory... lib checking if compiler supports -R... yes checking build system type... i386-unknown-openbsd4.5 checking host system type... i386-unknown-openbsd4.5 checking target system type... i386-unknown-openbsd4.5 checking for PHP prefix... /var/www/pear checking for PHP includes... -I/usr/local/share/php5/include -I/usr/local/share/php5/include/main -I/usr/local/share/php5/include/TSRM -I/usr/local/share/php5/include/Zend -I/usr/local/share/php5/include/ext -I/usr/local/share/php5/include/ext/date/lib checking for PHP extension directory... /var/www/lib/php/modules checking for PHP installed headers prefix... /usr/local/share/php5/include 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 for geoip support... yes, shared checking for geoip files in default path... found in /usr/local checking for GeoIP_open in -lGeoIP... yes checking for GeoIP_setup_custom_directory in -lGeoIP... yes checking for GeoIP_set_charset in -lGeoIP... yes checking for GeoIP_continent_by_id in -lGeoIP... yes checking for LGPL compatible GeoIP libs... expr: non-numeric argument cannot detect checking library features to determine version (not acurate)... found 1004005 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... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$ 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 the maximum length of command line arguments... 196608 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/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking dynamic linker characteristics... openbsd4.5 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 configure: creating ./config.status config.status: creating config.h running: make /bin/sh /var/tmp/pear-build-root/geoip-1.0.7/libtool --mode=compile gcc -I. -I/root/temp/geoip -DPHP_ATOM_INC -I/var/tmp/pear-build-root/geoip-1.0.7/include -I/var/tmp/pear-build-root/geoip-1.0.7/main -I/root/temp/geoip -I/usr/local/share/php5/include -I/usr/local/share/php5/include/main -I/usr/local/share/php5/include/TSRM -I/usr/local/share/php5/include/Zend -I/usr/local/share/php5/include/ext -I/usr/local/share/php5/include/ext/date/lib -I/usr/local/include -I/usr/local/share/php5/include -DHAVE_CONFIG_H -g -O2 -c /root/temp/geoip/geoip.c -o geoip.lo mkdir .libs gcc -I. -I/root/temp/geoip -DPHP_ATOM_INC -I/var/tmp/pear-build-root/geoip-1.0.7/include -I/var/tmp/pear-build-root/geoip-1.0.7/main -I/root/temp/geoip -I/usr/local/share/php5/include -I/usr/local/share/php5/include/main -I/usr/local/share/php5/include/TSRM -I/usr/local/share/php5/include/Zend -I/usr/local/share/php5/include/ext -I/usr/local/share/php5/include/ext/date/lib -I/usr/local/include -I/usr/local/share/php5/include -DHAVE_CONFIG_H -g -O2 -c /root/temp/geoip/geoip.c -fPIC -DPIC -o .libs/geoip.o /bin/sh /var/tmp/pear-build-root/geoip-1.0.7/libtool --mode=link gcc -DPHP_ATOM_INC -I/var/tmp/pear-build-root/geoip-1.0.7/include -I/var/tmp/pear-build-root/geoip-1.0.7/main -I/root/temp/geoip -I/usr/local/share/php5/include -I/usr/local/share/php5/include/main -I/usr/local/share/php5/include/TSRM -I/usr/local/share/php5/include/Zend -I/usr/local/share/php5/include/ext -I/usr/local/share/php5/include/ext/date/lib -I/usr/local/include -I/usr/local/share/php5/include -DHAVE_CONFIG_H -g -O2 -o ../geoip.la -export-dynamic -avoid-version -prefer-pic -module -rpath /var/tmp/pear-build-root/geoip-1.0.7/modules geoip.lo -R/usr/local/lib -L/usr/local/lib -lGeoIP gcc -shared -fPIC -DPIC -o ./.libs/geoip.so .libs/geoip.o -L/usr/local/lib -lGeoIP creating ./geoip.la (cd ./.libs && rm -f geoip.la && ln -s ../geoip.la geoip.la) /bin/sh /var/tmp/pear-build-root/geoip-1.0.7/libtool --mode=install cp ../geoip.la /var/tmp/pear-build-root/geoip-1.0.7/modules cp ./.libs/geoip.so /var/tmp/pear-build-root/geoip-1.0.7/modules/geoip.so cp ./.libs/geoip.lai /var/tmp/pear-build-root/geoip-1.0.7/modules/geoip.la PATH="$PATH:/sbin" ldconfig -m /var/tmp/pear-build-root/geoip-1.0.7/modules ---------------------------------------------------------------------- Libraries have been installed in: /var/tmp/pear-build-root/geoip-1.0.7/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 - use the `-Wl,-rpath,LIBDIR' linker flag 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'. running: make INSTALL_ROOT="/var/tmp/pear-build-root/install-geoip-1.0.7" install Installing shared extensions: /var/tmp/pear-build-root/install-geoip-1.0.7/var/www/lib/php/modules/ running: find "/var/tmp/pear-build-root/install-geoip-1.0.7" | xargs ls -dils 831492 4 drwxr-xr-x 3 root wheel 512 Feb 7 22:06 /var/tmp/pear-build-root/install-geoip-1.0.7 831539 4 drwxr-xr-x 3 root wheel 512 Feb 7 22:06 /var/tmp/pear-build-root/install-geoip-1.0.7/var 831540 4 drwxr-xr-x 3 root wheel 512 Feb 7 22:06 /var/tmp/pear-build-root/install-geoip-1.0.7/var/www 831541 4 drwxr-xr-x 3 root wheel 512 Feb 7 22:06 /var/tmp/pear-build-root/install-geoip-1.0.7/var/www/lib 831542 4 drwxr-xr-x 3 root wheel 512 Feb 7 22:06 /var/tmp/pear-build-root/install-geoip-1.0.7/var/www/lib/php 831543 4 drwxr-xr-x 2 root wheel 512 Feb 7 22:06 /var/tmp/pear-build-root/install-geoip-1.0.7/var/www/lib/php/modules 831538 136 -rwxr-xr-x 1 root wheel 68605 Feb 7 22:06 /var/tmp/pear-build-root/install-geoip-1.0.7/var/www/lib/php/modules/geoip.so Warning: opendir(/var/tmp/pear-build-root/install-geoip-1.0.7//var/www/pear): failed to open dir: No such file or directory in PEAR/Builder.php on line 188 Warning: opendir(/var/tmp/pear-build-root/install-geoip-1.0.7//var/www/pear): failed to open dir: No such file or directory in /root/PEAR/PEAR/Builder.php on line 188 Build process completed successfully install ok: channel://pecl.php.net/geoip-1.0.7 # ls /var/tmp/pear-build-root/install-geoip-1.0.7/var/www/lib/php/modules/ ls: /var/tmp/pear-build-root/install-geoip-1.0.7/var/www/lib/php/modules/: No such file or directory # # find "/var/tmp/pear-build-root/install-geoip-1.0.7" | xargs ls -dils find: /var/tmp/pear-build-root/install-geoip-1.0.7: No such file or directory 2806282 4 drwxr-xr-x 6 501 501 1024 Feb 7 22:05 . |