KDE
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   Web Development Archives Mailing Lists KDE

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Web Development Archives Sponsor:
  #1  
Old May 21st, 2006, 08:50 AM
Steven P. Ulrick
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
CUPS version incorrectly detected (KDE: Branch 3.5 on Fedora Core 5)

Hello, Everyone
When attempting to compile kdelibs from Branch 3.5, I get the following
message while running "./configure /usr/local/qt-src
/usr/local/qt-src /usr/local/kde-svn-fc5
":

checking for cups-config /usr/bin/cups-config
checking for cupsServer in -lcups yes
checking cups/cups.h usability yes
checking cups/cups.h presence yes
checking for cups/cups.h yes
checking CUPS version >= 1.0109 no
configure: WARNING: CUPS version too old. You should upgrade to version >= 1.1.9
checking CUPS version >= 1.0120 no

I Consider that to be an error, because every cups related
package that Fedora Core & Fedora Core Extras is installed on our
system:
cups-1.2.0-1.1
cups-devel-1.2.0-1.1
cups-libs-1.2.0-1.1
cups-lpd-1.2.0-1.1

More importantly than just being installed, you will notice that the
actual CUPS RPMS have the version listed as "1.2.0-1.1"

So, the problem goes like this:
1. "configure" correctly determines that I have "/usr/bin/cups-config"
installed on our system:
checking for cups-config /usr/bin/cups-config

2. "configure" then proceeds to decide that my version of CUPS is too
old:
checking CUPS version >= 1.0109 no
configure: WARNING: CUPS version too old. You should upgrade to version
>= 1.1.9 checking CUPS version >= 1.0120 no


3. "rpm -qa | grep cups" shows the main CUPS RPMS on our system to be
as follows:
cups-1.2.0-1.1
cups-devel-1.2.0-1.1
cups-libs-1.2.0-1.1
cups-lpd-1.2.0-1.1
course, these versions APPEAR to be recent enough to satisfy the
version requirement that I quoted in point #2 above, since they are >=
1.0109 & 1.1.9

4. Running the "/usr/bin/cups-config" in a terminal with the argument
"" returns the following:
[steve@afolkey2 ~]$ /usr/bin/cups-config
1.2.0
This version, returned by the same program that "configure" just said
is installed on our system, also satisfies the "kdelibs" CUPS version
requirements as quoted in point #2.

Below is the part of the contents of kdelibs/config.log that appears to
cooincide to this issue:
configure:46041: checking for cups-config
configure:46059: found /usr/bin/cups-config
configure:46071: result: /usr/bin/cups-config
configure:46093: checking for cupsServer in -lcups
configure:46123: gcc -o conftest -std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XPEN_SURCE=500 -D_BSD_SURCE -Wformat-security -Wmissing-format-attribute -DQT_THREAD_SUPPRT -D_REENTRANT -I${prefix}/include -I/usr/local/qt-src/include -I. -L${exec_prefix}/lib -L/usr/local/qt-src/lib -L/usr/lib -L${exec_prefix}/lib -L/usr/local/qt-src/lib -L/usr/lib conftest.c -lcups -ldl >&5
configure:46129: $? = 0
configure:46133: test -z
|| test ! -s conftest.err
configure:46136: $? = 0
configure:46139: test -s conftest
configure:46142: $? = 0
configure:46155: result: yes
configure:46183: checking cups/cups.h usability
configure:46195: gcc -c -std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XPEN_SURCE=500 -D_BSD_SURCE -Wformat-security -Wmissing-format-attribute -DQT_THREAD_SUPPRT -D_REENTRANT -I${prefix}/include -I/usr/local/qt-src/include -I. conftest.c >&5
configure:46201: $? = 0
configure:46205: test -z
|| test ! -s conftest.err
configure:46208: $? = 0
configure:46211: test -s conftest.o
configure:46214: $? = 0
configure:46224: result: yes
configure:46228: checking cups/cups.h presence
configure:46238: gcc -E -DQT_THREAD_SUPPRT -D_REENTRANT -I${prefix}/include -I/usr/local/qt-src/include -I. conftest.c
configure:46244: $? = 0
configure:46264: result: yes
configure:46299: checking for cups/cups.h
configure:46306: result: yes
configure:46325: checking CUPS version >= 1.0109
configure:46344: gcc -std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XPEN_SURCE=500 -D_BSD_SURCE -Wformat-security -Wmissing-format-attribute -I${prefix}/include -I/usr/local/qt-src/include -I. -o conftest conftest.c -L${exec_prefix}/lib -L/usr/local/qt-src/lib -L/usr/lib -lcups -lgnutls -lpthread -lcrypt 1>&5
conftest.c: In function 'main':
conftest.c:11: warning: control reaches end of non-void function
/usr/bin/ld: cannot find -lgnutls
collect2: ld returned 1 exit status
configure:46347: $? = 1
configure:46357: result: no
configure:46361: WARNING: CUPS version too old. You should upgrade to version >= 1.1.9
configure:46372: checking CUPS version >= 1.0120
configure:46391: gcc -std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XPEN_SURCE=500 -D_BSD_SURCE -Wformat-security -Wmissing-format-attribute -I${prefix}/include -I/usr/local/qt-src/include -I. -o conftest conftest.c -L${exec_prefix}/lib -L/usr/local/qt-src/lib -L/usr/lib -lcups -lgnutls -lpthread -lcrypt 1>&5
conftest.c: In function 'main':
conftest.c:11: warning: control reaches end of non-void function
/usr/bin/ld: cannot find -lgnutls
collect2: ld returned 1 exit status
configure:46394: $? = 1
configure:46404: result: no

than the fact that I am running KDE compiled from Branch 3.5
(SVN) on Fedora Core 5, and that printing appears to work just fine, I
can't think of anything else to add. The incorrect detection of my
installed version of CUPS might not affect me, but maybe it will affect
someone else.

, almost forgot:
The installed CUPS version is too old. The minimum
required version is 1.1.9. Please upgrade your CUPS
installation from http://www.cups.org. CUPS support
has been disabled.

That appears at the VERY end of the output from "./configure" I Assume
that since printing via cups appears to work for me, that this problem
popped up recently.

If you need any information that I did not include here, let me know
and I will be glad to provide it.

Steven P. Ulrick
--
06:38:19 up 2 days, 7:46, 8 users, load average: 1.91, 2.25, 1.69

>Visit #unsub to unsubscribe <<

Reply With Quote
  #2  
Old May 21st, 2006, 08:50 AM
Thiago Macieira
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
CUPS version incorrectly detected (KDE: Branch 3.5 on Fedora Core5)

Steven P. Ulrick wrote:
>/usr/bin/ld: cannot find -lgnutls


That's your problem. All configure checks will fail because of that.

--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
thiago.macieira (AT) trolltech.com Trolltech AS
GPG: 0x6EF45358 | Sandakerveien 116,
E067 918B B660 DBD1 105C | N
966C 33F5 F005 6EF4 5358 | , Norway


>Visit #unsub to unsubscribe <<


PGP SIGNATURE
Version: GnuPG v1.4.2.2 (GNU/Linux)


Fsmj82QAYvA6TBRj6NgB9Q=
=YY9f
PGP SIGNATURE

Reply With Quote
  #3  
Old May 21st, 2006, 08:50 AM
Steven P. Ulrick
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
CUPS version incorrectly detected (KDE: Branch 3.5 on FedoraCore 5)

Sun, 21 May 2006 14:36:38 +0200
Thiago Macieira <thiago (AT) kde (DOT) orgwrote:

Steven P. Ulrick wrote:
>/usr/bin/ld: cannot find -lgnutls


That's your problem. All configure checks will fail because of that.

Hello
course is is. I noticed that before I sent the message, and I
forgot to look into it. Thank you for being merciful to me :) Then I
read your email, and ran "yum list | grep gnutls" I discovered
that gnutls-devel was not installed.

I do apologize for not actually doing what I had planned on doing
before I sent my message off :)

Steven P. Ulrick

>Visit #unsub to unsubscribe <<

Reply With Quote
Reply

Viewing: Web Development Archives Mailing Lists KDE > CUPS version incorrectly detected (KDE: Branch 3.5 on Fedora Core 5)


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 5 Hosted by Hostway
Stay green...Green IT