Software :: Attempting To Installing Perl Module Gimp::Fu?
Oct 29, 2010
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
If you had Gimp 2.6 (with gimp-plugin-registry installed) and installed Gimp 2.7 to try its new goodies, but Layer Effects are not showing, and when executing "gimp" from console you get these *nasty* errors:
Code: This is a development version of GIMP. Debug messages may appear here. gimp-user-install: migrating from /home/user/.gimp-2.6 Traceback (most recent call last): File "/usr/lib/gimp/2.0/plug-ins/layerfx.py", line 23, in <module> import gimp, gimpplugin, math ImportError: No module named gimp .....
If you haven't install the 2.7 version yet. Before upgrading, backup "python" directory and then just restore it after installing 2.7.
I want to connect to MySQL Database installed on RHEL 5 using perl v 5.8.8.The available DBD perl drivers installed on my machine are:DBM, ExampleP, File, Pg, Proxy, Sponge..I downloaded DBD-mysql-2.1012 and tried installing DBD again but got the following error:Can't exec "mysql_config": No such file or directory at Makefile.PL line 167.readline() on closed filehandle PIPE at Makefile.PL line 169.On searching I found that I need to install libz-devel prior to installing driver for MySQL for Perl.
Some of you may have had with issues after installing GIMP on Lucid Lynx 10.04. Which may be directly related to "gimp-help-en", which could prevent you from installing other applications and preforming system tasks. If so, use this method to fix it.
Process: (Terminal > $ sudo apt-get install gimp)
1. After installing Gimp go to the terminal:
2. Then load up the language support application:
3. Then it will ask you to install the "gimp-help-en", confirm it.
4. Fix'd
I think this issue is directly linked to a systems with multiple languages, but I haven't been able to test this theory out yet.
I recently reinstalled the B module for perl. Now I found out it didn't just do that, it installed a whole new copy of perl into /usr/local/bin/perl. When I type 'which perl' at the terminal, it says '/usr/local/bin/perl' instead of '/usr/bin/perl'. Normally, this wouldn't bother me. But I installed the one in local/bin without threading support. The one that comes with the system already is build with threading support, which is why I want to switch back to the system perl, and possibly remove the one in /usr/local/bin.
So how do I change it so that the result of 'which perl' returns as '/usr/bin/perl'? And what do I have to do to remove /usr/local/bin/perl?
The reason I need threading support is because I'm designing a file copier that copies several chunks of a file simultaneously to speed up the copying process. Guaranteed a useful script if it works.
I need to install the Perl DBI and DBI::mysql modules at Amazon Web Services. Perl 5.8.8 is installed there as part of the default Fedora linux that comes with an EC2 instance. I am not familiar with Fedora, but have been using Linux for a good while.If anyone could tell/show/direct me to the quickest way to do this.
I'm trying to write a script in Perl to download a file that requires NTLM authentication to access, stored on a machine on this network.The file exists, and can be accessed through a web-browser, btw.
I am trying to make use of the perl module WWW::Nike::NikePlus to retrieve the data from my ipod but apparently I have no idea what I am doing. I installed the package just as the readme said including all the dependencies. I cant really figure out how to run it, i searched for how to use it and found this : Example use that retrieves and prints your last run information
use WWW::Nike::NikePlus; my $username = 'my@email.address'; my $password = 'MySecretPassword'; my $locale = "en_us"; my $pin = nike_authenticate( $username, $password, $locale ); unless( $pin ) { print "Authentication failed "; } .....
#Details of the last run my ($unit, $last_run_dist, $last_run_duration_millisecs, $last_run_duration_friendly, $last_run_pace_friendly) = nike_last_run(); print "Last run: $last_run_dist$unit in $last_run_duration_friendly "; print "Last run pace: $last_run_pace_friendly per $unit ";
So I put it in a txt file and saved it with the extension .pl and of course I put in all my info in the username password fields then made it executable with the command sudo chmod +x nikeplus.pl and when I try to run it with either ./ or perl I get this output:
brandon@desktop:~/Apps/nikeplus$ ./nikeplus.pl ./nikeplus.pl: line 1: use: command not found ./nikeplus.pl: line 2: my: command not found ./nikeplus.pl: line 3: my: command not found ./nikeplus.pl: line 4: my: command not found ./nikeplus.pl: line 6: syntax error near unexpected token `(' ./nikeplus.pl: line 6: ` my $pin = nike_authenticate( $username, $password, $locale );' brandon@desktop:~/Apps/nikeplus$ perl nikeplus.pl Use of uninitialized value $ENV{"TEMP"} in concatenation (.) or string at /usr/local/share/perl/5.10.0/WWW/Nike/NikePlus.pm line 10. Use of uninitialized value $last_run_duration_millisecs in division (/) at /usr/local/share/perl/5.10.0/WWW/Nike/NikePlus.pm line 106. Use of uninitialized value $last_run_dist in division (/) at /usr/local/share/perl/5.10.0/WWW/Nike/NikePlus.pm line 107. Use of uninitialized value $last_run_duration_millisecs in division (/) at /usr/local/share/perl/5.10.0/WWW/Nike/NikePlus.pm line 107. Illegal division by zero at /usr/local/share/perl/5.10.0/WWW/Nike/NikePlus.pm line 107. brandon@desktop:~/Apps/nikeplus$
I have Apache/2.2.14 (Ubuntu) DAV/2 SVN/1.6.6 mod_fcgid/2.3.4 Phusion_Passenger/2.2.14 PHP/5.2.10-2ubuntu6 with Suhosin-Patch configured In UBUNTU 10.04 I like to install apache2 mod_perl I make apt-get install libapache2-mod-perl2 and I get: Quote: libapache2-mod-perl2 is already the newest version.
Ok I try sudo a2enmod mod_perl ERROR: Module perl does not exist! how I make Perl work in apache2 UBuntu 10.04
I need to get some information like cpu usage,free memory,swap memory and other information from a bunch of remote hosts.Can any one tell me of a good perl module which does that.I dont want to use Net::Rsh or Net:SSH.
I need to install different version of Perl with needed modules to Test Run a perl script (ASSP) without affecting the existing one as the old version of Perl is buggy with seg fault.
I have installed perl5.12.3 in a custom location, ( a NFS share). I have all the libraries created in the same location. This was an attempt not to disturb existing version of perl. I have succeeded doing this.Now, I need to install around 200 perl modules. I tried Bundle option in CPAN shell, it somehow did not work. Does anyone here know off any other better method of installing multiple perl modules. How do I use CPANPLUS to install all the modules. What changes do I make to Config.pm considering custom location of perl installation I have done.
I'm running lucid, and I want GIMP, because it's what I used when I was packing Windows but, I'm not sure what I need as far as the .debs go, or the order to do it in, as I'm sure there's things that have to be installed before others, and I have no internet at my home, which is why I'm doing things the hard way.
I decided not to use Photoshop in wine on my computer but to only use GIMP because I heard there is so many free plugins on the internet that makes it function almost exactly as Photoshop.I install plugins but then GIMP wont open at all.I did a complete fresh install of 10.04 because I was having this GIMP problem after installing gimpshop and installing Photoshop 7, I figured it was the Photoshop that caused the problem
So now with a complete fresh install GIMP still wont work with any plugins installed.is there something i need before I can add any plugins or whats going on?
I've really borked up my Gimp. I'm running 10.04 64-bit and had at some point installed gimp but don't recall how or where I got it from. The strange part is that neither Synaptic or Ubuntu Software Center showed it as being installed.
Anyway, it started misbehaving (locking up) so I figured I'd uninstall and reinstall. That's when I discovered that the system didn't show it as being installed at all. Needless to say, I couldn't uninstall it so I decided to just reinstall over the top through Ubuntu Software Center. The installation seemed to complete normally but when I tried running it I got an error stating that there was a version mismatch for libgimp and suggesting that maybe I had gimp installed in both /usr and /usr/local. Not knowing what else to do, I uninstalled via Ubuntu Software Center and then removed all gimp related files from both /usr and /usr/local. Lastly, I reinstalled again via the Software Center.
Now when I try to launch gimp I get a box in the panel's Window List titled "Starting Gimp Image Editor" but shortly thereafter it disappears and I'm back to the desktop. I've even tried it all over again but utilizing Synaptic for the final install (as well as apt-get) with the same result - it tries to load and then... nothing. I must have deleted something essential when rooting around in /usr and /usr/local that is not replaced by reinstalling gimp but I have no idea what or where. So now what do I do? I really need gimp installed on this machine. I do have a full system backup but it's a couple of weeks old and I don't want to lose all of the changes that I've made to the system since then.
I tried to use CPAN to install a module Algorithm::Loops using "install Algorithm::Loops". I get the message from CPAN that this module is already up to date.But, when I try to use it I get the message:
Can't locate Algorithm/Loops.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at ./test.pl line 4. BEGIN failed--compilation aborted at ./test.pl line 4.
And indeed, the file Loops.pm is nowhere to be found.Isn't that a contradiction?
am creating a perl third party package and using in my other program. If i install the package with standard 4 commands ie.,
1)perl Makefile.PL 2)make 3)make test 4)make install
package has not installed properly. If i try to copy the package to the threads generated by perl -V command, then am able to get install the package, but i want to install the package by the standard 4 commands. I am using 36 bits OS , perl version is v5.8.5 and OS am using is "Red Hat Enterprise Linux AS release 4 (Nahant Update 6)".
I have a permission to use several CentOS5 computers that are connected to a server where all shared programs sit. Accordingly, all Perl users for example have an identical path to Perl (e.g. /export/user/bin). The administrator suggested I'll install all the programs I need (specifically Perl and Mysql) in my personal space, and then add them to the path before the already installed ones. Accordingly, I could add/change modules without "sudo" privileges, and without changing the global setting.
CentOS and RHEL even though I've been using various Debian/Ubuntu Distros for quite some time. However, I always used to install perl modules via apt-get or, if that did not work, via cpan.In CentOS, I tried installing a couple of perl modules via yum but there are only a very few available. When trying to install perl modules via cpan, the install process usually fails during the make process.I'd prefer to install those modules via the distribution's package manger yum as it's easier to resolve dependencies. Are there any repositories I should add to have more perl packages available? (Where to add further repositories, I just know /etc/apt/sources.list in debian based distros)The other option still would be to install perl modules via cpan. For instance, when trying to cpan install Geo::IP, the output is as follows:
CPAN: Storable loaded ok Going to read /root/.cpan/Metadata Database was generated on Wed, 02 Mar 2011 02:42:03 GMT
Here is my problem:I work with the BioPerl project. At first, I installed cpan modules without any problem,(eg.) sudo cpan -i CPAN::ModuleI've a proxy connection (university) and I'd configured my proxy settings correctly: perl -MCPAN -eshellIn the beginning it worked, but I don't know why it doens't work today. Here is the outline:
fernando@fer-laptop[fernando] sudo cpan -i Algorithm::Cluster CPAN: Storable loaded ok (v2.15) Going to read '/home/fernando/.cpan/Metadata'
I have CentOS 5.4 and have installed CPAN GD module.Installation messages seemed clean and successful.When I try to create a png file, perl gives the error message :
Can't locate object method "png" via package "GD::Image" at /usr/lib/perl5/vendor_perl/5.8.8/DBD/Chart/Plot.pm line 1276 (#1) (F) You called a method correctly, and it correctly indicated a package functioning as a class, but that package doesn't define that particular method, nor does any of its base classes. See perlobj.
Also, the following perl one-liner gives answer "No".
I have installed CENTOS 5.3 on my machine and am running the new version of Subversion which comes bundled with Apache. I noticed in the httpd.conf file there is no module for PHP which is a problem. How do I install the PHP module for APACHE in Centos 5.3?
I have installed squid and Dansguardian on Ubuntu Server 10.04. I have also installed webmin. I see that there is a Dansguardian module for Webmin, and I have downloaded it to the server, but I am not sure how to install it. The file was downloaded from [URL]I don't know what to do with the .wbm file.