After installing gimp-print-5.0.0_rc3 I've found that there are no .PPD to be used with CUPS. In order to generate such files users are given the following programs: cups-genppd cups-genppdconfig.5.0 cups-genppdupdate.5.0 However, trying to run user-friendly cups-genppdconfig.5.0 results in an error: # cups-genppdconfig.5.0 Can't locate Curses.pm in @INC (@INC contains: /etc/perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.8 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.8 /usr/lib64/perl5/site_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/5.8.8 /usr/local/lib/site_perl .) at /usr/sbin/cups-genppdconfig.5.0 line 82. BEGIN failed--compilation aborted at /usr/sbin/cups-genppdconfig.5.0 line 82. It's easy to see that it looks for 'Curses.pm' Perl module which is not installed by default. Luckily, there is dev-perl/Curses package in Portage, so after manual: # emerge -av Curses this problem is solved. I suppose that something could be added to the DEPEND/RDEPEND atoms in the ebuild. Anyway, after that program looks for another module, 'perlmenu.pm'. But this time I was unable to locate this package in Portage. However, it's available in the CPAN archive. Maybe these (and possibly other) missing modules should be added to fully utilize new gimp-print? I've tried "g-cpan --install perlmenu" but this poses another problem, since the CPAN archive for this is named "perlmenu.v4.0" (no dashes) so this method failed also. I'd really appreciate some assistance here.
perl team: would it be possible to add the missing perlmenu.pm to portage so that we can add it to DEPEND? I am thinking of installing the cups-genppdconfig.5.0 only on USE=perl, what do you think about that?
I was able to install the 'perlmenu.pm' manually, by unpacking the downloaded 'perlmenu.v4.0.tar.gz' file, adding Makefile.PL and issuing: # cat Makefile.PL # This Makefile.PL has been autogenerated by the module CPAN.pm # because there was no Makefile.PL supplied. # Autogenerated on: Fri Jun 9 22:07:00 2006 use ExtUtils::MakeMaker; WriteMakefile(NAME => q[perlmenu]); # perl Makefile.PL Writing Makefile for perlmenu # make cp perlmenu.pm blib/lib/perlmenu.pm cp create_menu.pl blib/lib/create_menu.pl cp install_hints.pl blib/lib/install_hints.pl cp menuutil.pl blib/lib/menuutil.pl # make install Installing /usr/lib64/perl5/site_perl/5.8.8/perlmenu.pm Installing /usr/lib64/perl5/site_perl/5.8.8/create_menu.pl Installing /usr/lib64/perl5/site_perl/5.8.8/install_hints.pl Installing /usr/lib64/perl5/site_perl/5.8.8/menuutil.pl Writing /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/perlmenu/.packlist Appending installation info to /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/perllocal.pod This helped a bit, but cups-genppdconfig.5.0 still doesn't work :-( # cups-genppdconfig.5.0 Subroutine wprintw redefined at (eval 105) line 1. Subroutine mvprintw redefined at (eval 105) line 2. Subroutine nl redefined at /usr/lib64/perl5/site_perl/5.8.8/perlmenu.pm line 1857. at /usr/sbin/cups-genppdconfig.5.0 line 101. However, I was still able to generate a .PPD file for my printer, but without (supposedly) nice GUI: # cups-genppd.5.0 -M | less # cups-genppd.5.0 -v bjc-iP4000 Writing /usr/share/cups/model/gutenprint/5.0//stp-bjc-iP4000.5.0.ppd.gz... Then CUPS just picked up this configuration and my printer (finally) works. :-D This gave me an idea that instructions on generating .PPD file(s) using command-line tools could be displayed at the end of emerging gimp-print-5.0.0. How about it?
perl: any news on this?
dev-perl/perlmenu added to the tree Printing folks: you'll still need to add the appropriate deps (perl? (dev-perl/Curses dev-perl/perlmenu)) but they're there for use. Not sure that that will solve this bug, though - sounds like there are large problems.
as I cannot get this working either I will close it as upstream. Feel free to report there if you want it :)