pkg-static error when installing php5 from ports

Bryan Drewery bdrewery at FreeBSD.org
Thu Aug 14 14:30:35 UTC 2014


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.


-- 
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-pkg/attachments/20140814/bbe8e125/attachment.sig>


More information about the freebsd-pkg mailing list