Nux

problem with libpng ?

Asked by Devil505

Hi,

I'm trying to package nux 0.9.8 for Frugalware but it doesn't build, looks like a problem with libpng.

Any ideas ?

Thanks

==> Retrieving Sources...
   -> Using local copy of nux-0.9.8.tar.gz
==> Validating source files with SHA1sums
    nux-0.9.8.tar.gz ... Passed
==> Extracting Sources...
==> tar --use-compress-program=gzip -xf nux-0.9.8.tar.gz
==> Removing existing pkg and pkg.* directories...
==> Starting build()...
==> Exporting weird MONO_SHARED_DIR...
==> Going to the source directory...
==> Configuring...
==> ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --mandir=/usr/share/man --build=i686-frugalware-linux
checking for a BSD-compatible install... /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 for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
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 whether gcc and cc understand -c and -o together... yes
checking build system type... i686-frugalware-linux-gnu
checking host system type... i686-frugalware-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/i686-frugalware-linux/bin/ld
checking if the linker (/usr/i686-frugalware-linux/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/i686-frugalware-linux/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -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 for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/i686-frugalware-linux/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for ld used by g++... /usr/i686-frugalware-linux/bin/ld
checking if the linker (/usr/i686-frugalware-linux/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/i686-frugalware-linux/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/i686-frugalware-linux/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for ANSI C header files... (cached) yes
checking for an ANSI C-conforming const... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for memset... yes
checking for munmap... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for NUX_CORE... yes
checking for NUX_IMAGE... yes
checking for NUX_MESH... yes
checking for NUX_GRAPHICS... yes
checking for NUX... yes
checking for doxygen... no
configure: WARNING: doxygen not found - will not generate any doxygen documentation
checking for perl... /usr/bin/perl
checking for NUX_EXAMPLES... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating data/Makefile
config.status: creating NuxCore/Makefile
config.status: creating NuxCore/nux-core.pc
config.status: creating NuxImage/Makefile
config.status: creating NuxImage/nux-image.pc
config.status: creating NuxMesh/Makefile
config.status: creating NuxMesh/nux-mesh.pc
config.status: creating NuxGraphics/Makefile
config.status: creating NuxGraphics/nux-graphics.pc
config.status: creating Nux/Makefile
config.status: creating Nux/nux.pc
config.status: creating examples/Makefile
config.status: creating tests/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands

 Nux - 0.9.8

 • Global:
        Prefix : /usr

 • Compiler Options:
        Maintainer CFlags :
        Debug Mode : no

 • Documentation:
        Build Documenation: no

 • Misc Options:
        Build Examples : yes

==> Compiling...
make all-recursive
make[1]: Entering directory `/var/tmp/fst/src/nux-0.9.8'
Making all in data
make[2]: Entering directory `/var/tmp/fst/src/nux-0.9.8/data'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/fst/src/nux-0.9.8/data'
Making all in NuxCore
make[2]: Entering directory `/var/tmp/fst/src/nux-0.9.8/NuxCore'
  CXX libnux_core_0.9_la-NString.lo
  CXX libnux_core_0.9_la-NTime.lo
  CXX libnux_core_0.9_la-NTemplate.lo
  CXX libnux_core_0.9_la-FilePath.lo
  CXX libnux_core_0.9_la-tinyxmlparser.lo
  CXX libnux_core_0.9_la-tinyxml.lo
  CXX libnux_core_0.9_la-tinystr.lo
  CXX libnux_core_0.9_la-tinyxmlerror.lo
  CXX libnux_core_0.9_la-NSerializer.lo
  CXX libnux_core_0.9_la-NFileManagerGeneric.lo
  CXX libnux_core_0.9_la-NFileManagerGNU.lo
  CXX libnux_core_0.9_la-NSystemGNU.lo
  CXX libnux_core_0.9_la-NOutputDevice.lo
  CXX libnux_core_0.9_la-Exception.lo
  CXX libnux_core_0.9_la-Memory.lo
  CXX libnux_core_0.9_la-NStreamBuffer.lo
  CXX libnux_core_0.9_la-NUTF.lo
  CXX libnux_core_0.9_la-NUni.lo
  CXX libnux_core_0.9_la-NUnicode.lo
  CXX libnux_core_0.9_la-Color.lo
  CXX libnux_core_0.9_la-FileName.lo
  CXX libnux_core_0.9_la-NThreadGNU.lo
  CXX libnux_core_0.9_la-NParsing.lo
  CXX libnux_core_0.9_la-CPU.lo
  CXX libnux_core_0.9_la-Error.lo
  CXX libnux_core_0.9_la-ColorFunctions.lo
  CXX libnux_core_0.9_la-NUniqueIndex.lo
  CXX libnux_core_0.9_la-Point.lo
  CXX libnux_core_0.9_la-GlobalInitializer.lo
  CXX libnux_core_0.9_la-ObjectType.lo
  CXX libnux_core_0.9_la-NPlatform.lo
  CXX libnux_core_0.9_la-Rect.lo
  CXX libnux_core_0.9_la-NPrintf.lo
  CXX libnux_core_0.9_la-FileIO.lo
  CXX libnux_core_0.9_la-NProcess.lo
  CXX libnux_core_0.9_la-NumberConversion.lo
  CXX libnux_core_0.9_la-NuxCore.lo
  CXX libnux_core_0.9_la-Object.lo
  CXX libnux_core_0.9_la-Algo.lo
  CXX libnux_core_0.9_la-Constants.lo
  CXX libnux_core_0.9_la-Point2D.lo
  CXX libnux_core_0.9_la-MathFunctions.lo
  CXX libnux_core_0.9_la-Line2D.lo
  CXX libnux_core_0.9_la-Bezier.lo
  CXX libnux_core_0.9_la-Spline.lo
  CXX libnux_core_0.9_la-Quaternion.lo
  CXX libnux_core_0.9_la-Matrix2.lo
  CXX libnux_core_0.9_la-Trigonometry.lo
  CXX libnux_core_0.9_la-Tweening.lo
  CXX libnux_core_0.9_la-Vector4.lo
  CXX libnux_core_0.9_la-Complex.lo
  CXX libnux_core_0.9_la-Point3D.lo
  CXX libnux_core_0.9_la-Matrix4.lo
  CXX libnux_core_0.9_la-Matrix3.lo
  CXX libnux_core_0.9_la-Vector3.lo
  CXX libnux_core_0.9_la-Line3D.lo
  CXX libnux_core_0.9_la-Vector2.lo
  CXX libnux_core_0.9_la-CRC32.lo
  CXX libnux_core_0.9_la-Size.lo
  CXX libnux_core_0.9_la-InitiallyUnownedObject.lo
  CXXLD libnux-core-0.9.la
  GEN nux-core-0.9.pc
make[2]: Leaving directory `/var/tmp/fst/src/nux-0.9.8/NuxCore'
Making all in NuxImage
make[2]: Entering directory `/var/tmp/fst/src/nux-0.9.8/NuxImage'
  CXX libnux_image_0.9_la-BitmapFormats.lo
  CXX libnux_image_0.9_la-Bmp.lo
  CXX libnux_image_0.9_la-CairoGraphics.lo
  CXX libnux_image_0.9_la-DDS.lo
  CXX libnux_image_0.9_la-ImageSurface.lo
  CXX libnux_image_0.9_la-NAnimatedTexture.lo
  CXX libnux_image_0.9_la-NITX.lo
  CXX libnux_image_0.9_la-NPng.lo
./NPng.cpp: In function 'nux::NBitmapData* nux::read_png_rgba(const TCHAR*)':
./NPng.cpp:257:87: error: invalid conversion from 'long unsigned int*' to 'png_uint_32*'
./NPng.cpp:257:87: error: initializing argument 3 of 'png_uint_32 png_get_IHDR(png_struct*, png_info*, png_uint_32*, png_uint_32*, int*, int*, int*, int*, int*)'
./NPng.cpp:257:87: error: invalid conversion from 'long unsigned int*' to 'png_uint_32*'
./NPng.cpp:257:87: error: initializing argument 4 of 'png_uint_32 png_get_IHDR(png_struct*, png_info*, png_uint_32*, png_uint_32*, int*, int*, int*, int*, int*)'
./NPng.cpp:281:87: error: invalid conversion from 'long unsigned int*' to 'png_uint_32*'
./NPng.cpp:281:87: error: initializing argument 3 of 'png_uint_32 png_get_IHDR(png_struct*, png_info*, png_uint_32*, png_uint_32*, int*, int*, int*, int*, int*)'
./NPng.cpp:281:87: error: invalid conversion from 'long unsigned int*' to 'png_uint_32*'
./NPng.cpp:281:87: error: initializing argument 4 of 'png_uint_32 png_get_IHDR(png_struct*, png_info*, png_uint_32*, png_uint_32*, int*, int*, int*, int*, int*)'
./NPng.cpp: In function 'nux::NBitmapData* nux::read_png_rgb(const TCHAR*)':
./NPng.cpp:467:78: error: invalid conversion from 'long unsigned int*' to 'png_uint_32*'
./NPng.cpp:467:78: error: initializing argument 3 of 'png_uint_32 png_get_IHDR(png_struct*, png_info*, png_uint_32*, png_uint_32*, int*, int*, int*, int*, int*)'
./NPng.cpp:467:78: error: invalid conversion from 'long unsigned int*' to 'png_uint_32*'
./NPng.cpp:467:78: error: initializing argument 4 of 'png_uint_32 png_get_IHDR(png_struct*, png_info*, png_uint_32*, png_uint_32*, int*, int*, int*, int*, int*)'
./NPng.cpp:494:78: error: invalid conversion from 'long unsigned int*' to 'png_uint_32*'
./NPng.cpp:494:78: error: initializing argument 3 of 'png_uint_32 png_get_IHDR(png_struct*, png_info*, png_uint_32*, png_uint_32*, int*, int*, int*, int*, int*)'
./NPng.cpp:494:78: error: invalid conversion from 'long unsigned int*' to 'png_uint_32*'
./NPng.cpp:494:78: error: initializing argument 4 of 'png_uint_32 png_get_IHDR(png_struct*, png_info*, png_uint_32*, png_uint_32*, int*, int*, int*, int*, int*)'
./NPng.cpp: In function 'void nux::png_read_resource_fn(png_struct*, png_byte*, png_size_t)':
./NPng.cpp:733:42: warning: 'png_struct_def::io_ptr' is deprecated (declared at /usr/include/libpng14/png.h:1133)
./NPng.cpp:733:42: warning: 'png_struct_def::io_ptr' is deprecated (declared at /usr/include/libpng14/png.h:1133)
./NPng.cpp:738:14: warning: 'png_struct_def::io_ptr' is deprecated (declared at /usr/include/libpng14/png.h:1133)
./NPng.cpp:738:14: warning: 'png_struct_def::io_ptr' is deprecated (declared at /usr/include/libpng14/png.h:1133)
make[2]: *** [libnux_image_0.9_la-NPng.lo] Error 1
make[2]: Leaving directory `/var/tmp/fst/src/nux-0.9.8/NuxImage'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/fst/src/nux-0.9.8'
make: *** [all] Error 2

Question information

Language:
English Edit question
Status:
Open
For:
Nux Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

Can you help with this problem?

Provide an answer of your own, or ask Devil505 for more information if necessary.

To post a message you must log in.