This is a log of my last download. You should avoid the ghostscript part unless you really know what you are doing-in any case I haven't noticed much improvement. You'll need quite a few development packages, e.g. gcc, flex, bison, libtool, gettext, indent, imlibdev, gtk libraries. The usual EULA applies: don't blame me if this goes belly-up. -------------------------------------------------------------------- Download gimp-print-4.2.0 from http://gimp-print.sourceforge.net Create a symbolic link to /usr/src/packages/SOURCES/gimp-print-4.2.0.tar.gz Use konqueror (link) or # ln -s gimp-print-4.2.0.tar.gz /usr/src/packages/SOURCES/gimp-print-4.2.0.tar.gz Uncompress: # cd /usr/src/packages/SOURCES # tar zxvf gimp-print-4.2.0.tar.gz Remove link (no longer needed) # rm gimp-print-4.2.0.tar.gz Change directory and compile # cd gimp-print-4.2.0 Read README. # CFLAGS="-O2 -march=i686" ./configure --prefix=/usr --with-cups # make # su # make install # exit Notes: Only use -march=i686 if you are sure you have a 686 (PII or celeron or better) processor. AMD users can use -march=k6. Pentium (original) users can use -march=i585. If you don't have gimp installed, you may want to use --without-gimp after --with-cups. You don't need to tell gimp-print whether or not you intend to recompile ghostscript. The --prefix=/usr puts gimp-print in the /usr directory, which is more sensible with a SuSE installation. If you want to recompile ghostscript - I haven't noticed any great difference - proceed as follows, but don't be too surprised if it doesn't work. Install the following source packages from the 7.3 CD ghostscript-library.spm libz.spm libpng.spm jpeg.spm They all get installed in /usr/src/packages/SOURCES Uncompress the bits you need # cd /usr/src/packages/SOURCES # tar Ixvf ghostscript-6.51.tar.bz2 # tar Ixvf jpegsrc.v6b.tar.bz2 # tar zxvf libpng-1.0.12.tar.gz # tar zxvf zlib-1.1.3.tar.gz Move the library sources to the ghostscript directory # mv jpeg-6b ghostscript-6.51 # mv libpng-1.0.12 ghostscript-6.51 # mv zlib-1.1.3 ghostscript-6.51 Apply a couple of patches (otherwise it won't compile) # cp ../ghostscript-6.51-align.dif . # cp ../ghostscript-6.51-time.dif . # patch -p1 < ghostscript-6.51-align.dif # patch -p1 < ghostscript-6.51-time.dif I got these not quite right because I had to copy the names of the files from the output of the patch file to the filename then requested by patch several times. The important thing is that the files got patched correctly. As root, remove all non-directory files from /usr/src/packages/SOURCES Then set up ghostscript for compiling # cd /usr/src/packages/SOURCES/ghostscript-6.51 # mv jpeg-6b jpeg # mv libpng-1.0.12 libpng # mv zlib-1.1.3 zlib # ln -s src/unix-gcc.mak Makefile Edit src/unix-gcc.mak: Line 59: change prefix=/usr/local to prefix=/usr (this puts ghostscript in the SuSE default location). Follow the instructions in /usr/src/packages/SOURCES/gimp-print-4.2.0/src/ghost/README carefully. Note for step 3) that gimp-print is already installed. For step 12): # cd /usr/src/packages/SOURCES/ghostscript-6.51 # make (cooking time should be 3-30 minutes depending on processor speed) # su # make install # exit Some man pages in gs 6.51 get created in / and so I moved them to /usr/man/man1. ----------------------------------------------------------------------------- Maura Edelweiss Monville wrote:
If I download the latest gimp-print 4.2 version from the network then my question is where am I supposed to dowload them ?? I mean in which system directory shall I be (cd ???) in order to overwrite the present gimp-print files and have SuSE kernel use the new ones ??? Could you please outline the operation sequence with some more details ???
participants (1)
-
John Lamb