Date: Sun, 13 Dec 1998 00:51:19 +0000 From: Brian Somers <brian@Awfulhak.org> To: Stefan =?iso-8859-1?Q?E=DFer?= <se@FreeBSD.ORG> Cc: "Jason C. Wells" <jcwells@u.washington.edu>, FreeBSD-questions <freebsd-questions@FreeBSD.ORG> Subject: Re: Kdesupport Build Dies Message-ID: <199812130051.AAA48648@keep.lan.Awfulhak.org> In-Reply-To: Your message of "Sun, 06 Dec 1998 01:25:41 GMT." <199812060125.BAA71447@keep.lan.Awfulhak.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <brian@Awfulhak.org> <brian@FreeBSD.org> <brian@OpenBSD.org> > <http://www.Awfulhak.org> > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812130051.AAA48648>