I'm interested to give Minsky a go.
Unfortunately I am unable to install the precompiled version or build from the latest archive.
I am attempting to build Minsky on Debian 8 AMD 64.
The precompiled package does not install because of the following explicit dependencies
libboost-date-time1.49.0 (>= 1.49.0-1)
libboost-filesystem1.49.0 (>= 1.49.0-1)
libboost-program-options1.49.0 (>= 1.49.0-1)
libboost-regex1.49.0 (>= 1.49.0-1)
libboost-system1.49.0 (>= 1.49.0-1)
libboost-thread1.49.0 (>= 1.49.0-1)
Note Debian 8 contains the libboost.55. versions of the libraries.
The make aborts with the following message.
~/usr/ecolab/include/Makefile:544: recipe for target 'minskyTCL.o' failed
make: *** [minskyTCL.o] Error 1
The version of TCL on this system is tcl8.6
Any assistance appreciated
Anonymous
On Wed, Apr 29, 2015 at 12:41:05PM +0000, Matthew Gibbins wrote:
Yes - the openSUSE build service does not (yet) support Debian 8 (nor
Ubuntu 15 for that matter), both of which have been released in the last
week. Give it time, I would say. So for now, you have to live on the
bleeding edge.
TCL 8.6 should be fine. I have occasionally used TCL 8.6 without
problems, indeed I believe the Mac binary uses it. The error message
"recipe for target 'minskyTCL.o' failed" doesn't tell me much,
though. There should be some other error messages to go on.
The source code for the binary builds is located in
https://build.opensuse.org/package/show/home:hpcoder1/minsky.
If you look at minsky.dsc, you should see a list of prerequisite
packages you can install by apt, which will help prepare your system
for compiling the source code.
Cheers
--
Prof Russell Standish Phone 0425 253119 (mobile)
Principal, High Performance Coders
Visiting Professor of Mathematics hpcoder@hpcoders.com.au
University of New South Wales http://www.hpcoders.com.au
Related
Bugs:
#466On 30/04/15 09:40, High Performance Coder wrote:
Thanks.
I've installed all the build dependencies and still get a build
error.
Below are the messages.
~/usr/ecolab/include/Makefile:383: found /usr/lib/tclConfig.sh
~/usr/ecolab/include/Makefile:384: FLAGS=-fPIC -I.
-I~/usr/ecolab/include -DHASH_TCL_hash -DHAVE_LONGLONG -DTR1
-I~/usr/ecolab/include -I~/usr/include -I/usr/local/include
-I/opt/local/include -I/usr/X11R6/include -DZLIB -DXDR_PACK -DCONTIGUOUS
-DTK
~/usr/ecolab/include/Makefile:385: -I/usr/include/tcl8.6
-DPACKAGE_NAME=\"tk\" -DPACKAGE_TARNAME=\"tk\" -DPACKAGE_VERSION=\"8.6\"
-DPACKAGE_STRING=\"tk\ 8.6\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_LIMITS_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1
-DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1
-DTCL_THREADS=1 -DMODULE_SCOPE=extern\ attribute((visibility(\"hidden\"))) -DHAVE_HIDDEN=1
-DHAVE_CAST_TO_UNION=1 -DTCL_SHLIB_EXT=\".so\" -DNDEBUG=1
-DTCL_CFG_OPTIMIZED=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1
-DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_INTPTR_T=1
-DHAVE_UINTPTR_T=1 -DHAVE_PW_GECOS=1 -DHAVE_LIBXFT=1 -DHAVE_XFT=1
-DHAVE_XKBKEYCODETOKEYSYM=1 -DXKEYCODETOKEYSYM_IS_DEPRECATED=1 -DHAVE_XSS=1
~/usr/ecolab/include/Makefile:408: FLAGS=-fPIC -I.
-I~/usr/ecolab/include -DHASH_TCL_hash -DHAVE_LONGLONG -DTR1
-I~/usr/ecolab/include -I~/usr/include -I/usr/local/include
-I/opt/local/include -I/usr/X11R6/include -DZLIB -DXDR_PACK -DCONTIGUOUS
-DTK -I/usr/include/tcl8.6 -I/usr/include/tcl8.6
In file included from GUI/minsky.h:24:0,
from GUI/minskyTCL.h:22,
from GUI/minskyTCL.cc:20:
GUI/selection.h: In member function 'bool
minsky::LassoBox::intersects(const Item&) const':
GUI/selection.h:57:15: error: 'ecolab::cairo' has not been declared
ecolab::cairo::Surface dummySurf
^
GUI/selection.h:59:23: error: 'dummySurf' was not declared in this scope
cairo_rectangle(dummySurf.cairo(), x0-item.x(), y0-item.y(),
x1-x0, y1-y0);
^
GUI/selection.h:60:35: error: there are no arguments to 'cairo_clip'
that depend on a template parameter, so a declaration of 'cairo_clip'
must be available [-fpermissive]
cairo_clip(dummySurf.cairo());
^
GUI/selection.h:60:35: note: (if you use '-fpermissive', G++ will accept
your code, but allowing the use of an undeclared name is deprecated)
GUI/selection.h:63:78: error: there are no arguments to
'cairo_recording_surface_ink_extents' that depend on a template
parameter, so a declaration of 'cairo_recording_surface_ink_extents'
must be available [-fpermissive]
cairo_recording_surface_ink_extents(dummySurf.surface(), &x, &y,
&w, &h);
In file included from GUI/variable.h:24:0,
from GUI/godleyIcon.h:22,
from GUI/minsky.h:25,
from GUI/minskyTCL.h:22,
from GUI/minskyTCL.cc:20:
GUI/clickType.h: In function 'minsky::ClickType::Type
minsky::clickType(Item&, float, float)':
GUI/clickType.h:52:13: error: 'ecolab::cairo' has not been declared
ecolab::cairo::Surface dummySurf
^
GUI/clickType.h:54:15: error: 'dummySurf' was not declared in this scope
item.draw(dummySurf.cairo());
^
In file included from GUI/minsky.h:25:0,
from GUI/minskyTCL.h:22,
from GUI/minskyTCL.cc:20:
GUI/godleyIcon.h: At global scope:
GUI/godleyIcon.h:118:25: error: 'ecolab::cairo' has not been declared
void wtDraw(ecolab::cairo::Surface& cairoSurface);
^
GUI/godleyIcon.h:118:39: error: expected ',' or '...' before '&' token
void wtDraw(ecolab::cairo::Surface& cairoSurface);
^
In file included from GUI/plotWidget.h:24:0,
from GUI/minsky.h:31,
from GUI/minskyTCL.h:22,
from GUI/minskyTCL.cc:20:
~/usr/ecolab/include/plot.h:41:12: error: 'SurfacePtr' in namespace
'ecolab::cairo' does not name a type
cairo::SurfacePtr surface;
^
~/usr/ecolab/include/plot.h:46:24: error: 'ecolab::cairo::Surface' has
not been declared
void addNew(cairo::Surface& surf, bool doRedraw,
^
~/usr/ecolab/include/plot.h:123:30: error: 'ecolab::cairo::Surface' has
not been declared
virtual void draw(cairo::Surface&);
^
~/usr/ecolab/include/plot.h:131:21: error: 'ecolab::cairo::Surface' has
not been declared
void add(cairo::Surface&, unsigned pen, double x, double y);
^
~/usr/ecolab/include/plot.h:137:21: error: 'ecolab::cairo::Surface' has
not been declared
void add(cairo::Surface& surf, unsigned pen, const C& x1, const C& y1)
^
~/usr/ecolab/include/plot.h:159:21: error: 'ecolab::cairo::Surface' has
not been declared
void add(cairo::Surface& surf,
^
~/usr/ecolab/include/plot.h:167:46: error: 'SurfacePtr' in namespace
'ecolab::cairo' does not name a type
void LabelPen(unsigned pen, const cairo::SurfacePtr& label);
^
~/usr/ecolab/include/plot.h:197:17: error: 'SurfacePtr' is not a member
of 'ecolab::cairo'
std::vector<cairo::SurfacePtr> penLabel;
^
~/usr/ecolab/include/plot.h:197:17: error: 'SurfacePtr' is not a member
of 'ecolab::cairo'
~/usr/ecolab/include/plot.h:197:34: error: template argument 1 is invalid
std::vector<cairo::SurfacePtr> penLabel;
^
~/usr/ecolab/include/plot.h:197:34: error: template argument 2 is invalid
~/usr/ecolab/include/plot.h: In member function 'void
ecolab::Plot::add(unsigned int, double, double)':
~/usr/ecolab/include/plot.h:130:10: error: 'surface' was not declared in
this scope
{if (surface) add(surface,pen,x,y);}
^
~/usr/ecolab/include/plot.h: In member function 'void
ecolab::Plot::add(unsigned int, const C&, const C&)':
~/usr/ecolab/include/plot.h:135:10: error: 'surface' was not declared in
this scope
{if (surface) add(surface,pen,x,y);}
^
~/usr/ecolab/include/plot.h: In member function 'void
ecolab::Plot::add(const ecolab::array_ns::array<unsigned int="">&, double,
const ecolab::array_ns::array<double>&)':
~/usr/ecolab/include/plot.h:158:10: error: 'surface' was not declared in
this scope
{if (surface) add(surface,pens,x,y);}
^
~/usr/ecolab/include/plot.h: In member function 'void
ecolab::Plot::clearPenAttributes()':
~/usr/ecolab/include/plot.h:179:16: error: request for member 'clear' in
'((ecolab::Plot)this)->ecolab::Plot::penLabel', which is of non-class
type 'int'
penLabel.clear(); penTextLabel.clear(); penSide.clear();
^
In file included from GUI/minsky.h:31:0,
from GUI/minskyTCL.h:22,
from GUI/minskyTCL.cc:20:
GUI/plotWidget.h: At global scope:
GUI/plotWidget.h:101:30: error: 'ecolab::cairo::Surface' has not been
declared
void draw(ecolab::cairo::Surface&);
^
GUI/plotWidget.h:109:13: error: 'SurfacePtr' is not a member of
'ecolab::cairo'
Exclude<cairo::SurfacePtr> cairoSurface, expandedPlot;
^
GUI/plotWidget.h:109:13: error: 'SurfacePtr' is not a member of
'ecolab::cairo'
GUI/plotWidget.h:109:30: error: template argument 1 is invalid
Exclude<cairo::SurfacePtr> cairoSurface, expandedPlot;
^
In file included from GUI/minsky.h:32:0,
from GUI/minskyTCL.h:22,
from GUI/minskyTCL.cc:20:
GUI/groupIcon.h:273:32: error: 'ecolab::cairo::Surface' has not been
declared
void wtDraw(ecolab::cairo::Surface& cairoSurface);
^
In file included from GUI/minsky.h:35:0,
from GUI/minskyTCL.h:22,
from GUI/minskyTCL.cc:20:
engine/equations.h:96:40: error: 'ecolab::cairo::Surface' has not been
declared
virtual void render(ecolab::cairo::Surface& surf) const=0;
^
engine/equations.h:157:32: error: 'ecolab::cairo::Surface' has not been
declared
void render(ecolab::cairo::Surface& surf) const override;
^
engine/equations.h:188:32: error: 'ecolab::cairo::Surface' has not been
declared
void render(ecolab::cairo::Surface& surf) const override;
^
engine/equations.h:250:32: error: 'ecolab::cairo::Surface' has not been
declared
void render(ecolab::cairo::Surface& surf) const override;
^
engine/equations.h:377:41: error: 'ecolab::cairo::Surface' has not been
declared
void renderEquations(ecolab::cairo::Surface&) const;
^
GUI/minskyTCL.cc:185:5: error: expected class-name before '{' token
{
^
GUI/minskyTCL.cc: In constructor
'minsky::{anonymous}::OperationIcon::OperationIcon(const char, const
char)':
GUI/minskyTCL.cc:193:11: error: 'cairoSurface' was not declared in this
scope
cairoSurface.reset(new cairo::TkPhotoSurface(photo));
^
GUI/minskyTCL.cc:193:34: error: expected type-specifier
cairoSurface.reset(new cairo::TkPhotoSurface(photo));
^
GUI/minskyTCL.cc: In member function 'void
minsky::{anonymous}::OperationIcon::draw()':
GUI/minskyTCL.cc:197:20: error: 'initMatrix' was not declared in this scope
initMatrix();
^
GUI/minskyTCL.cc:198:25: error: 'cairoSurface' was not declared in this
scope
cairo_translate(cairoSurface->cairo(),
0.5cairoSurface->width(), 0.5cairoSurface->height());
^
In file included from GUI/variable.h:24:0,
from GUI/godleyIcon.h:22,
from GUI/minsky.h:25,
from GUI/minskyTCL.h:22,
from GUI/minskyTCL.cc:20:
GUI/clickType.h: In instantiation of 'minsky::ClickType::Type
minsky::clickType(Item&, float, float) [with Item = const
minsky::VariableBase]':
GUI/variable.h:138:41: required from here
GUI/clickType.h:55:68: error: 'cairo_in_clip' was not declared in this
scope, and no declarations were found by argument-dependent lookup at
the point of instantiation [-fpermissive]
if (cairo_in_clip(dummySurf.cairo(), (x-item.x()), (y-item.y())))
^
In file included from GUI/variable.h:39:0,
from GUI/godleyIcon.h:22,
from GUI/minsky.h:25,
from GUI/minskyTCL.h:22,
from GUI/minskyTCL.cc:20:
/usr/include/cairo/cairo.h:955:1: note: 'cairo_bool_t
cairo_in_clip(cairo_t, double, double)' declared here, later in the
translation unit
cairo_in_clip (cairo_t cr, double x, double y);
^
In file included from GUI/variable.h:24:0,
from GUI/godleyIcon.h:22,
from GUI/minsky.h:25,
from GUI/minskyTCL.h:22,
from GUI/minskyTCL.cc:20:
GUI/clickType.h: In instantiation of 'minsky::ClickType::Type
minsky::clickType(Item&, float, float) [with Item = const
minsky::GodleyIcon]':
GUI/godleyIcon.h:111:41: required from here
GUI/clickType.h:55:68: error: 'cairo_in_clip' was not declared in this
scope, and no declarations were found by argument-dependent lookup at
the point of instantiation [-fpermissive]
if (cairo_in_clip(dummySurf.cairo(), (x-item.x()), (y-item.y())))
^
In file included from GUI/variable.h:39:0,
from GUI/godleyIcon.h:22,
from GUI/minsky.h:25,
from GUI/minskyTCL.h:22,
from GUI/minskyTCL.cc:20:
/usr/include/cairo/cairo.h:955:1: note: 'cairo_bool_t
cairo_in_clip(cairo_t, double, double)' declared here, later in the
translation unit
cairo_in_clip (cairo_t cr, double x, double y);
^
In file included from GUI/variable.h:24:0,
from GUI/godleyIcon.h:22,
from GUI/minsky.h:25,
from GUI/minskyTCL.h:22,
from GUI/minskyTCL.cc:20:
GUI/clickType.h: In instantiation of 'minsky::ClickType::Type
minsky::clickType(Item&, float, float) [with Item = const
minsky::OperationBase]':
GUI/operation.h:100:41: required from here
GUI/clickType.h:55:68: error: 'cairo_in_clip' was not declared in this
scope, and no declarations were found by argument-dependent lookup at
the point of instantiation [-fpermissive]
if (cairo_in_clip(dummySurf.cairo(), (x-item.x()), (y-item.y())))
^
In file included from GUI/variable.h:39:0,
from GUI/godleyIcon.h:22,
from GUI/minsky.h:25,
from GUI/minskyTCL.h:22,
from GUI/minskyTCL.cc:20:
/usr/include/cairo/cairo.h:955:1: note: 'cairo_bool_t
cairo_in_clip(cairo_t, double, double)' declared here, later in the
translation unit
cairo_in_clip (cairo_t cr, double x, double y);
^
In file included from GUI/variable.h:24:0,
from GUI/godleyIcon.h:22,
from GUI/minsky.h:25,
from GUI/minskyTCL.h:22,
from GUI/minskyTCL.cc:20:
GUI/clickType.h: In instantiation of 'minsky::ClickType::Type
minsky::clickType(Item&, float, float) [with Item = minsky::PlotWidget]':
GUI/plotWidget.h:105:41: required from here
GUI/clickType.h:55:68: error: 'cairo_in_clip' was not declared in this
scope, and no declarations were found by argument-dependent lookup at
the point of instantiation [-fpermissive]
if (cairo_in_clip(dummySurf.cairo(), (x-item.x()), (y-item.y())))
^
In file included from GUI/variable.h:39:0,
from GUI/godleyIcon.h:22,
from GUI/minsky.h:25,
from GUI/minskyTCL.h:22,
from GUI/minskyTCL.cc:20:
/usr/include/cairo/cairo.h:955:1: note: 'cairo_bool_t
cairo_in_clip(cairo_t, double, double)' declared here, later in the
translation unit
cairo_in_clip (cairo_t cr, double x, double y);
^
In file included from GUI/variable.h:24:0,
from GUI/godleyIcon.h:22,
from GUI/minsky.h:25,
from GUI/minskyTCL.h:22,
from GUI/minskyTCL.cc:20:
GUI/clickType.h: In instantiation of 'minsky::ClickType::Type
minsky::clickType(Item&, float, float) [with Item = const
minsky::GroupIcon]':
GUI/groupIcon.h:270:41: required from here
GUI/clickType.h:55:68: error: 'cairo_in_clip' was not declared in this
scope, and no declarations were found by argument-dependent lookup at
the point of instantiation [-fpermissive]
if (cairo_in_clip(dummySurf.cairo(), (x-item.x()), (y-item.y())))
^
In file included from GUI/variable.h:39:0,
from GUI/godleyIcon.h:22,
from GUI/minsky.h:25,
from GUI/minskyTCL.h:22,
from GUI/minskyTCL.cc:20:
/usr/include/cairo/cairo.h:955:1: note: 'cairo_bool_t
cairo_in_clip(cairo_t, double, double)' declared here, later in the
translation unit
cairo_in_clip (cairo_t cr, double x, double y);
^
make: *** [minskyTCL.o] Error 1
~/usr/ecolab/include/Makefile:544: recipe for target 'minskyTCL.o' failed
It looks like a problem with Ecolab's recognition of Cairo. I would assume
that you recently installed Cairo, but haven't rebuilt Ecolab. Now you need
to rebuild Ecolab. Make sure you do a make clean to ensure it reconfigures
itself.
On 29/04/2015 10:41 PM, "Matthew Gibbins" mjgcanberra@users.sf.net wrote:
Related
Bugs:
#466Note Debian 8 binary packages are now available from build.opensuse.org