On Sunday 25 April 2010 02:05:33 pm linux fan wrote:
> On 4/24/10, lux-integ <[email protected]> wrote:
> > On Saturday 24 April 2010 06:14:51 pm [email protected] wrote:
> >> Any ideas here, tried changing .py files etc
> >>
> >> MAC
>
> My cmake debugging experience is limited to find and grep.
> [I found]
> l...@lfs:/sources/KDE/4.4.2/kdeadmin-4.4.2$ grep -I -r pycups .
> system-config-printer-kde/cmake-modules/FindPyCups.cmake
> [which says]
> try:
>     import cups
> except:
>     exit(1)
> print "Groovy"
>
> 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"


###############
and be ready to repeat the exercise for kdeutils-4.4.2

-- 
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