Hi all,

I'm trying to learn Perl-Fu using Dov Grobgeld's  
"<Toolbox>/Xtns/Perl-Fu/Tutorial/Img Uni" script.  The script seems to be
registered fine and I get an input dialog box.  However, after clicking
"Okay" on the dialog, I get the following error in the body of the

        uni: Undefined subroutine &main::gimp_image_new called at
        /home/twood/.gimp-1.1/plug-ins/uni line 10. (ERROR)

The corresponding line in the script is
    # Create a new image
    $img = gimp_image_new($size, $size, RGB);

If I don't have everything installed correctly, I wouldn't think that it
would register and give the dialog.  So why is the gimp_image_new function
not recognized?  The script uses the Gimp and Gimp::Fu modules.

Thanks for your help,

PS: Here's what I have installed:

gimp -v ==> GIMP version 1.1.17
perl -v ==> This is perl, version 5.005_03 built for i386-linux

dpkg --list | grep "libgtk" ==>
   libgtk-perl    0.7002-1       Perl module for the gtk+ library
   libgtk1.2      1.2.8-1        The GIMP Toolkit set of widgets for X

Reply via email to