1832517 Members
4427 Online
110043 Solutions
New Discussion

Software build problem

 
Ed Loehr_1
Occasional Advisor

Software build problem

I'm running into a problem building 64-bit Slony 1.2.14rc (an asyncronous database replication package) for an existing 64-bit PostgreSQL 8.1.x using HP's ANSI C compiler on HP-UX 11.23 IA64, hoping someone can point me in the right direction to troubleshoot further.

I've attached a file with my exact commands along with all of the output from configure and make. Here's the short story is here:

$ /opt/ansic/bin/cc -V
cc: HP aC++/ANSI C B3910B A.06.05 [Jul 25 2005]

$ uname -a
HP-UX db10 B.11.23 U ia64 0771400560 unlimited-user license

# Flags we use to build 64-bit Pg on IA64...

$ export CC=/opt/ansic/bin/cc CFLAGS="+DD64" LDFLAGS="+DD64" CCOPTS="-g"

# The configure call per Slony's build docs...

$ ./configure --with-pgconfigdir=/opt/pgsql/installs/postgresql-8.1.2/bin --enable-thread-safety
checking build system type... ia64-hp-hpux11.23
...

...
config.status: creating Makefile.port
config.status: creating config.h
config.status: config.h is unchanged

(looked like configure worked)

$ make
Using GNU make found at /usr/local/bin/gmake
gmake[1]: Entering directory `/users/dists/pgsql/builds/slony1-1.2.14rc/src'
...

...
gmake[2]: Entering directory `/users/dists/pgsql/builds/slony1-1.2.14rc/src/slony_logshipper'
/opt/ansic/bin/cc +DD64 -I../.. -DPGSHARE="\"/opt/pgsql/installs/postgresql-8.1.2/share/\"" -I/opt/pgsql/installs/postgresql-8.1.2/include/ -I/opt/pgsql/installs/postgresql-8.1.2/include/server/ -c -o slony_logshipper.o slony_logshipper.c
/opt/ansic/bin/cc +DD64 -I../.. -DPGSHARE="\"/opt/pgsql/installs/postgresql-8.1.2/share/\"" -I/opt/pgsql/installs/postgresql-8.1.2/include/ -I/opt/pgsql/installs/postgresql-8.1.2/include/server/ -c -o dbutil.o dbutil.c
/opt/ansic/bin/cc +DD64 -I../.. -DPGSHARE="\"/opt/pgsql/installs/postgresql-8.1.2/share/\"" -I/opt/pgsql/installs/postgresql-8.1.2/include/ -I/opt/pgsql/installs/postgresql-8.1.2/include/server/ -c -o ipcutil.o ipcutil.c
bison -y -d parser.y
gmake[2]: Leaving directory `/users/dists/pgsql/builds/slony1-1.2.14rc/src/slony_logshipper'
gmake[1]: Leaving directory `/users/dists/pgsql/builds/slony1-1.2.14rc/src'
*** Error exit code 2


So basically, the 'make' errors out here but it's hard to tell what exactly is causing the issue.

Any clues as to what/where to look deeper?

Many thanks.
Ed
1 REPLY 1
Steven Schweda
Honored Contributor

Re: Software build problem

I know nothing, and it's not clear to me
either, but the last (visible) command seems
to be that "bison" thing.

You might look at the "make" file(s) to see
if there are any hidden commands near that
"bison" command. Otherwise, I'd probably try
to run that "bison" command manually, to see
if that reveals anything.

Get a fresh "bison" kit and install that?

Sounds like a mystery, all right.