Re: libgnomeui! ahhh



Alex Roberts <bse@dial.pipex.com> writes:

> I'm trying to compile gEdit but I get this error:
> 
> /usr/local/lib/libgnomeui.so: undefined reference to `gtk_signal_init'
> make: *** [gedit] Error 1

In my case this was a sign that the build process isn't completely
careful about respecting --with-gtk.  It wasn't picking up the right
gtk libs.  On my Debian system, I had to purge libgtk1-dev and
rebuild.  This fixed it.  Here's the autoconfig step I've been using:

  GTK_CONFIG=/usr/local/opt/gtk+/bin/gtk-config \
  LD_LIBRARY_PATH=/usr/local/opt/gtk+/lib:/usr/local/opt/gnome/lib \
    ./autogen.sh --prefix=/usr/local/opt/gnome \
                 --with-gtk-prefix=/usr/local/opt/gtk+\
                 --with-gnome=/usr/local/opt/gnome

And here's the make step:

  PATH=/usr/local/opt/gtk+/bin:${PATH} \
  GTK_CONFIG=/usr/local/opt/gtk+/bin/gtk-config \
  LD_LIBRARY_PATH=/usr/local/opt/gtk+/lib make

I still can't get gnome-core to build, though.  It dies with the
autoconf problem I mentioned earlier.  Someone else reported the same
thing:  ./configure: line 525: syntax error near unexpected token
`AM_CONFIG_HEADER(config.h)'

-- 
Rob Browning <rlb@cs.utexas.edu>
PGP fingerprint = E8 0E 0D 04 F5 21 A0 94  53 2B 97 F5 D6 4E 39 30



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]