FreeBSD Port: php-xapian-1.4.5 - install fails under DEFAULT_VERSIONS+= php=7.1
Oliver Schonrock
oliver at schonrocks.com
Sun Dec 3 12:17:04 UTC 2017
I think it's just a path issue:
[root at epsilon php-xapian]# cat /etc/make.conf
DEFAULT_VERSIONS+= php=7.1
[root at epsilon php-xapian]# make reinstall
===> Installing for php-xapian-1.4.5
===> php-xapian-1.4.5 depends on file:
/usr/local/include/php/main/php.h - found
===> php-xapian-1.4.5 depends on shared library: libxapian.so - found
(/usr/local/lib/libxapian.so)
===> Registering installation for php-xapian-1.4.5
pkg-static: Unable to access file
/usr/ports/databases/php-xapian/work/stage/usr/local/share/xapian/php7/xapian.php:No
such file or directory
*** Error code 74
This makes it work (but I am not convinced it's quite right?)
[root at epsilon php-xapian]# mkdir -p
/usr/ports/databases/php-xapian/work/stage/usr/local/share/xapian/php7
[root at epsilon php-xapian]# ln -s ../php/xapian.php
/usr/ports/databases/php-xapian/work/stage/usr/local/share/xapian/php7/xapian.php
[root at epsilon php-xapian]# make install
===> Installing for php-xapian-1.4.5
===> php-xapian-1.4.5 depends on file:
/usr/local/include/php/main/php.h - found
===> php-xapian-1.4.5 depends on shared library: libxapian.so - found
(/usr/local/lib/libxapian.so)
===> Checking if php-xapian already installed
===> Registering installation for php-xapian-1.4.5
Installing php-xapian-1.4.5...
Also make install doesn't do the usual:
echo "extension=xapian.so" >> /usr/local/etc/php/ext-20-xapian.ini
should it?
--
Oliver Schönrock
email : oliver at schonrocks.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20171203/8d32dc25/attachment.sig>
More information about the freebsd-ports
mailing list