I can't get enblend to build statically. Here's what I have so far.
PKG_CONFIG_PATH=:/tmp/enblend.enfuse/openexr-install/lib/pkgconfig$PKG_CONFIG_PATH
\
LDFLAGS="-L/tmp/enblend.enfuse/lcms-1.19-install/lib
-L/tmp/enblend.enfuse/libxmi-1.2-install/lib
-L/tmp/enblend.enfuse/freeglut-2.6.0-install/lib
-L/tmp/enblend.enfuse/openexr-install/lib
-L/tmp/enblend.enfuse/glew-1.5.8-install/lib
-L/tmp/enblend.enfuse/boost_1_45_0-install/lib
-Wl,-rpath=/home/orb112/projects/lib" \
LIBS="-Wl,-Bstatic -lGLEW -lHalf -lIex -lIlmImf -lIlmThread
-lImath -llcms -lxmi -lboost_filesystem -lboost_system -Wl,-Bdynamic"
\
CPPFLAGS="-I/tmp/enblend.enfuse/lcms-1.19-install/include
-I/tmp/enblend.enfuse/libxmi-1.2-install/include
-I/tmp/enblend.enfuse/freeglut-2.6.0-install/include
-I/tmp/enblend.enfuse/openexr-install/include
-I/tmp/enblend.enfuse/glew-1.5.8-install/include
-I/tmp/enblend.enfuse/boost_1_45_0-install/include" \
EXTRACXXFLAGS="-march=native -O2" \
./configure --prefix=${BASEDIR}/${ENBLEND_DEST}-install \
--disable-image-cache \
--enable-openmp \
--with-openexr \
--with-boost-filesystem \
--enable-gpu-support
The configure summary shows that my EXTRACXXFLAGS/EXTRACFLAGS are
ignored and my LIBS are appended not prepended to the existing LIBS. I
also don't know how EXTRA_LIBS (boost) and OPENGL_LIBS will interact
with my existing options.
As for the final output, ldd shows a shared binary.
As you can see, I only want the packages not on the system to be
statically linked. I've also tried to no avail:
EXTRACFLAGS="-static -z muldefs"
EXTRACXXFLAGS="-static -z muldefs"
Short of the long, I've been bitten by the image cache corruption bug,
and this machine - basically a thin server, to which I have
practically no rights - is the only machine with enough RAM necessary
to run enblend without the cache.
--
You received this message because you are subscribed to the Google Groups
"Hugin and other free panoramic software" group.
A list of frequently asked questions is available at:
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at http://groups.google.com/group/hugin-ptx