[Buildroot] Forcing linker to look at right library path?

Peter Korsgaard peter at korsgaard.com
Wed Mar 15 07:18:18 UTC 2023


>>>>> "C" == C D <dellicker at live.com> writes:

Hi,

 > I'm trying to build sedcli (https://github.com/sedcli/sedcli); the version
 > I'm building is a slightly modified private branch (added some debugging), but
 > the Makefile and configure script are basically identical.  I went through 
 > the Makefile and added $(DESTDIR) in appropriate locations to make the files
 > go where they need to, but after running a "make sedcli-reconfigure" I realized
 > the configure script isn't taking any off options Buildroot is using to attempt
 > to make it do the right thing, and I'm assuming this is where my problem is.
 > The output I get from it is:

 > Wrong option: --target=x86_64-buildroot-linux-gnu
 > Wrong option: --host=x86_64-buildroot-linux-gnu
 > Wrong option: --build=x86_64-pc-linux-gnu
 > Wrong option: --prefix=/usr
 > Wrong option: --exec-prefix=/usr
 > Wrong option: --sysconfdir=/etc
 > Wrong option: --localstatedir=/var
 > Wrong option: --program-prefix=
 > Wrong option: --disable-gtk-doc
 > Wrong option: --disable-gtk-doc-html
 > Wrong option: --disable-doc
 > Wrong option: --disable-docs
 > Wrong option: --disable-documentation
 > Wrong option: --with-xmlto=no
 > Wrong option: --with-fop=no
 > Wrong option: --disable-dependency-tracking
 > Wrong option: --enable-ipv6
 > Wrong option: --disable-nls
 > Wrong option: --disable-static
 > Wrong option: --enable-shared

It sounds like you have configured this as an autotools package, but
looking at https://github.com/sedcli/sedcli/blob/master/src/configure I
see that it is a custom hand written script, so that is why it doesn't
understand all of these options. Use generic-package instead.

Notice that we already have a package for sedutil, which sounds as if it
does more-or-less the same as this sedcli.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list