pkgsrc-Bugs archive

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

Re: pkg/50039: erroneous dependency of print/xpdf on libXp

The following reply was made to PR pkg/50039; it has been noted by GNATS.

From: David Holland <>
Subject: Re: pkg/50039: erroneous dependency of print/xpdf on libXp
Date: Tue, 20 Feb 2018 01:12:03 +0000

 On Thu, Aug 17, 2017 at 08:20:00AM +0000, J?rn Clausen wrote:
  >  It seems we are not done yet...
  >  Now building print/xpdf on NetBSD 7.0.1 fails with
  >  configure: WARNING: Couldn't find Motif
  >  configure: WARNING: -- You will be able to compile pdftops, pdftotext,
  >           pdfinfo, pdffonts, pdfdetach, and pdfimages, but not xpdf
  >           or pdftoppm
  >  If I understand the configure script correctly, there is actually a test 
  >  for Motif involving libXp ($Xp_LIBS something something), which now 
  >  probably fails.
  >  The configure script is provided by xpdf. I removed it and recreated it 
  >  using pkgsrc's autoconf, but the problem remains.
  >  So the correct fix is to change the test for Motif in autoconf? Or is 
  >  libXp simply a necessity when using Motif/LessTif, and the fix to 
  >  lesstif should have been the other way round?
 libXp is deprecated, obsolete, dead, and shouldn't be used by
 anything. It doesn't exist on -current and this problem doesn't arise
 (hasn't ever, that I can recall, either) so there must be something
 else going on. Or, must have been last August, anyway.
 This is what I get with 'make configure' for xpdf today, on -current,
 where no libXp exists anywhere on the system:
    checking whether to use Xp library... maybe
    checking where to find the Xp header files... 
    checking X11/extensions/Print.h usability... no
    checking X11/extensions/Print.h presence... no
    checking for X11/extensions/Print.h... no
    not using Xp library
    checking whether to use Xt library... maybe
    checking where to find the Xt header files... 
    checking X11/Intrinsic.h usability... yes
    checking X11/Intrinsic.h presence... yes
    checking for X11/Intrinsic.h... yes
    checking for XtAppInitialize in -lXt... yes
    using Xt library
    checking whether to use Xm library... maybe
    checking where to find the Xm header files... 
    checking Xm/XmAll.h usability... yes
    checking Xm/XmAll.h presence... yes
    checking for Xm/XmAll.h... yes
    checking for XmCreateForm in -lXm... yes
    using Xm library
 Does 7.0.1 still have libXp? Is the problem that the xpdf configure
 script finds part of it, thinks it should use it, but then fails
 because it isn't buildlinked?
 David A. Holland

Home | Main Index | Thread Index | Old Index