[cups.bugs] Re: [CRIT] STR #1154: cannot build ghostscript,

Thomas Bork knuffelmail at gmx.de
Fri May 13 06:01:02 PDT 2005


Toshihiro Yamagishi wrote:

> [STR New]
> 
> I've made a patch for avoid this problem, but I have no enviroment for
> testing it.Could you please try the attached patch?
> 
> You should need autoconf >= 2.52 to try it.
> $ bzip2 -dc espgs-8.15rc3-source.tar.bz2 | tar xvf -
> $ cd espgs-8.15rc3/
> $ patch -p1 < espgs-r103-configure.ac-iconv.patch
> $ rm -rf autom4te.cache/
> $ ./autogen.sh
> 
> Thanks.

Sorry, the same problem:

../obj/gdevopvp.o(.text+0x676): In function `opvp_to_utf8':
: undefined reference to `libiconv_open'
../obj/gdevopvp.o(.text+0x69f): In function `opvp_to_utf8':
: undefined reference to `libiconv'
../obj/gdevopvp.o(.text+0x6bd): In function `opvp_to_utf8':
: undefined reference to `libiconv_close'
collect2: ld returned 1 exit status
make: *** [bin/gs] Error 1

Configure options:

export CFLAGS='-O2'
../configure \
--target=i486-pc-linux-gnu \
--prefix=/usr/local \
--enable-compiled-inits \
--with-fontpath=/usr/local/share/ghostscript/fonts \
--with-ijs \
--with-gimp-print \
--without-omni \
--without-x

If configuring with (--with-libiconv=gnu)

export CFLAGS='-O2'
../configure \
--target=i486-pc-linux-gnu \
--prefix=/usr/local \
--enable-compiled-inits \
--with-fontpath=/usr/local/share/ghostscript/fonts \
--with-ijs \
--with-gimp-print \
--without-omni \
--with-libiconv=gnu \
--without-x

the make is ok.

'make install' is broken like before:

mkdir -p /usr/local/share/ghostscript/8.15/examples
for f in \
alphabet.ps chess.ps colorcir.ps doretree.ps escher.ps \
golfer.eps grayalph.ps snowflak.ps tiger.eps vasarely.ps waterfal.ps \
ridt91.eps ;\
do ./src/instcopy -c -m 644 ./lib/../examples/$f 
/usr/local/share/ghostscript/8.15/examples ;\
done
mkdir -p /usr/local/lib/ghostscript/8.15
/bin/sh -c 'for obj in ; do \
     ./src/instcopy -c -m 755 $obj /usr/local/lib/ghostscript/8.15/; done'
/bin/sh: -c: line 1: syntax error near unexpected token `;'
/bin/sh: -c: line 1: `for obj in ; do     ./src/instcopy -c -m 755 $obj 
/usr/local/lib/ghostscript/8.15/; done'
make: *** [install-shared] Error 2

Thanks for your help!

-- 
der tom





More information about the cups-devel mailing list