On Mon, Jul 17, 2000 at 05:00:17PM +0800, Geoffrey Lee wrote:
[snip]
Hey, please don't quote the whole posting.
> > --- pango-config.in~        Thu Jun  8 20:47:57 2000
> > +++ pango-config.in Sat Jul 15 17:58:27 2000
> > @@ -83,7 +83,7 @@
> >  fi
> >  if test "$echo_cflags" = "yes"; then
> >     cflags="@UNICODE_CFLAGS@ @GLIB_CFLAGS@"
> > -   echo -I@libdir@/glib/include $includes $cflags
> > +   echo $includes $cflags
> just from looking at config.in :
>
> i don't see why -I@libdir@/glib/include had to be erased ...? it is just a
> define, if it really is bogus then i guess it doesn't really matter, just
> like you sometimes see -I/usr/local/include passed around to gcc when
> building even though you very ewll kow that stuff are in -I/usr/include
> instead.
No, I did that for a reason. hackgtk+ won't build if pango-config is passing
the include paths of glib and glib2.0, there are header conflicts. With the
patch only -I/usr/include/glib2.0 is passed.

> > --- examples/Makefile.in~   Thu Jul  6 22:01:14 2000
> > +++ examples/Makefile.in    Sat Jul 15 17:36:24 2000
> > @@ -88,7 +88,7 @@
> >  ###################################################
> >  
> >  @BUILD_QT_TEST_TRUE@QT_INCLUDES = -I $(QTDIR)/include
> > -@BUILD_QT_TEST_TRUE@QT_LIBS = -L $(QTDIR)/lib -lqt 
> > +@BUILD_QT_TEST_TRUE@QT_LIBS = $(QTDIR)/lib/libqt.so.2
> >  @BUILD_QT_TEST_TRUE@MOC = $(QTDIR)/bin/moc
> 
> i guess for this you can do QTDIR="/usr/lib/qt2" ./configure to save you the
> trouble of maintaining the Makefile patch ....or maybe
No, the configure script does recognise the /usr/lib/qt2 dir. The problem is
that /usr/lib/ is before /usr/lib/qt2 in ld's path, so it tries to link with
/usr/lib/libqt.so with is a link to /usr/lib/libqt.so.1

> find . -type f -exec perl -pi -e 's/-lqt/-lqt2/' {} \;

> both should fairly well, considering that if we pick up QTDIR as
> /usr/lib/qt2 then the libs linked would be qt2 since only qt2 gets
> installed there.
I think the QT 2.1 lib's name ist libqt and not libqt2, that's why it won't
work as you suggested.

-- 
   Goetz Waschk <> student of computer science  <> university Rostock    
 http://www.informatik.uni-rostock.de/~waschk/waschk.asc for PGP key
                         --> Logout Fascism! <--

Reply via email to