> On 2020-05-07, at 17:46, Christopher Jones <[email protected]> wrote:
> 
> On 7 May 2020, at 4:41 pm, [email protected] <mailto:[email protected]> 
> 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



Reply via email to