Error trying to build dlang.org
Seb
seb at wilzba.ch
Thu Jan 4 02:20:32 UTC 2018
On Thursday, 4 January 2018 at 01:50:47 UTC, Tony wrote:
> Following the instructions here on Ubuntu 16.04:
>
> https://github.com/dlang/dlang.org/blob/master/CONTRIBUTING.md
>
> I did the command
>
> make -f posix.mak html
>
> but it failed to successfully complete:
> -----------------------------------------------
> make[1]: Leaving directory '/home/user/dlang/dmd/src'
> ../dmd/generated//release//dmd -c -o-
> -Df/home/user/dlang/dlang.org/web/spec/spec.html macros.ddoc
> html.ddoc dlang.org.ddoc doc.ddoc .generated/2.078.0.ddoc
> .generated/dblog_latest.ddoc .generated/twid_latest.ddoc
> spec/spec.ddoc spec/spec.dd
> make: ../dmd/generated//release//dmd: Command not found
> posix.mak:466: recipe for target
> '/home/user/dlang/dlang.org/web/spec/spec.html' failed
> make: *** [/home/user/dlang/dlang.org/web/spec/spec.html] Error
> 127
1) Did you clone the `dmd` repository yourself?
2) Is ../dmd existent?
Try nuking ../dmd and doing a fresh clone of ../dmd
It looks strange because normally the path should be
../dmd/generated/linux/release/64/dmd so it looks like the OS and
MODEL detection doesn't work. That happens in dmd/src/osmodel.mak
More information about the Digitalmars-d-learn
mailing list