Re: [Ifeffit] Mac installer for 10.4 with horae-048
Stefano, You should NOT need to compile perl/Tk -- it should be included in the installer. You had a working system that somehow got corrupted (though I do not understand how that happened, as a horae_update should have done absolutely nothing). How did you originally get Ifeffit installed on your OSX system? Bruce wrote:
On a similar topic, I see that IfeffitOnMacintosh on the wiki points to a page that hasn't been written yet.
Maybe Stefano or Paul will fill this in. The discussion of how to install Ifeffit+horae on OSX10.4 has been discussed several times on this mailing list in 2005. Several people were able to use the 10.3 installer, fink installed g77, and compile all the perl modules themselves. The installer is supposed to avoid all that. I don't know what's in the 10.4 installer. We should wait to hear from Paul. --Matt
Matt,
You should NOT need to compile perl/Tk -- it should be included in the installer. You had a working system that somehow got corrupted (though I do not understand how that happened, as a horae_update should have done absolutely nothing). How did you originally get Ifeffit installed on your OSX system?
well... I think I installed from source and then I upgraded it using horae_update. Everything went well until I updated the OSX to 10.4. After that, I "think" but I am not really sure, that I tried the dmg installer for 10.4 and so I am afraid that that could be the problem. On top of this, the horae_updtate did not work any more and so I deleted (...) the Ifeffit folder from my applications folder... I just tried to rebuild from source doing the following: Procedure to install Ifeffit, Athena, Artemis etc on a Powerbook G4 running the latestversion of Mac OSX 10.4.3 (Tiger) 1) Remove the /sw directory 2) Install Fink a. Go to http://fink.sourceforge.net/download/index.php?phpLang=en and follow instructions 1-4 b. Run the command: fink scanpackages; fink index c. update fink by running: fink selfupdate. When prompted, select option (1), "rsync". This will automatically update the fink package 3) Install additional programs a. fink install g77 4) Install additional programs in the Fink unstable branch: a. edit /sw/etc/fink.conf, add unstable/main and unstable/crypto to the Trees: line, and then run fink selfupdate; fink index; fink scanpackages. 5) install the Ifeffit binary from ifeffit-1.2.5a_Mac10.3.dmg 6) install Perl/Tk from source a. download Tk-804.027.tar.gz from a CPAN site: wget http://www.cpan.org/modules/by-authors/id/NI-S/Tk-804.027.tar.gz b. unpack Tk-804.027: tar xvzf Tk-804.027.tar.gz c. change line 2809 of pTk/mTk/tixGeneric/tixHList.c from '#if 0' to '#if 1' d. build Perl/Tk: perl Makefile.PL ; make At this point I get the following error message: cd pTk && make DEFINE="" cc -c -I.. -I/usr/X11R6/include -I. -Ibitmaps -I/usr/X11R6/include -g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -Os -DVERSION=\"804.027\" -DXS_VERSION=\"804.027\" "-I/System/Library/Perl/5.8.6/darwin-thread-multi-2level/CORE" -Wall -Wno-implicit-int -Wno-comment -Wno-unused -D__USE_FIXED_PROTOTYPES__ tixHList.c tixHList.c: In function 'NewElement': tixHList.c:2811: error: assignment of read-only location tixHList.c:2812: error: assignment of read-only location make[1]: *** [tixHList.o] Error 1 make: *** [pTk/libpTk.a] Error 2 Paul... where are you??? :-) I am sure someone will be able to guide me through this winding road... Stefano
Matt, another bit of information: I tried to follow one of the many protocols I found, precisely the following: wget http://cars.uchicago.edu/ifeffit/src/ifeffit.tar.gz tar xvzf ifeffit.tar.gz [I used the 1.2.8 version] sh configure --prefix=/sw at the end of this I get the following error message: === ifeffit 1.2.8 Configuration Results: === linking to PGPLOT with: /Users/stefano/Documents/Downloads/ifeffit-1.2.8/src/pgstub/libnopgplot.a === === could not find TERMCAP Libraries : 'make' will fail. === === Please set TERMCAP_LIB in src/cmdline/Makefile or use the === --termcap-link argument before running make stefano% --termcap-link tcsh: --termcap-link: Command not found. I am not sure what should I do when I read: "Please set TERMCAP_LIB in src/cmdline/Makefile or use the --termcap-link argument before running make" ...Stefano
Whoops just got back from a long (sleepless) run at SPring-8. What was the problem with the installer specifically? I took a functioning version of horae/ifeffit on my dual g5 and packed it into the installer. Certainly the perl/tk directory was included as always. I will try and look through the list and see what happened but more feedback would be nice. I will be starting another week long run from this afternoon, but I should have time once everything is running to fix the installer problem. Paul On Dec 2, 2005, at 06:53 AM, Matt Newville wrote:
Stefano,
You should NOT need to compile perl/Tk -- it should be included in the installer. You had a working system that somehow got corrupted (though I do not understand how that happened, as a horae_update should have done absolutely nothing). How did you originally get Ifeffit installed on your OSX system?
Bruce wrote:
On a similar topic, I see that IfeffitOnMacintosh on the wiki points to a page that hasn't been written yet.
Maybe Stefano or Paul will fill this in. The discussion of how to install Ifeffit+horae on OSX10.4 has been discussed several times on this mailing list in 2005. Several people were able to use the 10.3 installer, fink installed g77, and compile all the perl modules themselves.
The installer is supposed to avoid all that. I don't know what's in the 10.4 installer. We should wait to hear from Paul.
--Matt
_______________________________________________ Ifeffit mailing list Ifeffit@millenia.cars.aps.anl.gov http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
participants (3)
-
Matt Newville
-
Paul Fons
-
Stefano Ciurli