X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:to:subject:date:message-id:content-type
	:content-transfer-encoding:mime-version; q=dns; s=default; b=TXr
	CZtobX74uwdflIiaGXWmBGE51BggWP+uWarwhtr0YZMBvP+XvWSewiBpbta2/3MD
	yRtd5izwbKh7C5V52tAXWTtvdpNrvGmC8b+qiNwIaFhWo39BGUuy1Iij7n61qzcb
	HkSy/oguKay+HEqeAE04aBB8YPPZ9hUYiRRvMG7w=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:to:subject:date:message-id:content-type
	:content-transfer-encoding:mime-version; s=default; bh=mrT6xhFYl
	RqevYSfffMzkp/TFLM=; b=MYrzKZcDFqHcDNzARI5irikwIygwSfRahSuBGm6fE
	RPuy9Z8rshgogaGLtsYTZ9kKx2QnfR0jstCHYwLrWxG58QDXLBz3iyomSEhzCYKL
	41jcVxB80WOaHOZnxHN/srCTGAZCY6CWFgxZz5lNhAjegGm1bYqGeVSZ5vzk4QXa
	J4=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: Yes, score=6.4 required=5.0 tests=AWL,BAYES_05 autolearn=no version=3.3.2
X-HELO: mail13.admin.ch
From: <Jonas.Hagen@metas.ch>
To: <cygwin@cygwin.com>
Subject: Octave package database update
Date: Wed, 26 Feb 2014 13:26:00 +0000
Message-ID: <8AEE65C709C1E74794BEE8AE0C87E0EBC0F07A@metasmx05.ad.metas>
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
X-TM-AS-MML: disable
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id s1QDQKf9009794

Hello,

I installed the octave package in Cygwin. This works well.

But when I install octave-signal and other octave packages,
They are not found by octave. At start, octave gives an error:
error: save: unable to open output file '/usr/share/octave/octave_packages'
error: called from:
error:   /usr/share/octave/3.8.0/m/pkg/pkg.m at line 498, column 9
error:   /usr/share/octave/site/m/startup/octaverc at line 22, column 3

This is apparently a permission issue and I have to login
as Administrator and start octave from there each time I 
install a new package.

Shouldn't  the package database update be done at
installation time of the package from the Cygwin setup,
rather than on every start of octave?
The setup has the right privileges to do so. Also, this would
make octave to start faster.

Best regards,
Jonas

System Information:
Windows 7
GNU Octave Version 3.8.0
CYGWIN_NT-6.1 1.7.28(0.271/5/3) 2014-02-09 21:06 x86_64

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


