Hello,
I'm attempting to set up a GIMP scripts for batch
operations on groups of image files. Initially I started
reading about the Script-Fu syntax but it looked too
convoluted (at least for me, with 15 years of Perl experience
at work) in a way it does the simpliest of things so I
attempted to use Perl instead of Script-Fu. From reading the
docs I see that I need to install "Gimp::Fu" Perl module.
I installed "cpan" first, started it and issued the command:
install "Gimp::Fu"
and got a dependency problem:
Code:
cpan[1]> install "Gimp::Fu"
CPAN: Storable loaded ok (v2.18)
Going to read /root/.cpan/Metadata
Database was generated on Thu, 28 Oct 2010 17:30:45 GMT
Running install for module 'Gimp::Fu'
CPAN: Data::Dumper loaded ok (v2.121_14)
'YAML' not installed, falling back to Data::Dumper and Storable to read prefs '/root/.cpan/prefs'
Running make for M/ML/MLEHMANN/Gimp-1.211.tar.gz
CPAN: checksum security checks disabled because Digest::SHA not installed.
Please consider installing the Digest::SHA module.
CPAN: Time::HiRes loaded ok (v1.9719)
Scanning cache /root/.cpan/build for sizes
............................................................................DONE
CPAN: Compress::Zlib loaded ok (v2.008)
Gimp-1.211/
Gimp-1.211/t/
Gimp-1.211/t/run.t
Gimp-1.211/t/loadlib.t
Gimp-1.211/t/load.t
Gimp-1.211/UI/
Gimp-1.211/UI/UI.pm
Gimp-1.211/UI/UI.xs
Gimp-1.211/UI/Makefile.PL
Gimp-1.211/UI/basewidget.pm
Gimp-1.211/Net/
Gimp-1.211/Net/Net.pm
Gimp-1.211/Net/Net.xs
Gimp-1.211/Net/Makefile.PL
Gimp-1.211/extradefs.h
Gimp-1.211/Gimp/
Gimp-1.211/Gimp/Util.pm
Gimp-1.211/Gimp/Fu.pm
Gimp-1.211/Gimp/Lib.pm
Gimp-1.211/Gimp/Lib.xs
Gimp-1.211/Gimp/OO.pod
Gimp-1.211/Gimp/PDL.pm
Gimp-1.211/Gimp/Pixel.pod
Gimp-1.211/Gimp/Pod.pm
Gimp-1.211/Gimp/Module.pm
Gimp-1.211/Gimp/Data.pm
Gimp-1.211/Gimp/Makefile.PL
Gimp-1.211/Gimp/Feature.pm
Gimp-1.211/Gimp/Compat.pm
Gimp-1.211/Gimp/Config.pm.in
Gimp-1.211/NEWS
Gimp-1.211/TODO
Gimp-1.211/configure.frag
Gimp-1.211/aclocal.m4
Gimp-1.211/embed/
Gimp-1.211/embed/perlmod.c
Gimp-1.211/embed/Makefile.PL
Gimp-1.211/pxgettext
Gimp-1.211/COPYING.GNU
Gimp-1.211/Module/
Gimp-1.211/Module/Module.xs
Gimp-1.211/Module/Makefile.PL
Gimp-1.211/README
Gimp-1.211/scm2scm
Gimp-1.211/embedxpm
Gimp-1.211/configure
Gimp-1.211/Perl-Server
Gimp-1.211/Changes
Gimp-1.211/xcftopnm
Gimp-1.211/scm2perl
Gimp-1.211/configure.in
Gimp-1.211/config.pl.in
Gimp-1.211/COPYING.Artistic
Gimp-1.211/Makefile.PL
Gimp-1.211/gimpdoc
Gimp-1.211/config.h.in
Gimp-1.211/gppport.h
Gimp-1.211/typemap
Gimp-1.211/AUTHORS
Gimp-1.211/typemap.pdl
Gimp-1.211/logo.xpm
Gimp-1.211/examples/
Gimp-1.211/examples/PDB
Gimp-1.211/examples/avi
Gimp-1.211/examples/clear_alpha
Gimp-1.211/examples/dataurl
Gimp-1.211/examples/dust
Gimp-1.211/examples/fire
Gimp-1.211/examples/miff
Gimp-1.211/examples/Create_Images
Gimp-1.211/examples/guide_remove
Gimp-1.211/examples/colorhtml
Gimp-1.211/examples/guides_to_selection
Gimp-1.211/examples/glowing_steel
Gimp-1.211/examples/randomart1
Gimp-1.211/examples/terral_text
Gimp-1.211/examples/font_table
Gimp-1.211/examples/translogo
Gimp-1.211/examples/triangle
Gimp-1.211/examples/image_list
Gimp-1.211/examples/image_tile
Gimp-1.211/examples/map_to_gradient
Gimp-1.211/examples/ditherize
Gimp-1.211/examples/burst
Gimp-1.211/examples/gouge
Gimp-1.211/examples/yinyang
Gimp-1.211/examples/README
Gimp-1.211/examples/centerguide
Gimp-1.211/examples/randomblends
Gimp-1.211/examples/mirrorsplit
Gimp-1.211/examples/parasite-editor
Gimp-1.211/examples/roundrectsel
Gimp-1.211/examples/blowinout
Gimp-1.211/examples/fade-alpha
Gimp-1.211/examples/innerbevel
Gimp-1.211/examples/example-net
Gimp-1.211/examples/blended2
Gimp-1.211/examples/layerfuncs
Gimp-1.211/examples/fit-text
Gimp-1.211/examples/perlotine
Gimp-1.211/examples/guidegrid
Gimp-1.211/examples/gap-vcr
Gimp-1.211/examples/border
Gimp-1.211/examples/bricks
Gimp-1.211/examples/gimp-make-img-map
Gimp-1.211/examples/example-fu
Gimp-1.211/examples/example-oo
Gimp-1.211/examples/logulator
Gimp-1.211/examples/pixelmap
Gimp-1.211/examples/perlcc
Gimp-1.211/examples/colourtoalpha
Gimp-1.211/examples/xachshadow
Gimp-1.211/examples/povray
Gimp-1.211/examples/roundsel
Gimp-1.211/examples/animate_cells
Gimp-1.211/examples/repdup
Gimp-1.211/examples/prep4gif
Gimp-1.211/examples/xachvision
Gimp-1.211/examples/stamps
Gimp-1.211/examples/feedback
Gimp-1.211/examples/warp-sharp
Gimp-1.211/examples/frame_filter
Gimp-1.211/examples/stampify
Gimp-1.211/examples/view3d
Gimp-1.211/examples/visual
Gimp-1.211/examples/webify
Gimp-1.211/examples/sethspin
Gimp-1.211/examples/scratches
Gimp-1.211/examples/billboard
Gimp-1.211/examples/frame_reshuffle
Gimp-1.211/examples/windify
Gimp-1.211/examples/goldenmean
Gimp-1.211/examples/gimpmagick
Gimp-1.211/examples/homepage-logo
Gimp-1.211/examples/xachlego
Gimp-1.211/examples/tex-to-float
Gimp-1.211/examples/alpha2color
Gimp-1.211/perl-intl.h
Gimp-1.211/Gimp.pm
Gimp-1.211/Gimp.xs
Gimp-1.211/acconfig.h
Gimp-1.211/COPYING
Gimp-1.211/MANIFEST
CPAN: File::Temp loaded ok (v0.21)
Warning (usually harmless): 'YAML' not installed, will not store persistent state
CPAN.pm: Going to build M/ML/MLEHMANN/Gimp-1.211.tar.gz
creating cache ./config.cache
checking for gimp... /usr/local/bin/gimp
checking for gimptool... /usr/local/bin/gimptool
checking for GIMP - version >= 1.0.4... Package gimpui-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gimpui-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gimpui-2.0' found
No output from 'pkg-config --cflags gimpui-2.0'
Package gimpui-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gimpui-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gimpui-2.0' found
No output from 'pkg-config --libs gimpui-2.0'
Package gimp-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gimp-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gimp-2.0' found
No output from 'pkg-config --cflags gimp-2.0'
Package gimp-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gimp-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gimp-2.0' found
No output from 'pkg-config --libs gimp-2.0'
No output from 'pkg-config --variable=prefix gimp-2.0'
No output from 'pkg-config --variable=prefix gimp-2.0'
no
*** Could not run GIMP test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GIMP was incorrectly installed
*** or that you have moved GIMP since it was installed. In the latter case, you
*** may want to edit the gimptool script: /usr/local/bin/gimptool
configure: warning: ** unable to find gimp
checking for glib-config... no
checking for GLIB - version >= 1.2.0... no
*** The glib-config script installed by GLIB could not be found
*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GLIB_CONFIG environment variable to the
*** full path to glib-config.
configure: error: ** unable to find glib
Warning: No success on command[/usr/bin/perl Makefile.PL]
Warning (usually harmless): 'YAML' not installed, will not store persistent state
MLEHMANN/Gimp-1.211.tar.gz
/usr/bin/perl Makefile.PL -- NOT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
Failed during this command:
MLEHMANN/Gimp-1.211.tar.gz : writemakefile NO '/usr/bin/perl Makefile.PL' returned status 256
cpan[2]> install "Gimp"
Running install for module 'Gimp'
Running make for M/ML/MLEHMANN/Gimp-1.211.tar.gz
Has already been unwrapped into directory /root/.cpan/build/Gimp-1.211-8PaSkN
'/usr/bin/perl Makefile.PL' returned status 256, won't make
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
I thought I could install the missing package separately
but it wasn't known:
Code:
cpan[6]> install gimpui
Warning: Cannot install gimpui, don't know what it is.
Try the command
i /gimpui/
to find objects with matching identifiers.
What am I missing?
Thanks in advance for any help,
kaza.