Re: GLib install problem on Linux



On Tue, 2008-03-25 at 10:05 -0400, PR Kumar wrote:

/bin/sh: line 1: [: XS: unary operator expected

That sounds like it comes from one of these Makefile rules:

.xs.c:
        $(NOECHO) $(ECHO) [ XS $< ] && $(XSUBPPRUN) $(XSPROTOARG) $(XSUBPPARGS) $(XSUBPP_EXTRA_ARGS) $*.xs > 
$*.xsc && $(MV) $*.xsc $*.c

# --- MakeMaker xs_o section:

.xs$(OBJ_EXT):
        $(NOECHO) $(ECHO) [ XS $< ] && $(XSUBPPRUN) $(XSPROTOARG) $(XSUBPPARGS) $*.xs > $*.xsc && $(MV) 
$*.xsc $*.c
        $(NOECHO) $(ECHO) [ CC $< ] && $(CCCMD) $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $*.c

So... do you have 'echo' installed?  What's the ECHO Makefile variable
set to for you?  (Search for 'ECHO = ' in the generated Makefile.)  If
you have 'echo' installed, what version is it?

-- 
Bye,
-Torsten




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]