Welcome to iraf.net Thursday, March 28 2024 @ 07:50 PM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 ecl Problem in FC4
   
FSBoyden
 06/07/2006 10:45AM (Read 21103 times)  
++++-
Regular Member

Status: offline


Registered: 06/07/2006
Posts: 95
I don't know if I am doing something wrong but I can't seem to be able to run the install script. "I only started using Linux at the start of this year." I installed the 'sharutils' package and downloaded the ecl_install_redhat.csh script. But when I want to run it from root using ./ecl_intall_redhat.csh it does not pick it up, i.e. it does not autocomplete when using tab. I tried changing the shell, I also tried source or exec commands. Only the source command runs, but then it gives me errors. They seem like the same errors that Dylan "ecl install error with FC5" gets.I hope someone can help me.
Thank U.

 
Profile Email
 Quote
fitz
 06/07/2006 10:45AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
[quote:48df88c636]But when I want to run it from root using ./ecl_intall_redhat.csh it does not pick it up, i.e. it does not autocomplete when using tab.[/quote:48df88c636]I'm a little confused by this: Do you mean the "./ecl_install_redhat.csh" command doesn't execute, or that once it is installed and you're running the ECL the autocomplete doesn't work? In the first case be sure the script is executable, or else use the C-shell to run it, i.e.[code:1:48df88c636]
unix% chmod 755 ecl_install_redhat.csh <-- make executable
unix% csh -f ecl_install_redhat.csh <-- run it with csh directly
[/code:1:48df88c636]In the second case, what isn't completing? The command/parameter name, image names, etc.-Mike

 
Profile Email
 Quote
jhargis
 06/07/2006 10:45AM  
++---
Junior

Status: offline


Registered: 02/19/2007
Posts: 28
I am also having problems with the tab completion in ECL (running FC6). When I hit tab to complete the name of a file or directory, I get:
[code:1:53bf97bf8c]
ecl> cd tERROR: task `cd' has no param file
ecl> cd mERROR: task `cd' has no param file
[/code:1:53bf97bf8c]

 
Profile Email
 Quote
josephmeiring
 06/07/2006 10:45AM  
+----
Newbie

Status: offline


Registered: 02/13/2007
Posts: 12
I'm having issues with the ECL install. I downloaded the ecl_install_redhat.csh script and ran it as root, I get the following messages and no ecl. any suggestions? ECL V0.9 Installation
===================== Build Date: Mon Mar 26 10:23:27 EDT 2007 For each prompt: hit <CR> to accept the default value, 'q' to quit,
or 'help' or '?' to print an explanation of the prompt.tail: cannot open `+454' for reading: No such file or directory
uudecode: _ecl: No `begin' line
cat: ecl_tar.gz: No such file or directorygunzip: stdin: unexpected end of file
Updating cl.csh script in hlib directory ....
mv: cannot stat `cl.csh.PCIX': No such file or directory
Installing 'ecl' unix command to ( /usr/local/bin )....
Installing ECL binary ....
chown: cannot access `ecl.e': No such file or directory
chmod: cannot access `ecl.e': No such file or directory
mv: cannot stat `ecl.e': No such file or directory
Installing ECL in IRAF source tree ....
cp: No match.
[root@hubble programs]#

 
Profile Email
 Quote
fitz
 06/07/2006 10:45AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
See https://iraf.net/phpBB2/viewtopic.php?t=86117&highlight=ecl+tail for a small code change you'll need to make to the ecl_install script to workaround a new 'tail' command in FC4.-Mike

 
Profile Email
 Quote
josephmeiring
 06/07/2006 10:45AM  
+----
Newbie

Status: offline


Registered: 02/13/2007
Posts: 12
Ok, got ECL installed, up and down arrows now navigate through history, but tab completion is not working. Same type of error message as the user above: [code:1:3a5a0dfa24]ecl> cd MagERROR: task `cd' has no param file[/code:1:3a5a0dfa24]Any suggestions?

 
Profile Email
 Quote
fitz
 06/07/2006 10:45AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
The standalone ECL installer still has the original release version. Since then, work was done to improve the tab completion and so the specific example you give now works as expected, this is the version distributed with the V2.13 releases.I've put a copy of the Redhat binary of the new ecl.e at https://iraf.net/ftp/pub/fitz/ecl.e.RHUX -- Simply download this, rename 'ecl.e', make it executable and put it in your iraf$bin.redhat directory. You still need to have installed the files from the ecl_install_<arch> file to get the param file. If you're already running V2.13 this new binary doesn't offer anything new.Cheers,
-Mike

 
Profile Email
 Quote
josephmeiring
 06/07/2006 10:45AM  
+----
Newbie

Status: offline


Registered: 02/13/2007
Posts: 12
Beautiful, it works like a charm. Thanks for the help. Joe

 
Profile Email
 Quote
josephmeiring
 06/07/2006 10:45AM  
+----
Newbie

Status: offline


Registered: 02/13/2007
Posts: 12
I take that back, I still get a ERROR: task `cd' has no param file when trying to tab complete to a directory. It does seem to work however when you start out the line with a .., so
1:0CEE45BD02 Formatted Code
cd ../folder1/folder2/folder3[/code:1:0cee45bd02]

would work, and you could tab complete any of the folders, but with just

 [code:1:0cee45bd02]cd /folder1/blahblahblah[/code:1:0cee45bd02]

it will not allow a tab completion in there.

There is a cl.par file in $iraf/pkg/ecl/ which is readable, and I copied over the ecl.e binary to the bin.redhat folder as suggested.

Any ideas?

 
Profile Email
 Quote
fitz
 06/07/2006 10:45AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Ihate to say it, but it works fine for me (at least on RH9, FC3 and FC6). One explanation would be if the binary were installed properly (e.g. kept the 'ecl.e.RHUX' name instead of renaming 'ecl.e', put it in the wrong place, etc). How big is the file when you say[code:1:e84f33bc46]ecl> dir bin$ecl.e long+[/code:1:e84f33bc46]It should be 2144837 bytes with a date sometime after March 26? Is the problem with this one particular directory (e.g. maybe it isn't readable/executable?) or any directory completion?-Mike

 
Profile Email
 Quote
josephmeiring
 06/07/2006 10:45AM  
+----
Newbie

Status: offline


Registered: 02/13/2007
Posts: 12
Hello, Thanks for all the help. Here is the output of
[code:1:768e775675] ecl> dir bin$ecl.e long+
xb-rwr-r- iraf 2144837 Apr 3 15:29 bin$ecl.e
ecl>[/code:1:768e775675]it's owned by iraf:iraf. what does that 'b' mean? ?

 
Profile Email
 Quote
fitz
 06/07/2006 10:45AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
The 'b' just means the system sees it as a binary file (as it should), so that looks okay. So is there anything weird/special about the directory you're trying to get to? Do you have the same problem with e.g. /usr/local/<whatever>? No spaces in the filenames, right?-Mike

 
Profile Email
 Quote
josephmeiring
 06/07/2006 10:45AM  
+----
Newbie

Status: offline


Registered: 02/13/2007
Posts: 12
nope, no spaces in there. I also noticed that if I start out with the full path to the folder I'm trying to get to, tab completion works. For instance, I can tab my way though /home/user1/work/subfolder1/subfolder2/, but if I'm in subfolder1, I can't tab complete cd subfolder2. Strange

 
Profile Email
 Quote
jhargis
 06/07/2006 10:45AM  
++---
Junior

Status: offline


Registered: 02/19/2007
Posts: 28
I am also noticing this same problem in FC6 -- the tab complete does not work even with the ecl.e.RHUX binary.- Jonathan

 
Profile Email
 Quote
josephmeiring
 06/07/2006 10:45AM  
+----
Newbie

Status: offline


Registered: 02/13/2007
Posts: 12
Correction, tis box is running FC5, not FC6.
kernel 2.6.17-1.2157_FC5smp

 
Profile Email
 Quote
fitz
 06/07/2006 10:45AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Can somebody please post an example using a common system directory (e.g. something under /usr or /etc) so I can reproduce it. I'll also need to know what directory you are already in when you issue the command. So far, I still don't see the problem, this makes it a very difficult thing to fix.-Mike

 
Profile Email
 Quote
josephmeiring
 06/07/2006 10:45AM  
+----
Newbie

Status: offline


Registered: 02/13/2007
Posts: 12
Hello,
Her I was in /usr/local/ and trying to get to rsi[code:1:adc84949c9]ecl> pwd
/usr/local
ecl> ls
Adobe etc games include lib man pgplot rsi share src tables
bin fits6p grace info libexec midas RealPlayer sbin specp6 stsdas
ecl> cd rsERROR: task `cd' has no param file
ecl>
[/code:1:adc84949c9]Thanks,
Joe

 
Profile Email
 Quote
fitz
 06/07/2006 10:45AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
'rsi' is a local directory, and from the name of it I'm sure also contains many safeguards designed to make IRAF look bad. What happens with a standard system directory like '/usr/local/libexec'? If I stop at the 'lib' and hit <Tab> twice it shows me the options, if I <Tab> after 'libe' it completes it for me. ANy chance you have a ~/.inputrc file that might be messing with things? Are you using bash instead of tcsh? Does this happen only with your account and not the 'iraf' login?-Mike

 
Profile Email
 Quote
josephmeiring
 06/07/2006 10:45AM  
+----
Newbie

Status: offline


Registered: 02/13/2007
Posts: 12
Nope, no .inputrc file. If I hit <tab> twice with nothing on the line, it will show all the directories in /usr/local/, but tab completing will not work on any directory. I am in csh, and I tried with the Iraf user and got the exact same results. Is there supposed to be a cd.par file? I don't have one anywhere. . .

 
Profile Email
 Quote
   
Content generated in: 0.55 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login