-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need much, much better instructions #356
Comments
Thanks for sharing your experience. I'm not sure if any macOS user has tried to run the tour locally, until now. Nevertheless, I think it's import for everyone to have a smooth user experience! The error message is on the bottom of the logs:
I think no one on the team that developed the project is a Mac user, so perhaps you are in a good position to help us with the docs, as you have probably better knowledge of the typical workflow of installing packages on macOS. |
The core project's page lists the system dependencies for a Debian/Ubuntu like system: https://github.com/dlang-tour/core#compile--run The main deps necessary for the tour itself (which is written in vibe.d) are |
Thanks. I installed openssl with homebrew.
The binary is in ***@***.***/bin
The lib is in ***@***.***/lib
The ***@***.*** dir is a symlink to a homebrew “cellar”.
So, how do I tell clang where to really look and to look for the latest version rather than an out of date version (1.1)?
I’ll check what the homebrew forum suggests, but there must be some environment variable for clang. Paths can’t fix searching for a different version.
Thanks again. I’ve been using the sandbox tutorial and occasionally copying finished code to a local location. Sort of OK, but I’d rather have the real experience using my editor of choice.
…------ Original Message ------
From: "Petar Kirov" ***@***.******@***.***>>
To: "dlang-tour/english" ***@***.******@***.***>>
Cc: "Lewis Levin" ***@***.******@***.***>>; "Author" ***@***.******@***.***>>
Sent: 1/5/2022 11:54:42 PM
Subject: Re: [dlang-tour/english] Need much, much better instructions (Issue #356)
Thanks for sharing your experience. I'm not sure if any macOS user has tried to run the tour locally, until now. Nevertheless, I think it's import for everyone to have a smooth user experience!
The problem is that your system's native compiler (clang), which is used for linking, can't find the openssl libraries on your machine.
The error message is on the bottom of the logs:
Linking...
ld: warning: directory not found for option ***@***.***/lib'
ld: warning: directory not found for option '-L/usr/local/opt/openssl/lib'
ld: library not found for -lssl
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Error: linker exited with status 1
uncaught exception
***@***.***/dub/compilers/compiler.d(116): /Library/D/dmd/bin/dmd failed with exit code 1.
I think no one on the team that developed the project is a Mac user, so perhaps you are in a good position to help us with the docs, as you have probably better knowledge of the typical workflow of installing packages on macOS.
—
Reply to this email directly, view it on GitHub<#356 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAIYWLLSOAUWKQGZQBJFSZDUUVDEFANCNFSM5LGIOOPA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Installed D from mpkg on MacOS.
Downloaded zip of tour and expanded into a folder: ~/Dropbox/D Lang/english-master
cd to that folder and run the fetch command and the run command.
Fetch appeared to work as you can see from my
dub list
below. Then I randub run dlang-tour -- --lang-dir .
This failed spectacularly. Something is wrong with the directories. Am I supposed to replace --lang_dir with the location where D is installed? If so, got to tell me exactly...
But, looks like lots of deprecations in the tour runner.
Has it all just become obsolete?
Sorry for the long post. dub list and the result of executing the package are shown below.
Dub list
Attempt to run the dlang-tour
The text was updated successfully, but these errors were encountered: