URL:
  <http://gna.org/bugs/?12690>

                 Summary: ./configure finish corretly even without
libpng-devel
                 Project: Wormux
            Submitted by: trem
            Submitted on: Friday 12/05/2008 at 22:50
                Category: Compilation
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: svn
         Discussion Lock: Any

    _______________________________________________________

Details:

[EMAIL PROTECTED] wormux]$ rpm -qa | grep png
lib64png-devel-1.2.33-2mdv2009.1
lib64png3-1.2.33-2mdv2009.1
[EMAIL PROTECTED] wormux]$ sudo urpme lib64png-devel-1.2.33-2mdv2009.1
désinstallation de lib64png-devel-1.2.33-2mdv2009.1.x86_64
désinstallation du paquetage lib64png-devel-1.2.33-2mdv2009.1.x86_64

[EMAIL PROTECTED] wormux]$ ./configure 
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking whether make sets $(MAKE)... (cached) yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for g++... yes
checking CXXFLAGS for maximum warnings... -Wall
checking gcc version... 4.3.2
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.6... yes
checking for -pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking X11/Xlib.h usability... yes
checking X11/Xlib.h presence... yes
checking for X11/Xlib.h... yes
checking for XOpenDisplay in -lX11... yes
configure: WARNING: fribidi is disabled. If you want bi-directional text
rendering, please use configure with this option : --enable-fribidi
checking for libpng... libdummypng
checking for rotozoomSurfaceXY in -lSDL_gfx... yes
checking SDL_rotozoom.h usability... yes
checking SDL_rotozoom.h presence... yes
checking for SDL_rotozoom.h... yes
checking for gawk... (cached) gawk
checking for curl-config... /usr/bin/curl-config
checking for the version of libcurl... 7.19.2
checking for libcurl >= version 7.0... yes
checking whether libcurl is usable... yes
checking for curl_free... yes
checking for png_error in -ldummypng... no
checking for IMG_Load in -lSDL_image... yes
checking for Mix_OpenAudio in -lSDL_mixer... yes
checking for TTF_OpenFont in -lSDL_ttf... yes
checking for SDLNet_Init in -lSDL_net... yes
checking for libxml2... yes
Package libdummypng was not found in the pkg-config search path.
Perhaps you should add the directory containing `libdummypng.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libdummypng' found
Package libdummypng was not found in the pkg-config search path.
Perhaps you should add the directory containing `libdummypng.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libdummypng' found
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating data/Makefile
config.status: creating src/Makefile
config.status: creating lib/box2d/Makefile
config.status: creating lib/box2d/src/Makefile
config.status: creating lib/wormux/Makefile
config.status: creating lib/wormux-server/Makefile
config.status: creating doc/Makefile
config.status: creating po/Makefile
config.status: creating tools/servers/headless_server/Makefile
config.status: creating tools/servers/index_server/Makefile
config.status: creating src/config.h
config.status: src/config.h is unchanged
config.status: executing po-directories commands
config.status: executing depfiles commands
Configuration complete

* Game data will be installed into /usr/local/share/wormux/
* Game locale will be installed into /usr/local/share/locale
* Font file will be ${DATADIR}/font/DejaVuSans.ttf

* [Optional] Bi-directional rendering (fribidi) : no
* [Optional] Internationalisation (gettext)     : yes

Execute make to compile then execute make install to install...

compilation seems to work, but :

g++ -DHAVE_CONFIG_H -I.   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2
-DINSTALL_DATADIR=\"/usr/local/share/wormux/\"
-DINSTALL_LOCALEDIR=\"/usr/local/share/locale\"
-DFONT_FILE=\"/usr/local/share/wormux//font/DejaVuSans.ttf\"
-DPACKAGE_VERSION=\"0.8svn\"  -I../lib/box2d/include/ -I../lib/box2d/src/
-I../lib/wormux/include -Wall -Wextra -I/usr/include/SDL -D_GNU_SOURCE=1
-D_REENTRANT -I/usr/include/libxml2    -MT surface.o -MD -MP -MF
.deps/surface.Tpo -c -o surface.o `test -f 'graphic/surface.cpp' || echo
'./'`graphic/surface.cpp
graphic/surface.cpp:27:17: erreur: png.h : Aucun fichier ou dossier de ce
type
graphic/surface.cpp: In member function ‘int Surface::ImgSave(const
std::string&)’:
graphic/surface.cpp:644: erreur: ‘png_structp’ was not declared in this
scope
graphic/surface.cpp:644: erreur: expected `;' before ‘png_ptr’
graphic/surface.cpp:645: erreur: ‘png_infop’ was not declared in this
scope
graphic/surface.cpp:645: erreur: expected `;' before ‘info_ptr’
graphic/surface.cpp:651: erreur: ‘png_ptr’ was not declared in this
scope
graphic/surface.cpp:651: erreur: ‘PNG_LIBPNG_VER_STRING’ was not declared
in this scope
graphic/surface.cpp:651: erreur: ‘png_create_write_struct’ was not
declared in this scope
graphic/surface.cpp:654: erreur: ‘info_ptr’ was not declared in this
scope
graphic/surface.cpp:654: erreur: ‘png_create_info_struct’ was not
declared in this scope
graphic/surface.cpp:663: erreur: ‘png_init_io’ was not declared in this
scope
graphic/surface.cpp:665: erreur: ‘PNG_COLOR_TYPE_RGB_ALPHA’ was not
declared in this scope
graphic/surface.cpp:665: erreur: ‘PNG_INTERLACE_NONE’ was not declared in
this scope
graphic/surface.cpp:666: erreur: ‘PNG_COMPRESSION_TYPE_DEFAULT’ was not
declared in this scope
graphic/surface.cpp:666: erreur: ‘PNG_FILTER_TYPE_DEFAULT’ was not
declared in this scope
graphic/surface.cpp:666: erreur: ‘png_set_IHDR’ was not declared in this
scope
graphic/surface.cpp:667: erreur: ‘Z_BEST_COMPRESSION’ was not declared in
this scope
graphic/surface.cpp:667: erreur: ‘png_set_compression_level’ was not
declared in this scope
graphic/surface.cpp:670: erreur: ‘png_write_info’ was not declared in
this scope
graphic/surface.cpp:690: erreur: ‘png_write_row’ was not declared in this
scope
graphic/surface.cpp:694: erreur: ‘png_write_flush’ was not declared in
this scope
graphic/surface.cpp:695: erreur: ‘png_write_end’ was not declared in this
scope
graphic/surface.cpp:699: erreur: ‘png_destroy_info_struct’ was not
declared in this scope
graphic/surface.cpp:700: erreur: ‘png_destroy_write_struct’ was not
declared in this scope
make[3]: *** [surface.o] Erreur 1
make[3]: quittant le répertoire « /home/trem/Codes/wormux/src »
make[2]: *** [all-recursive] Erreur 1
make[2]: quittant le répertoire « /home/trem/Codes/wormux/src »
make[1]: *** [all] Erreur 2
make[1]: quittant le répertoire « /home/trem/Codes/wormux/src »
make: *** [all-recursive] Erreur 1

the compilation fails because of lack of lib64png-devel





    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?12690>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wormux-gna mailing list
[email protected]
https://mail.gna.org/listinfo/wormux-gna

Reply via email to