pkgsrc-Users archive

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

Re: xpdf not installing properly



On Wed, 15 Jul 2009 10:04:06 +0200
Thomas Klausner <wiz%NetBSD.org@localhost> wrote:

> On Tue, Jul 14, 2009 at 03:19:15PM -0400, Steven M. Bellovin wrote:
> > On i386-current, pkgsrc HEAD, xpdf doesn't install properly: some
> > files are missing:
> 
> Builds and installs fine for me on amd64/current with modular xorg.

And I use built-in xorg.
> 
> Could you please check if you have compiler errors before the
> installation phase?

Ah -- there's a warning from configure:

   configure: WARNING: Couldn't find Motif
   configure: WARNING: -- You will be able to compile pdftops,
   pdftotext, pdfinfo, pdffonts, and pdfimages, but not xpdf or pdftoppm

The Makefile has

        .include "../../mk/motif.buildlink3.mk"

and openmotif was installed.  (Should it be, with X11R7?)  So I deleted
it and tried rebuilding -- now openmotif won't build:

 cc -DHAVE_CONFIG_H -I. -I../../include -I.. -I./.. 
-DXMBINDDIR_FALLBACK=\"/usr/pkg/lib/X11/bindings\" 
-DINCDIR=\"/usr/pkg/include/X11\" -DLIBDIR=\"/usr/pkg/lib/X11\" 
-I/usr/pkgsrc/x11/openmotif/work/.x11-buildlink/include 
-I/usr/pkgsrc/x11/openmotif/work/.buildlink/include 
-I/usr/pkgsrc/x11/openmotif/work/.x11-buildlink/include/freetype2 -O2 -Wall -g 
-fno-strict-aliasing -Wno-unused -Wno-comment -D_REENTRANT -MT XmStrDefs.lo -MD 
-MP -MF .deps/XmStrDefs.Tpo -c XmStrDefs.c  -fPIC -DPIC -o .libs/XmStrDefs.o
In file included from XmStrDefs.c:10:
../Xm/Xm.h:76:34: error: X11/extensions/Print.h: No such file or directory
In file included from XmStrDefs.c:10:
../Xm/Xm.h:858: error: expected specifier-qualifier-list before 'XPContext'
gmake[3]: *** [XmStrDefs.lo] Error 1
gmake[3]: Leaving directory 
`/usr/pkgsrc/x11/openmotif/work/openmotif-2.3.1/lib/Xm'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory 
`/usr/pkgsrc/x11/openmotif/work/openmotif-2.3.1/lib/Xm'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leavi


                --Steve Bellovin, http://www.cs.columbia.edu/~smb


Home | Main Index | Thread Index | Old Index