Build problems with 7.2
I'm obviously doing something wrong...
While running ./configure --with-java, the script spits this out right at
the end...
creating ./config.status
creating GNUmakefile
sed: file conftest.s1 line 4: Unterminated `s' command
creating src/GNUmakefile
sed: file conftest.s1 line 4: Unterminated `s' command
creating src/Makefile.global
sed: file conftest.s1 line 4: Unterminated `s' command
creating src/backend/port/Makefile
sed: file conftest.s1 line 4: Unterminated `s' command
creating src/include/pg_config.h
src/include/pg_config.h is unchanged
linking ./src/backend/port/dynloader/linux.c to src/backend/port/dynloader.c
linking ./src/backend/port/dynloader/linux.h to src/include/dynloader.h
linking ./src/include/port/linux.h to src/include/pg_config_os.h
linking ./src/makefiles/Makefile.linux to src/Makefile.port
linking ./src/backend/port/tas/dummy.s to src/backend/port/tas.s
I then end up with a GNUMakefile which is 0 bytes in length. I'm on a fairly
stock RH 7.2 system.
Any idea what's wrong?
--Arsalan.
-------------------------------------------------------------------
People often hate those things which they do not know, or cannot understand.
--Ali Ibn Abi Talib (A.S.)
(Guess) You have GNU sed?
(Another guess) "conftest.s1" contains a sed statement
which includes a "\n" combination?
If so, just get rid of the backslash.
Reason I am guessing is that I don't have the source
available right now to check, and I am not even sure
that this is the same case that has come up in the
past. But, easy to check, and if so, easy to fix.
--- Arsalan Zaidi <azaidi@directi.com> wrote:
I'm obviously doing something wrong...
While running ./configure --with-java, the script
spits this out right at
the end...creating ./config.status
creating GNUmakefile
sed: file conftest.s1 line 4: Unterminated `s'
command
creating src/GNUmakefile
sed: file conftest.s1 line 4: Unterminated `s'
command
creating src/Makefile.global
sed: file conftest.s1 line 4: Unterminated `s'
command
creating src/backend/port/Makefile
sed: file conftest.s1 line 4: Unterminated `s'
command
creating src/include/pg_config.h
src/include/pg_config.h is unchanged
linking ./src/backend/port/dynloader/linux.c to
src/backend/port/dynloader.c
linking ./src/backend/port/dynloader/linux.h to
src/include/dynloader.h
linking ./src/include/port/linux.h to
src/include/pg_config_os.h
linking ./src/makefiles/Makefile.linux to
src/Makefile.port
linking ./src/backend/port/tas/dummy.s to
src/backend/port/tas.sI then end up with a GNUMakefile which is 0 bytes in
length. I'm on a fairly
stock RH 7.2 system.Any idea what's wrong?
--Arsalan.
-------------------------------------------------------------------
People often hate those things which they do not
know, or cannot understand.
--Ali Ibn Abi Talib (A.S.)---------------------------(end of
broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster
__________________________________________________
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com
"Arsalan Zaidi" <azaidi@directi.com> writes:
While running ./configure --with-java, the script spits this out right at
the end...
creating ./config.status
creating GNUmakefile
sed: file conftest.s1 line 4: Unterminated `s' command
If I'm counting right, this would seem to suggest there's a newline in
the value of CFLAGS that configure has computed. May we see the
config.status file that configure produced?
regards, tom lane
creating ./config.status
creating GNUmakefile
sed: file conftest.s1 line 4: Unterminated `s' commandIf I'm counting right, this would seem to suggest there's a newline in
the value of CFLAGS that configure has computed. May we see the
config.status file that configure produced?
No need for that.
You're absolutely right, I put an extra '\n' (accidently! Don't blindly copy
paste!) in the CFLAGS var.
<butts head against wall>
--Arsalan.