Christian Axbrink wrote: > > Dear Wolfgang! > > After lots of pain, indignity and absurd amounts of embarrasment, > I've now suceeded in running POLIS with your distribution of Ptolemy. > > Of course, you were right. Once I had installed *all* of the egcs > compiler < embarrased wriggle> things compile and link in an orderly > fashion. > As you said, it is not necessary to build a custom pigiRpc, it will > work anyway. > Your suggestion to recompile all of POLIS is not > trivial, since the this build process seems to rely on include files > and dito configurations as for the old compiler. This is however not > necessary, only the parts that get linked into Ptolemy at runtime > need be recompiled, and those particular files compile without > complaint. > There were also additional problems related to Tcl and finding a > local ptkrc file, which the POLIS demos use to preload utility > routines. It seems as if within Ptolemy, the tcl variable env(PWD) > always defaults to the user's file area. Do you know if Ptolemy cd's > to "~/." (or the equivalent) before starting tcl ? > > Anyhow, much thanks for your help!! > > Greetings, > Christian Axbrink, [EMAIL PROTECTED] > School of Engineering, University of Borås Dear Christian: It is great that you finally could get POLIS running by loading shared objects at run time (without the need to rebuild a custom pigiRpc). You should definitively let the POLIS people know about your success (they still think that this is not working) and I also suggest to drop a message to the mailto:[EMAIL PROTECTED] list to let other Ptolemy users know about it. Your problem with regard to the .ptkrc location is not related to Tcl but rather to the pigiRpcShell script in $PTOLEMY/lib/. By invoking "pigi" the following will happens: * The script $PTOLEMY/bin/pigi alias $PTOLEMY/bin/pigiEnv.sh will start vem (see last line of the script). * Vem will invoke the script $PTOLEMY/lib/pigiRpcShell (vem is told to do so via -R switch) then. * The latter script will do "cd $HOME" before staring pigiRpc (see last two lines). This is the reason why pigiRpc (which uses Tcl) will look for .ptkrc in $HOME and create files (e. g. pigiLog.pt) in $HOME. Best regards, Wolfgang. -- Wolfgang Reimer (Dr.-Ing.) T U I -- Technical University of Ilmenau, GERMANY, Thuringia Address: TU Ilmenau, FEI/IKM, PF 100565, 98684 Ilmenau, GERMANY http://ikmcip1.e-technik.tu-ilmenau.de Phone: +49-3677-69-2619 mailto:[EMAIL PROTECTED] Fax : +49-3677-69-1195 V I R T U A L P H O T O N I C S I N C O R P O R A T E D mailto:[EMAIL PROTECTED] http://www.vp-bned.com ---------------------------------------------------------------------------- Posted to the ptolemy-hackers mailing list. Please send administrative mail for this list to: [EMAIL PROTECTED]