building on macos

2022-05-22 Thread Jean-Christophe Helary
I'm following the instructions here:
https://picolisp.com/wiki/?alternativeMacOSRepository

And I end-up with this error:

➜  pil21 git:(master) (cd src; make)
/opt/local/libexec/llvm-10/bin/llvm-link: lib.bc: error: Unknown attribute kind 
(68) (Producer: 'APPLE_1_1300.0.29.30_0' Reader: 'LLVM 10.0.1')
/opt/local/libexec/llvm-10/bin/llvm-link: error:  loading file 'lib.bc'
make: *** [picolisp.bc] Error 1

Any idea what is going on ?

-- 
Jean-Christophe Helary @brandelune
https://mac4translators.blogspot.com
https://sr.ht/~brandelune/omegat-as-a-book/


--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: building on macos

2022-05-22 Thread Jean-Christophe Helary



> On May 22, 2022, at 21:44, Mike  wrote:
> 
> May 22, 2022, 3:00 PM, "Jean-Christophe Helary" 
> mailto:li...@traduction-libre.org?to=%22Jean-Christophe%20Helary%22%20%3Clists%40traduction-libre.org%3E
>  > wrote:
> 
>> 
>> I'm following the instructions here:
>> https://picolisp.com/wiki/?alternativeMacOSRepository
>> 
>> And I end-up with this error:
>> 
>> ➜ pil21 git:(master) (cd src; make)
>> /opt/local/libexec/llvm-10/bin/llvm-link: lib.bc: error: Unknown attribute 
>> kind (68) (Producer: 'APPLE_1_1300.0.29.30_0' Reader: 'LLVM 10.0.1')
>> /opt/local/libexec/llvm-10/bin/llvm-link: error: loading file 'lib.bc'
>> make: *** [picolisp.bc] Error 1
>> 
>> Any idea what is going on ?
>> 
> 
> you will not build picolisp by builtin LLVM because of lack of 'opt' in the 
> next steps.
> you need LLVM from brew.

My understanding is that this aspect is taken into account here:

$ sudo port install llvm-10 readline libffi openssl
$ sudo port select --set llvm mp-llvm-10

Which installs dependencies in opt/

> you will fail anyway, macos port will not build out of box by default.

Yes but that instruction set *is* made for macos and used to work since I 
tested it in the past.

So there is something fishy here :-)

-- 
Jean-Christophe Helary @brandelune
https://mac4translators.blogspot.com
https://sr.ht/~brandelune/omegat-as-a-book/


--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: building on macos

2022-05-22 Thread Jean-Christophe Helary



> On May 23, 2022, at 2:54, Mike  wrote:
> 
> hi all,
> 
> https://git.envs.net/mpech/pil21-tests/raw/branch/master/Makefile.macos
> 
> This is my Makefile I am using and will maintain for macos port.
> Please try.

Thank you Mike.

I get the exact same result as my previous attempt with the other Makefile.

➜  pil21 git:(master) ✗ (cd src; make)
/opt/local/libexec/llvm-10/bin/llvm-link: lib.bc: error: Unknown attribute kind 
(68) (Producer: 'APPLE_1_1300.0.29.30_0' Reader: 'LLVM 10.0.1')
/opt/local/libexec/llvm-10/bin/llvm-link: error:  loading file 'lib.bc'
make: *** [picolisp.bc] Error 1


-- 
Jean-Christophe Helary @brandelune
https://mac4translators.blogspot.com
https://sr.ht/~brandelune/omegat-as-a-book/


--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe