[gs-bugs] [Bug 690268] 'make install' fails

bugs.ghostscript.com-bugzilla-daemon at ghostscript.com bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
Wed Feb 4 05:31:10 PST 2009


http://bugs.ghostscript.com/show_bug.cgi?id=690268





------- Additional Comments From sergstesh at yahoo.com  2009-02-04 05:31 -------
Well, the faulty line appears to be this one in 'ghostscript-8.64/cups/cups.mak'
file:

52:     $(GLCC) `cups-config --image --libs` -DBINDIR='"$(bindir)"'
-DGS='"$(GS)"' -o $@ $(pdftoraster_)
.

If I make the line to looks this way (see the added '--ldflags'):

52:     $(GLCC) `cups-config --image --libs --ldflags` -DBINDIR='"$(bindir)"'
-DGS='"$(GS)"' -o $@ $(pdftoraster_)

, the _original_ problem goes away, but now there is a new one:

"
cat -n /mnt/sdb8/sergei/AFSWD_debug/build/ghostscript-8.64/make_install.log |
tail -n 8 -
   107  gcc  -DHAVE_MKSTEMP -DHAVE_HYPOT -DHAVE_FILE64 -DHAVE_MKSTEMP64
-DHAVE_FONTCONFIG -O2
-I/mnt/sdb8/sergei/AFSWD_debug/install/MesaLib-7.0.3/include
-I/mnt/sdb8/sergei/AFSWD_debug/install/atk-1.22.0/include/atk-1.0
-I/mnt/sdb8/sergei/AFSWD_debug/install/autoconf-2.63/include
-I/mnt/sdb8/sergei/AFSWD_debug/install/bc-1.06/include
-I/mnt/sdb8/sergei/AFSWD_debug/install/bison-2.3/include
-I/mnt/sdb8/sergei/AFSWD_debug/install/cairo-1.8.6/include/cairo
-I/mnt/sdb8/sergei/AFSWD_debug/install/cups-1.3.9-source/include
-I/mnt/sdb8/sergei/AFSWD_debug/install/expat-2.0.1/include
-I/mnt/sdb8/sergei/AFSWD_debug/install/flex-2.5.35/include
-I/mnt/sdb8/sergei/AFSWD_debug/install/fontconfig-2.6.0/include
-I/mnt/sdb8/sergei/AFSWD_debug/install/freetype-2.3.8/include
-I/mnt/sdb8/sergei/AFSWD_debug/install/freetype-2.3.8/include/freetype2
-I/mnt/sdb8/sergei/AFSWD_debug/install/gettext-0.17/include
-I/mnt/sdb8/sergei/AFSWD_debug/install/glib-2.18.4/include/gio-unix-2.0/
-I/mnt/sdb8/sergei/AFSWD_debug/install/glib-2.18.4/include/glib-2.0
-I/mnt/sdb8/sergei/AFSWD_debug/install/glib-2.18.4/lib/glib-2.0/include
-I/mnt/sdb8/sergei/AFSWD_debug/install/gtk+-2.12.12/include
-I/mnt/sdb8/sergei/AFSWD_debug/install/gtk+-2.12.12/include/gtk-2.0
-I/mnt/sdb8/sergei/AFSWD_debug/install/gtk+-2.12.12/include/gtk-unix-print-2.0
-I/mnt/sdb8/sergei/AFSWD_debug/install/gtk+-2.12.12/lib/gtk-2.0/include
-I/mnt/sdb8/sergei/AFSWD_debug/install/jbig2dec-0.9/include
-I/mnt/sdb8/sergei/AFSWD_debug/install/jpegsrc.v6b/include
-I/mnt/sdb8/sergei/AFSWD_debug/install/libiconv-1.11/include
-I/mnt/sdb8/sergei/AFSWD_debug/install/libiconv_pre-1.11/include
-I/mnt/sdb8/sergei/AFSWD_debug/install/libpng-1.2.33/include/libpng12
-I/mnt/sdb8/sergei/AFSWD_debug/install/libtool-2.2.6a/include
-I/mnt/sdb8/sergei/AFSWD_debug/install/m4-1.4.12/include
-I/mnt/sdb8/sergei/AFSWD_debug/install/ncurses-5.7/include
-I/mnt/sdb8/sergei/AFSWD_debug/install/openssl-0.9.8j/include
-I/mnt/sdb8/sergei/AFSWD_debug/install/pango-1.22.4/include/pango-1.0
-I/mnt/sdb8/sergei/AFSWD_debug/install/pcre-7.8/include
-I/mnt/sdb8/sergei/AFSWD_debug/install/pixman-0.12.0/include/pixman-1
-I/mnt/sdb8/sergei/AFSWD_debug/install/readline-5.1/include
-I/mnt/sdb8/sergei/AFSWD_debug/install/texinfo-4.13/include
-I/mnt/sdb8/sergei/AFSWD_debug/install/tiff-3.8.2/include
-I/mnt/sdb8/sergei/AFSWD_debug/install/zlib-1.2.3/include  -Wall
-Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes
-Wwrite-strings -Wno-strict-aliasing -Wdeclaration-after-statement -fno-builtin
-fno-common -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long long" 
-DUSE_LIBICONV_GNU -DGS_DEVS_SHARED
-DGS_DEVS_SHARED_DIR=\"/mnt/sdb8/sergei/AFSWD_debug/install/ghostscript-8.64/lib/ghostscript/8.64\"
-I./obj -I./base  `cups-config --image --libs --ldflags`
-DBINDIR='"/mnt/sdb8/sergei/AFSWD_debug/install/ghostscript-8.64/bin"'
-DGS='"gs"' -o bin/pdftoraster cups/pdftoraster.c
   108  cups/pdftoraster.c:62: warning: no previous prototype for ‘parseOpts’
   109  cups/pdftoraster.c:80: warning: no previous prototype for
‘parsePDFTOPDFComment’
   110  cups/pdftoraster.c: In function ‘main’:
   111  cups/pdftoraster.c:406: warning: passing argument 2 of ‘cupsArrayAdd’
discards qualifiers from pointer target type
   112  /usr/lib/gcc/i586-suse-linux/4.2.1/../../../../i586-suse-linux/bin/ld:
cannot find -ltiff
   113  collect2: ld returned 1 exit status
   114  make: *** [bin/pdftoraster] Error 1
",

i.e. path to 'libtiff' is missing.




------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.



More information about the gs-bugs mailing list