On Sunday 25 April 2010 02:05:33 pm linux fan wrote:

> Since I don't even have cups installed, I execute that and test the
> return code which is false.
> $ python system-config-printer-kde/cmake-modules/FindPyCups.py
> $ echo $?
> 1
>
> I know the reason it doesn't find it on my system.


this file:
kdeadmin-4.4.2/system-config-printer-kde/cmake-modules/FindSystemConfigPrinter.py

has this line
SYSTEM_CONFIG_PRINTER_DIR = "/usr/share/system-config-printer"
one possible (though untested   way to  find system-config-printer) is to 
change this line to  
SYSTEM_CONFIG_PRINTER_DIR = "path/to/python/site-packages/cupshelpers"

but a better way is to dispense with ~/FindSystemConfigPrinter.py

in a 'Find'  script that goes  directly to  
"path/to/python/site-packages/cupshelpers"
-- 
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