From: SourceForge.net <no...@so...> - 2004-01-27 18:36:53
|
Bugs item #884089, was opened at 2004-01-25 12:37 Message generated for change (Settings changed) made by broeker You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104664&aid=884089&group_id=4664 Category: None Group: None >Status: Closed >Resolution: Invalid Priority: 5 Submitted By: Nobody/Anonymous (nobody) >Assigned to: Hans-Bernhard Broeker (broeker) >Summary: cscope 15.5 build errors during Initial Comment: -------- Original Message -------- Subject: cscope 15.5 Date: Sun, 25 Jan 2004 06:25:51 -0500 From: Fred Ma <fm...@do...> Newsgroups: comp.unix.solaris,comp.unix.programmer Hello, I just downloaded cscope-15.5 from http://sourceforge.net/project/showfiles.php?group_id=4664 and tried to build it on solaris 8 as nonadministrator (I'm not administrator). So I supply ./configure with --prefix=MyOwnDirectory. There are no errors or warnings in the configure output, but the subsequent make step has fatal errors with the following message: make all-recursive make[1]: Entering directory `/tmp/fma/cscope-15.5' Making all in doc make[2]: Entering directory `/tmp/fma/cscope-15.5/doc' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/tmp/fma/cscope-15.5/doc' Making all in src make[2]: Entering directory `/tmp/fma/cscope-15.5/src' /bin/bash ../ylwrap `test -f 'fscanner.l' || echo './'`fscanner.l .c fscanner.c -- : make[2]: *** [fscanner.c] Error 1 make[2]: Leaving directory `/tmp/fma/cscope-15.5/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/fma/cscope-15.5' make: *** [all] Error 2 I looked at the Makefile in src/ and it is much more complicated than the ones I write. The INSTALL file says that solaris's native lex "fails to catch our redefinition of YYLMAX early enough, which leads to possible buffer overflows". No suggested actions. Do I need to install flex? There is a platform-independent suggestion to use flex rather than lex. Neither seem to be on my system. I also took a look at the ylwrap script mentioned in the errors. Nothing obvious about what may be the cause. There is mention of yacc, but that isn't recognized on our system. The INSTALL file syas that on Linux, "configure may fail if lex is a synomyn for flex". For me, configure didn't fail, and neither lex nor flex is recognized. But I tried the described fix anyway: make distclean ./configure --with-flex make This doesn't prevent the fatal errors above. What is the next best thing to try or read up about? Thanks. Fred P.S. A web address is given to report build problems, but I'm not sure that it is a bug. The reporting site http://sourceforge.net/bugs/?func=addbug&group_id=4664 suggests that it is for bugs. -- Fred Ma Dept. of Electronics, Carleton University 1125 Colonel By Drive, Ottawa, Ontario Canada, K1S 5B6 ---------------------------------------------------------------------- >Comment By: Hans-Bernhard Broeker (broeker) Date: 2004-01-27 19:36 Message: Logged In: YES user_id=27517 Answered in the newsgroup, so I'll close this. Resolution: neither lex nor flex were present on the OP's Solaris box. That obviously cannot work. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104664&aid=884089&group_id=4664 |