On 03/03/13 09:52, Andreas Metzler wrote:
> Hello,
> 
> when building 5.17.2 there is a new build-time error:
> -------------------------
> Making all in xml2ag
> make[3]: Entering directory `/tmp/AUTOGEN/autogen-5.17.2/xml2ag'
> top_srcdir=".." top_builddir=".." PATH=`cd ../columns;pwd`:"$PATH" 
> CLexe="../columns/columns" ../agen5/autogen -MF.deps/stamp-opts.d 
> -MTstamp-opts -MP -L../autoopts/tpl -L../autoopts/tpl 
> --definition=./xmlopts.def
> /bin/bash: line 690: cd: /usr/include/autoopts: No such file or directory
> -------------------------
> 
> The error is ignored and the build continues, it probably should be
> fixed anyway.

It just disables the insertion of translatable strings.
The code is trying to figure out where a file named "usage-txt.h"
lives.  Apparently, the search is not rigorous enough for the
build phase, but should work when installed.
I've added a stderr redirection to /dev/null.

Thank you.


(out-push-new) \=]
incdir=[= (if (defined? 'inc-dir) inc-dir "") ;;' 4emacs =]
test -d "$incdir" || incdir=`dirname [=(tpl-file #t)=]`/..
incdir=`cd $incdir/autoopts >/dev/null 2>&1 && pwd`
test -f ${incdir}/usage-txt.h && {
    sedcmd='/LIBOPTS-MESSAGES:/,/END-[=

  (if (and (exist? "full-usage") (exist? "short-usage"))
      "LIBOPTS-MESSAGES"
      "USAGE-TEXT" ) =]/p'
    sed -n "$sedcmd" ${incdir}/usage-txt.h
}
[= (shell (out-pop #t)) =]

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Autogen-users mailing list
Autogen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/autogen-users

Reply via email to