Re: [Ifeffit] iFEFFit and Tcl
Hi Everyone, I'm simply delighted to see all the effort/success in getting gifeffit/ifeffit/ etc. going on OSX. However, I'm curious about the status on SGIs. Although I've gotten ifeffit to build and install using SGI's cc compiler (setenv CC cc), it appears that gifeffit does not work yet even with the latest release of ifeffit. Some symptoms, which may or may not be relevant: 1) from the ifeffit make install: Making install in wrappers Installing python extension Distutils works Testing for Tkinter and Pmw ===== WARNING WARNING WARNING ===== Tkinter is NOT installed, or was not found G.I.FEFFIT will not work. Pmw 0.8.5 is already installed. Great! 2) from wrappers/tcl cd /usr/local/src/ifeffit_1.0b/wrappers/tcl 44# sh Build cc -fpic -g -c -I../../src/lib ifeffit_wrap.c -o ifeffit_wrap.o cc ERROR parsing -fpic: unknown flag *** Error code 2 (bu21) This is not an urgent matter; ifeffit/gifeffit/athena/tkatoms, etc all appears to work fine on my laptop and desktop running various RH LINUX OS. But we still love our SGIs. Cheers, J. Rehr
Hi John, For G.I.Feffit, I think it's just a matter of getting a version of python with Tkinter built-in. If perl/Tk were installed, I'd guess that athena and tkatoms would run fine too. These are both (python/Tkinter and perl with Tk) a small amount of work to install. Maybe you can get a student interested ...?
cd /usr/local/src/ifeffit_1.0b/wrappers/tcl 44# sh Build cc -fpic -g -c -I../../src/lib ifeffit_wrap.c -o ifeffit_wrap.o cc ERROR parsing -fpic: unknown flag *** Error code 2 (bu21)
Oh, the Makefile for wrappers/tcl has '-fpic' hard-wired in, which is badly gcc-specific. I don't recall what SGI's CC wants for 'make a shared library', but with that, it's probably pretty easy to make the tcl wrapper. I don't know of a standard/portable way to build a tcl extension, so the tcl Makefile is pretty kludgy and might need some hand-editing. --Matt
participants (2)
-
John J. Rehr
-
Matt Newville