#10 Unable to install vc-clearcase under cygwin

1.139
closed
Alex Harsanyi
5
2008-01-11
2008-01-09
Anonymous
No

hi
i am new to both cygwin/X and vc-clearcase. i am trying to integrate vc-clearcase with emacs 22.1 under cygwin/X. i followed your instructions in INSTALL file and had problems in generating byte-code for the vc-clearcase.el and ucm.el files. find below, the traces when i tried to compile those .el files.

$ emacs -batch -f batch-byte-compile vc-clearcase.el

In cleartool-tq-start:
vc-clearcase.el:397:8:Warning: `process-kill-without-query' is an obsolete
function (as of Emacs 22.1); use `process-query-on-exit-flag' or
`set-process-query-on-exit-flag'.
Wrote /usr/share/emacs/site-lisp/vc-clearcase-1.139/vc-clearcase.elc

$ emacs -batch -f batch-byte-compile ucm.el

In toplevel form:
ucm.el:36:1:Error: Timeout waiting for cleartool to start

i understood that vc-clearcase.el compiled fine, but ucm.el failed to do so. with my little knowledge of elisp, i could grasp from the code that:

;; on systems other than windows-nt, cleartool will print a prompt
;; when it starts up and tq will complain about it. In these cases,
;; we wait until the prompt is printed, and start the tq after that.
(with-timeout (5 (error "Timeout waiting for cleartool to start"))

now, how to go about the same?

Discussion

  • Alex Harsanyi
    Alex Harsanyi
    2008-01-09

    • assigned_to: nobody --> haral
    • status: open --> open-accepted
     
  • Alex Harsanyi
    Alex Harsanyi
    2008-01-09

    Logged In: YES
    user_id=158922
    Originator: NO

    Thanks for the bug report.

    I'm afraid cygwin Emacs is not supported, at least I never tested it. You can try changing the line above the code you quoted from:
    (when (not (eq system-type 'windows-nt))
    to
    (when (not (memq system-type '(windows-nt cygwin))
    (

     
  • Alex Harsanyi
    Alex Harsanyi
    2008-01-09

    Logged In: YES
    user_id=158922
    Originator: NO

    Thanks for the bug report.

    I'm afraid cygwin Emacs is not supported, at least I never tested it.

    You can try changing the line above the code you quoted from:

    (when (not (eq system-type 'windows-nt))
    to
    (when (not (memq system-type '(windows-nt cygwin))

    This will probably get vc-clearcase.el loaded, but I don't think it will work. The main problem will be that Cygwin Emacs will use pathnames like "/cygdrive/c/SomeDir/foo.c" while cleartool expects a pathname like "C:/SomeDir/foo.c". vc-clearcase.el was written with the assumption that the filenames that Emacs manipulates are understood directly by cleartool, but this is not true for Cygwin Emacs.

    On a windows platform, I would recommend using a native Emacs from http://ftp.gnu.org/gnu/windows/emacs/, it works with all cygwin utilities and with vc-clearcase too.

    Best Regards,
    Alex.

     
  • Logged In: NO

    Thanks for the support. I shall start using NT Emacs ;-)
    I shall get back to you in case of any other issues. I am sorry that I have put my issue as a bug when it is supposed to be a discussion. Is there any forum for the same?

     
  • Alex Harsanyi
    Alex Harsanyi
    2008-01-11

    Logged In: YES
    user_id=158922
    Originator: NO

    There is no disscution forum for vc-clearcase (there were not many support requests either). If you need help, you can email me directly, but if you suspect a bug, you can add it directly to the bug tracker.

    There is also a page on the emacs wiki which discusses vc-clearcase:

    http://www.emacswiki.org/cgi-bin/wiki/ClearCase

    Best regards,
    Alex

     
  • Alex Harsanyi
    Alex Harsanyi
    2008-01-11

    • status: open-accepted --> closed