Hi there, I was trying to compile dash against libedit under a native musl-based environment, using --with-libedit. In the first instance, I was getting this error: http://sprunge.us/BKWK I solved this issue adding #include <getopt.h> (suggested by Laurent Bercot) to the file src/histedit.c -- as my patch shows at: http://dragora.org/repo.fsl/artifact/068a14902e390487 Next, I've started receiving this error messages: http://sprunge.us/iQjf To sort out this problem I've removed the option --with-libedit, using LIBS=-ledit for the ./configure invocation. "ldd" reports: libedit.so.0 => /lib/libedit.so.0 (0x7f2db97a3000) and libncursesw.so.6 => /lib/libncursesw.so.6 (0x7f2db954e000) Right now I have a working dash compiled with libedit support. :-) Also, my default LDFLAGS has the value "-s" to strip all the symbols, but dash/configure does not seem to pick up the value...
Attachment:
pgpDMCNvNHdEk.pgp
Description: Firma digital OpenPGP