nntpcache 1.0 won't compile on HPUX 10.10

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

 



I'm a newsadmin in search of an alternative to the "drink from a firehose"
traditional full feed environment, and I just discovered nntpcache today.

When I try to build it on my HPUX 10.10 machine, configure says there is no
mmap, when there really is (plus the PORTS file said it had been ported to
HPUX 9.05).

If I edit configure to force HAVE_MMAP, the eventual test results are:

#define HAVE_MMAP_FILE_PRIVATE_READ
#define HAVE_MMAP_FILE_PRIVATE_CHILD_INHERIT
#define HAVE_MMAP_FILE_PRIVATE_WRITE
#define HAVE_MMAP_FILE_SHARED_READ
#define HAVE_MMAP_FILE_SHARED_CHILD_INHERIT
#define HAVE_MMAP_FILE_SHARED_CHILD_READ_PARENT_WRITE
#define HAVE_MMAP_FILE_SHARED_PARENT_READ_CHILD_WRITE
#define HAVE_MMAP_FILE_SHARED_WRITE
#define HAVE_MMAP_ANON_PRIVATE
#define HAVE_MMAP_ANON_PRIVATE_CHILD_INHERIT
#define HAVE_MMAP_ANON_SHARED
#define HAVE_MMAP_ANON_SHARED_CHILD_INHERIT
#define HAVE_MMAP_ANON_SHARED_CHILD_READ_PARENT_WRITE
#define HAVE_MMAP_ANON_SHARED_PARENT_READ_CHILD_WRITE

But the build eventually dies out:

	cd mmalloc && make
	cc -c -g -Aa -D_HPUX_SOURCE  -Dinline= -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UTIME_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_MOUNT_H=1 -DHAVE_SYS_VFS_H=1 -DHA
YS_TIME=1 -DHAVE_VALLOC=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DRETSIGTYPE=void -DHAVE_GETDTABLESIZE=1 -DHAVE_STATFS=1 -DHAVE_STATVFS=1 -DHAVE_USLEEP=1 -DHAVE_UTIME=1 -DHAVE_WAITPID=1 -DHAVE_WAIT3=1 -DHAVE_CHROOT=1 -DHAVE_STRDUP=1 -DHAVE_STRCASECMP=1 -DHAV
cc: "mmap-sup.c", line 119: error 1588: "MAP_ANON" undefined.
cc: "mmap-sup.c", line 118: warning 563: Argument #4 is not the correct type.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.

I've never used mmap, so I lack the experience to debug this on my own.
However, I can make this HPUX 10.10 machine available to some nntpcache-user
willing to give it a try.
-- 
Mark Bixby                      E-mail: markb@cccd.edu
Coast Community College Dist.   Web: http://www.cccd.edu/~markb/
District Information Services   1370 Adams Ave, Costa Mesa, CA, USA 92626-5429
Technical Support               +1 714 438-4647
"You can tune a file system, but you can't tune a fish." - tunefs(1M)


[Index of Archives]     [Yosemite]     [Yosemite Campsites]     [Bugtraq]     [Linux]     [Trn]

Powered by Linux