You are not logged in.
Pages: 1
I'm trying to install a printer driver from the manufacturer, for a Konica-Minolta Magicolor 2530dl. They supply an rpm and also source code, so I'm trying to build from source. It has a dependence on lcms.a, which isn't in any of the 64bit lcms packages. (well, it is in the multilib one but that isn't useful).
I believe that to get this I'd have to compile my own lcms (the driver expects it to be /usr/local, so that's ok), but I don't know what to do to get the .a output file.
Hope someone can help, or suggest a better way (not the gutenprint driver please, as it's not nearly as good) and I'll be really grateful for ever...
Last edited by throbscottle (2014-06-22 09:33:35)
Offline
The standard makepkg.conf is responsible for the fact that the makepkg command deletes the .a files when it makes a pkg.
See the comments in /etc/makepkg.conf and look for static libs and adjust the default.
This should leave the .a files in your pkg.
I was born with nothing and I still got most of it
Offline
I wouldn't adjust the defaults in makepkg.conf, just add 'staticlibs' to the options array in the PKGBUILD when you need static libraries.
Offline
Scimmia, your answer is better than mine.
Thanks for clearing this up.
I was born with nothing and I still got most of it
Offline
Ok thanks for that. I tried the staticlibs option, but I don't get lcms.a - I get this:
lcms-static]$ find -name lcms.*
./pkg/lcms/usr/include/lcms.h
./pkg/lcms/usr/lib/pkgconfig/lcms.pc
./src/lcms-1.19/Projects/BorlandC_5.5/lcms.rc
./src/lcms-1.19/Projects/VC2005/lcms.rc
./src/lcms-1.19/Projects/VC2005/lcms.sln
./src/lcms-1.19/Projects/VC2005/lcms.vcproj
./src/lcms-1.19/Projects/VC2008/lcms.rc
./src/lcms-1.19/Projects/VC2008/lcms.sln
./src/lcms-1.19/Projects/VC2008/lcms.vcproj
./src/lcms-1.19/Projects/VC6/lcms.dsp
./src/lcms-1.19/Projects/VC6/lcms.dsw
./src/lcms-1.19/Projects/VC6/lcms.opt
./src/lcms-1.19/Projects/VC6/lcms.rc
./src/lcms-1.19/Projects/VC7/lcms.rc
./src/lcms-1.19/Projects/VC7/lcms.sln
./src/lcms-1.19/Projects/VC7/lcms.vcproj
./src/lcms-1.19/include/lcms.h
./src/lcms-1.19/lcms.pc
./src/lcms-1.19/lcms.pc.in
./src/lcms-1.19/python/lcms.i
./src/lcms-1.19/python/lcms.py
./src/lcms-1.19/src/lcms.def
What am I doing wrong?
Offline
Oh, it shows up when I do the install, so that's ok. Printer driver installed. Yay
Offline
I'd just like to throw this out there for everyone: "a .a file" doesn't mean anything. It's just a filename; you can literally run
touch file.a
and make "a .a file". It won't do what you want your file to do though.
Offline
Pages: 1