Re: pkg-config



On Fri, 2003-02-21 at 15:46, John Affleck wrote:
> On Fri, 2003-02-21 at 15:36, Thijs Thiessens wrote:
> > Perhaps I was not specific enough in my last email..clearly!! :)
> > I hope someone can help me, cause i'm trying for a few days now to compile 
> > garnome, but with very bad results.
> > 
> > What I do is the following:
> > test-rsvg.c: In function `main':
> > test-rsvg.c:59: `POPT_TABLEEND' undeclared (first use in this function)
> > test-rsvg.c:59: (Each undeclared identifier is reported only once
> > test-rsvg.c:59: for each function it appears in.)
> > make[5]: *** [test-rsvg.o] Error 1
> 
> At first glance, this looks like you either don't have popt.h installed,
> or it's installed somewhere funny. Do you have the popt RPM installed ?
> Can you find a file called popt.h (probably /usr/include/popt.h) ?

This looks like it might be an error specific to your version of
popt-devel. What distro are you running? I remember SuSE having some
specific issues with some version(s).

Maybe this thread will help:

http://mail.gnome.org/archives/garnome-list/2002-December/msg00099.html

> 
> > So I went to the directory 
> > ~/downloads/garnome/garnome-0.21.2/gnome/librsvg/work/main.d/librsvg-2.2.3>
> > typed in: ./configure en got the following results back
> > 
> > ___________________________ [last lines console output]
> > 
> > checking for    gdk-pixbuf-2.0 >= 1.3.7         glib-2.0 >= 2.0.0       
> > libart-2.0 >= 2.3.10    libxml-2.0 >= 2.4.7     pangoft2 >= 1.0.0... Package 
> > gdk-pixbuf-2.0 was not found in the pkg-config search path.
> > Perhaps you should add the directory containing `gdk-pixbuf-2.0.pc'
> > to the PKG_CONFIG_PATH environment variable
> > No package 'gdk-pixbuf-2.0' found
> > 
> > configure: error: Library requirements (        gdk-pixbuf-2.0 >= 1.3.7         
> > glib-2.0 >= 2.0.0       libart-2.0 >= 2.3.10    libxml-2.0 >= 2.4.7     
> > pangoft2 >= 1.0.0) not met; consider adjusting the PKG_CONFIG_PATH 
> > environment variable if your libraries are in a nonstandard prefix so 
> > pkg-config can find them.
> > 
> > _____________________________________________________-
> > 
> > Do I need to adjust the pkg-config search path? How why? Or is it something 
> > else?
> > 
> > I hope you have enough information. 
> 
> I don't think this is the problem - I suspect that something will set
> the PKG_CONFIG_PATH correctly, or you wouldn't be even trying to compile
> libsvg.

Yeah, garnome sets a bunch of variables like PKG_CONFIG_PATH,
ACLOCAL_FLAGS, etc, running it manually in the work directory isn't
likely to work the same as when garnome runs it.
> 
> > Thank you very much
> 
> Hope this helps,
> 
> 	John A.
> 
> > 
> > Thijs Thiessens
> > Suse 8.1 | Athlon XP | i386




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