RE: build problem on HPUX 11.00



Le Mon, Apr 05, 2004, à 04:48:44PM +0200, Gansser, Martin a écrit:
Hi,

I tried to compile dia-0.92.2 on HPUX11.00 with gnome-2.4, but this
fails with the following error message:

checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking for isinf in -lm... no
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
configure: error: Can't find neither a definition of
                           isinf nor ieeefp.h
make: *** [configure-work/main.d/dia-0.92.2/configure] Error 1


Now, this is very strange. We first look for isinf() in 
math.h with -lm, and
only then we try ieeefp.h (Solaris).

Why does the first test fail?

Hmmm. Can you see if either line solves the problem:
      CFLAGS="-g -O2 -Ae" ./configure
      CFLAGS="-g -O2 -Aa -D_HPUX_SOURCE" ./configure
?

with your CFLAGS Options, i alwags get this error message
checking for C compiler default output... configure: error: C compiler cannot create executables



Also, it would help to see the config.log file, say 40 lines 
around the word
"isinf"... 

i attached the output from config.log

thanks Martin

Attachment: config.log.gz
Description: config.log.gz



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]