All of lore.kernel.org
 help / color / mirror / Atom feed
* --with-libedit errors
@ 2016-11-21 23:36 Matias A. Fonzo
  0 siblings, 0 replies; only message in thread
From: Matias A. Fonzo @ 2016-11-21 23:36 UTC (permalink / raw)
  To: dash

[-- Attachment #1: Type: text/plain, Size: 935 bytes --]

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 #2: Firma digital OpenPGP --]
[-- Type: application/pgp-signature, Size: 949 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-11-21 23:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-21 23:36 --with-libedit errors Matias A. Fonzo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.