mys-lang / mys

The Mys programming language - an attempt to create a statically typed Python-like language that produces fast binaries. See https://mys-lang.org for more information.
Other
132 stars 5 forks source link

mys-config nor pkg-config found #52

Closed s14k51 closed 2 years ago

s14k51 commented 2 years ago

What did you do?

I followed the Getting started section, installed mys, created a new package (the default hello-world template), and ran mys run (I did not even touch any files in the package), and got a mys-config nor pkg-config found message instead of the print output. By the way, the mys installation did create a ~/.config/mys/config.toml, and it is empty.

What did you expect to see?

$ mys run
 ✔ Reading package configuration (... seconds)
 ✔ Downloading dependencies (... seconds)
 ✔ Building (... seconds)
Hello, world!

What did you see instead?

$ mys run
 ✔ Reading package configuration (... seconds)
 ✔ Downloading dependencies (... seconds)
mys-config nor pkg-config found

Mys version

0.342.0

s14k51 commented 2 years ago

mys build also shows the same output

eerimoq commented 2 years ago

What OS are you using?

s14k51 commented 2 years ago

MacOS Monterey. I also have xcode tools installed.

s14k51 commented 2 years ago

My issue is resolved by installing pkg-config.