Bug 22380 – Documentation for installation of DMD on FreeBSD is inaccurate

Status
NEW
Severity
normal
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
FreeBSD
Creation time
2021-10-11T16:37:59Z
Last change time
2024-12-13T19:18:44Z
Assigned to
No Owner
Creator
Don Allen
Moved to GitHub: dmd#18059 →

Comments

Comment #0 by donaldcallen1942 — 2021-10-11T16:37:59Z
The documentation for installation of DMD on FreeBSD on the page https://dlang.org/dmd-freebsd.html is inaccurate in multiple ways. 1. Put dmd2/freebsd/bin on your PATH. There is no freebsd/bin directory: dca@giovanni:/home/dca/Software/dmd2/freebsd$ ls bin32 bin64 lib64 In my case, the bin64 directory needs to be in PATH. 2. The page also instruct you to Copy the standard library and runtime sources to /usr/include/d/dmd: sudo mkdir -p /usr/include/d/dmd sudo cp dmd2/{phobos/std,phobos/etc,druntime/import} /usr/include/d/dmd Those directories are in dmd2/src, not dmd2. Also the cp command requires the -r option, since directories are being copied. The correct command is sudo cp -r dmd2/src/{phobos/std,phobos/etc,druntime/import} /usr/include/d/dmd
Comment #1 by robert.schadek — 2024-12-13T19:18:44Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/18059 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB