Mailinglist Archive: opensuse (3506 mails)

< Previous Next >
Re: [SLE] How do I fix this for building an rpm?
  • From: JB <yonaton@xxxxxxxxxxxx>
  • Date: Fri, 1 Sep 2006 19:52:33 +0000 (UTC)
  • Message-id: <200609011450.56060.yonaton@xxxxxxxxxxxx>
On Friday 01 September 2006 05:27, Anders Johansson wrote:

> On Friday 01 September 2006 12:16, JB wrote:
> > Hiya all,
> >
> > I'm trying to build an rpm of gpa, and I've got the src.rpm fine, but
> > when I do:
> >
> > rpmbuild --rebuild <src.rpm>
> >
> > it ends with:
> >
> > checking for GTK+ - version >= 2.2.0... no
> > *** Could not run GTK+ test program, checking why...
> > *** The test program failed to compile or link. See the file config.log
> > for the
> > *** exact error that occured. This usually means GTK+ is incorrectly
> > installed.
> > configure: error: Cannot find GTK+ 2.0
> >
> > I tried exporting GTK to /opt/gnome/lib (which is where I think GTK+
> > is), but it didn't make any difference.
> > Anyone got any ideas how I can get around this?
>
> Try installing gtk2-devel

It was and is. I've tried doing this:

export GTK=/opt/gnome/include/gtk-2.0/gtk

(and other places gtk-2.0 showed up in /opt/gnome), but it still can't find
GTK+. What am I doing wrong? Should I be 'exporting'? If I try :

export GTK+=<path>

It's an invalid identifier. Is there anything I can show anyone to help
figure out what I'm doing wrong?

Thanks,

JB

< Previous Next >
Follow Ups
References