Minsky.1.D32.tar.gz

Has anyone installed the Minsky.1.D32.tar.gz ?

Minsky.1.D32.tar.gz http://sourceforge.net/projects/minsky/?source=directory

Am considering trying it, if can figure out how best to install it from the tar.gz

Useful comments appreciated, particularly from anyone with it working in openSUSE :slight_smile:

BTW am not an Economist !


 **[Minsky](http://sourceforge.net/projects/minsky/)**

 **System dynamics program with additional features for economics**

      Brought to you by:     [hpcoder](http://sourceforge.net/users/hpcoder)

Minsky enables the simulation of models (particularly from economics) defined in terms of coupled ordinary differential equations. The models are defined using a drawing canvas (rather like VisSim), and a double entry bookkeeping system known as a Godley table.
Features

  • Graphical modelling environment
  • Godley table for entering financial flows
  • System ODE solver
  • Export of system as XML
  • Export of system as LaTeX

To use, apply or learn the Economics of the Minsky best read Prof Steve Keen, or view his YouTube https://www.youtube.com/user/ProfSteveKeen

Or follow the SourceForge discussion http://sourceforge.net/p/minsky/discussion/?source=navbar


You should unpack tha somewhere in a directory in normal user space as normal user (with that I mean: not root). You can do the unpacking on the CLI with tar of course. But using e.g. Dolphin in KDE will offer you to unpack on the spot by using Ark.

Then one of the unpacked feiles should have a name like README and that should contain instructions. Thes or documntation on their website should tell you enough. But it all depends on the builders of the tarball how good their documentation is.

When you have doubts or questions about waht the REAME tells you, come back here.

Important is that you should do most actions as normal user. Only the last install action may need root.

Many thanks :slight_smile:

First viewed using CLI and tar

List contents on the CLI with tar

paulparker@linux-30s5:~> tar -tf ~/Downloads/Minsky.1.D32.tar.gz
Minsky.1.D32/Doxyfile
Minsky.1.D32/GUI/MinskyLogo.rc
Minsky.1.D32/GUI/TCL_extend.h
Minsky.1.D32/GUI/XGLItem.cc
Minsky.1.D32/GUI/XGLItem.h
Minsky.1.D32/GUI/accountingRules
—deleted-rest—

List verbose contents on the CLI with tar

paulparker@linux-30s5:~> tar -tvf ~/Downloads/Minsky.1.D32.tar.gz
-rw-r–r-- root/root 65596 2014-02-11 16:49 Minsky.1.D32/Doxyfile
-rw-r–r-- root/root 32 2014-02-11 16:49 Minsky.1.D32/GUI/MinskyLogo.rc
-rw-r–r-- root/root 3638 2014-02-11 16:49 Minsky.1.D32/GUI/TCL_extend.h
-rw-r–r-- root/root 5162 2014-02-11 16:49 Minsky.1.D32/GUI/XGLItem.cc
-rw-r–r-- root/root 1966 2014-02-11 16:49 Minsky.1.D32/GUI/XGLItem.h
-rw-r–r-- root/root 386 2014-02-11 16:49 Minsky.1.D32/GUI/accountingRules
—deleted-rest—

List verbose contents on the CLI with tar then filter with grep ‘xr’

paulparker@linux-30s5:~> tar -tvf ~/Downloads/Minsky.1.D32.tar.gz | grep ‘xr’
-rwxr-xr-x root/root 32722 2014-02-11 16:49 Minsky.1.D32/GUI/minsky.tcl
-rwxr-xr-x root/root 465 2014-02-11 16:49 Minsky.1.D32/doc/makedoc.sh
-rwxr-xr-x root/root 49 2014-02-11 16:49 Minsky.1.D32/exportSchema.tcl
-rwxr-xr-x root/root 578 2014-02-11 16:49 Minsky.1.D32/makeDocInAegisConsistent.sh
-rwxr-xr-x root/root 240 2014-02-11 16:49 Minsky.1.D32/makeRefDb.pl
-rwxr-xr-x root/root 124 2014-02-11 16:49 Minsky.1.D32/test/assert.tcl
-rwxr-xr-x root/root 258 2014-02-11 16:49 Minsky.1.D32/test/constantCopyProblem.tcl
paulparker@linux-30s5:~>

Within GNOME nautilus from ~/Downloads opened with “Archive Manager” then nervously extracted into ~/


paulparker@linux-30s5:~> dir ~/Minsky.1.D32
total 312
-rw-r--r-- 1 paulparker users 12504 Feb 11 16:49 aegis.conf
-rw-r--r-- 1 paulparker users  1302 Feb 11 16:49 classdesc_access.h
-rw-r--r-- 1 paulparker users  1349 Feb 11 16:49 constMap.h
drwxr-xr-x 3 paulparker users  4096 Feb 19 11:07 doc
-rw-r--r-- 1 paulparker users 65596 Feb 11 16:49 Doxyfile
drwxr-xr-x 2 paulparker users  4096 Feb 19 11:07 engine
drwxr-xr-x 2 paulparker users  4096 Feb 19 11:07 examples
-rwxr-xr-x 1 paulparker users    49 Feb 11 16:49 exportSchema.tcl
drwxr-xr-x 4 paulparker users  4096 Feb 19 11:07 GUI
drwxr-xr-x 6 paulparker users  4096 Feb 19 11:07 gui-wt
-rw-r--r-- 1 paulparker users     0 Feb 11 16:49 help
-rw-r--r-- 1 paulparker users  1018 Feb 11 16:49 init.h
-rw-r--r-- 1 paulparker users  5917 Feb 11 16:49 intrusiveMap.h
-rwxr-xr-x 1 paulparker users   578 Feb 11 16:49 makeDocInAegisConsistent.sh
-rw-r--r-- 1 paulparker users  9696 Feb 11 16:49 Makefile
-rwxr-xr-x 1 paulparker users   240 Feb 11 16:49 makeRefDb.pl
drwxr-xr-x 3 paulparker users  4096 Feb 19 11:07 minsky.app
-rw-r--r-- 1 paulparker users 46144 Feb 11 16:49 MinskySchema.xmi
-rw-r--r-- 1 paulparker users    32 Feb 11 16:49 minskyVersion.h
-rw-r--r-- 1 paulparker users 74257 Feb 11 16:49 Minsky.xmi
drwxr-xr-x 2 paulparker users  4096 Feb 19 11:07 schema
drwxr-xr-x 2 paulparker users  4096 Feb 19 11:07 server
-rw-r--r-- 1 paulparker users  2059 Feb 11 16:49 str.h
-rw-r--r-- 1 paulparker users  8355 Feb 11 16:49 tclmain.cc
drwxr-xr-x 2 paulparker users  4096 Feb 19 11:07 template
drwxr-xr-x 5 paulparker users  4096 Feb 19 11:07 test
paulparker@linux-30s5:~> 


One thing, when install applications like this (currently not recognized by zypper) IF need how best to remove them ?

.

I do not know what the first part of your post tries to explain. Where the QUOTEDed info from?

I assume that the CODE info is a listing from the extracted tarball. I see no README or readme.txt or similar there. Thus there seems to be no documentation whatever how to install it. Thus when you can also not find any instructions on the web-site of the product, I am at a loss on how to install it (let alone on how to de-install it).

My personal conclusion: products that are delivered by their developers in such a sloppy manner should be distrusted.

But (as I see a Makefile there), it could be (mind the “could”) that you could go to that directory

cd ~/Minsky.1.D32

and then do

make configure

When that does not show any errors, then do

make

And when that goes OK then

sudo make install

As that is the sequence many tarballs require.

Sorry delay, away all day.

After found Makefile, quick searches


paulparker@linux-30s5:~/Minsky.1.D32> **grep -i 'mac'   ~/Minsky.1.D32/Makefile**
# location of minsky executable when building mac-dist
MAC_DIST_DIR=minsky.app/Contents/MacOS
mac-dist: tclmain.o $(GUI_OBJS) $(ENGINE_OBJS) $(SCHEMA_OBJS)
    mkdir -p minsky.app/Contents/MacOS
    $(LINK) -m32 $(FLAGS) $(MODLINK) tclmain.o $(GUI_OBJS) $(ENGINE_OBJS) $(SCHEMA_OBJS) -L$(HOME)/usr/lib -L/opt/local/lib -L$(HOME)/usr/ecolab/lib -L/usr/X11/lib -lecolab /usr/local/lib/libpangocairo-1.0.a /usr/local/lib/libpango-1.0.a /usr/local/lib/libfontconfig.a /usr/local/lib/libpangoft2-1.0.a $(HOME)/usr/lib/libcairo.a $(HOME)/usr/lib/libgobject-2.0.a $(HOME)/usr/lib/libgmodule-2.0.a $(HOME)/usr/lib/libglib-2.0.a /usr/local/lib/libffi.a $(HOME)/usr/lib/libintl.a $(HOME)/usr/lib/libpixman-1.a $(HOME)/usr/lib/libpng15.a /usr/local/lib/libfreetype.a /opt/local/lib/libbz2.a /opt/local/lib/libiconv.a /usr/local/lib/libboost_regex.a -lxgl -lxlib /opt/local/lib/libexpat.a -ljson_spirit -Wl,-framework,Carbon -Wl,-framework,IOKit -Wl,-framework,CoreServices -Wl,-framework,ApplicationServices /opt/local/lib/libXrender.a  -lSM -lICE  $(HOME)/usr/lib/libtk8.5.a $(HOME)/usr/lib/libtcl8.5.a /opt/local/lib/libX11.a  -lm -lgsl -lgslcblas /opt/local/lib/libz.a -lreadline /opt/local/lib/libncurses.a -ldb -o $(MAC_DIST_DIR)/minsky
    install_name_tool -change /usr/X11/lib/libfreetype.6.dylib @executable_path/libfreetype.6.dylib $(MAC_DIST_DIR)/minsky
#    cp /usr/X11/lib/libfreetype.6.dylib $(MAC_DIST_DIR)
    cp /opt/local/lib/gcc48/libstdc++.6.dylib $(MAC_DIST_DIR)
    install_name_tool -change /opt/local/lib/gcc48/libstdc++.6.dylib @executable_path/libstdc++.6.dylib $(MAC_DIST_DIR)/minsky
    cp /opt/local/lib/gcc48/libgcc_s.1.dylib $(MAC_DIST_DIR)
    install_name_tool -change /opt/local/lib/gcc48/libgcc_s.1.dylib @executable_path/libgcc_s.1.dylib $(MAC_DIST_DIR)/minsky
    cp /usr/local/lib/pango/1.6.0/modules/pango-basic-coretext.so $(MAC_DIST_DIR)
    cp GUI/*.tcl $(MAC_DIST_DIR)
    cp -r GUI/library $(MAC_DIST_DIR)
    cp -r $(HOME)/usr/lib/tcl8.5 $(HOME)/usr/lib/tk8.5 $(MAC_DIST_DIR)/library
    cp $(HOME)/usr/lib/libTktable2.11.dylib $(MAC_DIST_DIR)/library
    cp -r GUI/icons $(MAC_DIST_DIR)
    cp GUI/accountingRules $(MAC_DIST_DIR)
paulparker@linux-30s5:~/Minsky.1.D32> **grep -i 'win'   ~/Minsky.1.D32/Makefile**
# list of dlls required for win-dist build
libpangocairo-1.0-0.dll libpangowin32-1.0-0.dll libpixman-1-0.dll \
WIN_DIST_DIR=$(shell pwd)-win-dist
    toolbarBase.o mainWindow.o minskyDoc.o server-main.o \
# This option removes the black window, but this also prevents being
FLAGS+=-mwindows
    windres -O coff -i $< -o $@
win-dist: GUI/minsky
    mkdir -p $(WIN_DIST_DIR)/Minsky
    cp -r examples GUI/icons GUI/library $(WIN_DIST_DIR)/Minsky
    cp -rf /usr/local/lib/tcl8.5 /usr/local/lib/tk8.5 $(WIN_DIST_DIR)/Minsky/library    
    cp GUI/minsky.exe GUI/*.tcl $(WIN_DIST_DIR)/Minsky
    cp $(DLLS:%=/bin/%) $(WIN_DIST_DIR)/Minsky
    cp GUI/accountingRules $(WIN_DIST_DIR)/Minsky
    cp minsky.msi $(WIN_DIST_DIR)
paulparker@linux-30s5:~/Minsky.1.D32> **grep -i 'linux'   ~/Minsky.1.D32/Makefile**
paulparker@linux-30s5:~/Minsky.1.D32> **grep -i 'unix'   ~/Minsky.1.D32/Makefile**
paulparker@linux-30s5:~/Minsky.1.D32> 


NOTE will go ask: IF anyone using LInux within their SourceForge forum.

—below before found Linux (missing ?)

My quoted information copied from my cut and paste history which is edited, as just trying to keep track of what try to do for my poor memory :open_mouth:

some tex format instructions, found will read through in mornng.


paulparker@linux-30s5:~/Minsky.1.D32> find ~/Minsky.1.D32 | grep -i '.tex'
/home/paulparker/Minsky.1.D32/test/testtestEq.tex
/home/paulparker/Minsky.1.D32/test/testLatexToPango.cc
/home/paulparker/Minsky.1.D32/test/testEqPrototype.tex
/home/paulparker/Minsky.1.D32/test/testEqWrappedPrototype.tex
/home/paulparker/Minsky.1.D32/doc/minsky.tex
/home/paulparker/Minsky.1.D32/doc/Reference.tex
/home/paulparker/Minsky.1.D32/doc/SystemDynamicsHistory.tex
/home/paulparker/Minsky.1.D32/doc/GettingStarted.tex
/home/paulparker/Minsky.1.D32/doc/FAQs.tex
/home/paulparker/Minsky.1.D32/doc/Introduction.tex
/home/paulparker/Minsky.1.D32/doc/Tutorial.tex
/home/paulparker/Minsky.1.D32/engine/latexMarkup.h
/home/paulparker/Minsky.1.D32/engine/latexMarkup.cc
/home/paulparker/Minsky.1.D32/gui-wt/app-res/xml/text.xml
/home/paulparker/Minsky.1.D32/gui-wt/ext/resources/images/default/form/text-bg.gif
paulparker@linux-30s5:~/Minsky.1.D32> 


paulparker@linux-30s5:~/Minsky.1.D32> make configure
ls: cannot access /home/paulparker/usr/ecolab/include/ecolab.h: No such file or directory
Makefile:33: /usr/local/ecolab/include/Makefile: No such file or directory
Makefile:116: tclmain.d: No such file or directory
Makefile:116: minskyTCL.d: No such file or directory
**----deleted----**
Makefile:116: disablingOverlay.d: No such file or directory
Makefile:116: plotDlg.d: No such file or directory
make: *** No rule to make target `plotDlg.d'.  Stop.
paulparker@linux-30s5:~/Minsky.1.D32&gt; 


Search for make result:


paulparker@linux-30s5:~/Minsky.1.D32> find ~/Minsky.1.D32 | grep -i 'make'
/home/paulparker/Minsky.1.D32/test/Makefile
/home/paulparker/Minsky.1.D32/Makefile
/home/paulparker/Minsky.1.D32/GUI/makeMsi.sh
/home/paulparker/Minsky.1.D32/doc/makedoc.sh
/home/paulparker/Minsky.1.D32/makeDocInAegisConsistent.sh
/home/paulparker/Minsky.1.D32/makeRefDb.pl
paulparker@linux-30s5:~/Minsky.1.D32> find ~/Minsky.1.D32 | grep -i 'read'
/home/paulparker/Minsky.1.D32/gui-wt/ext/resources/css/README.txt
paulparker@linux-30s5:~/Minsky.1.D32> 

I am not sure what you are trying to do or why you post what you post.

I offered you a few statements to try. Please do at least the first two and post here what happens.

Sorry my earlier reply not short and clear, doing make configure produced many errors, which edited to shorten as most reports similar for different files:


paulparker@linux-30s5:~/Minsky.1.D32> **make configure**
ls: cannot access /home/paulparker/usr/ecolab/include/ecolab.h: No such file or directory
Makefile:33: /usr/local/ecolab/include/Makefile: No such file or directory
Makefile:116: tclmain.d: No such file or directory
Makefile:116: minskyTCL.d: No such file or directory
**----deleted----**
Makefile:116: disablingOverlay.d: No such file or directory
Makefile:116: plotDlg.d: No such file or directory
make: *** No rule to make target `plotDlg.d'.  Stop.
paulparker@linux-30s5:~/Minsky.1.D32&gt; 


Had also posted to Minsky query, read hpcoder’s reply: http://sourceforge.net/p/minsky/discussion/general/thread/3d8e0d56/#a3fd

hpcoder writes:

To install, just copy the GUI subdirectory to whereever you want to install it: eg assuming /usr/local/minsky does not exist
cp -r Minsky.1.D32/GUI /usr/local/minsky
Then add /usr/local/minsky to your path. Alterantively, create a one line script file that launches /usr/local/minksy/minsky, and place that in /usr/local/bin, for example.
You can, of course, delete source files (.cc, .h), object files (.o) and dependency files (.d) from the directory where you installed it. Minsky pretty much needs everything else in the GUI directory, and the executable has to be located in that directory for the application to find its resources.
Your choice whether you install it system-wide in /usr/local, or just in a user directory (eg ~/usr). Either will work. That decision depends on what priveleges you have, whether you have multiple users of the system, how you back up your system etc.
But there ought to be an install target in the Makefile to simplify the above. I’ll raise a ticket to include one for the next version.

considering your and hpcoder’s reply, also that I am able to install as root (if not complicate things further).

Believe best IF can be placed so available for all users to try, whilst retain each users work within their home.

Also if updates and required components able to be installed using YaST/zypper.

.

One thing is for sure, YaST/zypper will never have anything to do with this. It is a completely local to the product way of building/installing. And even that seems to be badly documented (and broken).

First I want to say, that “make configure” is completely wrong.
It should be “./configure”, but AFAICS Minsky doesn’t include a configure script. So just running “make” should be enough.

But in this case it won’t work as you have already noticed.

The problem starts with this line in the Makefile:

include $(ECOLAB_HOME)/include/Makefile

where $(ECOLAB_HOME) is set before that:

# root directory for ecolab include files and libraries
ifeq ($(shell ls $(HOME)/usr/ecolab/include/ecolab.h),$(HOME)/usr/ecolab/include/
ecolab.h)
ECOLAB_HOME=$(HOME)/usr/ecolab
else
ECOLAB_HOME=/usr/local/ecolab

endif

So apparently you would need to install something called “ecolab” either in /usr/local/ecolab or ~/usr/ecolab first.

PS: Ecolab is available here:
http://ecolab.sourceforge.net/

But I haven’t tried to compile/install that one yet…
At least this contains more sophisticated documentation:
http://ecolab.sourceforge.net/doc/ecolab/node3.html

Sorry, I was wrong in the configure phase. But as we see, the whole configure, while part of many “tarball” builds, is not included in this one.

The main problem here is the lack of adequate documentation.
Why, oh why do people think that their product is ready for distribution when it runs on their own system. Without providing a proper building/installing/deinstalling prodcedure and documentation a product is next to useless for the outside world.

I allways wonder if it is save to use such a product. When we see the sloppy delivering of it, what else sloppy things are inside?

Agree with hcvv’s view.

Admit was hoping it was just a simple blunder on my part, sadly not.

Provided feedback to Minsky :

Feedback received from a more technically competent person.

Concerns Minsky using current layout may be difficult to distribute and update using the YaST/zypper approaches for installation/update as used in Novell/openSUSE and similar systems.

Is Minsky being used, or experiencing similar difficulties, with other linux systems ?

Certainly appreciate work to date developing this system by hpcoder and others, with hope needed improvements achieved soon, as believe considerable use of it, to those interested in economics or interpretations economists can achieve from using it.

.

So have you tried to compile and install ecolab first?

But I do agree that Minsky’s documentation should be improved. (well, build instructions are non-existent really).
And I guess the build system could need an overhaul as well.

On 02/22/2014 04:56 AM, wolfi323 pecked at the keyboard and wrote:
> paulparker;2626419 Wrote:
>> Agree with hcvv’s view.
>>
>> Admit was hoping it was just a simple blunder on my part, sadly not.
>>
> So have you tried to compile and install ecolab first?
>
> But I do agree that Minsky’s documentation should be improved. (well,
> build instructions are non-existent really).
> And I guess the build system could need an overhaul as well.
>
>

Maybe someone needs to introduce the maintainer/author to the openSUSE
build service (OBS) and make his life easier. I’m not a dev so I can’t
help in this regard, just a thought.

Ken

Good idea indeed!

Minsky is in the openSUSE Build Service > Projects > home:hpcoder1 > minsky

                https://build.opensuse.org/package/show/home:hpcoder1/minsky  

Also http://sourceforge.net/projects/minsky/

Being a happy user, question is how to encourage those technically capable to help bring Minsky into openSUSE and SUSE so we NON-Technical can install and use it ?

What is Minsky ?
Check https://en.wikipedia.org/wiki/Minsky_(economic_simulator)
or ProfSteveKeen’s YouTube talks.

Hi
Step 1 Ask the developer/packager to push to a development project (I would guess Science) and request to be maintainer.
Step 2 Maintainer is to announce the package on the development mailing list with details and a commitment to maintain for the required release lifetime.
Step 3 Once that is done and time for others to comment it can be submitted to factory and then will appear in Tumbleweed and Leap if pushed there.

References:
https://en.opensuse.org/openSUSE:How_to_contribute_to_Factory
https://en.opensuse.org/openSUSE:Factory_submissions

Thanks Malcolm,

My running late to a meeting I commented to soon !

When back opened again: https://build.opensuse.org/package/show/home:hpcoder1/minsky

Then realized missed version change so now: Minsky.1.D37.tar.gz
OK see mention of Debian

however down the right side SLE and openSUSE versions listed as succeeded

Select : **Download package **

opens page: http://software.opensuse.org/download.html?project=home%3Ahpcoder1&package=minsky

then installed the 13.2 package :slight_smile:


paulparker@linux-7769:~> sudo zypper se minsky
Loading repository data...
Reading installed packages...

S | Name   | Summary                               | Type      
--+--------+---------------------------------------+-----------
i | minsky | Economics dynamical systems simulator | package   
  | minsky | Economics dynamical systems simulator | srcpackage
paulparker@linux-7769:~> minsky --help
paulparker@linux-7769:~> sudo zypper info  minsky
Loading repository data...
Reading installed packages...


Information for package minsky:
-------------------------------
Repository: home:hpcoder1
Name: minsky
Version: 1.D37-2.1
Arch: x86_64
Vendor: obs://build.opensuse.org/home:hpcoder1
Installed: Yes
Status: up-to-date
Installed Size: 19.4 MiB
Summary: Economics dynamical systems simulator
Description: 
  The minsky package contains libraries and header files for
  developing applications that use minsky.
paulparker@linux-7769:~> 


What info is there ?


paulparker@linux-7769:~> minsky --help
paulparker@linux-7769:~> 


The minsky application opens and is working, time to learn how to use it :slight_smile:

My thanks to Russell Sandish aka “hpcoder1” and all others who helped :wink:

](http://software.opensuse.org/download.html?project=home%3Ahpcoder1&package=minsky)

Hi
OK, looking at the build they don’t package the examples or tex docs… Will have a look later at branching the package and adding the info in.