ftp://ftp.xraylith.wisc.edu/pub/khan/gnu-win32/cygwin/gcc-2.95/
http://www.xemacs.freeserve.co.uk/
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 cp /Cygnus/cygwin-b20/H-i586-cygwin32/bin/rm.exe /bin mkpasswd -d -l -g > /etc/passwd mkgroup -d -l > /etc/group(
/bin/bash.exe
is used when we
load a star)
DISPLAY localhost:0.0 PTOLEMY /users/ptolemy PTARCH nt4 CC gccYour
PATH
should include
%PTOLEMY%\bin;%PTOLEMY%\bin.nt4
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.
cd $PTOLEMY make -k ntbuild >& make.out &
ftp://go.cygnus.com/pub/sourceware.cygnus.com/cygwin/
full.exe
icon. It is best if you install Cygnus GNU-win32 in a directory that
does not have spaces in the pathname. Usually GNU-win32 is installed
in the top level, so it ends up in c:/Cygnus
.
Be sure to update your path and the other variables mentioned
in the Cygnus README
file.
mkdir /tmp
bash.exe
binary to /bin/sh.exe
for use from make
:
mkdir /bin cp /Cygnus/cygwin-b20/H-i586-cygwin32/bin/bash.exe /binIt is possible to use the vanilla
sh.exe
rather than using bash.exe
, but make
has subtle problems with the sh.exe
.
Another problem is that pigi
uses csh
style syntax to exec subprocesses in a few places, and csh
style syntax is not supported by the vanilla sh.exe
, but
it is supported by bash.exe
.
For more information, see
Loading a star fails.
Since the Xgraph stars and various scripts use /bin/rm
you should also do:
cp /Cygnus/cygwin-b20/H-i386-cygwin32/bin/rm.exe /bin
ftp://linc.cis.upenn.edu/pub/xv/xv-3.10.NTbin.tar.gz
If you plan on trying to compile xv, copy the file gcc.exe from
Cygnus/cygwin-b20/H-i386-cygwin-32/bin
to
/bin
and rename it to cc.exe
. Otherwise you
will get problems while trying to compile xv.
/etc/passwd
and /etc/group
by running
mkdir /etc mkpasswd -d -l -g > /etc/passwd mkgroup -d -l > /etc/groupFor more information, type
mkpasswd
and mkgroup
without any arguments. The Cygwin faq also covers these programs.
If you do not have /etc/passwd
, then you will get errors
from GetTildePath()
when trying to create an icon.
(Reported by Sascha Schwarz <s_schwa@informatik.uni-kl.de>)
-d
option will include all the users in
the domain. Tim Kurzweg <tim@ee.pitt.edu> reports
that mkgroup
sometimes not place the user
administrator in the administrator group.
ftp://ftp.xraylith.wisc.edu/pub/khan/gnu-win32/cygwin/gcc-2.95/
http://dao.gsfc.nasa.gov/software/grads/win32/X11R6.3/
mkdir /usr cd /usr tar -xf /tmp/B20_X11R6_4_tar.gz
c:\usr\X11R6.4\bin
to your path by using the
System
control panel.
DISPLAY=localhost:0.0 export DISPLAYand then running
/usr/X11R6.4/bin/xclock
.
pxgraph
,
download
JDK1.1.
The JDK should be installed in c:/jdk1.1.n
and you will need to update your path to include
c:/jdk1.1.n/bin
ftp://ptolemy.eecs.berkeley.edu/pub/misc/pxgraph/index.html
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.
$PTOLEMY/colors/ptolemy/con
and file names that contained percent characters. These
problems have been fixed in 0.7.2devel
bash-2.02$ tar -zxf /tmp/pt0.7.2devel.src.tar.gz tar: ptolemy/tcltk/tcl/man/mann/Toplevel.n: Could not create file: Permission denied tar: ptolemy/tcltk/tcl/man/mann/optionmenu.n: Could not create file: Permission denied tar: ptolemy/tcltk/tcl/man/mann/messagebox.n: Could not create file: Permisson denied tar: Error exit delayed from previous errorsThese errors occur because of case sensitivity problems. The files that are reported as errors are only different by case. For example:
/users/ptolemy/tcltk/tcl/man/mann/Toplevel.n /users/ptolemy/tcltk/tcl/man/mann/toplevel.nIn the short term, you can ignore the above errors.
mount
command to mount a disk with enough space.
cd $PTOLEMY chmod -R a+w . chown -R yourlogin .Where
yourlogin
is your NT login, which should
also be present in /etc/passwd
, which was created
in the mkpasswd
step above.
The chown works around a problem where the configure scripts have problems with the write permissions on directories. If you don't chown the tree, then you may see messages like
not updating unwritable cache config.cache.We are not sure of the cause of this problem, hopefully it will be fixed in a future release.
rm -rf $PTOLEMY/obj.nt4/tcltk $PTOLEMY/obj.nt4/octtools
Start
menu, select Settings
, then
Control Panels
, then System
, then select the
Environment
tab
PTOLEMY
and PTARCH
should
follow these conventions:
The values to set are:
PTARCH nt4 PTOLEMY /users/ptolemy CC gccIn the NT System Environment control panel, set your
PATH
to include
%PTOLEMY%\bin;%PTOLEMY%\bin.nt4Note that if you are setting variables directly in bash, then you should not use the DOS
%foo%
syntax, instead use $foo
.
bash
and cd to the tree with something like:
mkdir /users/ptolemy mount //UnixHost/ptolemy /users/ptolemy cd $PTOLEMY
Now you have three ways to get to the sources using Samba:
Run
Start menu choice.
cd
to the UNC, such as cd //carson/ptdesign
cd
to the Cygwin mount point: cd /users/ptolemy
itkwish
or via the Cygwin32 itkwish
. The
Windows itkwish
does not understand Cygwin32 mount points, but
the Cygwin32 version does.
Note that you can set PTOLEMY to the raw UNC format
//UnixHost/ptolemy
, but if you do, you will
have problems with configuring Itcl. Instead use the mount
command as above.
cd $PTOLEMY make -k ntbuild >& make.outNote that the ntbuild rule builds everything but xv and the GNU tools.
$PTOLEMY/tycho/doc/img/ptolemy.ico
<s_schwa@informatik.uni-kl.de>