[cups.bugs] [CRIT] STR #2156: 'make' for cups-1.2.7 fails even though 'configure' is OK
Sergei Steshenko
sergstesh at yahoo.com
Sun Dec 17 06:23:06 PST 2006
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
I was wrong about LDFLAGS, but I found the line causing trouble.
In the Makedefs file one can see this line:
130 DSOFLAGS =
-L/maxtor5/sergei/AppsFromScratchWD/install/openssl-0.9.8d/lib
-Wl,-rpath,/maxtor5/sergei/AppsFromScratchWD/install/cups-1.2.7-source/lib
-Wl,-soname,`basename $@` -shared $(OPTIM)
and the next line is:
131 DSOLIBS = $(LIBTIFF) $(LIBPNG) $(LIBJPEG) $(LIBZ)
$(COMMONLIBS)
..
Line #130 is used during linking and it is the one that misses paths to
tiff, png, jpeg, z libraries.
I wrote a piece of code that changes line $130 to become:
DSOFLAGS =
-L/maxtor5/sergei/AppsFromScratchWD/install/jpegsrc.v6b/lib
-L/maxtor5/sergei/AppsFromScratchWD/install/libpng-1.2.12/lib
-L/maxtor5/sergei/AppsFromScratchWD/install/openssl-0.9.8d/lib
-L/maxtor5/sergei/AppsFromScratchWD/install/tiff-3.8.2/lib
-L/maxtor5/sergei/AppsFromScratchWD/install/zlib-1.2.3/lib
-L/maxtor5/sergei/AppsFromScratchWD/install/openssl-0.9.8d/lib
-Wl,-rpath,/maxtor5/sergei/AppsFromScratchWD/install/cups-1.2.7-source/lib
-Wl,-soname,`basename $@` -shared $(OPTIM)
and now I am able to build 'cups'.
It's not necessary for 'openssl' to appear twice, simply, I prepended
the rigt part with the value of LDFLAGS, it was the easiets thing to do,
that's why 'openssl' appears twice.
Link: http://www.cups.org/str.php?L2156
Version: 1.2.7
More information about the cups
mailing list