Re: Trying to run "pigi"

2000-02-07 Thread Christopher Hylands

Perhaps you used winzip to untar the source file?

http://ptolemy.eecs.berkeley.edu/~cxh/ptpub/nt/ptntinstall.html
says:
   7.If you have not yet done so, download the Ptolemy src and
 other.src tar files from
 http://ptolemy.eecs.berkeley.edu/ptolemyclassic/pt0.7.2/download.htm
 and then use GNU tar to extract the files. 
 Do not use Winzip to extract the tar files. These tar files
 contain Cygwin symbolic links, which Winzip cannot handle. 

contain Cygwin symbolic links, which Winzip cannot handle. 
>From your message, I'm ot sure which version of Ptolemy you are
working on, but the 0.7.2devel and 0.7.1 tar files appear fine.

cxh@maury 15% gtar -ztvf pt0.7.2devel.src.tar.gz |grep pigiEnv.sh
lrwxrwxrwx ptolemy/ptpriv 0 1998-04-29 17:35 ptolemy/bin/pigi -> pigiEnv.sh
lrwxrwxrwx ptolemy/ptpriv 0 1998-04-29 17:35 ptolemy/bin/ptiny -> pigiEnv.sh
lrwxrwxrwx ptolemy/ptpriv 0 1998-04-29 17:35 ptolemy/bin/ptrim -> pigiEnv.sh
-r-xr-xr-x ptolemy/ptpriv  8205 1999-02-10 17:30 ptolemy/bin/pigiEnv.sh
cxh@maury 16% gtar -ztvf 
/vol/ptolemy/pt0/ftp/pub/ptolemy/ptolemy0.7.1/pt0.7.1.src.tar.gz | grep pigiEnv.sh

gtar -ztvf /vol/ptolemy/pt0/ftp/pub/ptolemy/ptolemy0.7.1/pt0.7.1.src.tar.gz | grep 
pigiEnv.sh
lrwxrwxrwx ptolemy/ptpriv 0 1998-04-29 17:35 ptolemy/bin/pigi -> pigiEnv.sh
lrwxrwxrwx ptolemy/ptpriv 0 1998-04-29 17:35 ptolemy/bin/ptiny -> pigiEnv.sh
lrwxrwxrwx ptolemy/ptpriv 0 1998-04-29 17:35 ptolemy/bin/ptrim -> pigiEnv.sh
-r-xr-xr-x ptolemy/ptpriv  7918 1998-05-28 10:33 ptolemy/bin/pigiEnv.sh
cxh@maury 17% 


-Christopher


Hello,

checking the files I get after untaring the sources file, I realized that 
what I have is several links linking at themselves:

lrw-r--r--   1 544  everyone   22 Jan 31 11:12 pigi -> pigiEnv.csh
lrw-r--r--   1 544  everyone   21 Feb  2 14:54 pigiEnv.csh -> 
pigiEnv.sh
lrw-r--r--   1 544  everyone 8496 Feb  7 11:08 pigiEnv.sh -> 
pigiEnv.sh

So I think this is the problem, and I wonder if anybody has had the same 
problem than me.

Thanks for your help,

JCarlos.
__
Get Your Private, Free Email at http://www.hotmail.com


---
   -
Posted to the ptolemy-hackers mailing list.  Please send administrative
mail for this list to: [EMAIL PROTECTED]



Posted to the ptolemy-hackers mailing list.  Please send administrative
mail for this list to: [EMAIL PROTECTED]



Re: Trying to run "pigi"

2000-02-07 Thread Juan Carlos Sacristan

Hello,

checking the files I get after untaring the sources file, I realized that 
what I have is several links linking at themselves:

lrw-r--r--   1 544  everyone   22 Jan 31 11:12 pigi -> pigiEnv.csh
lrw-r--r--   1 544  everyone   21 Feb  2 14:54 pigiEnv.csh -> 
pigiEnv.sh
lrw-r--r--   1 544  everyone 8496 Feb  7 11:08 pigiEnv.sh -> 
pigiEnv.sh

So I think this is the problem, and I wonder if anybody has had the same 
problem than me.

Thanks for your help,

JCarlos.
__
Get Your Private, Free Email at http://www.hotmail.com



Posted to the ptolemy-hackers mailing list.  Please send administrative
mail for this list to: [EMAIL PROTECTED]



Re: Trying to run "pigi"

2000-02-02 Thread Kai Below

Hi Juan Carlos,

I don't have ptolemy running on NT (only on Linux) but I saw one mistake
in your mail:

On Tue, 1 Feb 2000, Juan Carlos Sacristan wrote:

[snip ...]
> " + onintr catch
>   onintr: not found
>   /users/ptolemy/bin/pigi:18 Syntax error: word unexpected   
> (expecting "then")
> "

'onintr' is a csh (C-Shell) command. It is clear that bash/sh does not
understand that command.

[snip ...]
> >
> > a) "/users/ptolemy/bin/pigi" really exists, and it is a link to
> > another file called pigiEnv.csh in the same folder.

This seems to be your problem: you execute a csh-script (pigiEnv.csh) with
bash, some command are not understood by bash. At Linux there is only a
sh-script (/usr/local/ptolemy-0.7.1p1-3.inst/bin/pigiEnv.sh). Isn't there
a sh-script in the NT distribution? (Maybe you just have to remove the
symbolic link and make a new one pointing to pigiEnv.sh ? Or maybe you
could use csh/tcsh for invoking the script?)


Hope this helps a bit narrowing down the problem,

Kai
-- 
__
Dipl.-Ing. Kai Below

TU Hamburg-Harburg, Digital Communication Systems (FSP 4-06)
Denickestr. 17, R. 3009, D-21071 Hamburg, G E R M A N Y

Fon: +4940 428 78 - 3480, Fax: +4940 428 78 - 2941
http://www.tu-harburg.de/et6/New/People/kb/ (PGP-key available)
__



Posted to the ptolemy-hackers mailing list.  Please send administrative
mail for this list to: [EMAIL PROTECTED]



Re: Trying to run "pigi"

2000-02-01 Thread Juan Carlos Sacristan

Hello,

thanks again for your help. I get the next error message:
" + onintr catch
  onintr: not found
  /users/ptolemy/bin/pigi:18 Syntax error: word unexpected   
(expecting "then")
"

If I only write "pigi &", the message is:
"bash: /users/ptolemy/bin/pigi: Not such file or directory"


Cheers,
Juan Carlos.




>Make sure that you copied the bash.exe binary to /bin/sh.exe
>http://ptolemy.eecs.berkeley.edu/~cxh/ptpub/nt/ptntinstall.html
>says
>  mkdir /tmp /bin /etc
>  cp /Cygnus/cygwin-b20/H-i586-cygwin32/bin/bash.exe /bin/sh.exe
>  cp /Cygnus/cygwin-b20/H-i586-cygwin32/bin/bash.exe /bin/bash.exe
>
>If /bin/sh.exe is present, then try
>/bin/sh -x /users/ptolemy/bin/pigi
>and see what comes up
>
>-Christopher
>
>
> Hello (again :)),
>
> in despite of my last message about my problems for a succesful
> installation of Ptolemy over Windows NT, I try to run pigi and I get
> the next error message:
>  "bash: /users/ptolemy/bin/pigi: Not such file or directory"
>
> I have checked that:
>
> a) "/users/ptolemy/bin/pigi" really exists, and it is a link to
> another file called pigiEnv.csh in the same folder.
>
> b) PTOLEMY variable is set ok.
>
> c) PTOLEMY/bin is set in the path. (Anyway I have also tryid to run
> pigi going to that folder with cd /users/ptolemy/bin)
>
> d) The X Server (MI/X) (MicroImages X server)) was succesfully
> installed because I have run the xclock and xterm succesfully.
>
>
> I can't imagine what is the problem, but I am sure is something very
> very easy... Can anybody help me?
>
> Thank you very much in advance,
>
> JCarlos.
>
>
> __
> Get Your Private, Free Email at http://www.hotmail.com
>
>
> 
>---
>-
> Posted to the ptolemy-hackers mailing list.  Please send 
>administrative
> mail for this list to: 
>[EMAIL PROTECTED]
>

__
Get Your Private, Free Email at http://www.hotmail.com



Posted to the ptolemy-hackers mailing list.  Please send administrative
mail for this list to: [EMAIL PROTECTED]



Re: Trying to run "pigi"

2000-02-01 Thread Christopher Hylands

Make sure that you copied the bash.exe binary to /bin/sh.exe
http://ptolemy.eecs.berkeley.edu/~cxh/ptpub/nt/ptntinstall.html
says
 mkdir /tmp /bin /etc
 cp /Cygnus/cygwin-b20/H-i586-cygwin32/bin/bash.exe /bin/sh.exe
 cp /Cygnus/cygwin-b20/H-i586-cygwin32/bin/bash.exe /bin/bash.exe

If /bin/sh.exe is present, then try
/bin/sh -x /users/ptolemy/bin/pigi
and see what comes up

-Christopher


Hello (again :)),

in despite of my last message about my problems for a succesful
installation of Ptolemy over Windows NT, I try to run pigi and I get
the next error message:
 "bash: /users/ptolemy/bin/pigi: Not such file or directory"

I have checked that:

a) "/users/ptolemy/bin/pigi" really exists, and it is a link to
another file called pigiEnv.csh in the same folder.

b) PTOLEMY variable is set ok.

c) PTOLEMY/bin is set in the path. (Anyway I have also tryid to run
pigi going to that folder with cd /users/ptolemy/bin)

d) The X Server (MI/X) (MicroImages X server)) was succesfully
installed because I have run the xclock and xterm succesfully.


I can't imagine what is the problem, but I am sure is something very
very easy... Can anybody help me?

Thank you very much in advance,

JCarlos.


__
Get Your Private, Free Email at http://www.hotmail.com


---
   -
Posted to the ptolemy-hackers mailing list.  Please send administrative
mail for this list to: [EMAIL PROTECTED]



Posted to the ptolemy-hackers mailing list.  Please send administrative
mail for this list to: [EMAIL PROTECTED]