pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bootstraping fails on Solaris 10 (newbie question)
> Also see wiki.netbsd.se/How_to_use_pkgsrc_on_Solaris for your reference.
Installing SUNWhea and packages listed in this page doesn't help.
I include configure output. Am I missing something?
0 bootstrap>env CC=/usr/sfw/bin/gcc ./bootstrap --abi 32 --unprivileged
--workdir /tmp/obj_pkgsrc.gcc --prefix ~/pkg.gcc
...
===> running: /usr/xpg4/bin/sh /tmp/obj_pkgsrc.gcc/bin/install-sh -c -o cheusov
-g syntagma -m 755 /tmp/obj_pkgsrc.gcc/bmake/SunOS/bmake
/tmp/obj_pkgsrc.gcc/bin/bmake
===> Building libnbcompat
===> running: (cd /tmp/obj_pkgsrc.gcc/libnbcompat; /usr/xpg4/bin/sh ./configure
-C --prefix=/export/home/cheusov/pkg.gcc
--mandir=/export/home/cheusov/pkg.gcc/man
--sysconfdir=/export/home/cheusov/pkg.gcc/etc && /tmp/obj_pkgsrc.gcc/bin/bmake
)
configure: loading cache config.cache
checking build system type... (cached) i386-pc-solaris2.10
checking host system type... (cached) i386-pc-solaris2.10
checking whether make sets $(MAKE)... (cached) yes
checking for gcc... (cached) /usr/sfw/bin/gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether /usr/sfw/bin/gcc accepts -g... (cached) yes
checking for /usr/sfw/bin/gcc option to accept ISO C89... (cached) none needed
checking for a BSD-compatible install... ./install-sh -c
checking whether ln -s works... yes
checking for ranlib... (cached) ranlib
checking for gawk... (cached) nawk
checking for ar... (cached) ar
checking for fparseln in -lutil... (cached) no
checking how to run the C preprocessor... (cached) /usr/sfw/bin/gcc -E
checking for grep that handles long lines and -e... (cached) /usr/xpg4/bin/grep
checking for egrep... (cached) /usr/xpg4/bin/grep -E
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for alloca.h... (cached) yes
checking for assert.h... (cached) yes
checking for ctype.h... (cached) yes
checking for dirent.h... (cached) yes
checking for err.h... (cached) no
checking for errno.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for fnmatch.h... (cached) yes
checking for fts.h... (cached) no
checking for grp.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for libutil.h... (cached) no
checking for limits.h... (cached) yes
checking for machine/endian.h... (cached) no
checking for ndir.h... (cached) no
checking for netdb.h... (cached) yes
checking for paths.h... (cached) no
checking for pwd.h... (cached) yes
checking for signal.h... (cached) yes
checking for stdarg.h... (cached) yes
checking for stddef.h... (cached) yes
checking for stdint.h... (cached) yes
checking for stdio.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for sys/byteorder.h... (cached) yes
checking for sys/cdefs.h... (cached) no
checking for sys/dir.h... (cached) no
checking for sys/endian.h... (cached) no
checking for sys/file.h... (cached) yes
checking for sys/mkdev.h... (cached) yes
checking for sys/ndir.h... (cached) no
checking for sys/param.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/statfs.h... (cached) yes
checking for sys/statvfs.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/ttycom.h... (cached) no
checking for sys/types.h... (cached) yes
checking for sys/uio.h... (cached) yes
checking for sys/vfs.h... (cached) yes
checking for sysexits.h... (cached) yes
checking for termcap.h... (cached) no
checking for time.h... (cached) yes
checking for tzfile.h... (cached) yes
checking for unistd.h... (cached) yes
checking for util.h... (cached) no
checking for utime.h... (cached) yes
checking for sys/mount.h... (cached) yes
checking for glob.h... (cached) yes
checking for sys/queue.h... (cached) no
checking for regex.h... (cached) yes
checking for regexec... (cached) yes
checking for md5.h... (cached) yes
checking for MD5Init in md5.h... (cached) yes
checking for md5.h... (cached) yes
checking for rmd160.h... (cached) no
checking for sha1.h... (cached) no
checking for sha2.h... (cached) no
checking for MD5File... (cached) no
checking for RMD160File... (cached) no
checking for SHA1File... (cached) no
checking for SHA512_File... (cached) no
checking whether optind is declared... (cached) yes
checking whether optreset is declared... (cached) no
checking for getopt.h... (cached) yes
checking for struct option... (cached) yes
checking for vis.h... (cached) no
checking for __attribute__... (cached) yes
checking for size_t... (cached) yes
checking for uintptr_t... (cached) yes
checking for int8_t... (cached) yes
checking for int16_t... (cached) yes
checking for int32_t... (cached) yes
checking for int64_t... (cached) yes
checking for uint8_t... (cached) yes
checking for uint16_t... (cached) yes
checking for uint32_t... (cached) yes
checking for uint64_t... (cached) yes
checking for long long... (cached) yes
checking for long double... (cached) yes
checking for fsid_t... (cached) yes
checking whether byte ordering is bigendian... (cached) no
checking size of off_t... (cached) 4
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... (cached) yes
checking whether strerror_r is declared... (cached) yes
checking for strerror_r... (cached) yes
checking whether strerror_r returns char *... (cached) no
checking for pid_t... (cached) yes
checking for vfork.h... (cached) no
checking for fork... (cached) yes
checking for vfork... (cached) yes
checking for working fork... (cached) yes
checking for working vfork... (cached) yes
checking for vprintf... (cached) yes
checking for _doprnt... (cached) yes
checking whether snprintf is declared... (cached) yes
checking whether vasprintf is declared... (cached) no
checking for asprintf... (cached) no
checking for err... (cached) no
checking for fgetln... (cached) no
checking for fnmatch... (cached) yes
checking for fparseln... (cached) no
checking for getenv... (cached) yes
checking for isblank... (cached) yes
checking for lchflags... (cached) no
checking for lchmod... (cached) no
checking for lchown... (cached) yes
checking for lutimes... (cached) no
checking for mkdtemp... (cached) no
checking for mkstemp... (cached) yes
checking for setenv... (cached) yes
checking for setgroupent... (cached) no
checking for setpassent... (cached) no
checking for setprogname... (cached) no
checking for shquote... (cached) no
checking for snprintf... (cached) yes
checking for statvfs... (cached) yes
checking for strdup... (cached) yes
checking for strerror... (cached) yes
checking for strlcat... (cached) yes
checking for strlcpy... (cached) yes
checking for strmode... (cached) no
checking for strsep... (cached) no
checking for strtoll... (cached) yes
checking for unsetenv... (cached) yes
checking for usleep... (cached) yes
checking for utimes... (cached) yes
checking for warn... (cached) no
checking for socklen_t... (cached) yes
checking for struct addrinfo... (cached) yes
checking for struct in6_addr... (cached) yes
checking for struct sockaddr_in6... (cached) yes
checking for struct sockaddr_storage... (cached) yes
checking for getnameinfo... (cached) no
checking for gai_strerror... (cached) no
checking for getaddrinfo... (cached) no
checking for getenv... (cached) yes
checking for setenv... (cached) yes
checking for unsetenv... (cached) yes
checking for mkdtemp... (cached) no
checking for mkstemp... (cached) yes
checking for bcopy... (cached) yes
checking for bzero... (cached) yes
checking for memset... (cached) yes
checking for memcpy... (cached) yes
checking for setlocale... (cached) yes
checking for getmode... (cached) no
checking for setmode... (cached) no
checking whether endgrent is declared... (cached) no
checking whether endpwent is declared... (cached) no
checking for gid_from_group... (cached) no
checking for group_from_gid... (cached) no
checking for pwcache_groupdb... (cached) no
checking for pwcache_userdb... (cached) no
checking for uid_from_user... (cached) no
checking for user_from_uid... (cached) no
checking for fts_open... (cached) no
checking for timegm... (cached) no
checking for poll.h... (cached) yes
checking for sys/poll.h... (cached) yes
checking for poll.h... (cached) yes
checking for sys/poll.h... (cached) yes
checking for poll... (cached) yes
checking if poll() is implemented natively... (cached) yes
checking for getpassphrase... (cached) yes
checking for getpgrp... (cached) yes
checking for memmove... (cached) yes
checking for select... (cached) yes
checking for getpgrp... (cached) yes
checking whether getpgrp requires zero arguments... (cached) yes
checking for struct statfs.f_flags... (cached) no
checking for struct statfs.f_fsize... (cached) no
checking for struct statfs.f_iosize... (cached) no
checking for struct dirent.d_namlen... (cached) no
checking for DIR.dd_fd... (cached) yes
checking for dirfd... no
checking *printf() support for %lld... yes
checking for strtoll... (cached) yes
checking if vsnprintf is standards compliant... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating nbcompat/config.h
config.status: nbcompat/config.h is unchanged
nawk -f nbcompat.awk nbcompat/config.h > nbcompat/nbconfig.h
/usr/sfw/bin/gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -c glob.c
In file included from ./nbcompat/endian.h:44,
from ./nbcompat.h:33,
from __glob13.c:35,
from glob.c:12:
/usr/include/sys/byteorder.h:60: error: syntax error before "in_port_t"
/usr/include/sys/byteorder.h:65: error: syntax error before "in_addr_t"
/usr/include/sys/byteorder.h:69: error: syntax error before "htonl"
/usr/include/sys/byteorder.h:70: error: syntax error before "htons"
/usr/include/sys/byteorder.h:71: error: syntax error before "ntohl"
/usr/include/sys/byteorder.h:72: error: syntax error before "ntohs"
*** Error code 1
Stop.
bmake: stopped in /tmp/obj_pkgsrc.gcc/libnbcompat
...
1 bootstrap>uname -a
SunOS chesun 5.10 Generic_118855-14 i86pc i386 i86pc
0 bootstrap>
--
Best regards, Aleksey Cheusov.
Home |
Main Index |
Thread Index |
Old Index