-----Original Message-----
From: [email protected]
To: [email protected]; [email protected]
Sent: Sun, Apr 25, 2010 10:55 pm
Subject: Re: Problem in cmake on kdeadmin-4.4.2



-----Original Message-----
From: lux-integ <[email protected]>
To: [email protected]
Cc: [email protected]; [email protected]
Sent: Sun, Apr 25, 2010 5:33 pm
Subject: Re: Problem in cmake on kdeadmin-4.4.2

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

> Maybe i need to install Pycups elsewhere as suggested by lux-integ?
>
> I've tried editing FindSystemConfigPrinter.py with
> path/to/python/site-packages/cupshelpers - this doesn't help with
> system-config-printer either.
>
> MAC


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

>a) made this link.

>ln  -s  /usr/lib/python2.6/site-packages/cups.so
>/usr/local/lib/cups.so

>Tried this but doesn't work, also tried flagging and a link to
/opt/kde/lib!  No luck

>b) dispense withe the FindSystemConfigPrinter.cmake in kde and create
one (in
>the modules-directory) like this:-

>Thanks for the script - this works, I'm now getting
>'system-config-printer' recognised:

>-- Found system-config-printer:
>/usr/lib/python2.6/site-packages/cupshelpers/cupshelpers.py,

>nb
>#########  you might want to try a similar less elaborate find for
pyCUPS
>(beforehand)

>Tried a script for this but no luck, just cannot get cmake find cups.so

Right, made cmake find Pycups by passing a new FindPyCups.cmake script 
to it:



-----Original Message-----
From: [email protected]
To: [email protected]; [email protected]
Sent: Sun, Apr 25, 2010 10:55 pm
Subject: Re: Problem in cmake on kdeadmin-4.4.2



-----Original Message-----
From: lux-integ <[email protected]>
To: [email protected]
Cc: [email protected]; [email protected]
Sent: Sun, Apr 25, 2010 5:33 pm
Subject: Re: Problem in cmake on kdeadmin-4.4.2

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

> Maybe i need to install Pycups elsewhere as suggested by lux-integ?
>
> I've tried editing FindSystemConfigPrinter.py with
> path/to/python/site-packages/cupshelpers - this doesn't help with
> system-config-printer either.
>
> MAC


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

>a) made this link.

>ln  -s  /usr/lib/python2.6/site-packages/cups.so
>/usr/local/lib/cups.so

>Tried this but doesn't work, also tried flagging and a link to
/opt/kde/lib!  No luck

>b) dispense withe the FindSystemConfigPrinter.cmake in kde and create
one (in
>the modules-directory) like this:-

>Thanks for the script - this works, I'm now getting
>'system-config-printer' recognised:

>-- Found system-config-printer:
>/usr/lib/python2.6/site-packages/cupshelpers/cupshelpers.py,

>nb
>#########  you might want to try a similar less elaborate find for
pyCUPS
>(beforehand)

>Tried a script for this but no luck, just cannot get cmake find cups.so

Right, made cmake find Pycups by passing a new FindPyCups.cmake script 
to it:



-----Original Message-----
From: [email protected]
To: [email protected]; [email protected]
Sent: Sun, Apr 25, 2010 10:55 pm
Subject: Re: Problem in cmake on kdeadmin-4.4.2



-----Original Message-----
From: lux-integ <[email protected]>
To: [email protected]
Cc: [email protected]; [email protected]
Sent: Sun, Apr 25, 2010 5:33 pm
Subject: Re: Problem in cmake on kdeadmin-4.4.2

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

> Maybe i need to install Pycups elsewhere as suggested by lux-integ?
>
> I've tried editing FindSystemConfigPrinter.py with
> path/to/python/site-packages/cupshelpers - this doesn't help with
> system-config-printer either.
>
> MAC


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

>a) made this link.

>ln  -s  /usr/lib/python2.6/site-packages/cups.so
>/usr/local/lib/cups.so

>Tried this but doesn't work, also tried flagging and a link to
/opt/kde/lib!  No luck

>b) dispense withe the FindSystemConfigPrinter.cmake in kde and create
one (in
>the modules-directory) like this:-

>Thanks for the script - this works, I'm now getting
>'system-config-printer' recognised:

>-- Found system-config-printer:
>/usr/lib/python2.6/site-packages/cupshelpers/cupshelpers.py,

>nb
>#########  you might want to try a similar less elaborate find for
pyCUPS
>(beforehand)

>Tried a script for this but no luck, just cannot get cmake find cups.so

Right, have made cmake find Pycups by using a new FindPyCups.cmake 
script:

-- Found PyCups:
/usr/lib/python2.6/site-packages/cups.so
-- Found system-config-printer:
/usr/lib/python2.6/site-packages/cupshelpers/cupshelpers.py

however, I'm getting errors such as:

CMake Error at CMakeLists.txt:8 (find_package):
   Could not find module Findblfs_PyCups.cmake or a configuration file 
for
  package blfs_PyCups.

  Adjust CMAKE_MODULE_PATH to find Findblfs_PyCups.cmake or set
   blfs_PyCups_DIR to the directory containing a CMake configuration 
file for
  blfs_PyCups.  The file will have one of the following names:

    blfs_PyCupsConfig.cmake
    blfs_pycups-config.cmake

This is stopping cmake from running through to completion i.e. -- 
Configuring incomplete, errors occurred!

Can i go any further after this fudge - any help appreciated

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