pkgsrc-Bugs archive

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

Re: pkg/56627: net/tigervnc fails to build on Solaris 11.3 due to missing -lsocket -lnsl linker flags



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

From: Tobias Nygren <tnn%NetBSD.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/56627: net/tigervnc fails to build on Solaris 11.3 due to
 missing -lsocket -lnsl linker flags
Date: Fri, 14 Jan 2022 19:24:07 +0100

 > LDFLAGS+=       ${BUILDLINK_LDADD.gettext} -lsocket -lnsl
 
 I fixed this. (We use LDFLAGS.SunOS for contional -lsocket -lnsl).
 
 > mv: cannot access /opt/netbsd/pkg.objects/net/tigervnc/work.pkgsrc/.destdir/opt/pkg/etc/pam.d/tigervnc
 > *** Error code 2
 > 
 > There is no etc/pam.d generated on Solaris. This probably needs to be conditionally excluded from Makefile post-install.
 
 It is generated for me and the package builds OK now on 
 SunOS openindiana 5.11 illumos-c6282d59cf i86pc i386 i86pc.
 I can reproduce your error if I run "make post-install" twice.
 Maybe it was a side-effect from other errors?
 Can you try again with a clean work directory and up-to-date CVS?
 


Home | Main Index | Thread Index | Old Index