Torsten Schoenfeld wrote:
> 
> 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
> 
> _______________________________________________
> gtk-perl-list mailing list
> [email protected]
> http://mail.gnome.org/mailman/listinfo/gtk-perl-list
> 
> 

I had the same error and google sent me here.
I added the ECHO variable in the makefile and voila !
ECHO = echo

Thanks,
jahwork

-- 
View this message in context: 
http://www.nabble.com/GLib-install-problem-on-Linux-tp16284716p17646720.html
Sent from the Gtk+ - Perl mailing list archive at Nabble.com.

_______________________________________________
gtk-perl-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-perl-list

Reply via email to