-----Original Message-----
From: lux-integ <[email protected]>
To: [email protected]
Cc: [email protected]
Sent: Mon, Apr 26, 2010 8:35 pm
Subject: Re: Problem in cmake on kdeadmin-4.4.2

On Monday 26 April 2010 07:52:18 pm [email protected] wrote:

&gt; -----Original Message-----

&gt; From: lux-integ &lt;[email protected]&gt;

&gt; To: [email protected]

&gt; Cc: [email protected]

&gt; Sent: Mon, Apr 26, 2010 12:34 am

&gt; Subject: Re: Problem in cmake on kdeadmin-4.4.2

&gt;

&gt; On Sunday 25 April 2010 10:55:59 pm [email protected] wrote:

&gt; &gt; -----Original Message-----

&gt; &gt; From: lux-integ &lt;[email protected]&gt;

&gt; &gt; To: [email protected]

&gt; &gt; Cc: [email protected]; [email protected]

&gt; &gt; Sent: Sun, Apr 25, 2010 5:33 pm

&gt; &gt; Subject: Re: Problem in cmake on kdeadmin-4.4.2

&gt; &gt;

&gt; &gt; On Sunday 25 April 2010 03:35:05 pm [email protected] 
wrote:

&gt; &gt; &gt; Maybe i need to install Pycups elsewhere as suggested by 
lux-integ?

&gt; &gt; &gt;

&gt; &gt; &gt; I've tried editing FindSystemConfigPrinter.py with

&gt; &gt; &gt; path/to/python/site-packages/cupshelpers - this doesn't 
help with

&gt; &gt; &gt; system-config-printer either.

&gt; &gt; &gt;

&gt; &gt; &gt; MAC

&gt; &gt; &gt;

&gt; &gt; &gt;

&gt; &gt; &gt;it might  be a small nut but I ended up using this 
sledge-hammer:

&gt; &gt; &gt;

&gt; &gt; &gt;a) made this link.

&gt; &gt; &gt;

&gt; &gt; &gt;ln  -s  /usr/lib/python2.6/site-packages/cups.so

&gt; &gt;

&gt; &gt; /usr/local/lib/cups.so

&gt; &gt;

&gt; &gt; Tried this but doesn't work, also tried flagging and a link to

&gt; &gt; /opt/kde/lib!  No luck

&gt; &gt;

&gt; &gt; &gt;b) dispense withe the FindSystemConfigPrinter.cmake in 
kde and create

&gt; &gt;

&gt; &gt; one (in

&gt; &gt;

&gt; &gt; &gt;the modules-directory) like this:-

&gt; &gt;

&gt; &gt; Thanks for the script - this works, I'm now getting

&gt; &gt; 'system-config-printer' recognised:

&gt; &gt;

&gt; &gt; -- Found system-config-printer:

&gt; &gt; /usr/lib/python2.6/site-packages/cupshelpers/cupshelpers.py,

&gt; &gt;

&gt; &gt; &gt;nb

&gt; &gt; &gt;#########  you might want to try a similar less elaborate 
find for

&gt; &gt;

&gt; &gt; pyCUPS

&gt; &gt;

&gt; &gt; &gt;(beforehand)

&gt; &gt;

&gt; &gt; Tried a script for this but no luck, just cannot get cmake 
find

&gt;

&gt; cups.so

&gt;

&gt; &gt;try this

&gt; &gt;dispense with the kde4 supplied   FindpyCUPS.cmake  (it needs 
updating)

&gt;

&gt; Thanks it worked, but I'm left with other errors giving this:



I tested it on kdeadmin-4.4.2 and kdeutils-4.4.2    and cmake   did not 
complain  and   it compiled to 100%   sans errors.



&gt; -- Found pycups: /usr/lib/python2.6/site-packages/cups.so

&gt; -- Found system-config-printer:

&gt; /usr/lib/python2.6/site-packages/cupshelpers/cupshelpers.py

&gt;

&gt; 
-------------------------------------------------------------------------


&gt; ----

&gt; -- The following OPTIONAL packages could NOT be located on your 
system.

&gt; -- Consider installing them to enable more features from this 
software.

&gt; 
-------------------------------------------------------------------------


&gt; ----

&gt;    * PyCups  &lt;http://cyberelk.net/tim/software/pycups/&gt;

&gt;       PyCups was not found.  It is needed by 
system-config-printer-kde

&gt; to run.  (Use -DINSTALL_SYSTEM_CONFIG_PRINTER=TRUE to install 
anyway)

&gt;     * system-config-printer

&gt; &lt;http://cyberelk.net/tim/software/system-config-printer/&gt;

&gt;       system-config-printer was not found.  Some of its modules

&gt; (cupshelpers.py, config.py, smburi.py and debug.py) are required by

&gt; system-config-printer-kde.

&gt;

&gt; 
-------------------------------------------------------------------------


&gt; ----

&gt;

&gt; -- Configuring incomplete, errors occurred!

&gt;

&gt; This seems to be what is causing it:

&gt;

&gt; CMake Error at CMakeLists.txt:8 (find_package):

&gt;    Could not find module Findblfs_systemConfigPrinter.cmake or a

&gt; configuration



>make sure you put   the script in  the 'TOP' modules directory of 
kdeadmin-source.  then make sure it is 'seen'  like so:-

When you say the top directory, there is no modules dir there, I've put 
the scripts in /kdeadmin-4.4.2/system-config-printer-kde/cmake-modules

Should I create the modules dir?



&gt;   file for package blfs_systemConfigPrinter.

&gt;

&gt;    Adjust CMAKE_MODULE_PATH to find 
Findblfs_systemConfigPrinter.cmake

&gt; or set

&gt;   blfs_systemConfigPrinter_DIR to the directory containing a CMake

&gt;    configuration file for blfs_systemConfigPrinter.  The file will 
have

&gt; one of

&gt;   the following names:

&gt;

&gt;     blfs_systemConfigPrinterConfig.cmake

&gt;     blfs_systemconfigprinter-config.cmake

&gt;

&gt; and another like it for the other script I created.

&gt;

&gt; thanks

&gt;

&gt; MAC

>the errors you are encountering  could-be  to   cmake still executing 
the outdated FindpyCUPS.cmake (shipped with current versions of kde4)   
  with the   call to the >FindpyCUPS.py  (and the 'Groovy'  mulaki !).  
You  need to disable it  (see the end of my posting (like so):-


This is definitely right and I have disabled the old scripts

Sorry if this reply is a mess

Thanks

MAC

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to