Wesley974
Explore posts from serversWWasp-lang
•Created by Wesley974 on 5/18/2023 in #đŸ™‹questions
Shame, OpenBSD is not supported
News:
vm# cabal configure --with-compiler=/usr/local/bin/ghc
vm# pwd
/var/www/htdocs/wasp/waspc
vm# cabal build
Resolving dependencies...
Error: cabal: Could not resolve dependencies:
[0] trying: waspc-0.10.6 (user goal)
[1] next goal: template-haskell (dependency of waspc)
[1] rejecting: template-haskell-2.18.0.0/installed-2.18.0.0 (conflict: waspc
=> template-haskell^>=2.16.0)
[1] skipping: template-haskell-2.19.0.0, template-haskell-2.18.0.0,
template-haskell-2.17.0.0 (has the same characteristics that caused the
previous version to fail: excluded by constraint '^>=2.16.0' from 'waspc')
[1] rejecting: template-haskell-2.16.0.0, template-haskell-2.15.0.0,
template-haskell-2.14.0.0, template-haskell-2.13.0.0,
template-haskell-2.12.0.0, template-haskell-2.11.1.0,
template-haskell-2.11.0.0, template-haskell-2.10.0.0,
template-haskell-2.9.0.0, template-haskell-2.8.0.0, template-haskell-2.7.0.0,
template-haskell-2.6.0.0, template-haskell-2.5.0.0, template-haskell-2.4.0.1,
template-haskell-2.4.0.0, template-haskell-2.3.0.1, template-haskell-2.3.0.0,
template-haskell-2.2.0.0 (constraint from non-upgradeable package requires
installed instance)
[1] fail (backjumping, conflict set: template-haskell, waspc)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: waspc, template-haskell
Any idea?
14 replies
WWasp-lang
•Created by Wesley974 on 5/18/2023 in #đŸ™‹questions
Shame, OpenBSD is not supported
14 replies
WWasp-lang
•Created by Wesley974 on 5/18/2023 in #đŸ™‹questions
Shame, OpenBSD is not supported
I tried the Darwin and Linux binaries, but they didn't work. Now I'm going to compile it from source. Below are the results:
vm# pwd
/var/www/htdocs/wasp/waspc
vm# cabal build
Error: cabal: Cannot find the program 'ghc'. User-specified path 'ghc-8.10.7'
does not refer to an executable and the program is not on the system path.
vm# whereis ghc
/usr/local/bin/ghc
vm# ghc
ghc: no input files
Usage: For basic information, try the
--help' option.
vm# echo $PATH
/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin
vm# ghc -v
Glasgow Haskell Compiler, Version 9.2.7, stage 2 booted by GHC version 8.10.7.20230316
*** initializing unit database:
Using binary package database: /usr/local/lib/ghc/package.conf.d/package.cache
package flags []
loading package database /usr/local/lib/ghc/package.conf.d
wired-in package ghc-prim mapped to ghc-prim-0.8.0
wired-in package ghc-bignum mapped to ghc-bignum-1.2
wired-in package base mapped to base-4.16.4.0
wired-in package rts mapped to rts
wired-in package template-haskell mapped to template-haskell-2.18.0.0
wired-in package ghc mapped to ghc-9.2.7
!!! initializing unit database: finished in 39.06 milliseconds, allocated 5.762 megabytes
*** Deleting temp files:
Deleting:
*** Deleting temp dirs:
Deleting:
ghc: no input files
Usage: For basic information, try the
--help' option.
I don't know how to debug this, but if you want me to try some commands here and there, no problem. đŸ™‚14 replies
WWasp-lang
•Created by Wesley974 on 5/18/2023 in #đŸ™‹questions
Shame, OpenBSD is not supported
Ok, I will try first the shell script, then if necessary move on the src.
If it is too complex perhaps I could get it work, otherwise :/ đŸ™‚
14 replies
WWasp-lang
•Created by Wesley974 on 5/18/2023 in #đŸ™‹questions
Shame, OpenBSD is not supported
I would need the source to build the binary. Linux is very different.
OpenBSD is widely known for being the most secure operating system (created by the OpenBSD team) that developed OpenSSH. Porting this to OpenBSD would be very cool!
14 replies
WWasp-lang
•Created by Wesley974 on 5/18/2023 in #đŸ™‹questions
Shame, OpenBSD is not supported
I just Opened an issue: https://github.com/wasp-lang/wasp/issues/1206
14 replies
WWasp-lang
•Created by Wesley974 on 5/18/2023 in #đŸ™‹questions
Typescript required?
Ok, merci @Fecony !
4 replies