problem with libpng ?
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-
==> Extracting Sources...
==> tar --use-compress-
==> 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
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
checking host system type... i686-frugalware
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-
checking if the linker (/usr/i686-
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-
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-
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-
checking if the linker (/usr/i686-
checking whether the g++ linker (/usr/i686-
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-
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/
config.status: creating NuxMesh/Makefile
config.status: creating NuxMesh/nux-mesh.pc
config.status: creating NuxGraphics/
config.status: creating NuxGraphics/
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/
Making all in data
make[2]: Entering directory `/var/tmp/
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/
Making all in NuxCore
make[2]: Entering directory `/var/tmp/
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXXLD libnux-core-0.9.la
GEN nux-core-0.9.pc
make[2]: Leaving directory `/var/tmp/
Making all in NuxImage
make[2]: Entering directory `/var/tmp/
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
CXX libnux_
./NPng.cpp: In function 'nux::NBitmapData* nux::read_
./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_
./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_
./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_
./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_
./NPng.cpp: In function 'nux::NBitmapData* nux::read_
./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_
./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_
./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_
./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_
./NPng.cpp: In function 'void nux::png_
./NPng.cpp:733:42: warning: 'png_struct_
./NPng.cpp:733:42: warning: 'png_struct_
./NPng.cpp:738:14: warning: 'png_struct_
./NPng.cpp:738:14: warning: 'png_struct_
make[2]: *** [libnux_
make[2]: Leaving directory `/var/tmp/
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/
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.