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

-----------------“





Trial 2:



1.  Copy  the file 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'

### 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

     libasyncns                     0.8-1                   Async DNS
resolver library

     libasyncns-shlibs              0.8-1                   Async DNS
resolver library

     libasyncns0                    0.1-1002                Library for
async DNS, development files

     libasyncns0-shlibs             0.1-1002                Library for
async DNS, library

     libicns1                       0.7.1-2                 Library for
manipulating Mac icns format

     libicns1-bin                   0.7.1-2                 Utilities to
convert between icns and png

     libicns1-shlibs                0.7.1-2                 Library for
manipulating Mac icns format
------------------------------------------------------------------------------
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
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to