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

[LDM #DZH-666268]: ldm 6.12.14 Solaris build fails - system include files Present But Cannot Be Compiled


The file "config.log" contained this:

| #include <sys/ioctl.h>
configure:18821: result: no
configure:18821: checking sys/ioctl.h presence
configure:18821: gcc -std=gnu99 -E  conftest.c
configure:18821: $? = 0
configure:18821: result: yes
configure:18821: WARNING: sys/ioctl.h: present but cannot be compiled
configure:18821: WARNING: sys/ioctl.h:     check for missing prerequisite 
configure:18821: WARNING: sys/ioctl.h: see the Autoconf documentation
configure:18821: WARNING: sys/ioctl.h:     section "Present But Cannot Be 
configure:18821: WARNING: sys/ioctl.h: proceeding with the compiler's result
configure:18821: checking for sys/ioctl.h
configure:18821: result: no
configure:18828: error: "Missing necessary header-file"

Needless to say, this is odd. Also, I don't have any problems compiling the LDM 
package on our SunOS 5.10 system.

I noticed that you invoked the configure(1)-script with the argument 
"CFLAGS=-I/usr/include". It would be better to include that particular option 
in the CPPFLAGS variable. Would you please try again with the command-line 
"./configure --enable-logging=local0 --disable-max-size CC=gcc 

Steve Emmerson

Ticket Details
Ticket ID: DZH-666268
Department: Support LDM
Priority: Normal
Status: Closed

NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.