Re: Still can't configure GTK for Gimp...

2002-10-23 Thread Valdis . Kletnieks
On Tue, 22 Oct 2002 18:41:47 PDT, Paul Thomas [EMAIL PROTECTED]  said:

 config.log gives:
 
 configure:13753: checking for jpeg_destroy_decompress in -ljpeg

OK... So we're alledgedly checking in libjpeg...

 configure:13753: gcc -o conftest -g -O2 -Wall   conftest.c
 -I/usr/local/lib   -l
 iconv -lintl -liconv 5

But there's no -ljpeg in the actual gcc command.   Something's on
some *really* serious crack here.  I have to congratulate you - I've
seen lots of cases where the library wasn't installed, or was installed
in the wrong directory, or where ldconfig hadn't been run, but this
is the first time I've seem the -l flag missing entirely.

Did you create a './configure' yourself using autoconf?  If so, the place
to start looking would be a busticated install of autoconf and friends
(I can't say for sure - first guess would be a failure to run aclocal).
If it's the ./configure from a distribution tarball, it may be
time to find the bell, the book, and the candles.. ;)
-- 
Valdis Kletnieks
Computer Systems Senior Engineer
Virginia Tech




msg11180/pgp0.pgp
Description: PGP signature


Re: Still can't configure GTK for Gimp...

2002-10-23 Thread Paul Thomas

On Wed, 23 Oct 2002 [EMAIL PROTECTED] wrote:

 OK... So we're alledgedly checking in libjpeg...
 
  configure:13753: gcc -o conftest -g -O2 -Wall   conftest.c
  -I/usr/local/lib   -l
  iconv -lintl -liconv 5
 
 But there's no -ljpeg in the actual gcc command.   Something's on

 Did you create a './configure' yourself using autoconf?  If so, the place

Yes.

 to start looking would be a busticated install of autoconf and friends
 (I can't say for sure - first guess would be a failure to run aclocal).

I'll check further.

 If it's the ./configure from a distribution tarball, it may be
 time to find the bell, the book, and the candles.. ;)

From configure.in there is:

dnl Test for libjpeg
  if test x$with_libjpeg != xno  test -z $LIBJPEG; then
AC_CHECK_LIB(jpeg, jpeg_destroy_decompress,
  jpeg_ok=yes,
  jpeg_ok=no
  AC_MSG_WARN(*** JPEG loader will not be built (JPEG library not
found) ***
))
if test $jpeg_ok = yes; then
  AC_MSG_CHECKING([for jpeglib.h])
  AC_TRY_CPP(
[#include stdio.h
#undef PACKAGE
#undef VERSION
#undef HAVE_STDLIB_H
include jpeglib.h],
jpeg_ok=yes,
jpeg_ok=no)
  AC_MSG_RESULT($jpeg_ok)
  if test $jpeg_ok = yes; then
LIBJPEG='-ljpeg'
AC_CHECK_LIB(jpeg, jpeg_simple_progression, 
  AC_DEFINE(HAVE_PROGRESSIVE_JPEG),
  AC_MSG_WARN(JPEG library does not support progressive saving.))
  else
  AC_MSG_WARN(*** JPEG loader will not be built (JPEG header file
not found) ***)



At the beginning is the first mention of $LIBJPEG in the configure.in
script, so I'm not sure where $LIBJPEG is defined.

Thanks,

--Paul


--
William J. Broad: The crux... is that the vast majority of the mass
of the universe seems to be missing.


___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list