nmh-workers
[Top] [All Lists]

Re: new release?

2022-04-20 10:33:30
Hi Paul,

At first I was missing "yacc".  Installing either bison or byacc gets
me to this error.

Has configure been re-run since the installation?

    $ make
    make  all-am
    make[1]: Entering directory '/home/pgf/src/pdom/nmh/nmh.git'
    /bin/bash ./ylwrap sbr/icalendar.l .c sbr/icalendar.c -- :  
    make[1]: *** [Makefile:4673: sbr/icalendar.c] Error 1
    make[1]: Leaving directory '/home/pgf/src/pdom/nmh/nmh.git'
    make: *** [Makefile:1902: all] Error 2

Here's how make runs it for me.

    /bin/sh ./ylwrap sbr/icalendar.l lex.yy.c sbr/icalendar.c -- flex  

So your .c should be lex.yy.c or similar depending what your lex(1)
produces.  The argument are

    Usage: ylwrap [--help|--version] INPUT [OUTPUT DESIRED]... -- \
                  PROGRAM [ARGS]...

    Wrapper for lex/yacc invocations, renaming files as desired.

      INPUT is the input file
      OUTPUT is one file PROG generates
      DESIRED is the file we actually want instead of OUTPUT
      PROGRAM is program to run
      ARGS are passed to PROG

    Any number of OUTPUT,DESIRED pairs may be used.

-- 
Cheers, Ralph.

<Prev in Thread] Current Thread [Next in Thread>