Richard Boulton wrote:

> Henry Baragar wrote:

>> OK... assuming "/usr/include/linux/zlib.h" exists and that your are
>> using the Bourne shell (bash, psh and ksh are also acceptable), then try:
>>     make clean
>>     CFLAGS="-g -O2 -I/usr/include/linux" ./configure
>>     make

>I think this still won't work, because bincimap is in C++, and the
>variable to set to pass options to C++ compilations is CXXFLAGS.
>
>Try:
>
>CXXFLAGS="-g -O2 -I/usr/include/linux" ./configure
>
I tried

CFLAGS="-g -O2 -I/usr/include/linux" ./configure

but it resulted in several WARNINGs, which I was asked to report to the gcc 
development team. I have also been trying quite a few other things, but to no 
avail. So, I started to wonder if something was broken on my Linux 
installation. I had another machine with the same version of Mandrake, i.e. 
9.1, so I tried to compile Binc on the other machine and, behold, it compiled 
stright away, without flags. Strange, really, as I installed booth machines a 
few days ago and applyed exactly the same updates (Berkeley db, auoconf and 
automake) to booth machines. Althoght the hardware is different, that 
shouldn't matter in this case. So something must have broken the "trouble 
machine". The only thing I can think of is that I uninstalled Apache.

I am now reistalling everything from scratch, to see if Binc compiles then. 
So, for the time beeing I am not able to test if

CXXFLAGS="-g -O2 -I/usr/include/linux" ./configure

makes a difference.

I do not think the problem lies with binc, but I will report back to the list 
when I got through the install and the varous patches. It will take some time 
though, as it is an old 400 MHz Dell Optiplex. I do not know what's causing 
it, but the Mandrake installer just creeeeaps along on this particular 
machine, so doing an install is a real peine.

Regards
Sigmund.


Reply via email to