Tiny Core Linux
Tiny Core Extensions => TCE Bugs => Topic started by: Juanito 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: $ sudo ln -s /usr/local/lib/libexpat.la libexpat.la
..otherwise "make" fails with an error about missing /usr/lib/libexpat.la
-
Is this tc 1.x or 2.x?
-
Is this tc 1.x or 2.x?
Sorry - 2.x
-
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.
-
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...
-
The .la files of the pango modules are corrupt, they point to needing /usr/lib/libexpat.la. I will fix them this afternoon.
-
Juanito,
It is fixed. Redownload pango.tcel/tczl and try again.
-
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;
-
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.
-
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.
-
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?
-
Hmm... I re-ran the compilation using the new pango/pango-devs in tc_2.x with Xorg-7.4-dev, but:
...
/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.
-
fontconfig.la also points to /usr/lib/expat.la. Will also fix.
EDIT: fontconfig-devs also fixed.
-
All that remains is to fix the reference to expat in libcairo.la and we're in good shape ;)
-
Ok, will get to that tonight.