FreeBSD Port: php-xapian-1.4.5 - install fails under DEFAULT_VERSIONS+= php=7.1
Oliver Schonrock
oliver at schonrocks.com
Tue Dec 12 18:09:49 UTC 2017
bump? still broken for me... now under DEFAULT_VERSIONS+= php=7.2
On 03/12/17 12:16, Oliver Schonrock wrote:
> 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
Mobile : +44 7880 617 446
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/20171212/84cd1b7a/attachment.sig>
More information about the freebsd-ports
mailing list