[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Openexr-devel] Bug in configure script for openexr-2.1.0 on ubuntu
From: |
Nicholas Yue |
Subject: |
Re: [Openexr-devel] Bug in configure script for openexr-2.1.0 on ubuntu 12.0.4 LTS |
Date: |
Thu, 17 Apr 2014 07:55:23 +1000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 |
On 17/04/14 6:09 AM, Christopher Horvath wrote:
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:
Hi Christopher,
My previous attempt in passing compiler flags through configure
would have the above written out as such
env LDFLAGS=-L$EMLDNEEDS_ROOT/lib
CFLAGS=-I$EMLDNEEDS_ROOT/include ./configure --prefix=$EMLDNEEDS_ROOT
--with-ilmbase-prefix=$EMLDNEEDS_ROOT --with-pic --enable-static
--disable-shared
i.e. I use "env" to convey the information to/through configure
Hope that helps.
Cheers
--
Nicholas Yue
Graphics - RenderMan, Visualization, OpenGL, HDF5
Custom Dev - C++ porting, OSX, Linux, Windows
http://au.linkedin.com/in/nicholasyue
https://vimeo.com/channels/naiadtools