This is the old SliTaz forum - Please use the main forum.slitaz.org

xfe new version compiling problem...please help...
  • mrblack234mrblack234 January 2011
    Hi All... please help with compiling xfe new version (1.32.2).
    and I've installed all packages including libpng
    and libpng-dev when get the following errors:

    checking whether FOX was compiled with Xft support... yes
    checking for freetype-config... freetype-config
    checking freetype/config/ftheader.h usability... yes
    checking freetype/config/ftheader.h presence... yes
    checking for freetype/config/ftheader.h... yes
    checking for xft-config... no
    checking for pkg-config... pkg-config
    checking X11/Xft/Xft.h usability... yes
    checking X11/Xft/Xft.h presence... yes
    checking for X11/Xft/Xft.h... yes
    checking X11/Xlib.h usability... yes
    checking X11/Xlib.h presence... yes
    checking for X11/Xlib.h... yes
    checking for png_read_info in -lpng... yes
    checking png.h usability... no
    checking png.h presence... no
    checking for png.h... no
    configure: error: "png.h not found"
    Black@Apache2:~/Downloads/xfe/xfe-1.32.2$

    but after having tried ". /configure" again, still got the same error
    as above, please what i missing for this error....
  • ErjoErjo January 2011
    Try checking libpng dev environement:

    # pkg-config --cflags libpng

    or may-be pkg-config is missing...


  • mrblack234mrblack234 January 2011







    #toc, .toc, .mw-warning { border: 1px solid rgb(170, 170, 170); background-color: rgb(249, 249, 249); padding: 5px; font-size: 95%; }#toc h2, .toc h2 { display: inline; border: medium none; padding: 0pt; font-size: 100%; font-weight: bold; }#toc #toctitle, .toc #toctitle, #toc .toctitle, .toc .toctitle { text-align: center; }#toc ul, .toc ul { list-style-type: none; list-style-image: none; margin-left: 0pt; padding-left: 0pt; text-align: left; }#toc ul ul, .toc ul ul { margin: 0pt 0pt 0pt 2em; }#toc .toctoggle, .toc .toctoggle { font-size: 94%; }body { font-family: 'Times New Roman'; color: rgb(0, 0, 0); widows: 2; font-style: normal; text-indent: 0in; font-variant: normal; font-weight: normal; font-size: 12pt; text-decoration: none; text-align: left; }table { }td { border-collapse: collapse; text-align: left; vertical-align: top; }p, h1, h2, h3, li { color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: 12pt; text-align: left; }








    #toc, .toc, .mw-warning { border: 1px solid rgb(170, 170, 170); background-color: rgb(249, 249, 249); padding: 5px; font-size: 95%; }#toc h2, .toc h2 { display: inline; border: medium none; padding: 0pt; font-size: 100%; font-weight: bold; }#toc #toctitle, .toc #toctitle, #toc .toctitle, .toc .toctitle { text-align: center; }#toc ul, .toc ul { list-style-type: none; list-style-image: none; margin-left: 0pt; padding-left: 0pt; text-align: left; }#toc ul ul, .toc ul ul { margin: 0pt 0pt 0pt 2em; }#toc .toctoggle, .toc .toctoggle { font-size: 94%; }body { font-family: 'Times New Roman'; color: rgb(0, 0, 0); widows: 2; font-style: normal; text-indent: 0in; font-variant: normal; font-weight: normal; font-size: 12pt; text-decoration: none; text-align: left; }table { }td { border-collapse: collapse; text-align: left; vertical-align: top; }p, h1, h2, h3, li { color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: 12pt; text-align: left; }
    no with pkg-config... i have install pkg-config, libpng and all depent's plus build_depent's.
    oke, i have tried, and the result is:

    # pkg-config --cflags libpng
    -I/usr/include/libpng12
    #

    that is my libpng in that folder and with 2 file png.h (original), pngconf.h. /usr/include/ with
    png.h (symlink to /usr/include/libpng12/png.h)

    and i tried again to "./configure', and the error result is still same.









    #toc, .toc, .mw-warning { border: 1px solid rgb(170, 170, 170); background-color: rgb(249, 249, 249); padding: 5px; font-size: 95%; }#toc h2, .toc h2 { display: inline; border: medium none; padding: 0pt; font-size: 100%; font-weight: bold; }#toc #toctitle, .toc #toctitle, #toc .toctitle, .toc .toctitle { text-align: center; }#toc ul, .toc ul { list-style-type: none; list-style-image: none; margin-left: 0pt; padding-left: 0pt; text-align: left; }#toc ul ul, .toc ul ul { margin: 0pt 0pt 0pt 2em; }#toc .toctoggle, .toc .toctoggle { font-size: 94%; }body { font-family: 'Times New Roman'; color: rgb(0, 0, 0); widows: 2; font-style: normal; text-indent: 0in; font-variant: normal; font-weight: normal; font-size: 12pt; text-decoration: none; text-align: left; }table { }td { border-collapse: collapse; text-align: left; vertical-align: top; }p, h1, h2, h3, li { color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: 12pt; text-align: left; }


  • mrblack234mrblack234 January 2011
    wow... sorry... what happent with copy paste from abiword to posting comment ???
  • Trixar_zaTrixar_za January 2011
    Are you trying to install it on SliTaz 3 or Cooking?
  • mrblack234mrblack234 January 2011
    on cooking-4in1... and now I'm trying to check the source code in the png.h especially to search for "#include" filename may not yet installed. something like "#include "files_name""... meybe... hehehehehe....
  • mrblack234mrblack234 January 2011
    this is the cause of error (png.h) on line :514 #include "zlib.h". i not yet installed "zlib-dev". but why the output error result :

    checking png.h usability... no
    checking png.h presence... no
    checking for png.h... no
    configure: error: "png.h not found"

    instead of the error result zlib.h not yet installed ???.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership

SliTaz Social