|
From: Lloyd W. <L....@su...> - 2006-04-28 19:16:53
|
At Friday 2006-04-28 11:36 -0700, Chris Elliott wrote: >Hi, > >Thanks Lloyd for the quick reply! I've tried out your recommended >and its still giving me problems. The output below is the result of >changing the sense of !define(__CYGWIN__) to define(__CYGWIN__), Hmmm, that looks like the same output that you'd get with the other sense. (Did you do 'make clean' beforehand?) >I also tried installing geomview 1.8.1 but that gives me problem >when running the ./configure .. command line. Kick me out with the >following message: okay, the lex/flex one is solvable; I see I have flex installed under Cygwin on this machine (though I haven't used it to install Geomview). It must be another prerequisite. Odd that your "1.8.2-alpha" tarball doesn't complain about the same thing - but the configure script is autogenerated by the reconf script in the top-level directory (run by a developer before packaging), so it depends very much on the autoconf install on the machine that produces the configure script. The config files are different in their use of flex. I can't say I like the way the 1.8.1 configure below discovers you don't have flex OR lex, then defaults to deciding that you must therefore have lex, but it's likely an old autoconf bug... Simple 1.8.1 fix: Quit cygwin, run the Cygwin installer and install flex (it's under the Devel tab). That should get you further in compiling 1.8.1. (Installing all the Devel tools so you can attempt to run reconf and recreate the configure files from scratch is a last resort. I've never run autoconf successfully myself.) hope this helps, L. >checking whether c++ accepts -g... yes >checking how to run the C preprocessor... gcc -E >checking for flex... no >checking for lex... no >./configure: line 1435: flex: command not found >checking for flex... lex >checking for yywrap in -ll... no >checking lex output file root... ./configure: line 1523: lex: >command not found >configure: error: cannot find output from lex; giving up > >So even trying that route has led me to problems, so its all a >little frustrating! There must be someone who has setup geomview on >cygwin recently? If so please let me know what the fix is! > >Cheers, >Chris Elliott <http://www.ee.surrey.ac.uk/Personal/L.Wood><L....@su...> |