pkg-static error when installing php5 from ports
Bryan Drewery
bdrewery at FreeBSD.org
Thu Aug 14 15:01:08 UTC 2014
On 8/14/2014 9:30 AM, Bryan Drewery wrote:
> On 8/13/2014 9:07 PM, Neel Natu wrote:
>> No response on freebsd-pkg@ so figured I would try my luck here.
>>
>> best
>> Neel
>>
>> On Tue, Aug 12, 2014 at 5:57 PM, Neel Natu <neelnatu at gmail.com> wrote:
>>> Hi,
>>>
>>> I am installing php5 from ports. It builds fine but fails with this
>>> error when installing:
>>>
>>> [/usr/ports/lang/php5]$ sudo make install
>>> ===> Installing for php5-5.4.31
>>> ===> php5-5.4.31 depends on shared library: libpcre.so - found
>>> (/usr/local/lib/libpcre.so.3)
>>> ===> php5-5.4.31 depends on shared library: libxml2.so - found
>>> (/usr/local/lib/libxml2.so.2.9.1)
>>> ===> Checking if php5 already installed
>>> ===> Registering installation for php5-5.4.31
>>> pkg-static: Invalid manifest format: could not find expected ':'
>>> *** Error code 74
>>>
>>> Stop.
>>> make[1]: stopped in /usr/ports/lang/php5
>>> *** Error code 1
>>>
>>> Any clue what might be happening and how to fix?
>>>
>>> best
>>> Neel
>
> This came up in #pkgng on freenode as well. Your Pkg is probably too
> old. Check with 'pkg -v'. The current release is at 1.3.6 now. You're
> likely running 1.1. Upgrade Pkg to support the new JSON format for the
> manifest.
>
>
We should add a version check to bsd.port.mk for Pkg. 1.2.0+ is required
for Ports currently. Care needs to be taken to not initiate the
bootstrap. So only executing LOCALBASE/sbin/pkg -v iff it exists.
--
Regards,
Bryan Drewery
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20140814/33e0daac/attachment.sig>
More information about the freebsd-ports
mailing list