(In reply to comment #10)
> Make sure you have
> CPPFLAGS=/usr/include/rpm
If I get CPPFLAGS to exactly that I get a nasty:
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
I get it to CPPFLAGS="-I /usr/include/rpm"
> defined before running the net-snmp configure. The issue is that rpmlib.h
> includes files with out the rpm/ prefix, augmenting CPPFLAGS tells where
> the net-snmp configure tests should look for othe includes.
>
CPPFLAGS does appear to get set to the above as it shows up all over the place in config.log :(. Perhaps its some bug on a gentoo system? I'm going to try to setup a chroot with a non-gentoo toolchain so that I can make sure.
(In reply to comment #10) /usr/include/ rpm
> Make sure you have
> CPPFLAGS=
If I get CPPFLAGS to exactly that I get a nasty:
checking for i686-pc- linux-gnu- gcc... i686-pc- linux-gnu- gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
I get it to CPPFLAGS="-I /usr/include/rpm"
> defined before running the net-snmp configure. The issue is that rpmlib.h
> includes files with out the rpm/ prefix, augmenting CPPFLAGS tells where
> the net-snmp configure tests should look for othe includes.
>
CPPFLAGS does appear to get set to the above as it shows up all over the place in config.log :(. Perhaps its some bug on a gentoo system? I'm going to try to setup a chroot with a non-gentoo toolchain so that I can make sure.