Re: Problem in VIS- compiling.

From: Fabio Somenzi (Fabio@colorado.edu)
Date: Mon Feb 12 2001 - 22:46:26 MST

  • Next message: Dinesh Bhati: "(no subject)"

    VIs's configuration script checks for acceptance of the -P and -o
    options by the lex program. If either is not accepted, it gives a
    warning, that appears on the screen, and is written to config.log.

    If you look at config.log, you'll probably find that warning. The
    remedial action is to install GNU flex. Since you are it, check also
    messages concerning bison/yacc. If your version of yacc does not
    accept the required options, install GNU bison. (The configuration
    script makes an attempt to use replacement programs (e.g., lex and
    yacc) if flex and bison are not found, but not all versions of lex and
    yacc will do.)

    It is possible that you have an old version of either program. As
    noted in the README file, you need the following to build Vis:

       * An ANSI C compiler (gcc will do, as will several versions of cc)
       * GNU Flex version 2.5 or greater
       * GNU Bison version 1.22 or greater
       * GNU's make utility
       * GNU's gzip utility
       * Approximately 45 MB of free disk space for the build of both
         vis and glu
       * Approximately 35 MB of free disk space for the installation

    Fabio

    >>>>> "MNSS" == M N S Shahjahan <shaj@RealChip.com> writes:

     MNSS> Yes, i am doing it but now i got a different error message.
     MNSS> Here it is.

     MNSS> make: *** Warning: File `Makefile' has modification time in the future
     MNSS> (2001-02-12 19:41:26.18789 > 2001-02-12 19:38:09.214202653)
     MNSS> rm -f obj/vmVers.o
     MNSS> umask 2 ; gcc -c -g -O3 -DNDEBUG=1 -DSTDC_HEADERS=1 -DHAVE_DIRENT_H=1
     MNSS> -DHAVE_SYS_TERMIOS_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1
     MNSS> -DHAVE_SIGNAL_H=1 -DHAVE_SYS_SIGNAL_H=1 -DIOCTL_WITH_TERMIOS=1
     MNSS> -DHAVE_IOCTL_WITH_TIOCGETC=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void
     MNSS> -DRETSIGTYPE=void -DHAVE_GETTIMEOFDAY=1 -DHAVE_STRCHR=1 -DHAVE_STRSTR=1
     MNSS> -DHAVE_SETVBUF=1 -DHAVE_GETENV=1 -DHAVE_UNLINK=1 -DCUR_DATE="\"Mon Feb 12
     MNSS> 19:38:08 PST 2001\"" -DCUR_VER="\"vis release 1.3\"" -DNAWK=\"nawk\"
     MNSS> -DLIBRARY=\"/usr/local/share/vis\" -I../glu-1.3/include -I../../glu-1.3/include
     MNSS> -I./src/abs -I./src/amc -I./src/cmd -I./src/ctlp -I./src/eqv -I./src/fsm
     MNSS> -I./src/hrc -I./src/img -I./src/io -I./src/mark -I./src/mc -I./src/mvf
     MNSS> -I./src/ntk -I./src/ntm -I./src/ord -I./src/part -I./src/rst -I./src/res
     MNSS> -I./src/restr -I./src/sim -I./src/synth -I./src/tbl -I./src/tst -I./src/var
     MNSS> -I./src/vm -Iobj -o obj/vmVers.o ./src/vm/vmVers.c
     MNSS> lex -PCtlpYy -oobj/ctlpLex.c ./src/ctlp/ctlp.l
     MNSS> lex: illegal option -- P
     MNSS> Usage: lex [-ewctvnVY] [-Q(y/n)] [file]
     MNSS> make: *** [ctlpLex.c] Error 1

     MNSS> Thanks
     MNSS> -Shaj



    This archive was generated by hypermail 2b29 : Mon Feb 12 2001 - 22:51:16 MST