[antlr-interest] Problem compiling antlr 2.7.2

Ric Klaren klaren at cs.utwente.nl
Mon Jan 5 04:47:56 PST 2004


Hi,

On Thu, Dec 25, 2003 at 02:19:43AM +0100, Pierre wrote:
> But with the last snapshot (antlr-20031211) I got an other problem :
>
> gmake[1]: Entering directory `/tmp/antlr-20031211/antlr'
> Makefile:58: warning: overriding commands for target `dep'
> /tmp/antlr-20031211/scripts/Rules.make:268: warning: ignoring old
> commands for target `dep'
> Makefile:58: warning: overriding commands for target `fastdep'
> /tmp/antlr-20031211/scripts/Rules.make:268: warning: ignoring old
> commands for target `fastdep'
> Makefile:68: warning: overriding commands for target `../antlr.bin'
> /tmp/antlr-20031211/scripts/Rules.make:222: warning: ignoring old
> commands for target `../antlr.bin'
> Makefile:77: warning: overriding commands for target `install'
> /tmp/antlr-20031211/scripts/Rules.make:359: warning: ignoring old
> commands for target `install'
> /tmp/antlr-20031211/antlr.bin   antlr.g
> gmake[1]: /tmp/antlr-20031211/antlr.bin: Command not found
> gmake[1]: *** [.antlr.g] Error 127
> gmake[1]: Leaving directory `/tmp/antlr-20031211/antlr'
> gmake: *** [subdirs] Error 2

Did you use --enable-gcj for configure ? If not it looks like make has
gotten very confused. The gcj build is a bit experimental it behaves badly
on several platforms (although this is the first problem with the makefile
I've seen if that's the case). Try building without gcj for starters.

Could it be that there's some issue with unix/dos newlines in the Makefile,
Config.make, Rules.make (or their .in versions) ?

You are running a somewhat recent GNU make ? (personally I use 3.79.1)

Configure parameters and output could be helpfull.

Cheers,

Ric
--
-----+++++*****************************************************+++++++++-------
    ---- Ric Klaren ----- j.klaren at utwente.nl ----- +31 53 4893722  ----
-----+++++*****************************************************+++++++++-------
  Before they invented drawing boards, what did they go back to?

 

Yahoo! Groups Links

To visit your group on the web, go to:
 http://groups.yahoo.com/group/antlr-interest/

To unsubscribe from this group, send an email to:
 antlr-interest-unsubscribe at yahoogroups.com

Your use of Yahoo! Groups is subject to:
 http://docs.yahoo.com/info/terms/ 




More information about the antlr-interest mailing list