lehitoskin / ivy

Ivy, the Taggable Image Viewer
GNU General Public License v3.0
16 stars 3 forks source link

Installation error #101

Closed ljayvee closed 6 years ago

ljayvee commented 6 years ago

Hi, I tried to install Ivy from source on Arch and I got a collection not found error. Here's my full log:

make make -f Makefile.posix all make[1]: Entering directory '/home/lucas/build/ivy' "raco" exe --vv --gui -o "ivy" "main.rkt" Copying to # Getting #<path:/home/lucas/build/ivy/main.rkt> as #<path:/home/lucas/build/ivy/main.rkt> standard-module-name-resolver: collection not found for module path: txexpr collection: "txexpr" in collection directories: /home/lucas/.racket/7.0/collects /usr/share/racket/collects ... [161 additional linked and package directories] context...: show-collection-err standard-module-name-resolver perform-require!78 for-loop finish [repeats 7 more times] pass-1-and-2-loop module-begin-k expand-module16 expand-capturing-lifts expand-single temp74_0 compile16 /usr/share/racket/collects/compiler/embed.rkt:421:0: get-code /usr/share/racket/collects/racket/private/map.rkt:267:2: gen-for-each /usr/share/racket/collects/compiler/embed.rkt:1115:0: do-write-module-bundle ... make[1]: [Makefile.posix:18: ivy-bin] Error 1 make[1]: Leaving directory '/home/lucas/build/ivy' make: [Makefile:10: all] Error 2

ljayvee commented 6 years ago

Ok, I reinstalled txexpr and now i get this error: make make -f Makefile.posix all make[1]: Entering directory '/home/lucas/build/ivy' "raco" exe --vv --gui -o "ivy" "main.rkt" Copying to # Getting #<path:/home/lucas/build/ivy/main.rkt> as #<path:/home/lucas/build/ivy/main.rkt> standard-module-name-resolver: collection not found for module path: gif-image collection: "gif-image" in collection directories: /home/lucas/.racket/7.0/collects /usr/share/racket/collects ... [163 additional linked and package directories] context...: show-collection-err standard-module-name-resolver perform-require!78 for-loop finish [repeats 2 more times] pass-1-and-2-loop module-begin-k expand-module16 expand-capturing-lifts expand-single temp74_0 compile16 temp68_2 standard-module-name-resolver perform-require!78 ... make[1]: [Makefile.posix:18: ivy-bin] Error 1 make[1]: Leaving directory '/home/lucas/build/ivy' make: [Makefile:10: all] Error 2

lehitoskin commented 6 years ago

You need to install all the dependencies for Ivy before building. Namely:

Racket version 6.6 and up
gif-image
png-image
racquel
riff v0.2 (which uses FLIF v0.3, see below)
rsvg (which uses librsvg)
sugar
txexpr

Package riff must be on the v0.2 tag at this time. Note that packages riff and rsvg are merely wrappers for libraries libflif and librsvg, respectively, which must also be present on your build system.