OraPerlDevl has asked for the wisdom of the Perl Monks concerning the following question:

Perl v5.6.1 built for sun4-solaris

Solaris 8

DBD-Oracle-1.14, DBD-Oracle-1.14 --all working fine

Tk800.023 & .024 give the following:

perl Makefile.PL -- works fine

make -- error(s)

#1: In file included from Xlib_f.c:10: Xlib.t:96: warning: initialization from incompatible pointer type

#2: cp demos/widget_lib/mkListbox3.pl ../blib/lib/Tk/demos/widget_lib/mkListbox3.pl

cp widget ../blib/script/widget /usr/local/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" ../blib/script/widget

Unrecognized switch: --center (-h will show valid options). make1: *** manifypods Error 255 make1: Leaving directory `/export/software/source/perlbuild/Tk800.023/demos' make: *** subdirs Error 2 /opnsrc/local/bin/make -- NOT OK

  • Comment on PerlTk - make gen's error (Unrecognized switch: --center...)

Replies are listed 'Best First'.
Re: PerlTk - make gen's error (Unrecognized switch: --center...)
by OraPerlDevl (Initiate) on Oct 02, 2003 at 21:51 UTC
    Followup .. I am using (isainfo -v) 64-bit sparcv9 applications & 32-bit sparc applications.

    --Mike

      Mike;
      Had the same problem on virtually the same platform. I found this link, which helped me:

      http://news.gw.com/netbsd.bugs/25907

      In short, edit /Tk800.024/Tk/MMutil.pm for two things:
      1) around about line 333, make the if statement read like this:
      if ($] >= 5.008001)

      2) search for the string "--center" (should be around line 335). Take one of the dashes out.

      I did both of these things and make ran cleanly. However, "make test" is now freezing during a test after:

      make1: Leaving directory `/build/Tk800.024/Bitmap'

      Ideas? :)

      ---Chaos, fear and disorder. My work here is done.