Greetings,

I understand that 4.6 includes the port/packages for geoip as an
extension to PHP. Pretty cool, but iam trying to install it in OBSD
4.5.

Iam doing:

Installed package for pear, geoip, and autoconf-2.62 .
Set the AUTOCONF_VERSION ENV to 2.62
pecl install geoip

At the end it outputs all the compiling.. and it confirms the path of
the .so module placed here:
/var/tmp/pear-build-root/geoip-1.0.7/modules  however that directory
doesnt exist. Below is the output.


----------------------------------------------------------------------
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
831493   4 drwxr-xr-x  3 root  wheel    512 Feb  5 15:29
/var/tmp/pear-build-root/install-geoip-1.0.7
831529   4 drwxr-xr-x  3 root  wheel    512 Feb  5 15:29
/var/tmp/pear-build-root/install-geoip-1.0.7/var
831530   4 drwxr-xr-x  3 root  wheel    512 Feb  5 15:29
/var/tmp/pear-build-root/install-geoip-1.0.7/var/www
831531   4 drwxr-xr-x  3 root  wheel    512 Feb  5 15:29
/var/tmp/pear-build-root/install-geoip-1.0.7/var/www/lib
831532   4 drwxr-xr-x  3 root  wheel    512 Feb  5 15:29
/var/tmp/pear-build-root/install-geoip-1.0.7/var/www/lib/php
831533   4 drwxr-xr-x  2 root  wheel    512 Feb  5 15:29
/var/tmp/pear-build-root/install-geoip-1.0.7/var/www/lib/php/modules
831523 136 -rwxr-xr-x  1 root  wheel  68613 Feb  5 15:29
/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 202

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
/var/www/pear/lib/PEAR/Builder.php on line 202

Build process completed successfully
install ok: channel://pecl.php.net/geoip-1.0.7


Help!! Thanks

Matt

Reply via email to