Also i remember of some bugs wherein configure has problems with multiline ouput from gcc version.
Lastly, check for some extra \n (newline) in your cflags/scripts (e.g. when copy pasting or escaping w/c results in \n combinations)
On 12/7/2003 2:11 AM, Bopolissimus Platypus wrote:
hello all,
I'm trying to build both the working model (postgres-r) and pgsql-r-v7.2 so that i can test them. I'm having problems building both.
My environment is:
Mandrake 9.1, gcc 3.2.2, spread-3.17.1. gcc and all other development tools are as distributed with Mandrake 9.1 (flex 2.5.4, lex 2.5.4, bison 1.35, GNU sed 4.0.3, GNU make 3.8, etc).
with postgres-r (the 6.4.2 working model), configure fails with the following error:
creating ./config.status creating GNUmakefile sed: file conftest.s1 line 33: Unterminated `s' command creating Makefile.global sed: file conftest.s1 line 33: Unterminated `s' command creating backend/port/Makefile sed: file conftest.s1 line 33: Unterminated `s' command creating backend/catalog/genbki.sh [and lots more similar sed errors].
the error in the configure script seems to be due to something here:
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". case "$ac_file" in *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; *) ac_file_in="${ac_file}.in" ;; esac
which is around line 6686. on the other hand, it doesn't make sense that it's there since the exact same code in the pgsql-r-v7.2 code works fine (at any rate, pgsql-r-v7.2 compiles with one minor fix (src/backends/commands/copy.c needs a #include <errno.h>).
i've got pgsql-r-v7.2 compiled and will be testing it. has anyone gotten
postgres-r to build correctly on a Mandrake 9.1 (or Redhat 8.x or 9.x, is close enough, i guess) box?
thanks for any pointers.
tiger
-- Philippine Linux Users' Group (PLUG) Mailing List [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
