escape-time fractals (et) - instalation problem

  • 2 Replies
  • 302 Views

0 Members and 1 Guest are viewing this topic.

Offline Adam Majewski

  • *
  • Strange Attractor
  • ******
  • Posts: 96
« 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 Freak
  • **
  • Posts: 757
    • 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: 96
« Reply #2 on: May 31, 2018, 03:08:41 PM »
Now works. Thx


clip
Escape Time Blur

Started by AlexH on Share a fractal

0 Replies
139 Views
Last post August 15, 2018, 05:42:06 AM
by AlexH
clip
Inverse tree generation (escape-time like)

Started by msltoe on Fractal Mathematics And New Theories

33 Replies
683 Views
Last post October 09, 2018, 01:55:51 PM
by Sabine62
xx
A little problem?

Started by Know That Fractal! on Fractal Image Gallery

2 Replies
231 Views
Last post December 25, 2017, 09:37:27 AM
by Fraktalist
clip
is this a lighting problem?

Started by cubsterky on Mandelbulb3d

3 Replies
176 Views
Last post March 09, 2018, 11:52:24 AM
by Bill Snowzell
xx
depth of field problem

Started by Tsarvek on Mandelbulb3d

1 Replies
189 Views
Last post August 17, 2018, 06:36:21 PM
by muinami