Am Samstag, den 23.03.2019, 17:39 +0800 schrieb Xi Ruoyao via lfs-dev: > On Sat, 2019-03-23 at 16:48 +0800, Kevin Buckley via lfs-dev wrote: *snip* > > Anyroad, just came to do Chapter 6 ncurses after applying Thomas's patch > > (note also I am doing a PkgUser build) and saw > > > > ** Configuration summary for NCURSES 6.1 20180127: > > > > extended funcs: yes > > xterm terminfo: xterm-new > > > > bin directory: /usr/bin > > lib directory: /usr/lib > > include directory: /usr/include > > man directory: /usr/share/man > > terminfo directory: /usr/share/terminfo > > pkg-config directory: /usr/lib32/pkgconfig > > > > and was surprised by the 32-bit Pkg-conf dir. > > *snip* > > > and so I thimk that the ncurses configure search "falls through" to > > /usr/lib32 > > where it finds a directory named 'pkgconfig' > > > > The suggestion in the Ncurses build is that one can explicitly specify the > > pkg-config directory by using a flag to ./configure. > > Yes. --with-pkg-config-libdir=/usr/lib64/pkgconfig would work. > > > Maybe that's something Thomas needs to add to his patch ?
Thanks Kevin and Xi, good spot! Also the symlinks created later in that chapter for ncurses, form, panel and menu are invalid as ncursesw.pc does not exist in /usr/lib. I think I have to add --with-pkg-config-libdir=/usr/lib/pkgconfig (not .../lib64/...) since we do not have a /usr/lib64 at all, /usr/lib is the 'default' for 64bit. For the 32bit builds, this configure argument is set allready. Alternativly, we could do a sed to remove lib32 in configure for the *64 case: sed -e "/cf_path\/lib64/{n;d}" -i configure but i think the configure argument is less intrusive and works well. ML-patch is modified. -- Thomas -- http://lists.linuxfromscratch.org/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page