[csw-maintainers] Building tightvnc (was: Can't run Sun Studio in vncserver)
Maciej (Matchek) Blizinski
maciej at opencsw.org
Wed Sep 9 18:49:50 CEST 2009
On Wed, Sep 9, 2009 at 5:34 PM, Ben Walton<bwalton at opencsw.org> wrote:
> Excerpts from Maciej (Matchek) Blizinski's message of Wed Sep 09 12:16:24 -0400 2009:
>> The build ignores the EXTRA_LIBRARIES variable. It's present in the
>> generated Makefile, but set to something different that what's in the
>> GAR Makefile.
> So you're adding -lwrap (or whatever the format is) to EXTRA_LIBRARIES
> and it's completely ignoring it?
Yes. Tired of being a gentleman with this build, I took a big hammer
and forced -lwrap down its throat:
diff --git a/Xvnc/config/cf/vnclibs.def b/Xvnc/config/cf/vnclibs.def
index c033ca7..948fd7a 100644
@@ -11,7 +11,7 @@ VNCLIBS = $(TOP)/../libvncauth/libvncauth.a
/* Avoid linking with different libjpeg in /usr/shlib under Tru64. */
VNCSYSLIBS = /usr/local/lib/libjpeg.a /usr/local/lib/libz.a -lcrypt
-VNCSYSLIBS = -L/usr/local/lib -ljpeg -lz -lcrypt
+VNCSYSLIBS = -L/usr/local/lib -ljpeg -lz -lcrypt -lwrap
VNCCPPFLAGS = -I$(TOP)/../include -I/usr/local/include
It builds now!
More information about the maintainers