[ptx] cvs failing to build on x86_64/amd/suse 9.3
Michael Galloway
mgx at ornl.gov
Fri Feb 17 18:24:36 GMT 2006
i'm going to toss this back out. hugin cvs is failing to build for me on
suse 9.3 x86_64. this is what i get from ./configure:
hugin is configured as follows. Please verify that this configuration
matches your expectations.
Host system type : x86_64-suse-linux
Option Value
-------------------------------------------------------------------------
Shared libraries --enable-shared=no
Static libraries --enable-static=yes
JPEG --with-jpeg= have_jpeg = yes
PNG --with-png= have_png = yes
TIFF --with-tiff= have_tiff = yes
ZLIB --with-zlib= have_zlib = yes
PANO --with-pano= have_pano = yes
BOOST --with-boost= have_boost = yes
BOOST --with-boost-version=
Unicode --with-unicode=no
Debug enabled? no
Options used to compile and link:
PREFIX = /usr/local
VERSION = 0.6
CC = gcc
CFLAGS = -g -O2
CPPFLAGS =
DEFS = -DHAVE_CONFIG_H
LDFLAGS =
LIBS =
CXX = g++
CXXFLAGS = -g -O2
JPEG_FLAGS = -DHasJPEG
LIB_JPEG = -ljpeg
PNG_FLAGS = -DHasPNG
LIB_PNG = -lpng
TIFF_FLAGS = -DHasTIFF
LIB_TIFF = -ltiff
ZLIB_FLAGS = -DHasZLIB
LIB_ZLIB = -lz
PANO_FLAGS = -I/usr/local/include -DHasPANO
LIB_PANO = -L/usr/local/lib64 -lpano12
WX_CXXFLAGS = -I/usr/local/lib/wx/include/gtk2-ansi-release-2.6 -I/usr/local/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1
WX_LIBS = -L/usr/local/lib -pthread -L/usr/X11R6/lib64 -lwx_gtk2_xrc-2.6 -lwx_gtk2_qa-2.6 -lwx_gtk2_html-2.6 -lwx_gtk2_adv-2.6 -lwx_gtk2_core-2.6 -lwx_base_xml-2.6 -lwx_base_net-2.6 -lwx_base-2.6
GTK_CFLAGS = -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -I/opt/gnome/include/gtk-2.0 -I/opt/gnome/lib64/gtk-2.0/include -I/usr/X11R6/include -I/opt/gnome/include/atk-1.0 -I/opt/gnome/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib64/glib-2.0/include
GTK_LIBS = -pthread -L/opt/gnome/lib64 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0
BOOST_VERSION =
BOOST_CPPFLAGS = -pthread -I/usr/include
BOOST_LIBS =
BOOST_THREAD_LIB = -lboost_thread-gcc-mt
BUILD = linux
CPU = amd64
make fails with:
Making all in vigra_ext
make[2]: Entering directory `/tmp/hugin/src/vigra_ext'
if /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H "-I." -I../../src/include -I../../src/include -I../../src/foreign -g -O2 -MT MultiThreadOperations.lo -MD -MP -MF ".deps/MultiThreadOperations.Tpo" -c -o MultiThreadOperations.lo MultiThreadOperations.cpp; \
then mv -f ".deps/MultiThreadOperations.Tpo" ".deps/MultiThreadOperations.Plo"; else rm -f ".deps/MultiThreadOperations.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I../../src/include -I../../src/include -I../../src/foreign -g -O2 -MT MultiThreadOperations.lo -MD -MP -MF .deps/MultiThreadOperations.Tpo -c MultiThreadOperations.cpp -o MultiThreadOperations.o
In file included from /usr/include/boost/thread/detail/config.hpp:18,
from /usr/include/boost/thread/thread.hpp:15,
from /usr/include/boost/thread.hpp:15,
from ../../src/include/vigra_ext/MultiThreadOperations.h:29,
from MultiThreadOperations.cpp:25:
/usr/include/boost/config/requires_threads.hpp:47:5: #error "Compiler threading support is not turned on. Please set the correct command line options for threading: -pthread (Linux), -pthreads (Solaris) or -mthreads (Mingw32)"
In file included from /usr/include/boost/thread/thread.hpp:19,
from /usr/include/boost/thread.hpp:15,
from ../../src/include/vigra_ext/MultiThreadOperations.h:29,
from MultiThreadOperations.cpp:25:
/usr/include/boost/thread/mutex.hpp:58: error: `cv_state' was not declared in
....
[SNIPPAGE]
....
/usr/include/boost/thread/recursive_mutex.hpp:155: error: variable or field `
do_unlock' declared void
/usr/include/boost/thread/recursive_mutex.hpp:155: error: declaration of `int
boost::recursive_timed_mutex::do_unlock'
/usr/include/boost/thread/recursive_mutex.hpp:153: error: conflicts with
previous declaration `void boost::recursive_timed_mutex::do_unlock()'
make[2]: *** [MultiThreadOperations.lo] Error 1
make[2]: Leaving directory `/tmp/hugin/src/vigra_ext'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/hugin/src'
make: *** [all-recursive] Error 1
my boost is version 1.33.0:
lance:/tmp/hugin # rpm -qa | grep boost
boost-devel-1.33.0-0.pm.0
boost-1.33.0-0.pm.0
is there anything i can do to help solve this issue?
thanks!
-- michael
More information about the ptx
mailing list