Google Groups unterstützt keine neuen Usenet-Beiträge oder ‑Abos mehr. Bisherige Inhalte sind weiterhin sichtbar.

AIX 5.3 build

19 Aufrufe
Direkt zur ersten ungelesenen Nachricht

george.m...@cat.com

ungelesen,
29.11.2006, 13:59:1629.11.06
an
I am trying to build cfengine-2.1.21 on an AIX 5.3.0.0 JS21 system.
This is my configure command.
./configure --with-berkeleydb=/usr/local/BerkeleyDB.3.2
--with-openssl=/opt/freeware --enable-DCE

Here is what I get when I run it.
checking whether pthreads work with --thread-safe... no
checking whether pthreads work with -mt... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking for ranlib... ranlib
checking for a BSD-compatible install... /opt/freeware/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for egrep... 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 for getloadavg... no
checking for pstat_getdynamic... no
checking for kstat_open in -lkstat... no
checking for elf_begin in -lelf... no
checking for kvm_open in -lkvm... no
checking for getloadavg in -lutil... no
checking for getloadavg in -lgetloadavg... no
checking for getloadavg... no
checking sys/dg_sys_info.h usability... no
checking sys/dg_sys_info.h presence... no
checking for sys/dg_sys_info.h... no
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for setlocale... yes
checking inq_stats/cpustats.h usability... no
checking inq_stats/cpustats.h presence... no
checking for inq_stats/cpustats.h... no
checking sys/cpustats.h usability... no
checking sys/cpustats.h presence... no
checking for sys/cpustats.h... no
checking mach/mach.h usability... no
checking mach/mach.h presence... no
checking for mach/mach.h... no
checking nlist.h usability... yes
checking nlist.h presence... yes
checking for nlist.h... yes
checking for struct nlist.n_un.n_name... no
checking whether getloadavg requires setgid... yes
checking group of /dev/kmem... root
checking for latex... false
checking for texi2dvi... false
checking for dvips... false
checking for makeinfo... false
checking for ps2pdf... false
checking for getconf... /usr/bin/getconf
checking for main in -lm... yes
checking for door_create... no
checking for setsockopt... yes
checking for gethostent... yes
checking for getaddrinfo... yes
checking for library containing socket... none required
checking for BerkeleyDB location in /usr/local/BerkeleyDB.3.2...
/usr/local/BerkeleyDB.3.2
checking Berkeley DB Version... 3.2.9 OK
checking Berkeley DB API... 3.2.9 checking for db_create in -ldb... yes
checking for OpenSSL location... /opt/freeware
checking OpenSSL Version... OK
checking for main in -lcrypto... yes
checking for main in -lrx... no
checking for unistd.h... (cached) yes
checking for stdlib.h... (cached) yes
checking sys/loadavg.h usability... no
checking sys/loadavg.h presence... no
checking for sys/loadavg.h... no
checking sys/mount.h usability... no
checking sys/mount.h presence... no
checking for sys/mount.h... no
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking sys/malloc.h usability... yes
checking sys/malloc.h presence... yes
checking for sys/malloc.h... yes
checking vfs.h usability... no
checking vfs.h presence... no
checking for vfs.h... no
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/filesys.h usability... no
checking sys/filesys.h presence... no
checking for sys/filesys.h... no
checking dustat.h usability... no
checking dustat.h presence... no
checking for dustat.h... no
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking rxposix.h usability... no
checking rxposix.h presence... no
checking for rxposix.h... no
checking sys/systeminfo.h usability... no
checking sys/systeminfo.h presence... no
checking for sys/systeminfo.h... no
checking sys/acl.h usability... yes
checking sys/acl.h presence... yes
checking for sys/acl.h... yes
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for mode_t... yes
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for pid_t... yes
checking for an ANSI C-conforming const... yes
checking for getcwd... yes
checking for getnetgrent... yes
checking for waitpid... yes
checking for seteuid... yes
checking for setegid... yes
checking for setreuid... yes
checking for setregid... yes
checking for uname... yes
checking for gethostname... yes
checking for realpath... yes
checking for regcomp... yes
checking for chflags... no
checking for strstr... yes
checking for putenv... yes
checking for drand48... yes
checking for srand48... yes
checking for getaddrinfo... (cached) yes
checking for bcopy... yes
checking for mkfifo... yes
checking for statfs... yes
checking for statvfs... yes
checking for door... no
checking for sysinfo... no
checking for setsid... yes
checking for strdup... yes
checking for strrchr... yes
checking for strerror... yes
checking for snprintf... yes
checking for sysconf... yes
checking for struct sockaddr.sa_len... yes
checking for either struct rtentry or struct ortentry... ortentry
checking whether to compile with large file support... no
checking for main in -lpthread... yes
checking pthread.h usability... no
checking pthread.h presence... yes
configure: WARNING: pthread.h: present but cannot be compiled
configure: WARNING: pthread.h: check for missing prerequisite
headers?
configure: WARNING: pthread.h: see the Autoconf documentation
configure: WARNING: pthread.h: section "Present But Cannot Be
Compiled"
configure: WARNING: pthread.h: proceeding with the preprocessor's
result
configure: WARNING: pthread.h: in the future, the compiler will take
precedence
configure: WARNING: ## ------------------------------------------
##
configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists.
##
configure: WARNING: ## ------------------------------------------
##
checking for pthread.h... yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking for lchown... yes
checking for pthread_attr_setstacksize... yes
checking for pthread_sigmask... yes
checking for main in -lthread... yes
checking for main in -ldce... no
checking dce/daclif.h usability... no
checking dce/daclif.h presence... no
checking for dce/daclif.h... no
checking for pthread.h... (cached) yes
checking for sched.h... (cached) yes
checking for main in -lpthreads... yes
checking pthreads.h usability... no
checking pthreads.h presence... no
checking for pthreads.h... no
checking 8-bit support in Flex... 8-bit support added
checking Checking for GCC Specific compile flags... yes
checking for hostname... /opt/freeware/bin/hostname
configure: creating ./config.status
config.status: creating pub/Makefile
config.status: creating src/Makefile
config.status: creating contrib/Makefile
config.status: creating inputs/Makefile
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating src/cflex.l
config.status: creating src/conf.h
config.status: src/conf.h is unchanged
config.status: executing depfiles commands
configure: WARNING:
=====================================================
configure: WARNING:
configure: WARNING: DFS users should use --enable-DCE
configure: WARNING:
configure: WARNING: This version requires Berkeley db version 3.2 or
configure: WARNING: later from www.sleepycat.com
configure: WARNING: This version requires OpenSSL 0.9.7 or later
configure: WARNING: from www.openssl.org
configure: WARNING:
configure: WARNING:
=====================================================
DONE: Configuration done. Run make/gmake to build cfengine.

When I run make.
Making all in pub
make[1]: Entering directory
`/home/mcdongm/cfengine/cfengine-2.1.21/pub'
if gcc -DHAVE_CONFIG_H -I. -I. -I../src
-I/usr/local/BerkeleyDB.3.2/include -I/opt/freeware/include -w -g -O2
-I/usr/local/BerkeleyDB.3.2/include -g -O2 -Wreturn-type
-Wmissing-prototypes -Wuninitialized -g -O2
-I/usr/local/BerkeleyDB.3.2/include -MT full-write.o -MD -MP -MF
".deps/full-write.Tpo" -c -o full-write.o full-write.c; \
then mv -f ".deps/full-write.Tpo" ".deps/full-write.Po"; else rm -f
".deps/full-write.Tpo"; exit 1; fi
In file included from ../src/cf.defs.h:260,
from full-write.c:23:
/usr/include/pthread.h:596: error: parse error before '*' token
/usr/include/pthread.h:599: error: parse error before '*' token
/usr/include/pthread.h:603: error: parse error before '*' token
/usr/include/pthread.h:606: error: parse error before '*' token
/usr/include/pthread.h:609: error: parse error before '*' token
/usr/include/pthread.h:612: error: parse error before '*' token
/usr/include/pthread.h:615: error: parse error before '*' token
/usr/include/pthread.h:618: error: parse error before '*' token
/usr/include/pthread.h:621: error: parse error before '*' token
/usr/include/pthread.h:625: error: parse error before '*' token
/usr/include/pthread.h:628: error: parse error before '*' token
/usr/include/pthread.h:639: error: parse error before '*' token
/usr/include/pthread.h:643: error: parse error before '*' token
/usr/include/pthread.h:666: error: parse error before '*' token
/usr/include/pthread.h:669: error: parse error before '*' token
/usr/include/pthread.h:672: error: parse error before '*' token
/usr/include/pthread.h:675: error: parse error before '*' token
/usr/include/pthread.h:678: error: parse error before '*' token
/usr/include/pthread.h:686: error: parse error before '*' token
/usr/include/pthread.h:689: error: parse error before '*' token
/usr/include/pthread.h:692: error: parse error before '*' token
/usr/include/pthread.h:695: error: parse error before '*' token
/usr/include/pthread.h:703: error: parse error before '*' token
/usr/include/pthread.h:707: error: parse error before '*' token
/usr/include/pthread.h:710: error: parse error before '*' token
make[1]: *** [full-write.o] Error 1
make[1]: Leaving directory `/home/mcdongm/cfengine/cfengine-2.1.21/pub'
make: *** [all-recursive] Error 1

Can someone tell me what I need to do to get a good build, please?

Mac

ungelesen,
05.12.2006, 08:11:1105.12.06
an
We have it working now. Did a remove of gcc compiler that was in
stalled from the toolbox on the default 5.1 version. Then did a manual
install of the 5.3 Gcc rmp compiler that is on the toolbox CD.
0 neue Nachrichten