Re: jpeg build failure

Date view Thread view Subject view Author view

From: Godmar Back (gback@marker.cs.utah.edu)
Date: Wed Oct 14 1998 - 19:52:29 EDT


 About the jpeg stuff: the current situation of kaffe under FreeBSD
is such that libjpeg is not found when simply typing configure, even though
it is installed in /usr/local. This results in run-time errors for the
dynamic version, and in link-time errors for the statically linked version.

The reason is that the GUESSWHEREJPEGLIBIS hack in configure.in was
removed, presumably because of a misleading comment I had put in.
I had written:

< # This hack looks for libjpeg.a in /usr/local/lib and for
< # jpeglib.h in /usr/local/include.
< # It is intended for users who do not set their LDFLAGS env
< # variable properly before invoking configure.
< #
< # The reason is that the config files are currently missing a
< # HAVE_JPEGLIB flag which would allow conditional reference to
< # the functions in this library.

This would imply that having a HAVE_JPEGLIB would make the need for the
guess go away, which is not the case. (we now have a HAVE_JPEGLIB)

So, I'm going to put it back in to fix the problem.

I think I'd already sent out a mail regarding motivation.
Here is again how I see it:

+ GNU purists will say that users of configure have to set LDFLAGS to
  specify where libraries such as libjpeg or libpng are installed on
  their systems. That is, you must first set LDFLAGS properly, and then
  invoke configure.

+ I feel, however, that an intelligent guess is a good thing. In particular,
  I feel that it's safe to look in /usr/local for things such as libjpeg
  and libpng. The user can still override with LDFLAGS.

        - Godmar

  


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:00 EDT