Compiling LPROF-1.09 on Debian Sarge Linux 2.6.8-1-386

From Scribus Public Wiki

Jump to: navigation, search
THIS ARTICLE IS OUTDATED
Reason:   LPROF has returned to active development. See here
Working until:   
    







I am putting together an lprof-1.09.deb binary package that can be installed on Debian Linux systems. In the meantime, you can still compile the lprof binaries under a recent Debian Linux system doing the following:

  • As ROOT or using fakeroot as the case may be.
  • Assumptions: you've done an
apt-get install qt3-apps-dev qt3-assistant qt3-designer qt3-dev-tools qt3-qtconfig qt3-examples qt3-doc

to install all the qt3 software you'll need later anyways.


In the meantime, here's how I got color management working with LPROF version 1.09 under Linux;

  1. mkdir lprof
  2. cd lprof
  3. wget http://gkall.hobby.nl/sane-lprof/lprof-1.09.tar.gz
  4. tar zvxf lprof-1.09.tar.gz
  5. cd lprof-1.09/
  6. wget http://gkall.hobby.nl/sane-lprof/lprof-1.09_mrr_patch4
  7. patch -p 0 < lprof-1.09_mrr_patch4
  8. cp include/lcmsprf.h qt/
  9. cd qt
 10. cd qtMeasurementTool/
 11. pico -w makefile 

Inside the makefile above the commented out line

  1. Assure these are defined 

put:

QTDIR=/usr

Then change -I$(QTDIR)/include/qt TO -I$(QTDIR)/include/qt3 in the "#some settings" section near the end of the INCLUDES line

and change -lqt to -lqt-mt in the POSTLIB line and then Save the edited makefile

cd into the subdirectories qtMonitorProfiler/ qtScannerProfiler/ qtProfileChecker/ and make the exact same changes to each of the makefiles within those directories and then;

  1. cd ..
  2. cd .. 

to the lprof-1.09 root directory then do a

  1. make all 

After compilation you'll find the binaries are in the lprof-1.09 root directory. The lprof binaries all worked after I followed the above method. Obviously, YMMV.

Personal tools