octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #40273] 'sed' is used even if a different valu


From: Carlo de Falco
Subject: [Octave-bug-tracker] [bug #40273] 'sed' is used even if a different value for 'SED' is specified during configure
Date: Tue, 15 Oct 2013 05:48:01 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Firefox/24.0

URL:
  <http://savannah.gnu.org/bugs/?40273>

                 Summary: 'sed' is used even if a different value for 'SED' is
specified during configure 
                 Project: GNU Octave
            Submitted by: cdf
            Submitted on: Tue 15 Oct 2013 07:48:00 AM CEST
                Category: Configuration and Build System
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Installation
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Mac OS

    _______________________________________________________

Details:

I am building Octave 3.7.7 on OSX 10.8.5 
which provides a broken version of sed in /usr/bin.

I installed GNU sed as /opt/local/bin/gsed.
If I configure with


configure SED=/opt/local/bin/gsed


GNU sed is correctly detected by configure:


$ grep -C1 gsed config.log 
configure:7757: checking for a usable sed
configure:7835: result: /opt/local/bin/gsed
configure:7841: checking for perl
--
configure:17626: checking for a sed that does not truncate output
configure:17690: result: /opt/local/bin/gsed
configure:17708: checking for fgrep
--
ac_cv_path_GREP=/opt/local/bin/grep
ac_cv_path_SED=/opt/local/bin/gsed
ac_cv_path_ac_pt_PKG_CONFIG=/opt/local/bin/pkg-config
--
octave_cv_lib_z=yes
octave_cv_prog_sed=/opt/local/bin/gsed
octave_cv_sizeof_fortran_integer=yes
--
ROUND_LIBM=''
SED='/opt/local/bin/gsed'
SET_MAKE=''


yet, when I run 'make', 'sed' is still used:


rm -f configmake.h-t && \
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
          echo '#define PREFIX "/opt/local"'; \
          echo '#define EXEC_PREFIX "/opt/local"'; \
          echo '#define BINDIR "/opt/local/bin"'; \
          echo '#define SBINDIR "/opt/local/sbin"'; \
          echo '#define LIBEXECDIR "/opt/local/libexec"'; \
          echo '#define DATAROOTDIR "/opt/local/share"'; \
          echo '#define DATADIR "/opt/local/share"'; \
          echo '#define SYSCONFDIR "/opt/local/etc"'; \
          echo '#define SHAREDSTATEDIR "/opt/local/com"'; \
          echo '#define LOCALSTATEDIR "/opt/local/var"'; \
          echo '#define INCLUDEDIR "/opt/local/include"'; \
          echo '#define OLDINCLUDEDIR "/usr/include"'; \
          echo '#define DOCDIR "/opt/local/share/doc/octave"'; \
          echo '#define INFODIR "/opt/local/share/info"'; \
          echo '#define HTMLDIR "/opt/local/share/doc/octave"'; \
          echo '#define DVIDIR "/opt/local/share/doc/octave"'; \
          echo '#define PDFDIR "/opt/local/share/doc/octave"'; \
          echo '#define PSDIR "/opt/local/share/doc/octave"'; \
          echo '#define LIBDIR "/opt/local/lib"'; \
          echo '#define LISPDIR "/opt/local/share/emacs/site-lisp"'; \
          echo '#define LOCALEDIR "/opt/local/share/locale"'; \
          echo '#define MANDIR "/opt/local/share/man"'; \
          echo '#define MANEXT ""'; \
          echo '#define PKGDATADIR "/opt/local/share/octave"'; \
          echo '#define PKGINCLUDEDIR "/opt/local/include/octave"'; \
          echo '#define PKGLIBDIR "/opt/local/lib/octave"'; \
          echo '#define PKGLIBEXECDIR "/opt/local/libexec/octave"'; \
        } | sed '/""/d' > configmake.h-t && \
        mv -f configmake.h-t configmake.h
 rm -f c++defs.h-t c++defs.h && \
        sed -n -e '/_GL_CXXDEFS/,$p' \
          < ../build-aux/snippet/c++defs.h \
          > c++defs.h-t && \
        mv c++defs.h-t c++defs.h
 rm -f arg-nonnull.h-t arg-nonnull.h && \
        sed -n -e '/GL_ARG_NONNULL/,$p' \
          < ../build-aux/snippet/arg-nonnull.h \
          > arg-nonnull.h-t && \
        mv arg-nonnull.h-t arg-nonnull.h
 rm -f warn-on-use.h-t warn-on-use.h && \
        sed -n -e '/^.ifndef/,$p' \
          < ../build-aux/snippet/warn-on-use.h \
          > warn-on-use.h-t && \
        mv warn-on-use.h-t warn-on-use.h
 rm -f unused-parameter.h-t unused-parameter.h && \
        sed -n -e '/GL_UNUSED_PARAMETER/,$p' \
          < ../build-aux/snippet/unused-parameter.h \
          > unused-parameter.h-t && \
        mv unused-parameter.h-t unused-parameter.h


this is the first occurence of sed in the output of make but there are many
more down the way.







    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?40273>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]