LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-12-2004, 10:10 AM   #1
darin3200
LQ Guru
 
Registered: Dec 2002
Distribution: Gentoo!
Posts: 1,153

Rep: Reputation: 45
Gimp 2.0 libart-2.0 compile error


I'm trying to compile Gimp 2.0 and during the ./configure I get this

Code:
checking for GTK+ - version >= 2.2.2... yes (version 2.2.4)
checking if GTK+ is version 2.3.0 or newer... no
checking for gdk-pixbuf-2.0 >= 2.2.2... yes
checking GDK_PIXBUF_CFLAGS... -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
checking GDK_PIXBUF_LIBS... -Wl,--export-dynamic -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0  
checking for gdk-pixbuf-csource... /usr/bin/gdk-pixbuf-csource
checking for libart-2.0... Package libart-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libart-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libart-2.0' found

configure: error: Library requirements (libart-2.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.
I have already install libart_lgpl 2.3.9 and I still get this error. How do I fix this?
 
Old 04-12-2004, 10:26 AM   #2
CBlue
Member
 
Registered: Mar 2004
Location: South Carolina, USA
Distribution: Mepis
Posts: 287

Rep: Reputation: 30
Did you search your files to see if you have libart-2.0 anywhere? That's what it is looking for.
 
Old 04-12-2004, 11:36 AM   #3
darin3200
LQ Guru
 
Registered: Dec 2002
Distribution: Gentoo!
Posts: 1,153

Original Poster
Rep: Reputation: 45
Yeh, but how do I add these files to my pkg-config search path?



bash-2.05b$ locate libart
/var/cache/edb/dep/media-libs/libart_lgpl-2.3.16
/usr/bin/libart-config
/usr/lib/libart_lgpl.so.2.2.0
/usr/lib/libart_lgpl.so.2
/usr/lib/libart_lgpl.so
/usr/lib/libart_lgpl.la
/usr/lib/libart_lgpl.a
/usr/lib/libartConf.sh
/usr/local/bin/libart-config
/usr/local/bin/libart2-config
/usr/local/lib/libart_lgpl.so.2.3.3
/usr/local/lib/libart_lgpl.so.2
/usr/local/lib/libart_lgpl.so
/usr/local/lib/libart_lgpl.la
/usr/local/lib/libart_lgpl.a
/usr/local/lib/libartConf.sh
/usr/local/lib/libart_lgpl_2.so.2.3.9
/usr/local/lib/libart_lgpl_2.so.2
/usr/local/lib/libart_lgpl_2.so
/usr/local/lib/libart_lgpl_2.la
/usr/local/lib/libart_lgpl_2.a
/usr/local/lib/pkgconfig/libart-2.0.pc
/usr/local/share/aclocal/libart.m4
/usr/local/include/libart_lgpl
/usr/local/include/libart_lgpl/art_affine.h
/usr/local/include/libart_lgpl/art_alphagamma.h
/usr/local/include/libart_lgpl/art_bpath.h
/usr/local/include/libart_lgpl/art_config.h
/usr/local/include/libart_lgpl/art_filterlevel.h
/usr/local/include/libart_lgpl/art_gray_svp.h
/usr/local/include/libart_lgpl/art_misc.h
/usr/local/include/libart_lgpl/art_pathcode.h
/usr/local/include/libart_lgpl/art_pixbuf.h
/usr/local/include/libart_lgpl/art_point.h
/usr/local/include/libart_lgpl/art_rect.h
/usr/local/include/libart_lgpl/art_rect_svp.h
/usr/local/include/libart_lgpl/art_rect_uta.h
/usr/local/include/libart_lgpl/art_render.h
/usr/local/include/libart_lgpl/art_render_gradient.h
/usr/local/include/libart_lgpl/art_render_svp.h
/usr/local/include/libart_lgpl/art_rgb.h
/usr/local/include/libart_lgpl/art_rgb_affine.h
/usr/local/include/libart_lgpl/art_rgb_bitmap_affine.h
/usr/local/include/libart_lgpl/art_rgb_pixbuf_affine.h
/usr/local/include/libart_lgpl/art_rgb_rgba_affine.h
/usr/local/include/libart_lgpl/art_rgb_svp.h
/usr/local/include/libart_lgpl/art_rgba.h
/usr/local/include/libart_lgpl/art_svp.h
/usr/local/include/libart_lgpl/art_svp_ops.h
/usr/local/include/libart_lgpl/art_svp_point.h
/usr/local/include/libart_lgpl/art_svp_render_aa.h
/usr/local/include/libart_lgpl/art_svp_vpath.h
/usr/local/include/libart_lgpl/art_svp_vpath_stroke.h
/usr/local/include/libart_lgpl/art_svp_wind.h
/usr/local/include/libart_lgpl/art_uta.h
/usr/local/include/libart_lgpl/art_uta_ops.h
/usr/local/include/libart_lgpl/art_uta_rect.h
/usr/local/include/libart_lgpl/art_uta_vpath.h
/usr/local/include/libart_lgpl/art_uta_svp.h
/usr/local/include/libart_lgpl/art_vpath.h
/usr/local/include/libart_lgpl/art_vpath_bpath.h
/usr/local/include/libart_lgpl/art_vpath_dash.h
/usr/local/include/libart_lgpl/art_vpath_svp.h
/usr/local/include/libart_lgpl/libart.h
/usr/local/include/libart_lgpl/libart-features.h
/usr/local/include/libart-2.0
/usr/local/include/libart-2.0/libart_lgpl
 
Old 04-12-2004, 12:02 PM   #4
CBlue
Member
 
Registered: Mar 2004
Location: South Carolina, USA
Distribution: Mepis
Posts: 287

Rep: Reputation: 30
add these /usr/local/include /usr/local/lib /usr/local/share and usr/lib to your ld.so.conf file which is in your /etc.
 
Old 04-12-2004, 02:22 PM   #5
darin3200
LQ Guru
 
Registered: Dec 2002
Distribution: Gentoo!
Posts: 1,153

Original Poster
Rep: Reputation: 45
do you mean add the directories they are in (/usr/local/include) or the specific files(/usr/local/include/libart-2.0)?
 
Old 04-12-2004, 03:24 PM   #6
CBlue
Member
 
Registered: Mar 2004
Location: South Carolina, USA
Distribution: Mepis
Posts: 287

Rep: Reputation: 30
In ld.so.conf, all you need to add as paths are the directory paths, not the filenames, the directory paths being in ld.so.conf allow programs to find their dependencies through those paths.
 
Old 04-12-2004, 05:15 PM   #7
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Code:
echo "export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/local/lib/pkgconfig:/usr/X11R6/lib/pkgconfig" > ~/.bashrc
source ~/.bashrc
Copy and paste that into a terminal.

Last edited by Andrew Benton; 04-12-2004 at 05:18 PM.
 
Old 04-12-2004, 07:32 PM   #8
darin3200
LQ Guru
 
Registered: Dec 2002
Distribution: Gentoo!
Posts: 1,153

Original Poster
Rep: Reputation: 45
Got it working, Gimp 2.0 is really nice. Thanks for all the help
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't compile gimp-help, need guidance bruno buys Linux - Software 2 04-10-2005 11:14 AM
gimp-print compile error / foomatic Fonk Linux - Software 5 08-08-2004 03:23 PM
Newbie Needs Help w/ Gimp/GTK compile alxdotnet Linux - Software 4 04-21-2004 11:47 PM
cannot compile gimp-freetype keevitaja Mandriva 1 03-29-2004 07:23 PM
compile gimp-print ?? johnyy Linux - Software 0 02-05-2004 03:33 AM


All times are GMT -5. The time now is 04:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration