Small problem with location of spl_config.h file

Marcin Mirosław marcin at mejor.pl
Mon May 9 04:13:08 EDT 2011


Hello!
I'm using gentoo.I've configured spl with such options:
./configure --prefix=/usr --build=x86_64-pc-linux-gnu
--host=x86_64-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --libdir=/lib64 --prefix=
--includedir=/usr/include --with-config=all --with-linux=/usr/src/linux
--with-linux-obj=/usr/src/linux

and zfs is configured with such options:
./configure --prefix=/usr --build=x86_64-pc-linux-gnu
--host=x86_64-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --libdir=/usr/lib64 --with-config=all
--with-linux=/usr/src/linux --with-linux-obj=/usr/src/linux
--with-spl=/usr/include/spl --with-spl-obj=/usr/include/spl/module

./configure from zfs is looking for spl_config.h in
/usr/include/spl/module but those file exist in /usr/include/spl/ . As a
workaround i do symlink but meseems it's not elegant solution:). I'd
like to ask you is this problem with configure option (they are not
correct) or should it be changed in zfs sources?
Regards,
Marcin.



More information about the zfs-discuss mailing list