-----Original Message-----
From: James Richard Tyrer <[email protected]>
To: BLFS Support List <[email protected]>
Sent: Sat, Apr 24, 2010 9:34 pm
Subject: Re: Problem in cmake on kdeadmin-4.4.2

On 04/24/10 10:14, [email protected] wrote:
> Hi
>
> I encountered this problem when running cmake on kdeadmin-4.4.2:-
>
>
> 
-------------------------------------------------------------------------

> --
> -- -- The following OPTIONAL packages could NOT be located on your
> system.
>   -- Consider installing them to enable more features from this 
software.
>
> 
-------------------------------------------------------------------------

> --
> -- * PyCups<http://cyberelk.net/tim/software/pycups/>
>         PyCups was not found.  It is needed by 
system-config-printer-kde
> to
>   run. (Use -DINSTALL_SYSTEM_CONFIG_PRINTER=TRUE to install anyway)
>    * system-config-printer>
> <http://cyberelk.net/tim/software/system-config-printer/>
>     system-config-printer was not found.  Some of its modules
> (cupshelpers.py, config.py, smburi.py and debug.py) are required by
>   system-config-printer-kde.

> Any ideas here, tried changing .py files etc
>
>This is strange.  Probably can't be much help since I can't reproduce
>the problem.

>I have that version of PyCups installed and using the KDE-4.4 SVN 
BRANCH
>I get:

>-- Found PythonInterp: /usr/bin/python2.6
>-- Found Python executable: /usr/bin/python2.6
>-- Found Python version: 2.6.4
>-- Found Python library: /usr/lib/libpython2.6.so
>-- Found SIP version: 4.10
>-- Found PyQt4 version: 4.7
>-- Found PyKDE4 version 4.4.2 /usr/share/sip/PyKD.E4
>-- Found PyCups

>Does your CMake output list the previous Python packages as found?

I get the following minus PyCups:

-- Found PythonInterp: /usr/bin/python2.6
-- Found Python executable: /usr/bin/python2.6
-- Found Python version: 2.6.2
-- Found Python library: /usr/lib/libpython2.6.so
-- Found SIP version: 4.10
-- Found PyQt4 version: 4.7
-- Found PyKDE4 version 4.3.4 /usr/share/sip/PyKDE4
-- Found KdepimLibs: 
/opt/kde-4.4.2/lib/cmake/KdepimLibs/KdepimLibsConfig.cmake
-- Found PythonLibs: /usr/lib/libpython2.6.so


>The actual finding is done by a Python script: "FindPyCups.py" in:

>.../kdeadmin/system-config-printer-kde/cmake-modules

>I would try running that manually.  Change to that directory and:

  >  python FindPyCups.py

>If I read it correctly, it prints: "Groovy" to standard output if it 
is
>found.  If not, the easiest way to check to see that PyCups is 
installed
>correctly is to install it again.

Doing this returns me to prompt, with no response

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




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