Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
It seems you're missing development headers for a bunch of packages.
Check they are actually missing and possibly try to 'make clean' before
trying to build again.
in the first place how do I know which development packages are missing? I've already done
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 9,308
Rep:
'build-gutenprint.sh' is for zenwalk / slackware.
( arch = i486 , should be i386.? )
and probably also missing out the patching in this one http://download.fedora.redhat.com/pu...2.fc12.src.rpm
> > gutenprint-5.2.4-2.fc12.src.rpm ( source code, etc. etc.)
.. to be unpacked to /usr/src/redhat/SOURCES/
gutenprint-2el5.spec :
line 7 was edited to "el5" : Release: 2el5%{?dist}
line 226 : %{_libdir}/gimp/*/plug-ins/print
... meaning : no plugin 'gutenprint', but 'print'
( If asked for, then please make a link 'gutenprint' ....
... only the file "print" was created...)
The specfile is attached as gutenprint-2el5.spec.txt
The created gutenprint RPMS ( 7 packages ) can be found in
/usr/src/redhat/RPMS/i386
.....
Good luck !
.....
25583 if test "$BUILD_GIMP2" != "no" ; then
25584 echo " Build enhanced Print plugin for GIMP: yes"
25585 if test "$BUILD_GIMP2_AS_GUTENPRINT" != "no" ; then
25586 echo " GIMP plugin will be named: gutenprint"
25587 else
25588 echo " GIMP plugin will be named: print"
25589 fi
25583 if test "$BUILD_GIMP2" != "no" ; then
25584 echo " Build enhanced Print plugin for GIMP: yes"
25585 if test "$BUILD_GIMP2_AS_GUTENPRINT" != "no" ; then
25586 echo " GIMP plugin will be named: gutenprint"
25587 else
25588 echo " GIMP plugin will be named: print"
25589 fi
sorry I don't get what the above means. I follow your advice and this is my ouput after I edit the gutenprint.spec and rpmbuild -ba gutenprint.spec
first of all, what do you need ? This time I’m not giving direct rpms links, just to avoid mistakes, and make the guide more easy…
Install Cups (usually already installed, it’s better if 1.3.4 or newer)
Install Gutenprint (please use the lastest, at least the 5.0.1, do not use the old one included in fedora’s 7 CD)
Install gutenprint-foomatic
Install the Mp160 Printer Drivers ver. 2.70 avaiable from Canon (RPM and Source code avaible — they’re useful even for Mp150 — file names are cnijfilter-common-2.70-1.i386.rpm & cnijfilter-mp160-2.70-1.i386.rpm)
so I install gutenprint-foomatic
here's my output
Code:
[doordie@localhost SPECS]$ su -c' rpm -qi gutenprint'
Password:
Name : gutenprint Relocations: (not relocatable)
Version : 5.2.4 Vendor: (none)
Release : 2el5 Build Date: Sun 13 Sep 2009 02:11:03 AM EDT
Install Date: Sun 13 Sep 2009 02:19:28 AM EDT Build Host: localhost.localdomain
Group : System Environment/Base Source RPM: gutenprint-5.2.4-2el5.src.rpm
Size : 15070804 License: GPLv2+
Signature : (none)
URL : http://gimp-print.sourceforge.net/
Summary : Printer Drivers Package.
Description :
Gutenprint is a package of high quality printer drivers for Linux, BSD,
Solaris, IRIX, and other UNIX-alike operating systems.
Gutenprint was formerly called Gimp-Print.
[doordie@localhost SPECS]$ su -c 'rpm -Uvh /home/doordie/rpmbuild/RPMS/i386/gutenprint-foomatic-5.2.4-2el5.i386.rpm'
Password:
error: Failed dependencies:
libgimpprint.so.1 is needed by (installed) gimp-print-plugin-4.2.7-22.2.el5.i386
gimp-print = 4.2.7-22.2.el5 is needed by (installed) gimp-print-plugin-4.2.7-22.2.el5.i386
so I try to install libgimpprint but fails
Code:
[root@localhost ~]# yum install libgimpprint
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* rpmforge: apt.sw.be
* base: ftp.oss.eznetsols.org
* updates: mirror.intrapower.net.au
* addons: mirror.intrapower.net.au
* extras: mirror.intrapower.net.au
410 packages excluded due to repository priority protections
Setting up Install Process
Parsing package install arguments
No package libgimpprint available.
Nothing to do
and I think this mistake is related to what u have mentioned.
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 9,308
Rep:
usr/lib/libgimpprint.so.1 is provided by 'gimp-print'
...
# yum -y install gimp-print
This is one of the things, very easy to find..
and also to get info about in a sec :
# yum whatprovides libgimpprint.so.1
... Or use the "Search window" in http://rpm.pbone.net/index.php3/stat/2/simple/2
> > Advanced Search → → CentOS5 + RH EL5
.....
[doordie@localhost gutenprint-5.2.4]$ cat -n configure | grep -iA 6 25583
25583 if test "$BUILD_GIMP2" != "no" ; then
25584 echo " Build enhanced Print plugin for GIMP: yes"
25585 if test "$BUILD_GIMP2_AS_GUTENPRINT" != "no" ; then
25586 echo " GIMP plugin will be named: gutenprint"
25587 else
25588 echo " GIMP plugin will be named: print"
25589 fi
[doordie@localhost gutenprint-5.2.4]$ man yum
[doordie@localhost gutenprint-5.2.4]$
it is the same as yours.
For the following error both libgimpprint and gimp-print are both installed.
Code:
error: Failed dependencies:
libgimpprint.so.1 is needed by (installed) gimp-print-plugin-4.2.7-22.2.el5.i386
gimp-print = 4.2.7-22.2.el5 is needed by (installed) gimp-print-plugin-4.2.7-22.2.el5.i386
for verification of libgimpprint.so.1
Code:
[root@localhost ~]# yum whatprovides libgimpprint.so.1
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* rpmforge: apt.sw.be
* base: mirror.primusdatacentre.com.au
* updates: mirror.pacific.net.au
* addons: mirror.pacific.net.au
* extras: mirror.pacific.net.au
410 packages excluded due to repository priority protections
gimp-print-4.2.7-22.2.el5.i386 : A collection of high-quality printer drivers.
Matched from:
Other : libgimpprint.so.1
gimp-print-4.2.7-22.2.el5.i386 : A collection of high-quality printer drivers.
Matched from:
Other : Provides-match: libgimpprint.so.1
for verification of gimp-print
Code:
[root@localhost ~]# rpm -ri gimp-print
rpm: arguments to --root (-r) must begin with a /
[root@localhost ~]# rpm -qi gimp-print
Name : gimp-print Relocations: (not relocatable)
Version : 4.2.7 Vendor: CentOS
Release : 22.2.el5 Build Date: Thu 26 Feb 2009 05:21:36
both libgimpprint and gimp-print are already installed why the error?
From there I su -c 'rpm _Uvh gutenprint-5.2.4-2el5.i386.rpm'
next I need to install gutenprint-foomatic
Code:
[doordie@localhost i386]$ su -c 'rpm -Uvh gutenprint-foomatic-5.2.4-2el5.i386.rpm'
Password:
error: Failed dependencies:
libgimpprint.so.1 is needed by (installed) gimp-print-plugin-4.2.7-22.2.el5.i386
gimp-print = 4.2.7-22.2.el5 is needed by (installed) gimp-print-plugin-4.2.7-22.2.el5.i386
but am I in the right track in the first place?
so why is the compiler complaining that libgimpprint.so.1 and gimp-print = 4.2.7-22.2.el5 are needed when they are in fact installed?
any help rendered is greatly appreciated.
Code:
[root@localhost ~]# ls -lrth /usr/lib/libgimpprint.so.1
lrwxrwxrwx 1 root root 21 Aug 14 01:49 /usr/lib/libgimpprint.so.1 -> libgimpprint.so.1.1.3
[root@localhost ~]# rpm -qi gimp-print
Name : gimp-print Relocations: (not relocatable)
Version : 4.2.7 Vendor: CentOS
Release : 22.2.el5 Build Date: Thu 26 Feb 2009 05:21:36 PM EST
Install Date: Fri 14 Aug 2009 01:49:48 AM EDT Build Host: chamkaur.karan.org
Group : System Environment/Libraries Source RPM: gimp-print-4.2.7-22.2.el5.src.rpm
Size : 4325843 License: GPL
Signature : DSA/SHA1, Sun 08 Mar 2009 09:45:35 PM EDT, Key ID a8a447dce8562897
Packager : Karanbir Singh <kbsingh@karan.org>
URL : http://gimp-print.sourceforge.net/
Summary : A collection of high-quality printer drivers.
Description :
These drivers provide printing quality for UNIX/Linux in many cases equal
to or better than proprietary vendor-supplied drivers, and can be used for
many of the most demanding printing tasks.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.