pkg-static error when installing php5 from ports

Neel Natu neelnatu at gmail.com
Thu Aug 14 18:05:48 UTC 2014


Hi Bryan,

On Thu, Aug 14, 2014 at 7:30 AM, Bryan Drewery <bdrewery at freebsd.org> 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.
>

Thanks, that worked!

best
Neel

>
> --
> Regards,
> Bryan Drewery
>


More information about the freebsd-ports mailing list