Boldoo <[EMAIL PROTECTED]> writes: > Hi hackers, > > 1. How one could add a new director to Ptolemy II? is > it similar to adding a new actor?
Professor Lee talked about how to add a director in last week's Ptolemy Ptutorial. His notes are at http://chess.eecs.berkeley.edu/pubs/194.html > 2. After adding a class file to the actor directory > (ptolemy/actor/lib) and invoking "make" it returns: > > $ make > makefile:58: *** commands commence before first > target. Stop. > > I use Cygwin and GNU Make 3.81 is installed. > > Has anyone a clue for it? Sadly, the Cygwin developers made a really poor choice in make 3.81 http://ptolemy.eecs.berkeley.edu/ptolemyII/ptII6.0/limitations.htm says: --start-- * 1/8/07: GNU Make 3.81 no longer supports Windows style path names with colons in them. The affects the Copernicus code generator because $PTII needs to be set to a pathname with a colon in it like c:/Ptolemy/ptII6.0.2. A path name like /cygdrive/c/Ptolemy/ptII6.0.2 will not work with Java. For example, if you run copernicus and copernicus runs make, you may see makefile:360: *** target pattern contains no `%'. Stop. This is because a makefile variable uses the windows style pathnames with colons in them. One solution is to edit the file to use pathnames with /cygdrive. Another solution is to download a working version from http://www.cmake.org/files/cygwin/make.exe For details, see http://www.cygwin.com/ml/cygwin-announce/2006-07/msg00008.html # From: Christopher Faylor <cgf-no-personal-reply-please at cygwin dot com> # To: cygwin-announce at cygwin dot com # Date: Sun, 9 Jul 2006 18:13:29 -0400 I've made a new version of 'make' available for download. This updates the package to the latest version available from fedora.redhat.com. I've included the relevant portions of the NEWS file and the Fedora ChangeLog at the end of this message. For a brief description of this package, see http://cygwin.com/packages/. Note that the --win32 command line option and "MAKE_MODE" environment variable are no longer supported in Cygwin's make. If you need to use a Makefile which contains MS-DOS path names, then please use a MinGW version of make. See: http://mingw.org/ for details on downloading a version of make which understands MS-DOS path names. Please! direct any questions about the MinGW version of make to the appropriate MinGW mailing list. I have no idea what prompted this change, it seems really lame. The code worked fine under Cygwin for many years. It seems like breaking an important tool such as make only hurts the GNU tools. For further updates, see https://chess.eecs.berkeley.edu/bugzilla/show_bug.cgi?id=55. --end-- _Christopher > Thanks. Boldoo > > > > _______________________________________________________________________________ > _____ > Don't get soaked. Take a quick peak at the forecast > with the Yahoo! Search weather shortcut. > http://tools.search.yahoo.com/shortcuts/#loc_weather > > ---------------------------------------------------------------------------- > Posted to the ptolemy-hackers mailing list. Please send administrative > mail for this list to: [EMAIL PROTECTED] -------- Hi hackers, 1. How one could add a new director to Ptolemy II? is it similar to adding a new actor? 2. After adding a class file to the actor directory (ptolemy/actor/lib) and invoking "make" it returns: $ make makefile:58: *** commands commence before first target. Stop. I use Cygwin and GNU Make 3.81 is installed. Has anyone a clue for it? Thanks. Boldoo ___________________________________________________________________________ _________ Don't get soaked. Take a quick peak at the forecast with the Yahoo! Search weather shortcut. http://tools.search.yahoo.com/shortcuts/#loc_weather --------------------------------------------------------------------------- - 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]