* make failed on FreeBSD 3.4R
@ 2000-05-28 6:06 Satoru Takabayashi
2000-05-28 12:12 ` Keisuke Nishida
0 siblings, 1 reply; 3+ messages in thread
From: Satoru Takabayashi @ 2000-05-28 6:06 UTC (permalink / raw)
To: guile-emacs
Hi, I tried to compile guile-emacs-0.4 on FreeBSD 3.4R but
it failed. I attached a quick patch for fixing the problem.
% ./configure
(snip)
creating ./config.status
creating Makefile
sed: 54: conftest.s1: unescaped newline inside substitute pattern
creating lib-src/Makefile.c
sed: 54: conftest.s1: unescaped newline inside substitute pattern
creating oldXMenu/Makefile
sed: 54: conftest.s1: unescaped newline inside substitute pattern
creating lwlib/Makefile
sed: 54: conftest.s1: unescaped newline inside substitute pattern
creating src/Makefile.c
sed: 54: conftest.s1: unescaped newline inside substitute pattern
creating lisp/Makefile
sed: 54: conftest.s1: unescaped newline inside substitute pattern
creating doc/Makefile
sed: 54: conftest.s1: unescaped newline inside substitute pattern
creating tools/Makefile
sed: 54: conftest.s1: unescaped newline inside substitute pattern
creating src/config.h
creating src/epaths.h
make: don't know how to make epaths-force. Stop
creating lib-src/Makefile
creating src/Makefile
-- Satoru Takabayashi
\f
*** configure.in.orig Sun May 28 21:46:00 2000
--- configure.in Sun May 28 21:47:31 2000
***************
*** 1,4 ****
- Executing ssh-askpass to query the password...
dnl Autoconf script for Guile Emacs
dnl To rebuild the `configure' script from this, execute the command
dnl autoconf
--- 1,3 ----
***************
*** 40,48 ****
$EMACS --version > /dev/null || \
AC_MSG_ERROR([You have to install GNU Emacs 20.6 first.])
echo '(message data-directory)' > .tmp.el
! $EMACS -batch -l .tmp.el 2> .tmp.out
emacsdir=`sed 's/\/[[0-9]].*//' .tmp.out`
! emacsver=`sed 's/^[[^0-9]]*\([[0-9]]\+\.[[0-9]]\+\).*/\1/' .tmp.out`
if test `echo $emacsver | sed 's/\..*//'` != "20"; then
AC_MSG_ERROR([You have to install GNU Emacs 20.6.])
fi
--- 39,47 ----
$EMACS --version > /dev/null || \
AC_MSG_ERROR([You have to install GNU Emacs 20.6 first.])
echo '(message data-directory)' > .tmp.el
! $EMACS -batch -l .tmp.el 2>&1 |tail -1 > .tmp.out
emacsdir=`sed 's/\/[[0-9]].*//' .tmp.out`
! emacsver=`sed 's/^[[^0-9]]*\/\([[0-9\.]]*\)\/.*/\1/' .tmp.out`
if test `echo $emacsver | sed 's/\..*//'` != "20"; then
AC_MSG_ERROR([You have to install GNU Emacs 20.6.])
fi
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: make failed on FreeBSD 3.4R
2000-05-28 6:06 make failed on FreeBSD 3.4R Satoru Takabayashi
@ 2000-05-28 12:12 ` Keisuke Nishida
2000-06-01 6:02 ` Satoru Takabayashi
0 siblings, 1 reply; 3+ messages in thread
From: Keisuke Nishida @ 2000-05-28 12:12 UTC (permalink / raw)
To: Satoru Takabayashi; +Cc: guile-emacs
Satoru Takabayashi <satoru-t@is.aist-nara.ac.jp> writes:
> - Executing ssh-askpass to query the password...
Oops...
> ! $EMACS -batch -l .tmp.el 2>&1 |tail -1 > .tmp.out
Hmm... Could you try this instead?
$EMACS -q --no-site-file -batch -l .tmp.el 2> .tmp.out
> ! emacsver=`sed 's/^[[^0-9]]*\/\([[0-9\.]]*\)\/.*/\1/' .tmp.out`
This looks better. But still it has a problem. You can't install
emacs in /d0/share/emacs/20.6/..., for example. How about this one?
emacsver=`sed 's/^.*\/\([[0-9]][[0-9\.]]*\)\/.*/\1/' .tmp.out`
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: make failed on FreeBSD 3.4R
2000-05-28 12:12 ` Keisuke Nishida
@ 2000-06-01 6:02 ` Satoru Takabayashi
0 siblings, 0 replies; 3+ messages in thread
From: Satoru Takabayashi @ 2000-06-01 6:02 UTC (permalink / raw)
To: guile-emacs
Sorry for late reply.
Keisuke Nishida <kxn30@po.cwru.edu> wrote:
>> ! $EMACS -batch -l .tmp.el 2>&1 |tail -1 > .tmp.out
>
>Hmm... Could you try this instead?
>
> $EMACS -q --no-site-file -batch -l .tmp.el 2> .tmp.out
It worked well. For confirmation, I commented out the
following line in configure.in
rm -f .tmp.el .tmp.out
and checked the contents of .tmp.out after running
configure. It contains:
/usr/local/share/emacs/20.6/etc/
>> ! emacsver=`sed 's/^[[^0-9]]*\/\([[0-9\.]]*\)\/.*/\1/' .tmp.out`
>
>This looks better. But still it has a problem. You can't install
>emacs in /d0/share/emacs/20.6/..., for example. How about this one?
>
> emacsver=`sed 's/^.*\/\([[0-9]][[0-9\.]]*\)\/.*/\1/' .tmp.out`
Great. I prefer to use ! as a delimiter for clarity.
emacsver=`sed 's!^.*/\([[0-9]][[0-9\.]]*\)/.*!\1!' .tmp.out`
-- Satoru Takabayashi
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2000-06-01 6:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-28 6:06 make failed on FreeBSD 3.4R Satoru Takabayashi
2000-05-28 12:12 ` Keisuke Nishida
2000-06-01 6:02 ` Satoru Takabayashi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).