[AQT-user] Re: AquaTerm 1.0
Brought to you by:
persquare
From: Per P. <per...@ma...> - 2006-01-15 18:38:25
|
Ashish, If I understand things correctly you've been using AQT 0.3.x with your own app, using libpgplot for the drawing. It looks to me as if that libpgplot was compiled with support for AQT 0.3.x, not AQT 1.0. * How did you install AQT 1.0 and PGPLOT? (self-compiled, Fink, DarwinPorts, other?) * what does 'otool -L /path/to/libpgplot.dylib' return? Unless is lists AquaTerm.framework (or libaquaterm.dylib if you are using an older 1.0 alpha-release) you need to reinstall PGPLOT. Most likely you will need to rebuild/reinstall libpgplot with support for AQT 1.0 PGPLOT nowadays have built-in support for AQT 1.0 so any recent version of PGPLOT should build "out of the box". I'll be traveling for the better part of next week, so I'm cc:ing the list and Hazen Babcock whos is a member of both the AquaTerm and PGPLOT projects, but I'll follow this up when I get back. /Per On Jan 12, 2006, at 04:39, ashish asgekar wrote: > Hello Per > I am using AquaTerm on my iBook with 10.3.9 > I had been using AQT for plotting with PGPLOT and > it had been a success with v0.3.5. > With v 1.0 that was broken. I have been calling pgplot > from a C++ program and everything goes fine, except > after calling AQT. No plot window appears, even though > AQT app is opened and runs subsequently (so my path > names appear ok). > > I tried to follow your directions in an earlier mail (quoted > below) without success. Would you be able to help me further? > what do you mean by "rebuild libpgplot"? "reinstall pgplot" > or "use ranlib"? it is a shared lib (there is .dylib file there). > how do i recompile that? or should i be asking these questions > elsewhere? > > ******** you wrote > "You will however need to rebuild your libpgplot, see adapter > folder for details. If you are lucky, then your libpgplot was > built as a shared lib (.dylib) and you only need to recompile > and install that." > ******* (see more at the end of my email) > > > Is there any other log which may tell me what could > be wrong with AQT settings ? > Thanks, > ashish > > ---------------------------------------------------------------- > > Dr. Ashish Asgekar > Physics, > BITS Pilani- Goa Campus, > Zuarinagar, Goa 403 726 > INDIA > > Ph: +91-832-258 0410 > +91-832-250 9074 > Fx: +91-832-564 3017 > http://www.bits-goa.ac.in/ > ---------------------------------------------------------------- > > On Apr 9, 2005, at 13:06, ashish asgekar wrote: >> Hi Per, >> I used AquaTerm for plotting along with PGPLOT. >> It worked earlier (0.3.1) with PGPLOT 5.1. When AquaTerm-b1.0 >> was released I installed the binary with your installer. >> Now, my programs using PGPLOT appear broken, they >> do not launch AQT window, though they do launch the app. >> Any suggestions? Am I doing something easily avoidable? > > Hi Ashish, > As you've noticed, 1.0 is not backwards compatible with 0.3.x. > > If you want to reinstall 0.3.2 for compatibility while keeping 1.0, > first *rename* your current AquaTerm to AquaTerm1, then make sure > AQUATERM_PATH is set in your environment to be /path/to/AquaTerm1.app > Next, download and drag and drop AquaTerm 0.3.2 to /Applications to > reinstall the old version. > Now things should work. The following discussion (copy-pasted from > another mail...) explains why. > >> >>> One user contacted me after he installed >>> AquaTerm 1.0b2 and of course our plotting tools no longer work! >> >> It is possible to have both version 0.3.2 and 1.0.x co-existing on >> your >> system, but it does require some thought and user awereness... >> >> A temporary work-around is to launch AquaTerm 0.3.2 _before_ calling >> it, that will prevent AquaTerm 1.0.x from interfering. If your users >> have some sort of .rc file that runs initially it could be >> utilized to >> launch a (possibly renamed) copy of AquaTerm 0.3.2. >> >> Alternatively, you could use the fact that AquaTerm 1.0.x reads the >> environment variable AQUATERM_PATH when launching on behalf of a >> client. In this scenario, you would rename AquaTerm version 1.0.x to >> AquaTerm1 and (permanently) set AQUATERM_PATH to /path/to/ >> AquaTerm1.app >> That would let your users run e.g. gnuplot 4.0 with AquaTerm 1.0 and >> TetrUSS with AquaTerm 0.3.2. > > Having said that, I recommend you to move to the 1.0 version. You > will however need to rebuild your libpgplot, see adapter folder for > details. If you are lucky, then your libpgplot was built as a > shared lib (.dylib) and you only need to recompile and install > that. Otherwise, i.e. you had a static libpgplot.a, you'll need to > recmopile all SW that depends on libpgplot :-( > > Hope this helps, > /Per > -------- > Per Persson, Ph.D. Applied Signal Processing > Resume, contact info and more: > http://homepage.mac.com/persquare > |