Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#19 pngmeta compile issue

open
nobody
None
5
2012-08-22
2004-11-22
Anonymous
No

trying to ./configure pngmeta on slackware 10.0 with
system libpng package already installed doesn't work

various issues present.

Firstly it doesn't find the png.h include file in
/usr/include, unless i manually tell it

Secondly, if it does find it, errors occur. I am
unwilling to proceed further as I don't want to destroy
my system.

$ ./configure
loading cache ./config.cache
checking for a BSD compatible install... (cached)
/usr/bin/ginstall -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a
cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for installed zlib... yes
checking for installed libpng... no
checking for local copy of libpng distribution... no
./configure: line 1154: test: !=: unary operator expected
checking for zlibVersion in -lz... (cached) yes
checking for png_create_read_struct in -lpng...
(cached) yes
checking for location of png includes... configure:
error: could not find png.h in

$ PNG_INCLUDE=/usr/include ./configure
loading cache ./config.cache
checking for a BSD compatible install... (cached)
/usr/bin/ginstall -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a
cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for installed zlib... yes
checking for installed libpng... no
checking for local copy of libpng distribution... no
./configure: line 1154: test: !=: unary operator expected
checking for zlibVersion in -lz... (cached) yes
checking for png_create_read_struct in -lpng...
(cached) yes
checking for location of png includes... /usr/include
./configure: line 1: PNG_INCLUDE: command not found
./configure: line 1: CFLAGS: command not found
checking for png_create_read_struct... (cached) no
checking for png_get_text... (cached) no
creating ./config.status
creating Makefile
creating config.h
creating pngmeta.spec

$ ./configure --with-png-includes=/usr/include
loading cache ./config.cache
checking for a BSD compatible install... (cached)
/usr/bin/ginstall -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a
cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for installed zlib... yes
checking for installed libpng... no
checking for local copy of libpng distribution... no
./configure: line 1154: test: !=: unary operator expected
checking for zlibVersion in -lz... (cached) yes
checking for png_create_read_struct in -lpng...
(cached) yes
checking for location of png includes... /usr/include
./configure: line 1: PNG_INCLUDE: command not found
./configure: line 1: CFLAGS: command not found
checking for png_create_read_struct... (cached) no
checking for png_get_text... (cached) no
creating ./config.status
creating Makefile
creating config.h
creating pngmeta.spec

mail shevek at bur.st

Discussion

  • Logged In: YES
    user_id=7859

    This looks as though there is a problem with the shell
    that you are using.
    ./configure: line 1: PNG_INCLUDE: command not found
    ./configure: line 1: CFLAGS: command not found

    What happens if you run from the bourne shell instead?

    Glenn