On Tuesday 14 October 2003 04:02 am, Guoqiang Pan wrote:
Dear ifeffit colleagues, I would like to install the Linux version for Artemis in my RedHat8.0 system, as suggested in download page it should install first pgplot, ifeffit, and the latest version of perl/Tk. The first two are OK, but for perl/Tk I had some problem. I downloaded Tk804.025_beta.tar.gz, and unzipped the file. Using perl Makefile.PL to produce the Makefile file. But after type make, I had the problem: [root@localhost Tk804.025_beta2]# make Makefile:95: *** missing separator. Stop.
I had tried other versions for perl/Tk, but the problem is the same. Please help me to solve it. Thank you very much. I attached the Makefile and Makefile.PL.log , the file produced after perl Makefile.PL > Makefile.PL.log
On this same subject, RedHat 9.0 has a broken perl installation. The environmental language variable is set incorrectly. The result is a similar error message. Using tcsh type "echo $LANG" the result should be "lang_us". You can set this variable by typing "setenv LANG lang_us". www.linuxforum.com/forums/index.php?showtopic=1481&view=new Gives some more details. I just recently installed all of these same packages on a new RedHat 9.0 system. -This was the only bump that I ran into. Shelly
Hi Shelly, Guoqiang, Today, Shelly wrote:
On this same subject, RedHat 9.0 has a broken perl installation. The environmental language variable is set incorrectly. The result is a similar error message. Using tcsh type "echo $LANG" the result should be "lang_us". You can set this variable by typing "setenv LANG lang_us". www.linuxforum.com/forums/index.php?showtopic=1481&view=new Gives some more details.
I just recently installed all of these same packages on a new RedHat 9.0 system. -This was the only bump that I ran into.
I've seen the same problem on RedHat systems. Setting LANG to C or en_US also works. It also seems important to start from a completely fresh perl-Tk directory: The simplest thing to do is remove the Tk800.* source directory completely and start over: export LANG=C # in bash. Use 'setenv LANG C' for tcsh rm -rf Tk800.025 tar xvzf Tk-800.025.tar.gz cd Tk800.025 perl Makefile.PL make make install After setting LANG, this should also work: perl -MCPAN -e shell cpan>install Tk Adding 'export LANG=C' or the equivalent in a startup file also seems to help other applications, including Adobe's acroread. --Matt
On Tuesday 14 October 2003 10:49 am, Kelly, Shelly D. wrote:
I just recently installed all of these same packages on a new RedHat 9.0 system. -This was the only bump that I ran into.
Shelly, So what did you do for perl/Tk? Did you install from a supplied RPM? And Guoqiang, you might try Shelly's suggestion of setting that environment variable then trying again to build perl/Tk from the tarball. That may be ufficient to gt you past the problem. B -- Bruce Ravel ----------------------------------- ravel@phys.washington.edu Code 6134, Building 3, Room 222 Naval Research Laboratory phone: (1) 202 767 5947 Washington DC 20375, USA fax: (1) 202 767 1697 NRL Synchrotron Radiation Consortium (NRL-SRC) Beamlines X11a, X11b, X23b National Synchrotron Light Source Brookhaven National Laboratory, Upton, NY 11973 My homepage: http://feff.phys.washington.edu/~ravel EXAFS software: http://feff.phys.washington.edu/~ravel/software/exafs/
participants (3)
-
Bruce Ravel
-
Kelly, Shelly D.
-
Matt Newville