openexr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Openexr-devel] Bug in configure script for openexr-2.1.0 on ubuntu 12.0


From: Christopher Horvath
Subject: [Openexr-devel] Bug in configure script for openexr-2.1.0 on ubuntu 12.0.4 LTS
Date: Wed, 16 Apr 2014 13:09:29 -0700

Howdy folks.

I'm building openexr-2.1.0 in a non-standard location, on ubuntu 12.0.4 LTS.  I have an environment variable, EMLDNEEDS_ROOT, which is set to the install location for everything, using --prefix. I have a build of libz in this location as well. Here's my config line:

./configure --prefix=$EMLDNEEDS_ROOT --with-ilmbase-prefix=$EMLDNEEDS_ROOT --with-pic --enable-static --disable-shared LDFLAGS=-L$EMLDNEEDS_ROOT/lib CFLAGS=-I$EMLDNEEDS_ROOT/include

The bug is that it doesn't seem to be respecting LDFLAGS or CFLAGS when building, specifically with respect to libz. An example error:

address@hidden:~/depot/bundles/EmldNeeds-1.0.2-Apr16_2014/sandbox/openexr/openexr-2.1.0$ make
Making all in config
make[1]: Entering directory `/home/encino/depot/bundles/EmldNeeds-1.0.2-Apr16_2014/sandbox/openexr/openexr-2.1.0/config'
make  all-am
make[2]: Entering directory `/home/encino/depot/bundles/EmldNeeds-1.0.2-Apr16_2014/sandbox/openexr/openexr-2.1.0/config'
make[2]: Leaving directory `/home/encino/depot/bundles/EmldNeeds-1.0.2-Apr16_2014/sandbox/openexr/openexr-2.1.0/config'
make[1]: Leaving directory `/home/encino/depot/bundles/EmldNeeds-1.0.2-Apr16_2014/sandbox/openexr/openexr-2.1.0/config'
Making all in IlmImf
make[1]: Entering directory `/home/encino/depot/bundles/EmldNeeds-1.0.2-Apr16_2014/sandbox/openexr/openexr-2.1.0/IlmImf'
make  all-am
make[2]: Entering directory `/home/encino/depot/bundles/EmldNeeds-1.0.2-Apr16_2014/sandbox/openexr/openexr-2.1.0/IlmImf'
/bin/bash ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../config -I/home/encino/depot/bundles/EmldNeeds-1.0.2-Apr16_2014//include/OpenEXR -I.. -I../config   -pipe -g -O2 -MT ImfZipCompressor.lo -MD -MP -MF .deps/ImfZipCompressor.Tpo -c -o ImfZipCompressor.lo ImfZipCompressor.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../config -I/home/encino/depot/bundles/EmldNeeds-1.0.2-Apr16_2014//include/OpenEXR -I.. -I../config -pipe -g -O2 -MT ImfZipCompressor.lo -MD -MP -MF .deps/ImfZipCompressor.Tpo -c ImfZipCompressor.cpp  -fPIC -DPIC -o ImfZipCompressor.o
ImfZipCompressor.cpp:46:18: fatal error: zlib.h: No such file or directory
 #include <zlib.h>
                  ^
compilation terminated.

I can fix this by futzing with the makefiles directly, but it does seem like a build bug.

Chris

--
I think this situation absolutely requires that a really futile and stupid gesture be done on somebody's part. And we're just the guys to do it.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]