building VTE



There were some recent posts in the archives about build failures with VTE as it was picking up old versions of software such as pango and glib despite -L directives telling it to look elsewhere.  I had this problem and I was able to get my VTE to build by doing the following, hopefully it'll help someone out:

1. Make sure your garnome bin dir is at the top of your PATH.  I built automake and libtool and a couple other goodies from bootstrap and they should be used for the build process whenever possible.  Run rehash after changing if you use a c-shell.

2. Make sure garnome lib dir is at top of LD_LIBRARY_PATH - not sure if this actually comes into play for VTE.

3. Make sure garnome/lib/pkgconfig is at top of PKG_CONFIG_PATH

4. Modify ALL Makefiles in VTE directory to hard-code paths to red object libs.  You can copy/paste the following in a vi editor to do this:

:%s/-lpangoxft-1.0/\/usr\/local\/garnome-2.5.92\/lib\/libpangoxft-1.0.so/g
:%s/-lpangox-1.0/\/usr\/local\/garnome-2.5.92\/lib\/libpangox-1.0.so/g
:%s/-lpango-1.0/\/usr\/local\/garnome-2.5.92\/lib\/libpango-1.0.so/g
:%s/-lglib-2.0/\/usr\/local\/garnome-2.5.92\/lib\/libglib-2.0.so/g
:%s/-lglib-2.0/\/usr\/local\/garnome-2.5.92\/lib\/libglib-2.0.so/g
:%s/-lgobject-2.0/\/usr\/local\/garnome-2.5.92\/lib\/libgobject-2.0.so/g
:%s/-lgmodule-2.0/\/usr\/local\/garnome-2.5.92\/lib\/libgmodule-2.0.so/g
:%s/-liconv/\/usr\/local\/garnome-2.5.92\/lib\/libiconv.so/g
:%s/-lgtk-x11-2.0/\/usr\/local\/garnome-2.5.92\/lib\/libgtk-x11-2.0.so/g
:%s/-lart_lgpl_2/\/usr\/local\/garnome-2.5.92\/lib\/libart_lgpl_2.so/g
:%s/-lgdk-x11-2.0/\/usr\/local\/garnome-2.5.92\/lib\/libgdk-x11-2.0.so/g
:%s/-latk-1.0/\/usr\/local\/garnome-2.5.92\/lib\/libatk-1.0.so/g
:%s/-lgdk_pixbuf-2.0/\/usr\/local\/garnome-2.5.92\/lib\/libgdk_pixbuf-2.0.so/g
:%s/-lfreetype/\/usr\/local\/garnome-2.5.92\/lib\/libfreetype.so/g
:%s/-lXft/\/usr\/local\/garnome-2.5.92\/lib\/libXft.so/g
:%s/-lXrender/\/usr\/local\/garnome-2.5.92\/lib\/libXrender.so/g
:%s/-lfontconfig/\/usr\/local\/garnome-2.5.92\/lib\/libfontconfig.so/g

Josh



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]