[antlr-interest] Problem compiling antlr 2.7.2

Pierre pierre42d at 9online.fr
Mon Jan 5 21:11:52 PST 2004


Ric Klaren wrote:
> 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.

I did  ./configure --enable-examples --enable-gcj
and I have GNU Make 3.80


Regards,

-- 
Pierre.



 

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