[gs-devel] Help! compile error on ghostscript.
daniel_li at usish.com
Wed Feb 11 23:59:53 PST 2009
On Wed, 2009-02-11 at 19:38 -0800, Ralph Giles wrote:
> Try adding '-L/home/daniel/pilot/buildroot/build_arm/staging_dir/lib/
> ' to obj/ld.tr right before first -lcups. and rerunning 'make'.
Thanks, it works. And we get new issues.
Here, I have a few questions to ask.
This is my case:
-> First, I just use telnet to login, no X-windows environment.
-> And I use cups to print files with various printers available, which
might be USB or network printers.
QA:Based on the above cases,I think I don't have to use X11. So
--disable-gtk --with-x=no, right?
Here is my configuration.
$ ./configure --disable-gtk --with-x=no --disable-fontconfig
Since I don't have lib for tiff and ssl. So I have to remove the
following lines in obj/ld.tr to get cross-compile done.
QA: will it cause any other trouble? Should I port tiff and ssl to demo
QA: And I noticed that we have optional packages, see below. I add
following configuration, but it didn't solve tiff issue. Should I use
--with-drivers=PRINTERS BMP FAX JPEG PBM PCX PNG PS CAIRO WTS ETS
--with-drivers=LIST Drivers to support, separated by commas.
Either list the drivers or use aliases:
ALL = all drivers
FILES = all file format drivers
PRINTERS = all printer drivers
APPLE = all Apple printers
BROTHER = all Brother printers
CANON = all Canon printers
EPSON = all Epson printers
HP = all HP printers
IBM = all IBM printers
JAPAN = older japanese printers
LEXMARK = all Lexmark printers
OKI = all OKI printers
PCLXL = all PCL XL/6 printers
BMP = Output to bmp files
FAX = Output to fax files
JPEG = Output to JPEG files
PBM = Output to PBM/PNM
PCX = Output to PCX
PNG = Output to PNG
PS = Output to PostScript/PDF
TIFF = Output to TIFF
CAIRO = Output using libcairo
WTS = WTS Halftoning devices
ETS = ETS Halftoning devices
You can mix both variants, e.g.
--with-drivers=HP,stcolor would build HP
the Epson stcolor driver.
Aliases must be uppercase (a 3rd party driver
have the same name).
QA:As u know, that I have to test cups with ghostscript, or it will show
printer is not ready. Can I use the above configuration, which passed
cross-compile, to test cups?
Thanks in advance.
More information about the gs-devel