NetBSD Problem Report #40958

From  Wed Mar  4 09:41:03 2009
Return-Path: <>
Received: from ( [])
	by (Postfix) with ESMTP id 52E9F63BD3B
	for <>; Wed,  4 Mar 2009 09:41:03 +0000 (UTC)
Message-Id: <>
Date: Wed,  4 Mar 2009 09:41:02 +0000 (UTC)
Subject: x11/lesstif depends on libXft
X-Send-Pr-Version: www-1.0

>Number:         40958
>Category:       pkg
>Synopsis:       x11/lesstif depends on libXft
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 04 09:45:00 +0000 2009
>Last-Modified:  Mon Mar 09 08:45:00 +0000 2009
>Originator:     Jörn Clausen
University of Bielefeld
SunOS opensolaris 5.11 snv_101b i86pc i386 i86pc

x11/lesstif uses libXft, but does mention it as dependency.

--- Makefile.orig       Mon Jul 14 05:56:18 2008
+++ Makefile    Tue Mar  3 23:45:49 2009
@@ -68,6 +68,7 @@

 .include "../../fonts/fontconfig/"
 .include "../../x11/libXext/"
+.include "../../x11/libXft/"
 .include "../../x11/libXp/"
 .include "../../x11/libXrender/"
 .include "../../x11/libXt/"

From: "Jeremy C. Reed" <>
Subject: Re: pkg/40958
Date: Fri, 6 Mar 2009 19:37:15 -0600 (CST)

 What type of error do you get regarding lesstif missing dependency of

 (I looked at lesstif 0.95.0nb1 libraries and binaries and they don't link 
 with libXft as far as I see.)

From: =?ISO-8859-1?Q?J=F6rn_Clausen?= <>
Subject: Re: pkg/40958
Date: Mon, 09 Mar 2009 09:44:51 +0100

 Use the source...

 gmake[2]: Entering directory 
 /opt/pkg/ssc/bin/pdksh ../../libtool --tag=CC --mode=compile cc 
 -DHAVE_CONFIG_H -I. -I. -I../../include  -I../../include/Motif-2.1 
 -I../../include/Motif-2.1 -I/opt/pkg/ssc/include -I/opt/pkg/ssc/include 
 -I/opt/pkg/ssc/include/freetype2 -I/opt/pkg/ssc/include/freetype2 
 -I/opt/pkg/ssc/include -I/opt/pkg/ssc/include  -O -I/opt/pkg/ssc/include 
 -I/opt/pkg/ssc/include/freetype2 -c -o Print.lo Print.c
   cc -DHAVE_CONFIG_H -I. -I../../include -I../../include/Motif-2.1 
 -O -c Print.c  -KPIC -DPIC -o .libs/Print.o
 "../../include/Motif-2.1/XmI/XmI.h", line 50: cannot find include file: 
 "../../include/Motif-2.1/XmI/XmI.h", line 101: syntax error before or 
 at: XftPattern
 "../../include/Motif-2.1/XmI/XmI.h", line 502: warning: old-style 
 declaration or incorrect type for: XftDraw
 "../../include/Motif-2.1/XmI/XmI.h", line 502: syntax error before or at: *
 "../../include/Motif-2.1/XmI/XmI.h", line 502: warning: old-style 
 declaration or incorrect type for: _XmXftDrawCreate
 "../../include/Motif-2.1/XmI/XmI.h", line 503: syntax error before or 
 at: XftDraw
 "../../include/Motif-2.1/XmI/XmI.h", line 503: warning: undefined or 
 missing type for: XftDraw
 cc: acomp failed for Print.c
 gmake[2]: *** [Print.lo] Error 1
 gmake[2]: Leaving directory 
 gmake[1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory 
 gmake: *** [all-recursive] Error 1
 *** Error code 2

 I tried this on OpenSolaris 11, and it happens only with the Sun Studio 
 Compiler, not with GCC. Ah, because USE_XFT is not defined in the latter 
 case. Hmm, even when adding the dependency on libXft in Makefile, when 
 using GCC, configure does not pick up libXft.

   Jörn Clausen                   
   Universität Bielefeld

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.