octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #51632] MS Windows portable (i.e. zip) version


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #51632] MS Windows portable (i.e. zip) version cannot find pre-installed packages, needs pkg rebuild, not mentioned at first run
Date: Wed, 2 Aug 2017 17:00:43 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #17, bug #51632 (project octave):

maintainers list discussion [1] advises trying to just make the change to the
windows zip-distribution if possible. 

I think this could be done changing the following in binary-dist-rules.mk in
the 'define make-zip-dist' section (near line 194):


define make-zip-dist
  cd $(TOP_BUILD_DIR)/dist/share/octave/site/m/startup \
    && echo "## autogenerate the global octave_packages file for the Octave
zipfile distro" >> octaverc  \
    && echo "if (exist (pkg ('global_list'), 'file') == 0), try, pkg rebuild,
catch, end_try_catch, endif" >> octaverc

  echo "generating zip file..."
  cd $(TOP_BUILD_DIR)/dist \
    && zip -q -9 -r $(OCTAVE_DIST_NAME).zip $(OCTAVE_DIST_NAME)
endef



can anyone who actually knows how the makefile/building process works comment
on whether that's right?

[1]
http://octave.1599824.n4.nabble.com/any-impacts-of-adding-this-line-to-default-octaverc-tp4684287.html

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?51632>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]