Re: [gtk-list] build problem - Irix 6.3



Os wrote:
> 
> Hi.
> 
> I'm trying to build gtk-1.2.3 under Irix 6.3, and am getting an error:
> 
> Making all in gtk
>         cd . \
>         && perl makeenums.pl arrays gtk.h
> gtkaccelgroup.h  (etc.)
>         s-gtbe \
>         && (cmp -s s-gtbe gtktypebuiltins_evals.c || cp s-gtbe
> gtktypebuiltins_evals.c)
> Syntax error in file makeenums.pl at line 5, next 2 tokens "my $flags"
> Syntax error in file makeenums.pl at line 13, next 2 tokens "my $opts "
> Syntax error in file makeenums.pl at line 16, next 2 tokens "*,"
> Search pattern not terminated in file makeenums.pl at line 16, next char
> ^?
> /\s*(\w+)(?:=(\S+))?/: ?+* follows nothing in regexp at makeenums.pl
> line 17.
> *** Error code 255 (bu21)
> *** Error code 1 (bu21)
> *** Error code 1 (bu21)

What version of Perl have you got? Do 'perl -v'.
GTK+ shouldn't run makeenums.pl unless you have Perl 5.

It may be a problem with Irix make and the GTK+ Makefile.am
(e.g. REBUILD is set to '#' to comment out some dependencies, but
Irix make ignores it. Search for makeenums.pl in gtk/Makefile
and see if '#' appears in the dependencies lines above it.)

Quick fix - install GNU make, or perl 5.

Damon



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