I am following up again. Has anyone been able to compile Directfb 1.4.11 with libpng 1.4.5 and freetype 2.4.3? And if so, what changes did you have to make?
Thanks, Ian On Wed, Dec 15, 2010 at 10:01 PM, Ian Harrold <ian.harr...@gmail.com> wrote: > I am compiling for an Atom SBC and so am generating Atom optimized > libraries versus those used on my development board. I compiled the libpng > 1.4.5 and freetype 2.4.3 from source and installed them to: > /Libraries/Atom/lib > > I then ran ldconfig to update the library search. > > I am configuring DirectFB with the following settings: > CPPFLAGS="-I/Libraries/Atom/include -O2 -march=core2 -mssse3 -mfpmath=sse > -fomit-frame-pointer -pipe -mtune=generic" LDFLAGS="-L/Libraries/Atom/lib" > CFLAGS="-I/Libraries/Atom/include -O2 -march=core2 -mssse3 -mfpmath=sse > -fomit-frame-pointer -pipe -mtune=generic" ./configure --prefix=$PREFIX > --disable-x11 --disable-voodoo --enable-jpeg --enable-zlib --enable-png > -enable-gif --enable-freetype --with-inputdrivers=none > --with-gfxdrivers=nvidia > > I get the following message on console: > <SNIP> > configure: WARNING: > *** libvncserver-config not found -- building without VNC support. See > http://libvncserver.sourceforge.net > checking for sysfs_get_mnt_path in -lsysfs... no > configure: WARNING: *** libsysfs not found -- Building without sysfs > support. > checking for jpeg_destroy_decompress in -ljpeg... yes > checking jpeglib.h usability... yes > checking jpeglib.h presence... yes > checking for jpeglib.h... yes > checking for gzsetparams in -lz... yes > checking zlib.h usability... yes > checking zlib.h presence... yes > checking for zlib.h... yes > checking for LIBPNG... no > configure: WARNING: *** PNG library not found. PNG image provider will not > be built. > checking for FREETYPE... no > configure: WARNING: *** no freetype -- FreeType font provider will not be > built. > checking for LINOTYPE... no > configure: WARNING: *** no linotype -- LinoType font provider will not be > built. > checking which gfxdrivers should be built... nvidia > checking which inputdrivers should be built... configure: creating > ./config.status > </SNIP> > <SNIP> > Building Image Provider Modules: > GIF yes > JPEG yes -ljpeg > PNG no > > Building Video Provider Modules: > GIF yes > Video4Linux yes (v2: no) > > Building Font Modules: > FreeType2 no, > LinoType no, > Default font yes > </SNIP> > > I debugged the configure script, and it is falling into the: > fi > else > pkg_failed=untried > fi > section for both the LIBPNG_CFLAGS and LIBPNG_LIBS checks. > > I did notice that when I installed LibPNG it saved the .so as > "libpng14.s0.14.5.0" and LibFreetype as "libfreetype.so.6.6.1". However > -lfreetype link flag would be: > -rw-r--r-- 1 dev1 dev1 576084 2010-12-14 22:08 libfreetype.a > -rwxr-xr-x 1 dev1 dev1 980 2010-12-14 22:08 libfreetype.la > lrwxrwxrwx 1 dev1 dev1 20 2010-12-14 22:08 libfreetype.so -> > libfreetype.so.6.6.1 > lrwxrwxrwx 1 dev1 dev1 20 2010-12-14 22:08 libfreetype.so.6 -> > libfreetype.so.6.6.1 > -rwxr-xr-x 1 dev1 dev1 552450 2010-12-14 22:08 libfreetype.so.6.6.1 > and -lpng link flag would be: > lrwxrwxrwx 1 dev1 dev1 11 2010-12-15 21:54 libpng.so -> libpng14.so > lrwxrwxrwx 1 dev1 dev1 18 2010-12-15 21:54 libpng14.so -> > libpng14.so.14.5.0 > lrwxrwxrwx 1 dev1 dev1 18 2010-12-15 21:54 libpng14.so.14 -> > libpng14.so.14.5.0 > -rwxr-xr-x 1 dev1 dev1 164713 2010-12-15 21:54 libpng14.so.14.5.0 > I did try modifying the libpng14.so.14.5.0 name to be libpng14.so.1.4.5.0and > relinking back so libpng.so pointed to end correct file in the end. > But It still did not work. > > Any ideas? I believe this is a versioning issue with this version libpng. > I have compiled earlier versions of DirectFB (1.3.0) with libpng (1.2.34) > and libfreetype (2.3.7) using a similar method and did not have these > issues. > Thanks in advance! > >
_______________________________________________ directfb-users mailing list directfb-users@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users