Re: Problem building gdk-pixbuf 0.9.0



Check out www.clark.net/pub/bent/Solaris8-X86/GNOME
I build all the software in a standard environment for
Solaris 8-X86 without funny hacks (I push changes for
configurations back to the developers) or needing a
LD_LIBRARY_PATH.  I suspect that if you set your
CFLAGS and LDFLAGS variables as I describe on my page,
with your paths, it should just work fine for you.

Regards,

Ben


Hi everybody !!
I am facing some problems building gdk-pixbuf on a Sun Ultra 1 running
Solaris 2.6. Since I don't have root access to the machine, I am
building gnome in my home directory. The basic directory structure I am
using is like this:

libtiff, libungif, libjpeg, libpng, libz
--> /home/john/apps/gfx

gdbm, gmp, Berkeley DB, GNU readline, GNU xgettext, ...
--> /home/john/apps/gnu

Gnome (audiofile, esound, gtk, glib, imlib, gnome-libs, ...)
--> /home/john/apps/gnome

Libraries are in the corresponding lib directory and headers are in the
corresponding include directory (for example, libtiff.so is in
/home/john/apps/gfx/lib and tiff.h is in /home/john/apps/gfx/include).
All the library paths are in my LD_LIBRARY_PATH environment variable.

The problem that I am facing is when I run configure for gdk-pixbuf, I
am unable to tell it where the libtiff, libjpeg, libpng, zlib and
libungif headers are located since there is no option to do so.

john pleiades> pwd
/home/john/apps/gdk-pixbuf-0.9.0
john pleiades> ./configure --prefix=/home/john/apps/gnome
--exec-prefix=/home/john/apps/gnome --enable-shared=yes
--enable-static=yes --enable-fast-install=yes
--with-glib-prefix=/home/john/apps/gnome
--with-gtk-prefix=/home/john/apps/gnome

<Lots of scrolling text snipped>

checking for glib-config... /home/john/apps/gnome/bin/glib-config
checking for GLIB - version >= 1.2.0... yes
checking for gtk-config... /home/john/apps/gnome/bin/gtk-config
checking for GTK - version >= 1.2.0... yes
checking for gnome-config... /home/john/apps/gnome/bin/gnome-config
Building the GnomeCanvasPixbuf library
checking whether to build gmodulized gdk-pixbuf... yes
checking whether dynamic modules work... yes
checking for TIFFReadScanline in -ltiff... no
checking for TIFFWriteScanline in -ltiff... yes
checking for tiffio.h... no
configure: warning: *** TIFF loader will not be built (TIFF header files
not found) ***
checking for jpeg_destroy_decompress in -ljpeg... yes
checking for jpeglib.h... no
configure: warning: *** JPEG loader will not be built (JPEG header file
not found) ***
checking for png_read_info in -lpng... yes
checking for png.h... no
configure: warning: *** PNG loader will not be built (PNG header file
not found) ***
checking for ANSI C header files... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for sys/wait.h that is POSIX.1 compatible... yes
checking return type of signal handlers... void
checking for gtkdoc-mkdb... false
checking for x86 platform... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating gdk-pixbuf.spec
creating gdk-pixbuf/Makefile
creating gdk-pixbuf/gdk-pixbuf-features.h
creating gdk-pixbuf/pixops/Makefile
creating gdk-pixbuf-config
creating demo/Makefile
creating doc/Makefile
creating config.h
john pleiades>

I tried copying all the headers from /home/john/apps/gfx/include to
/home/john/apps/gnome/include but the problem still persists. I had
faced the same problem with gdk-pixbuf 0.8.0, which was why I downloaded
0.9.0!! So, my question is... Could somebody out there tell me how to
tell configure to look for headers in /home/john/apps/gfx/include, or,
failing that, tell me what modifications have to be made to the makefile
to force it to build the TIFF, JPEG, PNG and GIF loaders?? (I do not
know much about makefiles or else I would have done it myself).

Hoping to get some good advice from you guys!!

- John


______________________________________________
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com/?sr=signup

_______________________________________________
gnome-list mailing list
gnome-list gnome org
http://mail.gnome.org/mailman/listinfo/gnome-list

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at http://profiles.msn.com.





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