On Thu, 7 Jul 2011 10:41:58 -0400, jeffpc wrote:
jeffpc> On Thu, Jul 07, 2011 at 11:47:31AM +1000, Nathan Scott wrote:
>> Hi all,
>>
>> The pcp-3.5.5 has been tagged and uploaded. This is mainly a bug
>> fix release...
>>
>> pcp-3.5.5 (6 July 2011)
jeffpc> ...
>> - Perl changes for Solaris.
>> - Solaris pmda zpool_vdev_name() api change.
jeffpc> FWIW, I get a build failure on OpenIndiana:
Why is it always jeffpc how comes with unusual distros?
jeffpc> === pmie ===
jeffpc> sed -e's;/var/adm/pmielog/;PCP_LOG_DIR/pmie/;' -e
's;/var/pcp;'/var/lib/pcp';g' control > control.install
jeffpc> sed -e's;/var/adm/pmielog/;PCP_LOG_DIR/pmie/;' -e
's;/var/pcp;'/var/lib/pcp';g' config.default > config.default.install
jeffpc> sed -e's;/usr/pcp/bin;'/usr/share/pcp/bin';g' crontab > crontab.install
jeffpc> === src ===
jeffpc> /usr/bin/gcc -m64 -fPIC -fno-strict-aliasing -Wall -g -DPCP_DEBUG
-DPCP_VERSION=\"3.5.5\" -DASYNC_API -I../../../src/include -c -o pmie.o pmie.c
jeffpc> /usr/bin/gcc -m64 -fPIC -fno-strict-aliasing -Wall -g -DPCP_DEBUG
-DPCP_VERSION=\"3.5.5\" -DASYNC_API -I../../../src/include -c -o symbol.o
symbol.c
jeffpc> /usr/bin/gcc -m64 -fPIC -fno-strict-aliasing -Wall -g -DPCP_DEBUG
-DPCP_VERSION=\"3.5.5\" -DASYNC_API -I../../../src/include -c -o dstruct.o
dstruct.c
jeffpc> yacc -d -b `basename grammar.y .y` grammar.y && cp `basename grammar.h
.h`.tab.h grammar.h
jeffpc> "grammar.y", line 61: fatal: invalid escape, or illegal reserved word:
expect
jeffpc> gmake[4]: *** [grammar.h] Error 1
%expect is the bison thing, you're using AT&T yacc - install gnu bison
and the issue will go away.
Nathan, we should really check for bison and bison only if we're using
its features.
jeffpc> If I remove the expect line, things seem to build just fine for a
while and
jeffpc> then I hit the same issue in pmlogger/gram.y. Removing that line
makes the
jeffpc> build continue until it gets into the solaris pmda:
jeffpc> /usr/bin/gcc -m64 -fPIC -fno-strict-aliasing -Wall -g -DPCP_DEBUG
-DPCP_VERSION=\"3.5.5\" -DASYNC_API -I../../../src/include -c -o zpool.o
zpool.c
jeffpc> zpool.c: In function `zp_cache_pool':
jeffpc> zpool.c:78: error: `ZPOOL_CONFIG_STATS' undeclared (first use in this
function)
jeffpc> zpool.c:78: error: (Each undeclared identifier is reported only once
jeffpc> zpool.c:78: error: for each function it appears in.)
jeffpc> gmake[3]: *** [zpool.o] Error 1
What Ken said...
Jeff, do you know where openidiana guys keep their source?
max
|