Once again,not sure of this is LFS-dev related, so wanted to ask, for future reference,
are "Multilib patch:" discussions mre suited to another LFS list than lfs-dev: maybe they are a good fit for CLFS ? 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. Looking as the configure script suggests that, for a 64-bit `arch` # If you don't like using the default architecture, you have to specify the # intended library directory and corresponding compiler/linker options. # # This case allows for Debian's 2014-flavor of multiarch, along with the # most common variations before that point. Some other variants spell the # directory differently, e.g., "pkg-config", and put it in unusual places. # pkg-config has always been poorly standardized, which is ironic... case x`(arch) 2>/dev/null` in (*64) cf_search_path="\ $cf_path/lib/*64-linux-gnu \ $cf_path/share \ $cf_path/lib64 \ $cf_path/lib32 \ $cf_path/lib" ;; that configure will look at those paths to find the location in which to install the Ncurses pkg-config files.. Looking at what my system has below /usr at this point in the build pkg ncurses:ncurses-6.1> ls -o /usr/ total 40 drwxrwxr-t 2 root 4096 Mar 23 07:50 bin drwxrwxr-t 34 root 4096 Mar 23 07:47 include drwxrwxr-t 10 root 4096 Mar 23 07:50 lib drwxrwxr-t 6 root 4096 Mar 23 07:48 lib32 drwxrwxr-t 4 root 4096 Mar 23 07:42 libexec drwxrwxr-t 5 root 4096 Mar 23 07:48 libx32 drwxr-xr-x 8 root 4096 Mar 17 02:42 local drwxrwxr-t 2 root 4096 Mar 17 12:07 sbin drwxrwxr-t 15 root 4096 Mar 23 07:50 share drwxr-xr-x 80 root 4096 Mar 17 04:20 src then we see that there is no explicit /usr/lib64 FWIW, at this point in the build I have somethig in all three of the 'arch' pkgconfig directories, vis: pkg ncurses:ncurses-6.1> ls /usr/lib/pkgconfig isl.pc mpfr.pc readline.pc zlib.pc pkg ncurses:ncurses-6.1> ls /usr/lib32/pkgconfig readline.pc zlib.pc pkg ncurses:ncurses-6.1> ls /usr/libx32/pkgconfig readline.pc zlib.pc 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. Maybe that's something Thomas needs to add to his patch ? Open to any other suggestions though Kevin -- http://lists.linuxfromscratch.org/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page