On 5/1/19 6:21 AM, Michael Griffin wrote:
> I've been trying to build CDE on Fedora 29 and just tried on 30
> yesterday.  Both fail.  Something I believe I have discovered is a set
> of issues related to bison (yacc).  What I noticed is that I needed to
> use "alternatives --install /usr/bin/yacc yacc /usr/bin/bison 1000" to
> get rid of the yacc parsing errors.  However, that didn't totally fix
> the issue.  Below is one of the first errors I see:
> 
> ----- code starts here
> rm -f boolpars.o
> gcc -g -pipe -c -O2 -fno-strict-aliasing -Wno-write-strings
> -Wno-unused-result -ansi  -I. -I./raima  -I../..
> -I../../exports/include -I../../imports/motif/include -I/usr/include
> -D__linux__ -D__x86_64__ -D_POSIX_SOURCE -D_DEFAULT_SOURCE
> -D_BSD_SOURCE -D_SVID_SOURCE -D__NO_STRING_INLINES -D__NO_MATH_INLINES
> -DANSICPP -DMULTIBYTE -DNLS16 -DOSMAJORVERSION=5 -DOSMINORVERSION=0
> -DBYTE_SWAP -DFUNCPROTO=15 -DNARROWPROTO  -DI18N_MSG -DMULTIBYTE
> -fPIC boolpars.c
> boolpars.c:89:10: fatal error: boolyac.h: No such file or directory
>    89 | #include "boolyac.h"
>       |          ^~~~~~~~~~~
> compilation terminated.
> make[3]: *** [Makefile:807: boolpars.o] Error 1
> make[3]: Leaving directory '/home/z601793/cdesktopenv-code/cde/lib/DtSearch'
> ----- end of code
> 
> This is just one issue which appears to stem from something in the
> Makefile.  It's like yacc/bison isn't creating the boolyac.h file (I'm
> no coder, but I can read and get the gist).
> 
> I have seen this in both Fedora 29 and 30, so I am perplexed at how to
> overcome this.

bison/yacc *should* be creating this file.  It's a shame that you
changed the 'alternatives' - it's possibly you just 'fixed' one issue by
creating another.  What were the original 'yacc parsing errors'?



-- 
Jon Trulson

  "The Party told you to reject the evidence of your eyes and ears.
   It was their final, most essential command."

   -- 1984


_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to