LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-14-2004, 01:29 PM   #1
serendipitysdc
LQ Newbie
 
Registered: Jun 2004
Location: Iowa
Posts: 3

Rep: Reputation: 0
Error when sourcing file to finish program installation


Hello,

I am trying to install a program called CNS (Crystallography and NMR System) on linux running FC2. In order to run the program i have to first set the environmental variables. I have edited the file called cns_solve_env to point to the correct directory, but when I attempt to source it in the c-shell, it gives me this error:

[group@nmrjock cns_solve_1.1]$ source cns_solve_env
sed: -e expression #1, char 11: Invalid range end

I was wondering how to remedy this? Many thanks to those of you who know what you're doing.
 
Old 07-18-2004, 10:16 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
I don't think anyone could help you with the script without more information. The error is in a sed command. The problem is the 11th character inside the single quotes. If there is only one sed command the problem should be easy to find.

The error doesn't list which line the error occured in your script? Which shell are you using?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sourcing a python config file? shanenin Programming 8 08-10-2005 02:19 PM
.bashrc error upon sourcing psiakr3w Linux - General 2 08-07-2004 12:44 AM
i cant finish the installation of fedora. it cant read a file phreaker808 Linux - Newbie 1 02-12-2004 12:41 AM
can't finish licq installation ismanpa Linux - Software 0 09-22-2003 10:09 AM
Please help me to finish this Oracle 8 for Linux installation. yuzuohong Linux - General 5 08-22-2002 02:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration