This is the mail archive of the ecos-bugs@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1000142] New: cannot start ecosconfig tool or ConfigTool on WinXP (Cygwin)


http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000142

           Summary: cannot start ecosconfig tool or ConfigTool on WinXP
                    (Cygwin)
           Product: eCos
           Version: 2.0
          Platform: Other
        OS/Version: HostOS: Win NT/2k/XP
            Status: UNCONFIRMED
          Severity: critical
          Priority: normal
         Component: ConfigTool
        AssignedTo: jld@ecoscentric.com
        ReportedBy: prashs@rediffmail.com
         QAContact: ecos-bugs@sources.redhat.com


I am facing problems with eCOS configtool on cygwin .. on searching thru mailing
lists i found this conversation and un-reported bug ..

-----
I followed the installation instructions
http://ecos.sourceware.org/getstart.html to install
ecos-2.0 from cygwin on Windows 2000 (same problem for
XP also). I run the ecosenv.sh in /opt/ecos to setup
ECOS_REPOSITORY. But when I double click
configtool.exe to start it, it quickly scans all
packages and complained "This package does not have
any valid version subdirectories." and exited by
itself.
 
Shell commad "ecosconfig list" complains the same
problem for all the packages listed in ecos.db:
 
$ ecosconfig list
ecos.db, package CYGPKG_HAL: warning
    Version subdirectory `common' does not have a CDL
script `hal.cdl'.
ecos.db, package CYGPKG_HAL: warning
    This package does not have any valid version
subdirectories.
ecos.db, package CYGPKG_INFRA: warning
    Version subdirectory `infra' does not have a CDL
script `infra.cdl'.
ecos.db, package CYGPKG_INFRA: warning
    This package does not have any valid version
subdirectories.
ecos.db, package CYGPKG_IO: warning
    Version subdirectory `common' does not have a CDL
script `io.cdl'.
ecos.db, package CYGPKG_IO: warning
    This package does not have any valid version
subdirectories.
ecos.db, package CYGPKG_IO_SERIAL: warning
    Version subdirectory `serial' does not have a CDL
script `io_serial.cdl'.
ecos.db, package CYGPKG_IO_SERIAL: warning
    This package does not have any valid version
subdirectories.
...
 
I tried to double click the "platforms.reg" in
/opt/ecos/ecos-2.0/tools/bin but it didn't help. ..

------
 This problem appears with recent versions of Cygwin dll (e.g. 1.5.10-3).
I've reported the problem to the cygwin list and written the following
message:

>   Something has changed between releases 1.5.9-1 and 1.5.10-3 of
cygwin1.dll
> that breaks configtool, an eCos (the operating system) utility. I've
hunted
> the problem down to the TCL "glob" function which gives different results
> when trying to match a pattern ending with a dot as shown below.
>
> With cygwin 1.5.9-1 under Windows XP SP1:
> $ tclsh
> % glob C:/tmp/.
> C:/tmp/./
> %
>
> With cygwin release 1.5.10-3 under Windows XP SP1:
> $ tclsh
> % glob C:/tmp/.
> C:/tmp/   <========= ./ has disappeared !
> %

  I've had the following answer from pierre dot humblet at ieee dot org:

>Thanks for the report.
>If you have not done so already, this should be brought to the
>attention of the eCos maintainers (or possibly the TCL maintainers).
>Instead of calling CreateFile, Cygwin 1.5.10 calls NtCreateFile,
>which is more strict about path syntax. It doesn't like xxx/.
>so Cygwin has to remove the final dot.

  I don't know if this should be resolved in Cygwin or eCos... Anyway, for
now, you can get it to work by installing an old version of cygwin.dll (e.g
1.5.9-1).

--------
You can have a look at the mailing list yourself :
http://sources.redhat.com/ml/ecos-discuss/2004-06/msg00057.html



------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]