Click to See Complete Forum and Search --> : gdk-pixbuf & dia


kashirat
01-27-2003, 02:55 AM
Hi,

Im trying to install dia, and I apparently am missing the library files for gdk-pixbuf.. I went to install them but am having problems compiling with some make errors:
( this is only a portion of the make log)

pixops.c:1460: parse error before '*' token
pixops.c: In function `pixops_scale':
pixops.c:1479: parse error before "line_func"
pixops.c:1482: `gboolean' undeclared (first use in this function)
pixops.c:1485: `dest_channels' undeclared (first use in this function)
pixops.c:1485: `dest_has_alpha' undeclared (first use in this function)
pixops.c:1486: `src_channels' undeclared (first use in this function)
pixops.c:1486: `src_has_alpha' undeclared (first use in this function)
pixops.c:1489: `scale_x' undeclared (first use in this function)
pixops.c:1489: `scale_y' undeclared (first use in this function)
pixops.c:1492: `interp_type' undeclared (first use in this function)
pixops.c:1495: `dest_buf' undeclared (first use in this function)
pixops.c:1495: `render_x0' undeclared (first use in this function)
pixops.c:1495: `render_y0' undeclared (first use in this function)
pixops.c:1495: `render_x1' undeclared (first use in this function)
pixops.c:1495: `render_y1' undeclared (first use in this function)
pixops.c:1496: `dest_rowstride' undeclared (first use in this function)
pixops.c:1497: `src_buf' undeclared (first use in this function)
pixops.c:1497: `src_width' undeclared (first use in this function)
pixops.c:1497: `src_height' undeclared (first use in this function)
pixops.c:1497: `src_rowstride' undeclared (first use in this function)
pixops.c:1516: `found_mmx' undeclared (first use in this function)
pixops.c:1517: `line_func' undeclared (first use in this function)
make[3]: *** [pixops.lo] Error 1
make[3]: Leaving directory `/home/dyu/Downloads/gdk-pixbuf-0.7.0/gdk-pixbuf/pixo
ps'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/dyu/Downloads/gdk-pixbuf-0.7.0/gdk-pixbuf'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dyu/Downloads/gdk-pixbuf-0.7.0'
make: *** [all-recursive-am] Error 2

If anyone could help me i would be grateful.

kash'

mdwatts
01-27-2003, 07:44 AM
Do you have gdk-pixbuf installed?

If your distro is rpm based...

rpm -q gdk-pixbuf
or
rpm -qa | grep gdk

kashirat
01-27-2003, 12:22 PM
Originally posted by mdwatts
Do you have gdk-pixbuf installed?



If your distro is rpm based...



rpm -q gdk-pixbuf

or

rpm -qa | grep gdk

I will try that when i get home... A few questions, sorta off topic though... is rpm a package management program? I've never been able to install anything with it, I've always just used configure, make, make install to install everything.. Is this a bad thing? I mean, if I want to uninstall something I will probably have some problems trying to find all of its copied files correct?

Also, is there any way of searching through your entire file system for a specific file without using rpm? I've used ls -R / | grep filename but it only tells me if the filename exists, not where it is...

Thanks for your time,

kash'

mdwatts
01-27-2003, 07:42 PM
You can use 'locate' or the 'find' command to search for files.

man find

Yes RPM is a package management system.

Since my distro is rpm based and I sometimes install from source (./configure/make/make install etc.), I also use 'checkinstall'.

Instead of me explaining, search the 'How I did it' forum for checkinstall and you will find information on it.