WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Xorg-7.4-dev and expat2-devs  (Read 5349 times)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14832
Xorg-7.4-dev and expat2-devs
« on: May 20, 2009, 01:12:59 AM »
I'm not sure, but there seems to be an issue with Xorg-7.4-dev and/or expat2-devs...

When compiling cairomm/pangomm/gtkmm, I need to add the following symlink:
Code: [Select]
$ sudo ln -s /usr/local/lib/libexpat.la libexpat.la..otherwise "make" fails with an error about missing /usr/lib/libexpat.la

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11048
Re: Xorg-7.4-dev and expat2-devs
« Reply #1 on: May 20, 2009, 08:11:41 AM »
Is this tc 1.x or 2.x?
The only barriers that can stop you are the ones you create yourself.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14832
Re: Xorg-7.4-dev and expat2-devs
« Reply #2 on: May 20, 2009, 08:24:16 AM »
Is this tc 1.x or 2.x?
Sorry - 2.x

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11048
Re: Xorg-7.4-dev and expat2-devs
« Reply #3 on: May 20, 2009, 08:30:09 AM »
Adding that symlink to expat2-devs would be an ok solution. I don't however know why this would happen, as I think all references to expat should point to /usr/local.
The only barriers that can stop you are the ones you create yourself.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14832
Re: Xorg-7.4-dev and expat2-devs
« Reply #4 on: May 20, 2009, 08:34:44 AM »
That was my thought too - I mean the expat devs obviously point to /usr/local, but I was wondering if one of the Xlib-devs for an Xlib that depended on expat was pointing to /usr because that was where the Xlib, rather than expat, was located.

I started to check this line of thought, but then got lost between various .la and .pc files...

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Xorg-7.4-dev and expat2-devs
« Reply #5 on: May 20, 2009, 09:07:42 AM »
The .la files of the pango modules are corrupt, they point to needing /usr/lib/libexpat.la.  I will fix them this afternoon.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Xorg-7.4-dev and expat2-devs
« Reply #6 on: May 20, 2009, 12:57:46 PM »
Juanito,
It is fixed.  Redownload pango.tcel/tczl and try again. 

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: Xorg-7.4-dev and expat2-devs
« Reply #7 on: May 20, 2009, 03:52:45 PM »
The other deps seem to be correctly pointed to. Maybe expat was in /usr/lib when it was compiled?

Edit: nope...there's others, like /usr/local/lib/libXau.la; there's no  /usr/lib/libX11.la;   
« Last Edit: May 20, 2009, 04:09:17 PM by jpeters »

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Xorg-7.4-dev and expat2-devs
« Reply #8 on: May 20, 2009, 04:06:34 PM »
The gtk2 stack was built on TC 1.x with it's Xorg and -dev extension, which had .la files in different places than TC 2.x's extensions have them.  I will update the extensions on TC 2.x and that should fix it.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Xorg-7.4-dev and expat2-devs
« Reply #9 on: May 20, 2009, 08:48:15 PM »
jpeters,
I see a /usr/lib/libX11.la in TC 2.x with the Xorg -devs loaded.  Nevertheless, the pango-devs extension has also been corrected of a /usr/lib/expat.la typo.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14832
Re: Xorg-7.4-dev and expat2-devs
« Reply #10 on: May 20, 2009, 11:31:51 PM »
The gtk2 stack was built on TC 1.x with it's Xorg and -dev extension, which had .la files in different places than TC 2.x's extensions have them.  I will update the extensions on TC 2.x and that should fix it.
I compiled glibmm, pangomm, etc against the gtk2 stack in tc_2.x and the only error was the one mentioned at the top of the post, so maybe the mod you made to pango-devs is enough?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14832
Re: Xorg-7.4-dev and expat2-devs
« Reply #11 on: May 21, 2009, 03:15:03 AM »
Hmm... I re-ran the compilation using the new pango/pango-devs in tc_2.x with Xorg-7.4-dev, but:
Code: [Select]
...
/bin/sh ../libtool --tag=CXX   --mode=link g++  -march=i486 -mtune=i686 -Os -pipe -version-info 4:0:3
-o libcairomm-1.0.la -rpath /usr/local/lib context.lo fontface.lo fontoptions.lo matrix.lo path.lo pattern.lo
quartz_font.lo quartz_surface.lo surface.lo xlib_surface.lo win32_font.lo win32_surface.lo exception.lo
scaledfont.lo   private.lo context_surface_quartz.lo context_surface_win32.lo context_surface_xlib.lo
-L/usr/local/lib -lsigc-2.0 -lfreetype -lfontconfig -lpng12 -lz -lXrender -lcairo -lX11   
libtool: link: cannot find the library `/usr/lib/libexpat.la' or unhandled argument `/usr/lib/libexpat.la'
make[3]: *** [libcairomm-1.0.la] Error 1
make[3]: Leaving directory `/usr/src/cairomm-1.8.0/cairomm'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/cairomm-1.8.0/cairomm'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/cairomm-1.8.0/cairomm'
make: *** [all-recursive] Error 1

I'll look through the freetype/fontconfig/Xrender/X11 devs when I get a moment.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Xorg-7.4-dev and expat2-devs
« Reply #12 on: May 21, 2009, 04:20:19 AM »
fontconfig.la also points to /usr/lib/expat.la.  Will also fix. 

EDIT: fontconfig-devs also fixed.
« Last Edit: May 21, 2009, 04:29:33 AM by Jason W »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14832
Re: Xorg-7.4-dev and expat2-devs
« Reply #13 on: May 22, 2009, 05:47:50 AM »
All that remains is to fix the reference to expat in libcairo.la and we're in good shape  ;)

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Xorg-7.4-dev and expat2-devs
« Reply #14 on: May 22, 2009, 06:11:07 AM »
Ok, will get to that tonight.