Opened 15 years ago

Closed 11 years ago

#24 closed defect (fixed)

make fails for clientcomm in Ubuntu 8.10

Reported by: hicksa@… Owned by:
Priority: major Milestone:
Component: clientcomm Version:
Keywords: Cc:
Complexity: Very Hard

Description

I have a freshly installed & updated server running Ubuntu 8.10 with all required rasdaman dependencies installed as noted by running the configure script.

'make' fails in clientcomm with the error:

/usr/bin/rpcgen -l -o rpcif_clnt.cc.tmp rpcif.x
mawk -f rpcif_clnt.c.awk rpcif_clnt.cc.tmp > rpcif_clnt.cc
mawk: rpcif_clnt.c.awk: line 12: regular expression compile failed (missing '(')
\) *!= *RPC_SUCCESS *)
mawk: rpcif_clnt.c.awk: line 17: regular expression compile failed (missing '(')
\) *!= *RPC_SUCCESS *)
make: * [rpcif_clnt.cc] Error 2

repeating 'make' gives a different error, the error can not be replicated until 'make clean' and rpcif_clnt.cc.tmp is deleted.

Change History (5)

comment:1 by hicksa@…, 15 years ago

Resolved, installed required packages autoconf, libtool, and gawk.

Effectivly this is a symptom of issue #21

comment:2 by cj, 15 years ago

Resolution: fixed
Status: newclosed

comment:3 by hholzgra, 11 years ago

Complexity: Very Hard
Resolution: fixed
Status: closedreopened

comment:4 by hholzgra, 11 years ago

Builds should IMHO actually work no matter what awk implementation is used (or configure should enforce gawk and fail if it only finds mawk)

In the case of this ticket it is rather easy to modify the awk scripts so that they work with both the gawk and mawk implementation

"How to reproduce" is "make clean; make" btw, as the rpcgen/awk is not executed at all if building from a fresh checkout due to result files being bundled already …

comment:5 by Peter Baumann, 11 years ago

Resolution: fixed
Status: reopenedclosed

excellent! Patch works for me, is in.

Note: See TracTickets for help on using tickets.