[lfs-support] E2fsprogs

Chris Staub chris at beaker67.com
Thu Aug 4 21:06:34 PDT 2016

On 08/04/2016 12:58 PM, Ray McCaffity wrote:
> Sorry, I didn't copy it, but it was there.
> A quick history check shows them to be set before the configure,
> also I can still echo the output of those variables and they seem to be
> correct.
> So I don't think that was the problem.
> I jumped ahead to step 6.65.2 and re-installed util-linux.
> Then I jumped back to 6.50.1.  It configured with no complaints this time.
> Hopefully this won't break everything, but I'm back up to step 6.57.2 (less)
> with no problems so far.
> Ray
> ------------------------------------------------------------------------
> *From:* Chris Staub <chris at beaker67.com>
> *To:* lfs-support at lists.linuxfromscratch.org
> *Sent:* Thursday, August 4, 2016 9:19 AM
> *Subject:* Re: [lfs-support] E2fsprogs
> On 08/04/2016 11:42 AM, Ray McCaffity wrote:
>> I'm at step 6.50.1 on LFS 7.9 systemd
>> Everything has been going great, I have been running all of the "make
>> checks" when possible.
>> But now I'm getting this.
>>        root:/source/e2fsprogs-1.42.13/build# ../configure --prefix=/usr
>>        --bindir=/bin --with-root-prefix="" --enable-elf-shlibs
>>        --disable-libblkid --disable-libuuid --disable-uuidd --disable-fsck
>>        Generating configuration file for e2fsprogs version 1.42.13
>>        Release date is May, 2015
>>        checking build system type... x86_64-unknown-linux-gnu
>>        checking host system type... x86_64-unknown-linux-gnu
>>        checking for gcc... gcc
>>        checking whether the C compiler works... yes
>>        checking for C compiler default output file name... a.out
>>        checking for suffix of executables...
>>        checking whether we are cross compiling... no
>>        checking for suffix of object files... o
>>        checking whether we are using the GNU C compiler... yes
>>        checking whether gcc accepts -g... yes
>>        checking for gcc option to accept ISO C89... none needed
>>        checking for dlopen in -ldl... yes
>>        checking for gcc... (cached) gcc
>>        checking whether we are using the GNU C compiler... (cached) yes
>>        checking whether gcc accepts -g... (cached) yes
>>        checking for gcc option to accept ISO C89... (cached) none needed
>>        checking how to run the C preprocessor... gcc -E
>>        checking for additional special compiler flags... (none)
>>        checking for grep that handles long lines and -e... /bin/grep
>>        checking for egrep... /bin/grep -E
>>        checking for ANSI C header files... yes
>>        checking for sys/types.h... yes
>>        checking for sys/stat.h... yes
>>        checking for stdlib.h... yes
>>        checking for string.h... yes
>>        checking for memory.h... yes
>>        checking for strings.h... yes
>>        checking for inttypes.h... yes
>>        checking for stdint.h... yes
>>        checking for unistd.h... yes
>>        checking minix/config.h usability... no
>>        checking minix/config.h presence... no
>>        checking for minix/config.h... no
>>        checking whether it is safe to define __EXTENSIONS__... yes
>>        Disabling maintainer mode by default
>>        Disabling symlinks for install by default
>>        Disabling relative symlinks for install by default
>>        Disabling symlinks for build by default
>>        Disabling verbose make commands
>>        Disabling compression support by default
>>        Enabling htree directory support by default
>>        Enabling ELF shared libraries
>>        Disabling BSD shared libraries by default
>>        Disabling profiling libraries by default
>>        Disabling journal debugging by default
>>        Disabling blkid debugging by default
>>        Enabling testio debugging by default
>>        checking for pkg-config... /usr/bin/pkg-config
>>        checking pkg-config is at least version 0.9.0... yes
>>        checking for uuid_generate in -luuid... no
>>        configure: error: external uuid library not found
>> My understanding is that this library comes from util-linux.  Which I
>> installed way back in step 5.33.1
>> I am using ext4 for most of my file systems in the LFS environment.
>> /dev/sdb3 on / type ext4 (rw,relatime,seclabel,data=ordered)
>> /dev/sdb1 on /boot type ext2 (rw,relatime,seclabel)
>> /dev/sdb4 on /home type ext4 (rw,relatime,seclabel,data=ordered)
> I don't see this in your configure command:
> LIBS=-L/tools/lib                    \
> CFLAGS=-I/tools/include              \
> PKG_CONFIG_PATH=/tools/lib/pkgconfig \
> If you're following the book, those lines should be right before configure.

If you did have them, you probably forgot the \ after the 
"PKG_CONFIG_PATH=/tools/lib/pkgconfig". It is very important to enter 
the commands in the book exactly as they are.

More information about the lfs-support mailing list