From owner-freebsd-questions Sat Dec 12 17:29:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA23588 for freebsd-questions-outgoing; Sat, 12 Dec 1998 17:29:56 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA23541; Sat, 12 Dec 1998 17:29:21 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (keep.lan.Awfulhak.org [172.16.0.8]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id BAA01250; Sun, 13 Dec 1998 01:28:39 GMT (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (localhost [127.0.0.1]) by keep.lan.Awfulhak.org (8.9.1/8.9.1) with ESMTP id AAA48648; Sun, 13 Dec 1998 00:51:19 GMT (envelope-from brian@keep.lan.Awfulhak.org) Message-Id: <199812130051.AAA48648@keep.lan.Awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: Stefan =?iso-8859-1?Q?E=DFer?= cc: "Jason C. Wells" , FreeBSD-questions Subject: Re: Kdesupport Build Dies In-reply-to: Your message of "Sun, 06 Dec 1998 01:25:41 GMT." <199812060125.BAA71447@keep.lan.Awfulhak.org> Mime-Version: 1.0 Content-Type: multipart/mixed ; boundary="==_Exmh_8282444270" Date: Sun, 13 Dec 1998 00:51:19 +0000 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multipart MIME message. --==_Exmh_8282444270 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi Stefan, I think there's a problem with the kdesupport port. I've enclosed a = patch that fixes the problem, although I'm fairly sure it isn't done = in the most correct way.... Can you review the change ? I won't commit unless you give me the = go-ahead. Cheers. > > Here is a snippet from my build. > > = > > /usr/ports/converters/kdesupport $ make > > ...snip... > > /bin/sh ../libtool --mode=3Dlink c++ -O -pipe -L/usr/X11R6/lib -o exa= mple > > example.o libQwSpriteField.la -lqt -lX11 > > c++ -O -pipe -L/usr/X11R6/lib -o .libs/example example.o -Wl,--rpath > > -Wl,/usr/local/lib .libs/libQwSpriteField.so -L/usr/X11R6/lib -lqt -l= X11 > > -lqt -lX11 > > /usr/libexec/elf/ld: warning: libXext.so.6, needed by = > > /usr/X11R6/lib/libqt.so, not found (try using --rpath) > > /usr/X11R6/lib/libqt.so: undefined reference to `XShapeCombineRegion'= > > /usr/X11R6/lib/libqt.so: undefined reference to `XShapeCombineMask' = > > *** Error code 1 > > = > > But Xext is right where it ought to be. > > -rwxr-xr-x 1 root wheel 44983 Nov 25 23:43 /usr/X11R6/lib/libXext.= so.6 > > = > > I run 3.0 and I do have the "upgrade kit" which fixed a lot of earlie= r > > problems. The port bits are fresh from last night. > > = > > I saw the comments about -rpath and read the man but it is all greek = to > > me. Is the port broke or am I broke? How do I get this to build? > = > I just noticed this too. It can be fixed by manually tweaking the = > Makefile in that directory and adding ``-Wl,--rpath -Wl,/usr/X11R6/lib'= ' = > to the CXXLINK definition (I think that was the variable name - CXX = > something anyway). > = > I'll try to get time to fix it properly soon. > = > > Catchya Later, | UW Mechanical Engineering > > Jason Wells | http://weber.u.washington.edu/~jcwells/ > = > -- = > Brian > > Don't _EVER_ lose your sense of humour ! --==_Exmh_8282444270 Content-Type: application/octet-stream ; name="patch-a3" Content-Description: kdesupport/patches/patch-a3 Content-Disposition: attachment; filename="patch-a3" --- QwSpriteField/Makefile.in.orig Fri Jul 10 19:39:55 1998 +++ QwSpriteField/Makefile.in Sun Dec 13 00:41:25 1998 @@ -179,7 +179,7 @@ CXXFLAGS = @CXXFLAGS@ CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS) LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS) -CXXLINK = $(LIBTOOL) --mode=link $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ +CXXLINK = $(LIBTOOL) --mode=link $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ -Wl,--rpath -Wl,$(x_libraries) HEADERS = $(include_HEADERS) DIST_COMMON = README COPYING.LIB Makefile.am Makefile.in --==_Exmh_8282444270-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message