[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Unexpected behavior of "configure" "make" and __osmesa_print__.cc
From: |
Ben Abbott |
Subject: |
Unexpected behavior of "configure" "make" and __osmesa_print__.cc |
Date: |
Sun, 26 Jul 2015 12:00:35 -0400 |
$ hg id
31f89b12aaf7+ tip @
Configure did not find my osmesa
configure:77609: WARNING: OSMesa library not found. Offscreen rendering with
OpenGL will be disabled.
configure:77804:
configure:77806: NOTE: Libraries or auxiliary programs may be skipped if they
are
configure:77808: NOTE: not found OR if they are missing required features on
your
configure:77810: NOTE: system.
However, “make” still compiles __osmesa_print__.cc
$ touch libinterp/dld
touch libinterp/dldfcn/__osmesa_print__.cc
$ make
rm -f bits/stl_algo.h
make all-recursive
make[1]: Entering directory
'/Users/bpabbott/Development/mercurial/default/sources'
Making all in libgnu
make[2]: Entering directory
'/Users/bpabbott/Development/mercurial/default/sources/libgnu'
make all-recursive
make[3]: Entering directory
'/Users/bpabbott/Development/mercurial/default/sources/libgnu'
make[4]: Entering directory
'/Users/bpabbott/Development/mercurial/default/sources/libgnu'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory
'/Users/bpabbott/Development/mercurial/default/sources/libgnu'
make[3]: Leaving directory
'/Users/bpabbott/Development/mercurial/default/sources/libgnu'
make[2]: Leaving directory
'/Users/bpabbott/Development/mercurial/default/sources/libgnu'
make[2]: Entering directory
'/Users/bpabbott/Development/mercurial/default/sources'
GEN libinterp/dldfcn/__osmesa_print__.df
GEN libinterp/.DOCSTRINGS
libinterp/DOCSTRINGS is unchanged
CXX
libinterp/dldfcn/libinterp_dldfcn___osmesa_print___la-__osmesa_print__.lo
In file included from libinterp/dldfcn/__osmesa_print__.cc:34:
In file included from libinterp/corefcn/gl-render.h:49:
In file included from libinterp/corefcn/graphics.h:41:
./liboctave/util/caseless-str.h:48:3: warning: conversion function converting
'caseless_str' to its base class 'std::__1::basic_string<char>' will never be
used
operator std::string (void) const { return *this; }
^
In file included from libinterp/dldfcn/__osmesa_print__.cc:34:
In file included from libinterp/corefcn/gl-render.h:49:
In file included from libinterp/corefcn/graphics.h:49:
In file included from libinterp/corefcn/txt-eng-ft.h:32:
In file included from /sw/include/freetype2/freetype.h:34:
In file included from /sw/include/freetype2/fttypes.h:26:
/sw/include/freetype2/ftimage.h:717:5: warning: use of old-style cast
[-Wold-style-cast]
FT_IMAGE_TAG( FT_GLYPH_FORMAT_NONE, 0, 0, 0, 0 ),
^ ~
<snip> </snip>
In file included from libinterp/dldfcn/__osmesa_print__.cc:34:
In file included from libinterp/corefcn/gl-render.h:49:
In file included from libinterp/corefcn/graphics.h:49:
In file included from libinterp/corefcn/txt-eng-ft.h:32:
/sw/include/freetype2/freetype.h:759:5: warning: use of old-style cast
[-Wold-style-cast]
<snip> </snip>
In file included from libinterp/dldfcn/__osmesa_print__.cc:35:
libinterp/corefcn/gl2ps-renderer.h:43:8: warning: 'glps_renderer::draw' hides
overloaded virtual functions [-Woverloaded-virtual]
void draw (const graphics_object& go, const std::string& print_cmd);
^
libinterp/corefcn/gl-render.h:70:16: note: hidden overloaded virtual function
'opengl_renderer::draw' declared here: type mismatch at 2nd parameter ('bool'
vs 'const std::string &'
(aka 'const basic_string<char, char_traits<char>, allocator<char> > &'))
virtual void draw (const graphics_object& go, bool toplevel = true);
^
libinterp/corefcn/gl-render.h:72:16: note: hidden overloaded virtual function
'opengl_renderer::draw' declared here: type mismatch at 1st parameter
('const Matrix &' vs 'const graphics_object &')
virtual void draw (const Matrix& hlist, bool toplevel = false)
^
libinterp/dldfcn/__osmesa_print__.cc:59:29: warning: unused parameter 'args'
[-Wunused-parameter]
DEFUN_DLD(__osmesa_print__, args, ,
^
libinterp/corefcn/defun-dld.h:62:22: note: expanded from macro 'DEFUN_DLD'
DECLARE_FUN (name, args_name, nargout_name)
^
libinterp/corefcn/defun-int.h:86:28: note: expanded from macro 'DECLARE_FUN'
DECLARE_FUNX (F ## name, args_name, nargout_name)
^
libinterp/corefcn/defun-int.h:83:34: note: expanded from macro 'DECLARE_FUNX'
name (const octave_value_list& args_name, int nargout_name)
^
79 warnings generated.
CXXLD libinterp/dldfcn/__osmesa_print__.la
libtool: warning: '/sw/lib/libfreetype.la' seems to be moved
libtool: warning: '/sw/lib/libfontconfig.la' seems to be moved
libtool: warning: '/sw/lib/libarpack.la' seems to be moved
libtool: warning: '/sw/lib/libpcre.la' seems to be moved
libtool: warning: '/sw/lib/libarpack.la' seems to be moved
libtool: warning: '/sw/lib/libpcre.la' seems to be moved
libtool: warning: '/sw/lib/libarpack.la' seems to be moved
libtool: warning: '/sw/lib/libpcre.la' seems to be moved
clang: warning: argument unused during compilation: '-pthread'
clang: warning: argument unused during compilation: '-pthread'
clang: warning: argument unused during compilation: '-pthread'
GEN libinterp/dldfcn/__osmesa_print__.oct
GEN libinterp/dldfcn/PKG_ADD
libinterp/dldfcn/PKG_ADD is unchanged
GEN doc/interpreter/arith.texi
GEN doc/interpreter/audio.texi
GEN doc/interpreter/basics.texi
GEN doc/interpreter/bugs.texi
GEN doc/interpreter/container.texi
GEN doc/interpreter/contrib.texi
GEN doc/interpreter/cp-idx.texi
GEN doc/interpreter/data.texi
GEN doc/interpreter/debug.texi
GEN doc/interpreter/diffeq.texi
GEN doc/interpreter/diagperm.texi
GEN doc/interpreter/external.texi
GEN doc/interpreter/emacs.texi
GEN doc/interpreter/errors.texi
GEN doc/interpreter/eval.texi
GEN doc/interpreter/expr.texi
GEN doc/interpreter/fn-idx.texi
GEN doc/interpreter/func.texi
GEN doc/interpreter/geometry.texi
GEN doc/interpreter/gui.texi
GEN doc/interpreter/gpl.texi
GEN doc/interpreter/grammar.texi
GEN doc/interpreter/image.texi
GEN doc/interpreter/install.texi
GEN doc/interpreter/interp.texi
GEN doc/interpreter/intro.texi
GEN doc/interpreter/io.texi
GEN doc/interpreter/java.texi
GEN doc/interpreter/linalg.texi
GEN doc/interpreter/matrix.texi
GEN doc/interpreter/nonlin.texi
GEN doc/interpreter/numbers.texi
GEN doc/interpreter/obsolete.texi
GEN doc/interpreter/oop.texi
GEN doc/interpreter/op-idx.texi
GEN doc/interpreter/optim.texi
GEN doc/interpreter/package.texi
GEN doc/interpreter/plot.texi
GEN doc/interpreter/poly.texi
GEN doc/interpreter/preface.texi
GEN doc/interpreter/quad.texi
GEN doc/interpreter/set.texi
GEN doc/interpreter/signal.texi
GEN doc/interpreter/sparse.texi
GEN doc/interpreter/stats.texi
GEN doc/interpreter/stmt.texi
GEN doc/interpreter/strings.texi
GEN doc/interpreter/system.texi
GEN doc/interpreter/testfun.texi
GEN doc/interpreter/tips.texi
GEN doc/interpreter/var.texi
GEN doc/interpreter/vectorize.texi
MAKEINFO doc/interpreter/octave.info
GEN libinterp/dldfcn/__osmesa_print__.cc-tst
GEN doc/interpreter/doc-cache
GEN doc/interpreter/voronoi.eps
error: __osmesa_print__: support for offscreen rendering was disabled when
Octave was built
error: called from
__opengl_print__ at line 171 column 7
print at line 431 column 14
geometryimages at line 55 column 5
Makefile:27810: recipe for target 'doc/interpreter/voronoi.eps' failed
make[2]: *** [doc/interpreter/voronoi.eps] Error 1
make[2]: Leaving directory
'/Users/bpabbott/Development/mercurial/default/sources'
Makefile:25736: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
'/Users/bpabbott/Development/mercurial/default/sources'
Makefile:9873: recipe for target 'all' failed
make: *** [all] Error 2
I am able to adjust configure so that osmesa passes, but then compiling
__osmesa_print__.cc fails.
My guess is that configure isn’t working for osmesa on Mac OSX. Perhaps if that
can be fixed offscreen rendering will work.
Anyone have any insight here?
Ben
- Unexpected behavior of "configure" "make" and __osmesa_print__.cc,
Ben Abbott <=