Brassica SCA [v1.0.0]

Conworlds and conlangs
Lērisama
Posts: 258
Joined: Fri Oct 18, 2024 9:51 am

Re: Brassica SCA [v1.0.0]

Post by Lērisama »

I tried that and got the following error:

Code: Select all

cli-pb/Main.hs:40:13 error:
    • Variable not in scope
        asum :: [Parser ParadigmInput] -> Parser ParadigmInput
    • Perhaps you meant one of these:
        'sum' (imported from prelude), 'asumC' (imported from Conduit)
      Perhaps you want to add 'asum' to the import list in the import of
      'Data.Foldable' (cli-pb/Main.hs:8.1-29).
   |
40 |         <$> asum
   |             ^^^^
And then error messages caused by the above.
This is weird, as it seems to be an error in the compiling, which I'm sure worked fine when I tried it yesterday; I'm not sure what's going on.
LZ – Lēri Ziwi
PS – Proto Sāzlakuic (ancestor of LZ)
PRk – Proto Rākēwuic
XI – Xú Iạlan
VN – verbal noun
SUP – supine
DIRECT – verbal directional
My language stuff
bradrn
Posts: 6717
Joined: Fri Oct 19, 2018 1:25 am

Re: Brassica SCA [v1.0.0]

Post by bradrn »

Lērisama wrote: Wed Mar 19, 2025 12:48 pm This is weird, as it seems to be an error in the compiling, which I'm sure worked fine when I tried it yesterday; I'm not sure what's going on.
This is in the paradigm builder (in directory cli-pb). Perhaps you didn’t try building it yesterday.

It’s a strange error though… basically it’s saying that it can’t find the function asum, which is weird since it’s a common function. My best guess is that you’re somehow stuck on a very old (pre-4.16) version of the base library, which didn’t define asum. What does ghc --version give you?
Conlangs: Scratchpad | Texts | antilanguage
Software: See http://bradrn.com/projects.html
Other: Ergativity for Novices

(Why does phpBB not let me add >5 links here?)
Travis B.
Posts: 7647
Joined: Sun Jul 15, 2018 8:52 pm

Re: Brassica SCA [v1.0.0]

Post by Travis B. »

One thing I should recommend is downloading GHC etc. directly rather than using what comes with your distros -- distros often lag behind, especially Debian-based ones (cough cough "stable" cough cough).
Yaaludinuya siima d'at yiseka wohadetafa gaare.
Ennadinut'a gaare d'ate eetatadi siiman.
T'awraa t'awraa t'awraa t'awraa t'awraa t'awraa t'awraa.
Lērisama
Posts: 258
Joined: Fri Oct 18, 2024 9:51 am

Re: Brassica SCA [v1.0.0]

Post by Lērisama »

It claims to be The Glorious Glasgow Haskell Compilation System, version 9.0.2
LZ – Lēri Ziwi
PS – Proto Sāzlakuic (ancestor of LZ)
PRk – Proto Rākēwuic
XI – Xú Iạlan
VN – verbal noun
SUP – supine
DIRECT – verbal directional
My language stuff
bradrn
Posts: 6717
Joined: Fri Oct 19, 2018 1:25 am

Re: Brassica SCA [v1.0.0]

Post by bradrn »

Travis B. wrote: Thu Mar 20, 2025 9:58 am One thing I should recommend is downloading GHC etc. directly rather than using what comes with your distros -- distros often lag behind, especially Debian-based ones (cough cough "stable" cough cough).
Wait… this makes me realise… I thought I recommended GHCup already. But looks like I didn’t — no wonder Lērisama is having problems with painfully old GHC versions.

Lērisama, if you’re not already using GHCup, clean out your existing Haskell installation completely and reinstall it via GHCup. It should solve your problems. Distro packages of Haskell are famously bad.
Conlangs: Scratchpad | Texts | antilanguage
Software: See http://bradrn.com/projects.html
Other: Ergativity for Novices

(Why does phpBB not let me add >5 links here?)
Lērisama
Posts: 258
Joined: Fri Oct 18, 2024 9:51 am

Re: Brassica SCA [v1.0.0]

Post by Lērisama »

bradrn wrote: Thu Mar 20, 2025 8:41 pm Wait… this makes me realise… I thought I recommended GHCup already. But looks like I didn’t — no wonder Lērisama is having problems with painfully old GHC versions.

Lērisama, if you’re not already using GHCup, clean out your existing Haskell installation completely and reinstall it via GHCup. It should solve your problems. Distro packages of Haskell are famously bad.
Aha, I was not aware of that. I'll try that at the weekend.
LZ – Lēri Ziwi
PS – Proto Sāzlakuic (ancestor of LZ)
PRk – Proto Rākēwuic
XI – Xú Iạlan
VN – verbal noun
SUP – supine
DIRECT – verbal directional
My language stuff
Lērisama
Posts: 258
Joined: Fri Oct 18, 2024 9:51 am

Re: Brassica SCA [v1.0.0]

Post by Lērisama »

I managed to install ghcup tonight, and tried to recompile it. I got a lot of

Code: Select all

/usr/bin/ld.gold: error: cannot find -lgmp
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)
As well as warnings that ~ would soon cause an error, that memset ans memcpy is deprecated. It is also complaining that importing Data.Semigroup is redundant.
LZ – Lēri Ziwi
PS – Proto Sāzlakuic (ancestor of LZ)
PRk – Proto Rākēwuic
XI – Xú Iạlan
VN – verbal noun
SUP – supine
DIRECT – verbal directional
My language stuff
Travis B.
Posts: 7647
Joined: Sun Jul 15, 2018 8:52 pm

Re: Brassica SCA [v1.0.0]

Post by Travis B. »

Lērisama wrote: Fri Mar 21, 2025 3:21 pm I managed to install ghcup tonight, and tried to recompile it. I got a lot of

Code: Select all

/usr/bin/ld.gold: error: cannot find -lgmp
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)
As well as warnings that ~ would soon cause an error, that memset ans memcpy is deprecated. It is also complaining that importing Data.Semigroup is redundant.
You probably need libgmp installed then.
Yaaludinuya siima d'at yiseka wohadetafa gaare.
Ennadinut'a gaare d'ate eetatadi siiman.
T'awraa t'awraa t'awraa t'awraa t'awraa t'awraa t'awraa.
Lērisama
Posts: 258
Joined: Fri Oct 18, 2024 9:51 am

Re: Brassica SCA [v1.0.0]

Post by Lērisama »

Travis B. wrote: Fri Mar 21, 2025 3:23 pm
Lērisama wrote: Fri Mar 21, 2025 3:21 pm I managed to install ghcup tonight, and tried to recompile it. I got a lot of

Code: Select all

/usr/bin/ld.gold: error: cannot find -lgmp
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)
As well as warnings that ~ would soon cause an error, that memset ans memcpy is deprecated. It is also complaining that importing Data.Semigroup is redundant.
You probably need libgmp installed then.
I had just shut the pi down. Sod's law strikes again!
LZ – Lēri Ziwi
PS – Proto Sāzlakuic (ancestor of LZ)
PRk – Proto Rākēwuic
XI – Xú Iạlan
VN – verbal noun
SUP – supine
DIRECT – verbal directional
My language stuff
Lērisama
Posts: 258
Joined: Fri Oct 18, 2024 9:51 am

Re: Brassica SCA [v1.0.0]

Post by Lērisama »

It works!
LZ – Lēri Ziwi
PS – Proto Sāzlakuic (ancestor of LZ)
PRk – Proto Rākēwuic
XI – Xú Iạlan
VN – verbal noun
SUP – supine
DIRECT – verbal directional
My language stuff
User avatar
Raphael
Posts: 5023
Joined: Sun Jul 22, 2018 6:36 am

Re: Brassica SCA [v1.0.0]

Post by Raphael »

Lērisama wrote: Sat Mar 22, 2025 4:25 amIt works!
*manic laughter*
bradrn
Posts: 6717
Joined: Fri Oct 19, 2018 1:25 am

Re: Brassica SCA [v1.0.0]

Post by bradrn »

Lērisama wrote: Sat Mar 22, 2025 4:25 amIt works!
Amazing!
Conlangs: Scratchpad | Texts | antilanguage
Software: See http://bradrn.com/projects.html
Other: Ergativity for Novices

(Why does phpBB not let me add >5 links here?)
Post Reply