This is the mail archive of the guile-emacs@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: make failed on FreeBSD 3.4R


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]