-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10/7/11 1:47 PM, Mohammad Wadud Bhuiya wrote: > Hi > > > I received the following error message while I use fink to install > CNS. > > > > Thank you in advance for any suggestion. > > > > Wadud > > > > > > Trial 1: > > 1. I have downloaded cns_solve 1.2 from cns -web in > > /usr/local directory then > > 2. Edit the file cns_solve_env > > 3. after running source cns_solve_env, Get the error msg > > > > bash-3.2$ source cns_solve_env > > bash: setenv: command not found > > bash: setenv: command not found > > bash: ./cns_solve_env: line 32: syntax error near unexpected token > `setenv' > > bash: ./cns_solve_env: line 32: ` if ( ! $?CNS_ARCH ) setenv > CNS_ARCH `$CNS_SOLVE/bin/getarch`' > > > > cns_solve-env files > > “--------------------- > > “>>>>>> Important: define the location of the CNSsolve directory > <<<<<< > > # > > # CHANGE THE NEXT LINE TO POINT TO THE LOCATION OF THE CNSsolve > DIRECTORY > > > > setenv CNS_SOLVE '/usr/local' > > > > # > > # > ========================================================================== > > # > > # full expansion of the CNS_SOLVE variable prior to use. > > # > > setenv CNS_SOLVE $CNS_SOLVE > > # > > # > ========================================================================== > > # > > # get the machine architecture > > # > > if ( -d $CNS_SOLVE ) then > > if ( ! $?CNS_ARCH ) setenv CNS_ARCH `$CNS_SOLVE/bin/getarch` > > else > > setenv CNS_ARCH 'unknown' > > endif > > # > > # > ========================================================================== > > # > > # system variables for OpenMP > > # > > # The default stack sizes are usually insufficient, especially > when > > # CNS is compiled using OpenMP. If the stack sizes are too > > # small segfaults may occur. Recommended setting for "stacksize": > > limit stacksize unlimited > > # > > # KMP_STACKSIZE is specific for Intel ifort, icc: > > ##setenv KMP_STACKSIZE 256m > > # > > # OMP_STACKSIZE is used by all compilers: > > setenv OMP_STACKSIZE 256m > > # > > # Uncomment the following line and change as appropriate to set the > number > > # of processors (threads) to use. > > ###setenv OMP_NUM_THREADS 4 > > -----------------“ > > >
^ This has nothing to do with Fink, and it's beyond the scope of this list to help you with manual installs of an upstream package. That's what _their_ support forums/lists are for. However, I can tell you that the message bash: setenv: command not found indicates that the cns_solve_env script is for csh, not bash. > > > Trial 2: > > > > 1. Copy the file cns-binary.info <http://cns-binary.info/> > > > > /sw/fink/dists/local/main/finkinfo > > > > 2.fink -y install cns-binary > > > > > > error message are > > > > bash-3.2$ fink -y install cns-binary > > Password: > > Information about 10477 packages read in 1 seconds. > > The package 'cns-binary' will be built and installed. > > Reading dependency for cns-binary-1.2-2... > > Reading build dependency for cns-binary-1.2-2... > > Reading build conflict for cns-binary-1.2-2... > > The following package will be installed or updated: > > cns-binary > > curl --connect-timeout 30 -f -L -A 'fink/0.31.2' -O > http://gohara.wustl.edu/Software/Software/crystallography_files/cns1.2_univ.zip > > > > > curl: (6) Couldn't resolve host 'gohara.wustl.edu > <http://gohara.wustl.edu/>' > > ### execution of curl failed, exit code 6 > > Downloading the file "cns1.2_univ.zip" failed. > > > > (1) Give up > > (2) Retry the same mirror > > > > How do you want to proceed? [2] (assuming default) > > curl --connect-timeout 30 -f -L -A 'fink/0.31.2' -O > http://gohara.wustl.edu/Software/Software/crystallography_files/cns1.2_univ.zip > > > > > My platform is > > My Mac is 10.6.8, Fink 0.31.2, and Xcode 3.2.3. > > > > > > bash-3.2$ fink list cns > > Information about 10477 packages read in 0 seconds. > > cns-binary 1.2-2 Crystallography and NMR System > v. 1.2 A. Brunger et al > <snip> cns-binary doesn't appear to be in the Fink distribution, so we have no ability to help you. You need to tell whomever provided your cns-binary.info that it's downloading from a nonexistent source. - -- Alexander Hansen, Ph.D. Fink User Liaison http://finkakh.wordpress.com/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk6PSZsACgkQB8UpO3rKjQ94owCeKJZDDTbLB2MMuusfX5+MWEos KN0An3DAQ23c/+Ty144NyCezhEZyiNvg =Pm13 -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 _______________________________________________ Fink-beginners mailing list Fink-beginners@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.beginners Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-beginners