pkgsrc-Users archive

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

Re: xpdf build error: conflicts with new declaration with 'C' linkage



On Thu, 2 Aug 2007, Tobias Nygren wrote:

> On Wed, 1 Aug 2007 15:51:05 -0500 (CDT)
> "Jeremy C. Reed" <reed%reedmedia.net@localhost> wrote:
> 
> > c++ -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 
> > -DHAVE_CONFIG_H -DPREFIX="\"/usr/pkg\"" -I.. -I./../goo -I./../fofi 
> > -I./../splash -I. -I/usr/pkg/include/freetype2       -I/usr/pkg/include   
> > -I/usr/pkg/include -DHAVE_XPDFCORE -c -o SecurityHandler.x.o  
> > SecurityHandler.cc
> > /home/packages/tmp-pkgsrc/print/xpdf/work.glacier/.buildlink/include/X11/VendorP.h:87:
> >  error: previous declaration of 'VendorShellClassRec vendorShellClassRec' 
> > with 'C++' linkage
> > /home/packages/tmp-pkgsrc/print/xpdf/work.glacier/.buildlink/include/Xm/VendorSP.h:58:
> >  error: conflicts with new declaration with 'C' linkage
> > *** Error code 1
> > 
> > Stop.
> > 
> > My VendorP.h is from libXt-1.0.5
> > 
> > My VendorSP.h is from lesstif-0.95.0
> > 
> > This is on NetBSD/i386 3.99.24
> > 
> >   Jeremy C. Reed
> > 
> > p.s. I didn't research this yet ...
> 
> 
> It is supposed to be fixed with this commit:
> http://mail-index.netbsd.org/pkgsrc-changes/2007/06/26/0010.html
> Please try nb1 of lesstif and let me know if it still doesn't work.

Thanks. That worked. Should it depend on at least the lesstif-0.95.0nb1 
version then? Maybe:

BUILDLINK_API_DEPENDS.lesstif+= lesstif>=0.95.0nb1

Also installing xpdf said:

=> Running POST-INSTALL script actions
./+FILES: 153: Syntax error: redirection unexpected
./+FILES: 153: Syntax error: redirection unexpected
./+FILES: 153: Syntax error: redirection unexpected
./+FILES: 153: Syntax error: redirection unexpected
=> Registering installation for xpdf-3.02


  Jeremy C. Reed



Home | Main Index | Thread Index | Old Index