[gs-devel] Help! compile error on ghostscript.
Daniel.Li
daniel_li at usish.com
Wed Feb 11 23:59:53 PST 2009
Dear Ralph,
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'.
>
> -r
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
--includedir=/home/daniel/pilot/buildroot/build_arm/staging_dir/include/
--libdir=/home/daniel/pilot/buildroot/build_arm/staging_dir/lib/
--prefix=/home/daniel/ghostscript-8.64/test/
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.
-ltiff
-lssl
QA: will it cause any other trouble? Should I port tiff and ssl to demo
board?
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
default option?
--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
Printers:
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
File formats:
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
drivers and
the Epson stcolor driver.
Aliases must be uppercase (a 3rd party driver
might
have the same name).
Default: ALL
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.
Daniel Li
2009.02.12
More information about the gs-devel
mailing list