alternative for github clone with submodules -> make: *** [install] Error 71
macports at parvis.nl
macports at parvis.nl
Thu May 7 16:11:19 UTC 2020
> On 2020-05-07, at 17:46, Christopher Jones <jonesc at hep.phy.cam.ac.uk> wrote:
>
> On 7 May 2020, at 4:41 pm, macports at parvis.nl <mailto:macports at parvis.nl> wrote:
>> ...
>>
>> but now destroot fails.
>>
>> log:
>> ----
>>
>> make: Entering directory `/opt/local/var/macports/build/_usr_local_macports_hfsinspect_sysutils_hfsinspect/hfsinspect/work/hfsinspect-02e0853'
>> + echo 'Installing hfsinspect in /usr/local'
>> Installing hfsinspect in /usr/local
>> + mkdir -p /usr/local/bin
>> + install build/Darwin-x86_64/hfsinspect /usr/local/bin
>> install: /usr/local/bin/hfsinspect: Operation not permitted
>> make: *** [install] Error 71
>>
>>
>> what should i do now?
>
> Any reference to /usr/local is wrong, macports does not use that location. The port file needs to configure the build to install to ${prefix} (which in default installations points to /opt/local).
typical OOPS moment.
changed Portfile: build.cmd make PREFIX=${prefix}
make: Entering directory `/opt/local/var/macports/build/_usr_local_macports_hfsinspect_sysutils_hfsinspect/hfsinspect/work/hfsinspect-02e0853'
+ echo 'Installing hfsinspect in /opt/local'
Installing hfsinspect in /opt/local
+ mkdir -p /opt/local/bin
+ install build/Darwin-x86_64/hfsinspect /opt/local/bin
install: /opt/local/bin/hfsinspect: Operation not permitted
make: *** [install] Error 71
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20200507/ae9b0873/attachment.html>
More information about the macports-dev
mailing list