-----Original Message----- From: lux-integ <[email protected]> To: [email protected] Cc: [email protected] Sent: Mon, Apr 26, 2010 12:34 am Subject: Re: Problem in cmake on kdeadmin-4.4.2
On Sunday 25 April 2010 10:55:59 pm [email protected] wrote: > -----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 >try this >dispense with the kde4 supplied FindpyCUPS.cmake (it needs updating) Thanks it worked, but I'm left with other errors giving this: -- Found pycups: /usr/lib/python2.6/site-packages/cups.so -- Found system-config-printer: /usr/lib/python2.6/site-packages/cupshelpers/cupshelpers.py ------------------------------------------------------------------------- ---- -- 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. ------------------------------------------------------------------------- ---- -- Configuring incomplete, errors occurred! This seems to be what is causing it: CMake Error at CMakeLists.txt:8 (find_package): Could not find module Findblfs_systemConfigPrinter.cmake or a configuration file for package blfs_systemConfigPrinter. Adjust CMAKE_MODULE_PATH to find Findblfs_systemConfigPrinter.cmake or set blfs_systemConfigPrinter_DIR to the directory containing a CMake configuration file for blfs_systemConfigPrinter. The file will have one of the following names: blfs_systemConfigPrinterConfig.cmake blfs_systemconfigprinter-config.cmake and another like it for the other script I created. thanks MAC -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
