HI Yves,


I ran through the following problem when compiling virtuoso on centos:

make[2]: Entering directory `/home/raimoy01/virtuoso-opensource/ libsrc/Wi'
* Generating json_p.c using bison (GNU Bison) 2.3
* Generating json_l.c using flex version 2.5.4
flex: can't open json_l.c

** ERROR **: Code generation failed while running the following command:

 flex -Pjsonyy ./json.l


I am using flex version 2.5.4.

Any idea what might be going on? I tried to manually run flex
-ojson_l.c json.l (and so on for every flex call), but the compilation
ultimately ends up failing.

Please check the README and README.CVS files in the VOS tree which contains the tools and minimum/recommended versions needed to build virtuoso:

    Package  Version                         From
    -------  -------                         ----
    autoconf 2.57               http://www.gnu.org/software/autoconf/
    automake 1.7                http://www.gnu.org/software/automake/
    libtool  1.5.16             http://www.gnu.org/software/libtool/
    flex     2.5.33 (was 2.5.4) http://flex.sourceforge.net/
    bison    2.3 (was 1.35)     http://www.gnu.org/software/bison/
    gperf    2.7.2              http://www.gnu.org/software/gperf/
    gawk     3.1.1              http://www.gnu.org/software/gawk/
    m4       1.4.1              http://www.gnu.org/software/m4/
    make     3.79.1             http://www.gnu.org/software/make/
    OpenSSL  0.9.7i             http://www.openssl.org/

You have the right version of Bison (2.3) but you have an old version of flex.

Patrick

Reply via email to