^thehatsrule^
Group: Members
Posts: 3275
Joined: July 2006 |
|
Posted: April 13 2008,17:44 |
|
Quote | BTW, "export CFLAGS=-DSSIZE_MAX=LONGMAX" threw up an error about "LONGMAX" not being defined, but "-DSSIZE_MAX=0x7fffffff" worked for me compiling glib2. | Ah, it should be LONG_MAX. I guess I typed it out wrong the second time around. Updated post to reflect the correct define.
Quote | You would link to the right libraries during build time, but get your wires crossed later running ldconfig all the same. Extensions that contain libraries to be used for just that extension pose no problem even if there are other versions installed in the base system. The purpose of course with a gtk2.uci is to be able to use it with Firefox and any other app that expects gtk2 to be in a standard, or at least findable, place. I think there would be no issues if I just built extensions against the /opt/gtk+-2.12.9 location that would not require using ldconfg after installing gtk2. But that would not be of much use. | Some ideas: - you could use a .dsl or .unc like the previous gtk2 extensions - do some 'magic' with ldconfig or on ld.so.conf (i.e. have your gtk path first) - set LD_LIBRARY_PATH, i.e. in .xinitrc and tell the user to restart X - GTK variables (see http://library.gnome.org/devel/gtk/unstable/gtk-running.html )
I was looking forward to this extension (to save me a bit of time a well), so it would be nice to see it completed, even if it's not an entirely ideal solution.
|