Centos8 will not compile

David Leonard dleonard at uptycs.com
Mon Nov 18 21:20:48 UTC 2019


Hello,


I am trying to get web-pg onto a centos8 machine. I have successfully
gotten it onto centos6 & 7 machines. I downloaded the zip and unzipped it,
switching to the polygraph-4.9.0 directory afterwords. To configure, I run
the following:


./configure --prefix=/usr/local/polygraph --without-zlib


When I run make && build, I get the following error:

ExpPortMgr.cc:27:18: error: ‘typedef short unsigned int Array<short
unsigned int>::Value’ is inaccessible within this context

  if (PortMax() > numeric_limits<Ports::Value>::max()) {

                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from ../../src/xstd/Socket.h:15,

                 from ExpPortMgr.cc:11:

../../src/xstd/Array.h:26:16: note: declared here

   typedef Item Value;

                ^~~~~

ExpPortMgr.cc:29:22: error: ‘typedef short unsigned int Array<short
unsigned int>::Value’ is inaccessible within this context

    "' option is " << numeric_limits<Ports::Value>::max() <<

                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from ../../src/xstd/Socket.h:15,

                 from ExpPortMgr.cc:11:

../../src/xstd/Array.h:26:16: note: declared here

   typedef Item Value;

                ^~~~~

make[3]: *** [Makefile:637: ExpPortMgr.o] Error 1

make[3]: Leaving directory '/home/abacus/polygraph-4.9.0/src/runtime'

make[2]: *** [Makefile:401: all-recursive] Error 1

make[2]: Leaving directory '/home/abacus/polygraph-4.9.0/src'

make[1]: *** [Makefile:338: all] Error 2

make[1]: Leaving directory '/home/abacus/polygraph-4.9.0/src'

make: *** [Makefile:503: all-recursive] Error 1


Is there something I am doing wrong here? For additional information, here
is my gcc --version info:


gcc (GCC) 8.2.1 20180905 (Red Hat 8.2.1-3)

Copyright (C) 2018 Free Software Foundation, Inc.



Thanks in advance,

Dave Leonard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.web-polygraph.org/pipermail/users/attachments/20191118/a0a50d7b/attachment.html>


More information about the Users mailing list