lettier / gifcurry

😎 The open-source, Haskell-built video editor for GIF makers.
https://lettier.github.io/gifcurry
BSD 3-Clause "New" or "Revised" License
1.34k stars 54 forks source link

Installing gifcurry on mac fails #79

Open andrewclapham opened 2 years ago

andrewclapham commented 2 years ago

Hi team,

I ran the install script, and it compiled a lot of stuff before failing at this point:

(...)
gi-cairo              > [ 1 of 17] Compiling GI.Cairo.Config
gi-cairo              > [ 2 of 17] Compiling GI.Cairo.Enums
gi-cairo              > [ 3 of 17] Compiling GI.Cairo.Functions
gi-cairo              > [ 4 of 17] Compiling GI.Cairo.Structs.Context
gi-cairo              > [ 5 of 17] Compiling GI.Cairo.Structs.Device
gi-cairo              > [ 6 of 17] Compiling GI.Cairo.Structs.FontFace
gi-cairo              > [ 7 of 17] Compiling GI.Cairo.Structs.FontOptions
gi-cairo              > [ 8 of 17] Compiling GI.Cairo.Structs.Matrix
gi-cairo              > [ 9 of 17] Compiling GI.Cairo.Structs.Path
gi-cairo              > [10 of 17] Compiling GI.Cairo.Structs.Pattern
gi-cairo              > [11 of 17] Compiling GI.Cairo.Structs.Rectangle
gi-cairo              > [12 of 17] Compiling GI.Cairo.Structs.RectangleInt
gi-cairo              > [13 of 17] Compiling GI.Cairo.Structs.Region
gi-cairo              > [14 of 17] Compiling GI.Cairo.Structs.ScaledFont
gi-cairo              > [15 of 17] Compiling GI.Cairo.Structs.Surface
gi-cairo              > [16 of 17] Compiling GI.Cairo.Structs
gi-cairo              > [17 of 17] Compiling GI.Cairo
gi-glib               > Unknown GIR element "docsection" when processing namespace "GLib", aborting.
gi-glib               > CallStack (from HasCallStack):
gi-glib               >   error, called at lib/Data/GI/CodeGen/API.hs:196:16 in haskell-gi-0.23.0-1Dym74UL1F96XbIiMGqmXf:Data.GI.CodeGen.API
gi-cairo              > ignoring (possibly broken) abi-depends field for packages
gi-cairo              > copy/register
gi-cairo              > Installing library in /Users/andrew/.stack/snapshots/x86_64-osx/cdb53dceb4a9037294d981be9f13dc19c2dbf46290fb744f74b91ec404434346/8.4.3/lib/x86_64-osx-ghc-8.4.3/gi-cairo-1.0.23-dNnvnKH30v4GFfa1Z4LG9
gi-cairo              > Registering library for gi-cairo-1.0.23..
Progress 61/72          

--  While building package gi-glib-2.0.23 (scroll up to its section to see the error) using:
      /private/var/folders/h1/5xhtwsq50_l47h3286nb597w0000gn/T/stack-8578fc1e3194f399/gi-glib-2.0.23/.stack-work/dist/x86_64-osx/Cabal-2.2.0.1/setup/setup --builddir=.stack-work/dist/x86_64-osx/Cabal-2.2.0.1 configure --user --package-db=clear --package-db=global --package-db=/Users/andrew/.stack/snapshots/x86_64-osx/cdb53dceb4a9037294d981be9f13dc19c2dbf46290fb744f74b91ec404434346/8.4.3/pkgdb --libdir=/Users/andrew/.stack/snapshots/x86_64-osx/cdb53dceb4a9037294d981be9f13dc19c2dbf46290fb744f74b91ec404434346/8.4.3/lib --bindir=/Users/andrew/.stack/snapshots/x86_64-osx/cdb53dceb4a9037294d981be9f13dc19c2dbf46290fb744f74b91ec404434346/8.4.3/bin --datadir=/Users/andrew/.stack/snapshots/x86_64-osx/cdb53dceb4a9037294d981be9f13dc19c2dbf46290fb744f74b91ec404434346/8.4.3/share --libexecdir=/Users/andrew/.stack/snapshots/x86_64-osx/cdb53dceb4a9037294d981be9f13dc19c2dbf46290fb744f74b91ec404434346/8.4.3/libexec --sysconfdir=/Users/andrew/.stack/snapshots/x86_64-osx/cdb53dceb4a9037294d981be9f13dc19c2dbf46290fb744f74b91ec404434346/8.4.3/etc --docdir=/Users/andrew/.stack/snapshots/x86_64-osx/cdb53dceb4a9037294d981be9f13dc19c2dbf46290fb744f74b91ec404434346/8.4.3/doc/gi-glib-2.0.23 --htmldir=/Users/andrew/.stack/snapshots/x86_64-osx/cdb53dceb4a9037294d981be9f13dc19c2dbf46290fb744f74b91ec404434346/8.4.3/doc/gi-glib-2.0.23 --haddockdir=/Users/andrew/.stack/snapshots/x86_64-osx/cdb53dceb4a9037294d981be9f13dc19c2dbf46290fb744f74b91ec404434346/8.4.3/doc/gi-glib-2.0.23 --dependency=Cabal=Cabal-2.2.0.1-CjJFrTxSGTvBXLZi2vgAto --dependency=base=base-4.11.1.0 --dependency=bytestring=bytestring-0.10.8.2 --dependency=containers=containers-0.5.11.0 --dependency=haskell-gi=haskell-gi-0.23.0-1Dym74UL1F96XbIiMGqmXf --dependency=haskell-gi-base=haskell-gi-base-0.23.0-BPOA2KoCCUK7rN2AxM1uPa --dependency=haskell-gi-overloading=haskell-gi-overloading-1.0-6w3IXGDooXgu3RA2LfTuf --dependency=text=text-1.2.3.1-2K0XAMsdUtlF0sNn15iplD --dependency=transformers=transformers-0.5.5.0 --exact-configuration --ghc-option=-fhide-source-paths
    Process exited with code: ExitFailure 1

I've googled the error but all the answers seem unrelated to gifcurry. Any help or advice would be greatly appreciated.

Is there a binary that I can just download and run?

Cheers Andrew

potmo commented 2 years ago

Me too

gemmmo commented 2 years ago

Same, hopefully it is installable via homebrew in the future