Instructions to unsubscribe from this list at the end of the message
- ---------------------------------------------------------------------
Greg, yes these dependancies really are a pain. I tried using a xine rpm
first but for some reason it would just hang the rpm manager.(it was
compiled for an older version of redhat).
So i thought i'd do it the hard way, just for the experience :)

I tried using --with-png-prefix= with a dozen different filenames but
none of the libpng* ones in /usr/lib worked. Just to clarify, this was
the exact syntax I used:
./configure --with-png-prefix=/usr/lib/libpng.so.2.1.0.13
Then it dawned on me that all I needed to enter was the directory where
the libraries were found, so I tried
./configure --with-png-prefix=/usr/lib
but i got the exact same error message.

I looked at the script, but could find nothing about a specific png lib
filename.
Some excerpts from the script: (with my comments :)

# Check whether --with-png-prefix or --without-png-prefix was given.
if test "${with_png_prefix+set}" = set; then
  withval="$with_png_prefix"
  png_prefix="$withval"
else
  png_prefix=""
fi;

>>>This first bit is obvious, even to me :)

if test x"$png_prefix" != "x"; then
    PNG_LIB="-L$png_prefix/lib"
    PNG_CFLAGS="-I$png_prefix/include"
    old_CPPFLAGS="$CPPFLAGS"
    CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
fi

>>>Here I thought the script is adding the /lib bit to the prefix I give
it, so I tried just using /usr but I got the same error.

old_LDFLAGS="$LDFLAGS"
LDFLAGS="$X_LIBS $PNG_LIB $LDFLAGS"
echo "$as_me:$LINENO: checking for png_read_info in -lpng" >&5
echo $ECHO_N "checking for png_read_info in -lpng... $ECHO_C" >&6
if test "${ac_cv_lib_png_png_read_info+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lpng -lz -lm $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

>>>This is the bit that I get stuck in when executing configure. I can't
really understand much of it :( Can you?

So I don't know what to do anymore.
Shall I just disable png? I don't especially want/need it, but I don't
really want to take the easy way out :)
Thanks for your help,

John C.


- ---------------------------------------------------------------------
You received this message because you are subscribed to the linux
mailing list. If you do not wish to continue receiving this mailing
list, please send a mail message to [EMAIL PROTECTED]
containing only the text "unsubscribe linux"

------------------------------

Reply via email to