برنامه نویسی
نصب guile در مک – انجمن DEV

من دوست دارم از میز برای ابزارم استفاده کنم.
اما من نتونستم guile نصب کنم.
مشکل اول:
من مثل پست قبل خطای gpg داشتم. تونستم اینو باهاش حل کنم
gpg --receive-keys 645357D2883A0966
مشکل دوم:
گویل در حال اجرا نبود.
بعد از
mise use guile@3.0.10
guile نصب شد اما وقتی اجرا کردم
guile --version
با خطا برگردید.
نیرنگ اجرا نمی شد برای guile@3.0.9 هم همینطور بود
guile --version
dyld[3069]: Library not loaded: /usr/local/opt/bdw-gc/lib/libgc.1.dylib
Referenced from: <3F095348-0DF5-3FA1-8D70-CD619E3FAB13> /Users/kentarom/.local/share/mise/installs/guile/3.0.9/bin/guile
Reason: tried: '/usr/local/opt/bdw-gc/lib/libgc.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/bdw-gc/lib/libgc.1.dylib' (no such file), '/usr/local/opt/bdw-gc/lib/libgc.1.dylib' (no such file)
من با homebrew نصب کردم
brew install guile
و طبق دستور عمل کرد
The formula built, but is not symlinked into /usr/local
Could not symlink bin/guild
Target /usr/local/bin/guild
already exists. You may want to remove it:
rm '/usr/local/bin/guild'
To force the link and overwrite all conflicting files:
brew link --overwrite guile
To list all files that would be deleted:
brew link --overwrite guile --dry-run
guile --version
guile (GNU Guile) 3.0.10
Copyright (C) 2024 Free Software Foundation, Inc.
License LGPLv3+: GNU LGPL 3 or later .
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.