escape-time fractals (et) - instalation problem

  • 2 Replies
  • 213 Views

0 Members and 1 Guest are viewing this topic.

Offline Adam Majewski

  • *
  • Strange Attractor
  • ******
  • Posts: 82
« on: May 31, 2018, 08:21:16 AM »
Hi,

Here is:
https://code.mathr.co.uk/et

I have done :
Code: [Select]
git clone https://code.mathr.co.uk/et.git
sudo apt-get install \
      build-essential \
      ghc \
      cabal-install \
      libmpfr-dev \
      libgirepository1.0-dev \
      libwebkit2gtk-4.0-dev \
      libgtksourceview-3.0-dev
cd et
cabal sandbox init
Writing a default package environment file to /home/a/et/cabal.sandbox.config
Using an existing sandbox located at /home/a/et/.cabal-sandbox
a@zelman:~/et$  cabal install
Resolving dependencies...
cabal: Could not resolve dependencies:
trying: et-0 (user goal)
next goal: rounded (dependency of et-0)
Dependency tree exhaustively searched.

Note: when using a sandbox, all packages are required to have consistent
dependencies. Try reinstalling/unregistering the offending packages or
recreating the sandbox.

Here is my et.cabal:

Code: [Select]
name:                et
version:             0
synopsis:            escape-time fractals
description:
  Escape-time fractals powered by a formula compiler.  Graphics are visualized
  using distance estimation, normalized iteration count, and/or atom-domain
  colouring.  Navigation is enhanced by Newton-Raphson zooming: a single action
  can bring you to a mini-set or an embedded Julia.

homepage:            https://mathr.co.uk/et/
license:             AGPL-3
license-file:        LICENSE.md
author:              Claude Heiland-Allen
maintainer:          claude@mathr.co.uk
copyright:           (c) 2018 Claude Heiland-Allen
category:            Graphics
build-type:          Simple
extra-source-files:  ChangeLog.md
cabal-version:       >=1.10
data-dir: src
data-files:
  et.png
  formula.h
  LICENSE.md

flag gtk
  description: Build GTK frontend
  default: True

library
  hs-source-dirs: src
  exposed-modules:
    Fractal.EscapeTime.Algorithms.R2
    Fractal.EscapeTime.Algorithms.R2.DomainSize
    Fractal.EscapeTime.Algorithms.R2.Newton
    Fractal.EscapeTime.Algorithms.R2.Period
    Fractal.EscapeTime.Algorithms.R2.Perturbation
    Fractal.EscapeTime.Algorithms.R2.Plain
    Fractal.EscapeTime.Algorithms.R2.Reference
    Fractal.EscapeTime.Algorithms.R2.Size
    Fractal.EscapeTime.Compiler
    Fractal.EscapeTime.Compiler.CodeGen
    Fractal.EscapeTime.Compiler.CodeGen.Control
    Fractal.EscapeTime.Compiler.CodeGen.Core
    Fractal.EscapeTime.Compiler.CodeGen.Expr
    Fractal.EscapeTime.Compiler.CodeGen.OpCode
    Fractal.EscapeTime.Compiler.Expr
    Fractal.EscapeTime.Compiler.Expr.AST
    Fractal.EscapeTime.Compiler.Expr.Deriv
    Fractal.EscapeTime.Compiler.Expr.Perturb
    Fractal.EscapeTime.Compiler.Expr.Pretty
    Fractal.EscapeTime.Compiler.Expr.Simplify
    Fractal.EscapeTime.Compiler.Parser
    Fractal.EscapeTime.Compiler.R2
    Fractal.EscapeTime.Formulas
    Fractal.EscapeTime.Formulas.Types
    Fractal.EscapeTime.Runtime
    Fractal.EscapeTime.Runtime.Compiler
    Fractal.EscapeTime.Runtime.Loader
    Fractal.EscapeTime.Runtime.Loader.Load
    Fractal.EscapeTime.Runtime.Loader.Raw
    Fractal.EscapeTime.Runtime.Render
    Fractal.EscapeTime.Runtime.Render.Buffer
    Fractal.EscapeTime.Runtime.Render.Coord
    Fractal.EscapeTime.Runtime.Render.Dither
    Fractal.EscapeTime.Runtime.Render.Perturb
    Fractal.EscapeTime.Runtime.Render.Plain
    Fractal.EscapeTime.Runtime.Render.Progressive
    Fractal.EscapeTime.Runtime.Render.Transform
    Fractal.EscapeTime.Runtime.Render.View
    Paths_et
  default-language: Haskell2010
  other-extensions:
    DataKinds
    FlexibleContexts
    ForeignFunctionInterface
    RecordWildCards
  build-depends:
    async >=2.1.1 && <2.3,
    base >=4.9 && <4.12,
    containers >=0.5 && <0.6,
    filepath >=1.4 && <1.5,
    long-double >=0.1 && <0.2,
    mtl >=2.2 && <2.3,
    parsec >=3.1 && <3.2,
    process >=1.4 && <1.7,
    pureMD5 >=2.1 && <2.2,
    rounded >=0.1 && <0.2,
    text >=1.2 && <1.3,
    vector >=0.12 && <0.13,
    vector-algorithms >=0.7 && <0.8
  if os(windows)
    build-depends: Win32 >=2.3 && <2.8
    hs-source-dirs: win32
  else
    build-depends: unix >=2.7 && <2.8
    hs-source-dirs: unix
  build-tools: hsc2hs
  ghc-options: -Wall
  c-sources: src/wrap.c
  include-dirs: src

executable et-cli
  hs-source-dirs: cli
  main-is: Main.hs
  default-language: Haskell2010
  build-depends:
    async,
    base,
    bytestring >=0.10 && <0.11,
    et,
    JuicyPixels >=3.2.5 && <3.3,
    temporary >=1.2.1 && <1.4,
    vector
  ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N

executable et-gtk
  if flag(gtk)
    buildable: True
  else
    buildable: False
  hs-source-dirs: gtk
  main-is: Main.hs
  default-language: Haskell2010
  other-extensions:
    OverloadedLabels
    OverloadedStrings
    PatternSynonyms
    RecordWildCards
  build-depends:
    async,
    base,
    bytestring >=0.10 && <0.11,
    et,
    gi-gdk >=3.0 && <3.1,
    gi-glib >=2.0 && <2.1,
    gi-gtk >=3.0.20 && <3.1,
    gl >= 0.8 && < 0.9,
    haskell-gi-base >=0.21 && <0.22,
    JuicyPixels >=3.2.5 && <3.3,
    JuicyPixels-extra >=0.3 && <0.4,
    rounded,
    temporary >=1.2.1 && <1.4,
    text,
    vector
  ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N

executable et-kf
  hs-source-dirs: kf
  main-is: Main.hs
  default-language: Haskell2010
  build-depends:
    async,
    base,
    containers,
    et
  ghc-options: -Wall -threaded -rtsopts "-with-rtsopts=-N4 -A64M"

Any tips?
TIA

Offline claude

  • *
  • Fractal Frankfurter
  • *
  • Posts: 613
    • mathr.co.uk
« Reply #1 on: May 31, 2018, 02:42:48 PM »
Oops, there is a dependency (rounded) that isn't yet on Hackage:

Code: [Select]
cd ..
git clone https://github.com/ekmett/rounded.git
cd et
cabal sandbox add-source ../rounded
cabal install

Offline Adam Majewski

  • *
  • Strange Attractor
  • ******
  • Posts: 82
« Reply #2 on: May 31, 2018, 03:08:41 PM »
Now works. Thx


xx
A ripple in time

Started by 1bryan1 on Fractal Image Gallery

0 Replies
38 Views
Last post April 20, 2018, 07:58:56 AM
by 1bryan1
xx
Time zone settings broken

Started by pauldelbrot on Forum Help And Support

1 Replies
66 Views
Last post March 28, 2018, 06:03:36 PM
by claude
xx
Gallery Upload limit time interval calculation?

Started by Anon on Forum Help And Support

0 Replies
40 Views
Last post March 12, 2018, 02:35:49 PM
by Anon
xx
RSS feed item title contains HTML escape code instead of close square bracket

Started by claude on Discuss Fractalforums

2 Replies
194 Views
Last post September 24, 2017, 05:22:35 PM
by Anon
xx
A little problem?

Started by Know That Fractal! on Fractal Image Gallery

2 Replies
224 Views
Last post December 25, 2017, 09:37:27 AM
by Fraktalist