From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12420 invoked by alias); 8 Mar 2013 14:39:56 -0000 Received: (qmail 12314 invoked by uid 22791); 8 Mar 2013 14:39:55 -0000 X-SWARE-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-ea0-f176.google.com (HELO mail-ea0-f176.google.com) (209.85.215.176) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 08 Mar 2013 14:39:23 +0000 Received: by mail-ea0-f176.google.com with SMTP id h10so221311eaj.35 for ; Fri, 08 Mar 2013 06:39:21 -0800 (PST) X-Received: by 10.15.67.134 with SMTP id u6mr6221346eex.6.1362753561265; Fri, 08 Mar 2013 06:39:21 -0800 (PST) Received: from [192.168.178.23] (217-75-21-200.pool.cyberlink.ch. [217.75.21.200]) by mx.google.com with ESMTPS id h5sm8143186eem.1.2013.03.08.06.39.19 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 08 Mar 2013 06:39:20 -0800 (PST) Message-ID: <5139F817.6090701@gmail.com> Date: Fri, 08 Mar 2013 14:39:00 -0000 From: Bob Brusa Reply-To: bob.brusa@gmail.com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130215 Thunderbird/17.0.3 MIME-Version: 1.0 To: ecos discuss References: <5139C644.1020200@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] adding a package with configtool fails X-SW-Source: 2013-03/txt/msg00010.txt.bz2 Am 08.03.2013 13:40, schrieb Sergei Gavrikov: > On Fri, 8 Mar 2013, Bob Brusa wrote: > >> Hi, >> I moved eCos and tools and the sourcecode of project P2 to a new(er) >> pc (W7). Actually I had already done an eCos-related project P1 on >> this pc and hence, I know that everything is working, but P2 needs a >> (user written) package, not yet included in eCos: >> >> - When adding this package with configtool>Tools>Administration and >> opening the corresponding epk-file, configtool does not report any >> errors, but the added package is still not part of ecos. >> >> When performing this same operation with the same epk-file on the >> previous old PC, it works. There seems to be something missing on my >> new pc. But how to find out what? > > Hi Bob > > May be your installation lacks Tcl. Try from cygwin bash prompt > > tclsh "${ECOS_REPOSITORY}"/ecosadmin.tcl list > > if this works, then > > tclsh "${ECOS_REPOSITORY}"/ecosadmin.tcl add foo.epk > > > Sergei > >> Thanks for advice and best regards - Bob >> >> >> -- >> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos >> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss >> Hi Sergei, In cygwin-terminal I get the following response: rwb@w500 ~ $ tclsh ${ECOS_REPOSITORY}/ecosadmin.tcl list ecosadmin error: parsing /home/rwb/c:/cygwin/opt/ecos/packages/ecos.db: couldn't open "/home/rwb/c:/cygwin/opt/ecos/packages/ecos.db": no such file or directory No idea why it adds /home/rwb/ in front of the correctly specified ECOS_REPOSITORY variable. On the other hand, when changing to the packages directory - the list is printed out: rwb@w500 ~ $ cd ${ECOS_REPOSITORY} rwb@w500 /opt/ecos/packages $ tclsh ecosadmin.tcl list CYGPKG_HAL: current CYGPKG_INFRA: current... Any further advice to make it work also from configtool? Thank you and regards - Bob -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss