From owner-freebsd-ports@freebsd.org Sun Dec 3 12:17:04 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7EE1EDF992D for ; Sun, 3 Dec 2017 12:17:04 +0000 (UTC) (envelope-from oliver@schonrocks.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 6344A76CEB for ; Sun, 3 Dec 2017 12:17:04 +0000 (UTC) (envelope-from oliver@schonrocks.com) Received: by mailman.ysv.freebsd.org (Postfix) id 5F5F9DF992C; Sun, 3 Dec 2017 12:17:04 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5EF53DF992B for ; Sun, 3 Dec 2017 12:17:04 +0000 (UTC) (envelope-from oliver@schonrocks.com) Received: from smtp.schonrocks.com (smtp.schonrocks.com [109.73.123.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 250B176CEA; Sun, 3 Dec 2017 12:17:03 +0000 (UTC) (envelope-from oliver@schonrocks.com) Received: from [192.168.40.60] (home.zaheer.org.uk [81.187.127.171]) by smtp.schonrocks.com (Postfix) with ESMTPA id 0A9AB4DB424; Sun, 3 Dec 2017 12:16:55 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=schonrocks.com; s=default; t=1512303415; bh=ZWDTLa64KmrxU2JSOuSoXSXQWVxzDnI6BdRfj4Wtw6Y=; h=To:Cc:Subject:From:Date; b=n+oIc95axpIomyiVTGyO92nYnsM7CIHFxhgueLmLG7DoMrcnUHMasksV0aqKocBfs wzMHj3dTu2nRHKonP3gTq28IAh8q7+q37ZfNH8cGd+0nu6y3SKYr3Umpw2cUisP1Z1 uyM2IZOmvjdAT9bFezdYp8C6GCNSe3JWCxjh+8ig= To: sunpoet@FreeBSD.org Cc: ports@FreeBSD.org Subject: FreeBSD Port: php-xapian-1.4.5 - install fails under DEFAULT_VERSIONS+= php=7.1 From: Oliver Schonrock Message-ID: <317bc760-0fc4-0634-6249-eff73af7d193@schonrocks.com> Date: Sun, 3 Dec 2017 12:16:53 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="E3gGnQtpi91BfUU0iI1C2coERgM6uAdJX" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Dec 2017 12:17:04 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --E3gGnQtpi91BfUU0iI1C2coERgM6uAdJX Content-Type: multipart/mixed; boundary="kXGVfiRd5SXw7Drn8DtU8VJNG5BQuCIDf"; protected-headers="v1" From: Oliver Schonrock To: sunpoet@FreeBSD.org Cc: ports@FreeBSD.org Message-ID: <317bc760-0fc4-0634-6249-eff73af7d193@schonrocks.com> Subject: FreeBSD Port: php-xapian-1.4.5 - install fails under DEFAULT_VERSIONS+= php=7.1 --kXGVfiRd5SXw7Drn8DtU8VJNG5BQuCIDf Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: quoted-printable I think it's just a path issue: [root@epsilon php-xapian]# cat /etc/make.conf DEFAULT_VERSIONS+=3D php=3D7.1 [root@epsilon php-xapian]# make reinstall =3D=3D=3D> Installing for php-xapian-1.4.5 =3D=3D=3D> php-xapian-1.4.5 depends on file: /usr/local/include/php/main/php.h - found =3D=3D=3D> php-xapian-1.4.5 depends on shared library: libxapian.so - f= ound (/usr/local/lib/libxapian.so) =3D=3D=3D> 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/xa= pian.php:No such file or directory *** Error code 74 This makes it work (but I am not convinced it's quite right?) [root@epsilon php-xapian]# mkdir -p /usr/ports/databases/php-xapian/work/stage/usr/local/share/xapian/php7 [root@epsilon php-xapian]# ln -s ../php/xapian.php /usr/ports/databases/php-xapian/work/stage/usr/local/share/xapian/php7/xa= pian.php [root@epsilon php-xapian]# make install =3D=3D=3D> Installing for php-xapian-1.4.5 =3D=3D=3D> php-xapian-1.4.5 depends on file: /usr/local/include/php/main/php.h - found =3D=3D=3D> php-xapian-1.4.5 depends on shared library: libxapian.so - f= ound (/usr/local/lib/libxapian.so) =3D=3D=3D> Checking if php-xapian already installed =3D=3D=3D> Registering installation for php-xapian-1.4.5 Installing php-xapian-1.4.5... Also make install doesn't do the usual: echo "extension=3Dxapian.so" >> /usr/local/etc/php/ext-20-xapian.ini should it? --=20 Oliver Sch=C3=B6nrock email : oliver@schonrocks.com --kXGVfiRd5SXw7Drn8DtU8VJNG5BQuCIDf-- --E3gGnQtpi91BfUU0iI1C2coERgM6uAdJX Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJaI+s1AAoJEF6SumULDx4PQlkH/3DTM1i0C0wA3yC2ezSRgaeR 4nOITPelpgTxSX6g7HSy4tqMRep9M7fu+qgqS3Uzu8NyMXu9+zR9k/A07Im7js6w J6hziUJ7M31MIA+AqaBgzBUO5noKUCTEz2w0xMXgPxr9mIHGNGRxranzZUCwf4lY oGhnci0FTDilU4fYH+DJfWSl67xgN6FhlsLeflk0GPP/3Wuk25BZtDM2n2FD94dA 5RuE2VwS83AhNOeYPgq7+tgPp7kjii+BxI2yJvS1LC60qSA+681+SdGYbBYlwyGx 7Y3fQltPO75CPdI+f/vK2jcXVBWC0B0vD/K/mE7Pl9MVgz63TplWWUREkKEsulA= =K0uz -----END PGP SIGNATURE----- --E3gGnQtpi91BfUU0iI1C2coERgM6uAdJX--