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

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


[STR New]

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

Link: http://www.cups.org/str.php?L1154
Version: 8.15rc3





More information about the cups-devel mailing list