
doughera at lafayette
Feb 2, 2008, 8:31 AM
Post #3 of 6
(1204 views)
Permalink
|
|
Re: make: *** No rule to make target `<command-line>', needed by `miniperlmain.o'.
[In reply to]
|
|
On Sat, 2 Feb 2008, (Andreas J. Koenig) wrote: > >>>>> On Sat, 2 Feb 2008 14:59:30 +0100, "Philippe Bruhat (BooK)" <philippe.bruhat[at]free.fr> said: > > > Hi, > > I just tried to compile Perl 5.8.8 on my Linux Debian, with > > > ./Configure -des -Dprefix=/opt/my && make > > > And got this: > > > make: *** No rule to make target `<command-line>', needed by `miniperlmain.o'. Stop. > I'm surprised. I know a similar problem with old perls and new > compilers and I solve it with > > perl -i~ -nle 'print unless /<(built-in|command line)>/' makefile x2p/makefile > > Note, that I have no dash between 'command' and 'line'. > > I suppose you hit a variant of the same problem. It's simply something > unexpected being output by some tool and then being written to the > Makefile. It's output of gcc during the 'make depend' process. We try to filter out those non-files, but the output of gcc has changed somewhat over the years, and the filtering isn't perfect. In any case, just edit 'makefile' (note -- that's 'makefile', not 'Makefile') and remove any lines with 'command-line' in them. Hope this helps, -- Andy Dougherty doughera[at]lafayette.edu
|