pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/40958



Use the source...

gmake[2]: Entering directory `/opt/pkgsrc/pkgsrc/x11/lesstif/work.ssc/lesstif-0.95.0/lib/Xm-2.1'
[...]
/opt/pkg/ssc/bin/pdksh ../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include/Motif-2.1 -I../../include/Motif-2.1 -I/opt/pkg/ssc/include -I/opt/pkg/ssc/include -I/opt/pkg/ssc/include/freetype2 -I/opt/pkg/ssc/include/freetype2 -I/opt/pkg/ssc/include -I/opt/pkg/ssc/include -O -I/opt/pkg/ssc/include -I/opt/pkg/ssc/include/freetype2 -c -o Print.lo Print.c cc -DHAVE_CONFIG_H -I. -I../../include -I../../include/Motif-2.1 -I/opt/pkgsrc/pkgsrc/x11/lesstif/work.ssc/.buildlink/include -I/opt/pkgsrc/pkgsrc/x11/lesstif/work.ssc/.buildlink/include/freetype2 -O -c Print.c -KPIC -DPIC -o .libs/Print.o "../../include/Motif-2.1/XmI/XmI.h", line 50: cannot find include file: <X11/Xft/Xft.h> "../../include/Motif-2.1/XmI/XmI.h", line 101: syntax error before or at: XftPattern "../../include/Motif-2.1/XmI/XmI.h", line 502: warning: old-style declaration or incorrect type for: XftDraw
"../../include/Motif-2.1/XmI/XmI.h", line 502: syntax error before or at: *
"../../include/Motif-2.1/XmI/XmI.h", line 502: warning: old-style declaration or incorrect type for: _XmXftDrawCreate "../../include/Motif-2.1/XmI/XmI.h", line 503: syntax error before or at: XftDraw "../../include/Motif-2.1/XmI/XmI.h", line 503: warning: undefined or missing type for: XftDraw
cc: acomp failed for Print.c
gmake[2]: *** [Print.lo] Error 1
gmake[2]: Leaving directory `/opt/pkgsrc/pkgsrc/x11/lesstif/work.ssc/lesstif-0.95.0/lib/Xm-2.1'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/opt/pkgsrc/pkgsrc/x11/lesstif/work.ssc/lesstif-0.95.0/lib'
gmake: *** [all-recursive] Error 1
*** Error code 2

I tried this on OpenSolaris 11, and it happens only with the Sun Studio Compiler, not with GCC. Ah, because USE_XFT is not defined in the latter case. Hmm, even when adding the dependency on libXft in Makefile, when using GCC, configure does not pick up libXft.

--
 Jörn Clausen                             
joern.clausen%uni-bielefeld.de@localhost
 Hochschulrechenzentrum                 http://www.uni-bielefeld.de/hrz/
 Universität Bielefeld


Home | Main Index | Thread Index | Old Index