|
From: | Piotr Stanczyk |
Subject: | Re: [Openexr-devel] Bug in configure script for openexr-2.1.0 on ubuntu 12.0.4 LTS |
Date: | Wed, 16 Apr 2014 13:58:26 -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/includeThe 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$ makeMaking all in configmake[1]: Entering directory `/home/encino/depot/bundles/EmldNeeds-1.0.2-Apr16_2014/sandbox/openexr/openexr-2.1.0/config'make all-ammake[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 IlmImfmake[1]: Entering directory `/home/encino/depot/bundles/EmldNeeds-1.0.2-Apr16_2014/sandbox/openexr/openexr-2.1.0/IlmImf'make all-ammake[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.cpplibtool: 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.oImfZipCompressor.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.
_______________________________________________
Openexr-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/openexr-devel
[Prev in Thread] | Current Thread | [Next in Thread] |