[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



Andrew,

Would you please send me the entire file "config.log".

> Over the years I have installed various LDM versions on multiple platforms
> including SuSE, CentOS/RHEL, and Solaris. However, I am experiencing configure
> build issues on a Solaris 5.10 "zones" VM.
> 
> Below I have provided a snippet from our .cshrc, LDM 6.12.14 src config.log
> and configure.log
> 
> I highlighted the Autoconf warning/error messages found within configure.log
> 
> Any help would be appreciated.
> 
> /usr3/ldm/ldm-6.12.14/src% env | grep PATH
> PATH=/usr3/ldm/decoders:/usr3/ldm/util:/usr3/ldm/bin:/usr/openwin/bin:/opt/netscape:/opt/SUNWspro/bin:/usr/ccs/bin:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/hosts:/usr/ucb:/opt/csw/bin:/etc:.
> MANPATH=/usr3/ldm/share/man:SysManPath
> 
> $ ./configure --enable-logging=local0 --disable-max-size CC=gcc 
> CFLAGS=-I/usr/include
> 
> uname -m = sun4v
> uname -r = 5.10
> uname -s = SunOS
> uname -v = Generic_147147-26
> 
> /usr/bin/uname -p = sparc
> /bin/uname -X     = System = SunOS
> 
> 
> /usr3/ldm/ldm-6.12.14/src% more configure.log
> checking for a BSD-compatible install... build-aux/install-sh -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
> checking for gawk... no
> checking for mawk... no
> checking for nawk... nawk
> checking whether make sets $(MAKE)... yes
> checking whether make supports nested variables... yes
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking for style of include used by make... GNU
> checking dependency style of gcc... gcc3
> checking for gcc option to accept ISO C99... -std=gnu99
> checking how to run the C preprocessor... gcc -std=gnu99 -E
> checking for grep that handles long lines and -e... /usr/xpg4/bin/grep
> checking for egrep... /usr/xpg4/bin/grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking minix/config.h usability... no
> checking minix/config.h presence... no
> checking for minix/config.h... no
> checking whether it is safe to define __EXTENSIONS__... no
> checking for g++... g++
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking dependency style of g++... gcc3
> checking build system type... sparc-sun-solaris2.10
> checking host system type... sparc-sun-solaris2.10
> checking how to print strings... printf
> checking for a sed that does not truncate output... /bin/sed
> checking for fgrep... /usr/xpg4/bin/grep -F
> checking for ld used by gcc -std=gnu99... /usr/ccs/bin/ld
> checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
> checking for BSD- or MS-compatible name lister (nm)... /usr/ccs/bin/nm -p
> checking the name lister (/usr/ccs/bin/nm -p) interface... BSD nm
> checking whether ln -s works... yes
> checking the maximum length of command line arguments... 786240
> checking whether the shell understands some XSI constructs... yes
> checking whether the shell understands "+="... yes
> checking how to convert sparc-sun-solaris2.10 file names to 
> sparc-sun-solaris2.10 format... func_convert_file_noop
> checking how to convert sparc-sun-solaris2.10 file names to toolchain 
> format... func_convert_file_noop
> checking for /usr/ccs/bin/ld option to reload object files... -r
> checking for objdump... no
> checking how to recognize dependent libraries... pass_all
> checking for dlltool... no
> checking how to associate runtime and link libraries... printf %s\n
> checking for ar... ar
> checking for archiver @FILE support... no
> checking for strip... strip
> checking for ranlib... ranlib
> checking command to parse /usr/ccs/bin/nm -p output from gcc -std=gnu99 
> object... ok
> checking for sysroot... no
> checking for mt... mt
> checking if mt is a manifest tool... no
> checking for dlfcn.h... no
> checking for objdir... .libs
> checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
> checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
> checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
> checking if gcc -std=gnu99 static flag -static works... no
> checking if gcc -std=gnu99 supports -c -o file.o... yes
> checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes
> checking whether the gcc -std=gnu99 linker (/usr/ccs/bin/ld) supports shared 
> libraries... yes
> checking whether -lc should be explicitly linked in... yes
> checking dynamic linker characteristics... solaris2.10 ld.so
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... no
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> checking how to run the C++ preprocessor... /lib/cpp
> checking for ld used by g++... /usr/ccs/bin/ld
> checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
> checking whether the g++ linker (/usr/ccs/bin/ld) supports shared 
> libraries... yes
> checking for g++ option to produce PIC... -fPIC -DPIC
> checking if g++ PIC flag -fPIC -DPIC works... yes
> checking if g++ static flag -static works... no
> checking if g++ supports -c -o file.o... yes
> checking if g++ supports -c -o file.o... (cached) yes
> checking whether the g++ linker (/usr/ccs/bin/ld) supports shared 
> libraries... yes
> checking dynamic linker characteristics... solaris2.10 ld.so
> checking how to hardcode library paths into programs... immediate
> checking whether gcc -std=gnu99 and cc understand -c and -o together... yes
> checking the C compiler... works
> checking for su(1) that you can use... /bin/su
> configure: Searching for the "m" library
> checking for library containing log10... -lm
> configure: checking for the CUnit unit-testing package.
> checking for /opt/include/CUnit/CUnit.h... no
> checking for /usr/local/include/CUnit/CUnit.h... no
> checking for /usr/include/CUnit/CUnit.h... no
> checking for /opt/lib/libcunit.so... no
> checking for /opt/lib/libcunit.a... no
> checking for /usr/local/lib/libcunit.so... no
> checking for /usr/local/lib/libcunit.a... no
> checking for /usr/lib64/libcunit.so... no
> checking for /usr/lib64/libcunit.a... no
> checking for /usr/lib/libcunit.so... no
> checking for /usr/lib/libcunit.a... no
> configure: CUnit not found.  Disabling unit-tests.
> configure: checking for the Opmock mocking package.
> checking for /usr/local/include/opmock.h... no
> configure: Opmock not found. Disabling mocking-tests.
> checking the installation prefix... /usr3/ldm/ldm-6.12.14
> checking the name of the host... hcpappzca
> checking LDMHOME... /usr3/ldm
> checking for HP-UX... no
> checking the C preprocessor... works
> checking for egrep... (cached) /usr/xpg4/bin/grep -E
> checking for version 5 perl(1) utility... /bin/perl
> checking for gawk... (cached) nawk
> checking for POSIX shell... /bin/sh
> checking for bison... no
> checking for byacc... no
> checking for doxygen... no
> checking for /Volumes/storage/local/bin/doxygen... no
> checking for rpcgen... /bin/rpcgen
> checking for ntpdate... /usr/sbin/ntpdate
> checking for netstat(1) command... /bin/netstat -f inet -P tcp -n
> checking for top(1) command... /usr/local/bin/top -b -n 1
> checking for yacc library...
> checking for yyerror("") in default library(s)... no
> checking for yyerror("") in -ly... yes
> checking mmap()... yes
> checking size of short... 0
> checking size of int... 0
> checking size of long... 0
> checking size of float... 0
> checking size of double... 0
> checking size of uint64_t... 0
> checking size of enum... 4
> checking size of gid_t... 4
> checking for size_t... no
> checking for off_t... no
> checking for uint64_t... no
> checking for ssize_t... no
> checking for ptrdiff_t... no
> checking for timegm... no
> checking for fstatvfs... yes
> checking for fstatfs... yes
> checking for socklen_t... yes
> checking for fsync... yes
> checking for ftruncate... yes
> checking for memmove... yes
> checking for memcmp... yes
> checking for rename... yes
> checking for strerror... yes
> checking for waitpid... yes
> checking for strdup... yes
> checking for seteuid... yes
> checking for setenv... yes
> checking for mmap... yes
> checking for sigaction... yes
> checking for sig_atomic_t in signal.h... defined
> checking for an ANSI C-conforming const... yes
> checking for struct stat.st_blksize... no
> checking system logging daemon PID file... /var/run/syslog.pid
> checking networking references... -lnsl -lsocket
> checking for system logging daemon... syslog
> checking for /etc/syslog.conf... yes
> checking whether syslog(3) returns an int... no
> checking pathname of system log file... not found
> checking pathname of console... /dev/conslog
> checking for gdbm_open in -lgdbm... no
> configure: "GDBMLIB not set"
> checking for dbm_open... yes
> checking for catman... catman
> checking for manual-page index command... catman -w -M $(mandir)
> checking for library containing pthread_key_create... none required
> checking for library containing dirname... none required
> checking for library containing sched_setscheduler... -lrt
> checking whether byte ordering is bigendian... yes
> checking for ANSI C header files... (cached) yes
> checking errno.h usability... no
> checking errno.h presence... yes
> configure: WARNING: errno.h: present but cannot be compiled
> configure: WARNING: errno.h:     check for missing prerequisite headers?
> configure: WARNING: errno.h: see the Autoconf documentation
> configure: WARNING: errno.h:     section "Present But Cannot Be Compiled"
> configure: WARNING: errno.h: proceeding with the compiler's result
> configure: WARNING:     ## ------------------------------------------- ##
> configure: WARNING:     ## Report this to address@hidden ##
> configure: WARNING:     ## ------------------------------------------- ##
> checking for errno.h... no
> checking stdio.h usability... no
> checking stdio.h presence... yes
> configure: WARNING: stdio.h: present but cannot be compiled
> configure: WARNING: stdio.h:     check for missing prerequisite headers?
> configure: WARNING: stdio.h: see the Autoconf documentation
> configure: WARNING: stdio.h:     section "Present But Cannot Be Compiled"
> configure: WARNING: stdio.h: proceeding with the compiler's result
> configure: WARNING:     ## ------------------------------------------- ##
> configure: WARNING:     ## Report this to address@hidden ##
> configure: WARNING:     ## ------------------------------------------- ##
> checking for stdio.h... no
> checking for unistd.h... (cached) yes
> checking for stdlib.h... (cached) yes
> checking for string.h... (cached) yes
> checking for sys/types.h... (cached) yes
> checking sys/ipc.h usability... no
> checking sys/ipc.h presence... yes
> configure: WARNING: sys/ipc.h: present but cannot be compiled
> configure: WARNING: sys/ipc.h:     check for missing prerequisite headers?
> configure: WARNING: sys/ipc.h: see the Autoconf documentation
> configure: WARNING: sys/ipc.h:     section "Present But Cannot Be Compiled"
> configure: WARNING: sys/ipc.h: proceeding with the compiler's result
> configure: WARNING:     ## ------------------------------------------- ##
> configure: WARNING:     ## Report this to address@hidden ##
> configure: WARNING:     ## ------------------------------------------- ##
> checking for sys/ipc.h... no
> checking sys/shm.h usability... no
> checking sys/shm.h presence... yes
> configure: WARNING: sys/shm.h: present but cannot be compiled
> configure: WARNING: sys/shm.h:     check for missing prerequisite headers?
> configure: WARNING: sys/shm.h: see the Autoconf documentation
> configure: WARNING: sys/shm.h:     section "Present But Cannot Be Compiled"
> configure: WARNING: sys/shm.h: proceeding with the compiler's result
> configure: WARNING:     ## ------------------------------------------- ##
> configure: WARNING:     ## Report this to address@hidden ##
> configure: WARNING:     ## ------------------------------------------- ##
> checking for sys/shm.h... no
> checking sys/sem.h usability... no
> checking sys/sem.h presence... yes
> configure: WARNING: sys/sem.h: present but cannot be compiled
> configure: WARNING: sys/sem.h:     check for missing prerequisite headers?
> configure: WARNING: sys/sem.h: see the Autoconf documentation
> configure: WARNING: sys/sem.h:     section "Present But Cannot Be Compiled"
> configure: WARNING: sys/sem.h: proceeding with the compiler's result
> configure: WARNING:     ## ------------------------------------------- ##
> configure: WARNING:     ## Report this to address@hidden ##
> configure: WARNING:     ## ------------------------------------------- ##
> checking for sys/sem.h... no
> checking for sys/stat.h... (cached) yes
> checking sys/wait.h usability... no
> checking sys/wait.h presence... yes
> configure: WARNING: sys/wait.h: present but cannot be compiled
> configure: WARNING: sys/wait.h:     check for missing prerequisite headers?
> configure: WARNING: sys/wait.h: see the Autoconf documentation
> configure: WARNING: sys/wait.h:     section "Present But Cannot Be Compiled"
> configure: WARNING: sys/wait.h: proceeding with the compiler's result
> configure: WARNING:     ## ------------------------------------------- ##
> configure: WARNING:     ## Report this to address@hidden ##
> configure: WARNING:     ## ------------------------------------------- ##
> checking for sys/wait.h... no
> checking for unistd.h... (cached) yes
> checking stropts.h usability... no
> checking stropts.h presence... yes
> configure: WARNING: stropts.h: present but cannot be compiled
> configure: WARNING: stropts.h:     check for missing prerequisite headers?
> configure: WARNING: stropts.h: see the Autoconf documentation
> configure: WARNING: stropts.h:     section "Present But Cannot Be Compiled"
> configure: WARNING: stropts.h: proceeding with the compiler's result
> configure: WARNING:     ## ------------------------------------------- ##
> configure: WARNING:     ## Report this to address@hidden ##
> configure: WARNING:     ## ------------------------------------------- ##
> checking for stropts.h... no
> checking sys/ioctl.h usability... no
> checking sys/ioctl.h presence... yes
> configure: WARNING: sys/ioctl.h: present but cannot be compiled
> configure: WARNING: sys/ioctl.h:     check for missing prerequisite headers?
> configure: WARNING: sys/ioctl.h: see the Autoconf documentation
> configure: WARNING: sys/ioctl.h:     section "Present But Cannot Be Compiled"
> configure: WARNING: sys/ioctl.h: proceeding with the compiler's result
> configure: WARNING:     ## ------------------------------------------- ##
> configure: WARNING:     ## Report this to address@hidden ##
> configure: WARNING:     ## ------------------------------------------- ##
> checking for sys/ioctl.h... no
> configure: error: "Missing necessary header-file"
> 
> 
> Thanks.
> 
> Andrew Little

Regards,
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.