LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-29-2010, 05:04 AM   #1
kaza
Member
 
Registered: Apr 2010
Distribution: FC17
Posts: 343

Rep: Reputation: 2
Attempting installing Perl module Gimp::Fu - dependecies problem


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.
 
Old 10-29-2010, 05:52 AM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
It appears that "gimpui" is not a Perl thing (i.e. it doesn't come from cpan) but it's a separate package you need on your machine, through your package manager.

You appear to be using Fedora, which I do not, so you're on your own (or wait for a Fedora user to offer assistance) as far as using the package manager. I am not familiar with it.

As a starting point, here's a whack of RPM's for this "gimpui" package:
http://rpm.pbone.net/index.php3/stat...8gimpui-2.0%29
I have not investigated exactly what it is. A Gimp accessory/supporting package I suppose. There are Fedora 13 packages on that page near the bottom.

Perhaps after installing this (and assuming you already have Gimp installed), then Gimp::Fu will compile & install.
 
Old 10-29-2010, 05:54 AM   #3
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Oh, and probably wise to heed this advice:
Quote:
CPAN: checksum security checks disabled because Digest::SHA not installed.
Please consider installing the Digest::SHA module.
 
Old 10-30-2010, 01:48 AM   #4
kaza
Member
 
Registered: Apr 2010
Distribution: FC17
Posts: 343

Original Poster
Rep: Reputation: 2
Thanks!

I attempted "yum install gimpui" but the package wasn't
known (I'm still running FC11, I know it's old, I'll
have to find time to switch to FC13).
Meanwhile I managed to write the batch script
in "ScriptFu" so at least I have something
to get the task done.

kaza.


Quote:
Originally Posted by GrapefruiTgirl View Post
It appears that "gimpui" is not a Perl thing (i.e. it doesn't come from cpan) but it's a separate package you need on your machine, through your package manager.

You appear to be using Fedora, which I do not, so you're on your own (or wait for a Fedora user to offer assistance) as far as using the package manager. I am not familiar with it.

As a starting point, here's a whack of RPM's for this "gimpui" package:
http://rpm.pbone.net/index.php3/stat...8gimpui-2.0%29
I have not investigated exactly what it is. A Gimp accessory/supporting package I suppose. There are Fedora 13 packages on that page near the bottom.

Perhaps after installing this (and assuming you already have Gimp installed), then Gimp::Fu will compile & install.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
JPEG problem after installing GD module for perl jdgamble Linux - Software 0 06-25-2007 06:01 PM
Installing perl module problem satimis Programming 1 03-28-2006 03:37 PM
problem with installing Perl Tk module on SuSe 9.0 darth314 Linux - Software 1 11-10-2004 08:31 AM
Problem Installing GD 2.16 Perl Module with Slackware 10 kaplan71 Slackware 3 09-01-2004 12:42 PM
gimp (1.3.21) and gimp-perl - need help installing gimp-perl keex Slackware 0 10-22-2003 03:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration