Compile help

magpie cabernet at webshield.net.au
Fri Oct 8 23:40:38 EDT 2004


On Fri, Oct 08, 2004 at 09:42:52PM -0400, Derek Atkins wrote:
> magpie <cabernet at webshield.net.au> writes:
> 
> >> > /usr/lib/gcc-lib/i586-suse-linux/3.3.1/../../../../i586-suse-linux/bin/ld:
> >> > cannot find -lgdk_imlib
> >> 
> >> Well....  This would be the problem.....  It can't find gtk_imlib.  Do you have
> >> the imlib-devel package installed?
> >
> > Hmmmm, checked imlib-devel. This was installed along with imlib itself.
> > Imlib-config was not installed, but this does not seem to make any
> > difference. Config.log still complains of not finding -lgdk_imlib.
> > Brian
> >
> > imlib_1.9.14-187_i586.rpm
> > imlib-config_1.9.14-187_i586.rpm
> > imlib-devel_1.9.14-187_i586.rpm
> 
> Then it's a bug in your distro that they don't provide libgdk_imlib.so.
> On my RH9 system I get:
> 
> --> rpm -qf /usr/lib/libgdk_imlib.so
> imlib-devel-1.9.13-12
> 
> I can't help you beyond this -- your system is missing at least
> the .so symlink.  I don't know what else....

Thanks, your prompting helped. I dropped back to an earlier version of
imlib-devel and this did the trick. The ./configure script found lgal.
A similar problem is occurring with khtml. It's a pain. These are the files
on my system. I guess I require a libgtkhtml...so.

Brian

/opt/gnome/lib/gtkhtml
/opt/gnome/lib/gtkhtml/libgnome-gtkhtml-editor-3.1.so
/opt/gnome/lib/libgtkhtml-1.1.so.3
/opt/gnome/lib/libgtkhtml-1.1.so.3.0.5
/opt/gnome/lib/libgtkhtml-2.a
/opt/gnome/lib/libgtkhtml-2.la
/opt/gnome/lib/libgtkhtml-2.so
/opt/gnome/lib/libgtkhtml-2.so.0
/opt/gnome/lib/libgtkhtml-2.so.0.0.0
/opt/gnome/lib/libgtkhtml-3.1.so.7
/opt/gnome/lib/libgtkhtml-3.1.so.7.1.0
/opt/gnome/lib/pkgconfig/libgtkhtml-2.0.pc

Config.log


configure:13810: checking for gtkhtml < 1.1
configure:13875: checking for pkg-config
configure:13963: checking for gtkhtml >= 1.1
configure:13965: checking for gtk_html_new in -lgtkhtml-1.1
configure:13984: gcc -o conftest -g -O2 -Wall -Wunused    conftest.c
-lgtkhtml-1.1  -lpopt -lm  -lm 1>&5
/usr/lib/gcc-lib/i586-suse-linux/3.3.1/../../../../i586-suse-linux/bin/ld:
cannot find -lgtkhtml-1.1
collect2: ld returned 1 exit status
configure: failed program was:
#line 13973 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char gtk_html_new();

int main() {
gtk_html_new()
; return 0; }




> 
> -derek
> -- 
>        Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
>        Member, MIT Student Information Processing Board  (SIPB)
>        URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
>        warlord at MIT.EDU                        PGP key available

-- 
Powered by Suse Linux 9.0


More information about the gnucash-user mailing list