Description
Both dub
and dmd
were installed from dlang rather from zypper.
DUB version 1.29.0, built on May 13 2022
DMD64 D Compiler v2.100.0
OpenSUSE Leap 15.3
cc (SUSE Linux) 7.5.0
DELL7720:~/junk> dub fetch drepl
Please note that you need to use dub run <pkgname>
or add it to dependencies of your package to actually use/run it. dub does not do actual installation of packages outside of its own ecosystem.
DELL7720:~/junk> dub run drepl
Building package drepl in /home/oy753c/.dub/packages/drepl-0.2.1/drepl/
Performing "debug" build using /home/oy753c/.bin/dmd2/linux/bin64/dmd for x86_64.
colorize 1.0.5: target for configuration "library" is up to date.
stdx-allocator 2.77.2: target for configuration "library" is up to date.
libdparse 0.8.7: target for configuration "library" is up to date.
drepl 0.2.1: building configuration "console"...
Running pre-build commands...
cc: error: C/linenoise.c: No such file or directory
cc: fatal error: no input files
compilation terminated.
Command failed with exit code 1: cd /home/oy753c/.dub/packages/drepl-0.2.1/drepl; [ -f C/linenoise.o ] || cc -c -fPIC -o C/linenoise.o C/linenoise.c