Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (4) </ 1 [2] 3 4 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: The Gimp 2.4, Is anyone up to the challenge?< Next Oldest | Next Newest >
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Nov. 27 2007,04:45 QUOTE

I don't think it would be that difficult, just very, very tedious.

You could start with pango-1.12.2, use "./configure --prefix=/opt/gimp-2.4 --enable-shared --disable-static"/ as a starting point, add anything needed from "./configure --help" and go for it.

I'd appreciate somebody testing the compile-3.3.5.uci extension :)
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Dec. 11 2007,11:48 QUOTE

I did look into this a little more and, yes, it was tedious...

So far I compiled freetype-2.1.8 -> fontconfig-2.2.0 -> glib-2.14.0 -> pango-1.12.2 -> atk-1.9.0

and now I'm stuck because the next steps are cairo-1.2.0 -> gtk+-2.10.13 and I cannot compile cairo. Even if I compile with --disable-xlib-xrender (or something like that), I get:
Code Sample
$ make
...
In file included from cairo-xlib-surface.c:40:
cairo-xlib-xrender.h:44:36: X11/extensions/Xrender.h: No such file or directory

It would seem to make sense that cairo is built so that it uses the xlibs in the base dsl rather than obliging a user to load xfree86 or xorg72. In addition, I doubt (but could easily be wrong) that including additional xlibs in an eventual extension would work well with the base dsl, so I don't know which way to go next.

Any ideas (as stated in another thread, cairo is used in several other applications that could be interesting on dsl)?
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Dec. 18 2007,09:31 QUOTE

OK, so I managed to compile cairo-1.2 but now I'm stuck compiling gimp-2.4 itself:
Code Sample
$ make
...
gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -o .libs/gimp-thumbnail-list gimp-thumbnail-list.o  ./.libs/libgimpthumb-2.0.so
/opt/gimp-2.4/lib/libgobject-2.0.so.0: undefined reference to `g_datalist_unset_flags'
/opt/gimp-2.4/lib/libgthread-2.0.so.0: undefined reference to `g_thread_gettime'
./.libs/libgimpthumb-2.0.so: undefined reference to `g_intern_static_string'/
etc, etc...

I've tried google on "undefined reference to `g_datalist_unset_flags'" and get 4 hits but I cannot access any of the sites - can anyone help out?

Note:
Code Sample
$ ldd /opt/gimp-2.4/lib/libgobject-2.0.so.0
       libglib-2.0.so.0 => /opt/gimp-2.4/lib/libglib-2.0.so.0 (0x40035000)
       libc.so.6 => /lib/libc.so.6 (0x400f7000)
       /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
-  I'm using glib-2.14 which should be sufficiently uptodate
Back to top
Profile PM 
john.martzouco Offline





Group: Members
Posts: 253
Joined: Nov. 2007
Posted: Dec. 18 2007,12:59 QUOTE

I get the same four hits.  you're right, the top two won't open.  But the Google 'Cached' link did for the first one and the last one.  The Cached links are underneath the main listing to the right of the URL shown in green.
Back to top
Profile PM 
WDef Offline





Group: Members
Posts: 798
Joined: Sep. 2005
Posted: Dec. 18 2007,13:25 QUOTE

Anything to do with 'undefined reference' is usually a missing/mismatched header for a lib.

I've tried getting into the google refs.  Contexts are not exactly the same.

Two suggest there is a problem with cairo or pango installs/versions.

Quote
al parecer hay problemas con las librerias de pango y cairo.... dijate si las instalaste bien, que version de UTUTO tenes instalada??


Another got this error building glib2 when using apgcc but not when compiling with gcc.  

Finally, German one:

Quote
`Ldd / usr/local/gnome-2.15.90/lib/libgobject-2.0.so` should provide information, which is probably wrong (an old) library glib up.


Dealing with prior errors suggested that linking was borked and asked if LD_LIBARY_PATH had been set.  One good idea from there was to do:

grep 'error' config.log
tail config.log

and look for errors.

Good luck.

EDIT:    g_datalist_unset_flags appears to be prototyped in glib.h

http://developer.gimp.org/api/2.0/glib/glib-Keyed-Data-Lists.html

EDIT2:  Also found this:

Quote

> g_thread_gettime should be defined in libglib-2.0.so.
> What is the output of
>
> $ nm libglib-2.0.so | grep g_thread_gettime
> $ nm libgthread-2.0.so | grep g_thread_gettime
> and
> $ ldd libgthread-2.0.so
> ?
Back to top
Profile PM 
17 replies since Oct. 29 2007,16:52 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (4) </ 1 [2] 3 4 >/
reply to topic new topic new poll
Quick Reply: The Gimp 2.4

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code