Netiquette · Download · News · Gallery · Homepage · DSSR Manual · G-quadruplexes · DSSR-Jmol · DSSR-PyMOL · DSSR Licensing · Video Overview· RNA Covers

Author Topic: Error Running X3DNA_setup script  (Read 16357 times)

Offline corgan

  • with-posts
  • *
  • Posts: 2
    • View Profile
Error Running X3DNA_setup script
« on: February 01, 2010, 03:50:48 pm »
Hello,

I am trying to install 3DNA on my Windows XP machine.  I downloaded the Cygwin binary and followed the instructions... when I get to the intruction that says type "x3dna_setup" nothing happens.  I then try to run it as a perl script and I get the following error messag:
"C:Documents and SettingsusernameDesktopX3DNAbin>perl.exe x3dna_setup
Use of uninitialized value $_[0] in substitution (s///) at C:/Perl/lib/File/Base
name.pm line 338.
fileparse(): need a valid pathname at x3dna_setup line 13"

Any help would be greatly appreciated!

-Corgan

Offline xiangjun

  • Administrator
  • with-posts
  • *****
  • Posts: 1648
    • View Profile
    • 3DNA homepage
Re: Error Running X3DNA_setup script
« Reply #1 on: February 01, 2010, 11:11:23 pm »
The Perl script x3dna_setup is a simple, straightforward utility program with source code available. Apparently, you are more a Windows users, not that familiar with Linux/Unix and Perl. So it would be most helpful if you could find a local expert to help you out.

Here are some specific suggestions:

  • Is x3dna_setup executable? You may need to run "chmod u+x *" in X3DNA/bin/ directory.
  • What "which perl" outputs? If not /usr/bin/perl, you will need to change the first line in the script to reflect your local setting.
  • Does your Perl installation have modules "FindBin" and "File::Basename"? If not, you will need to have then installed.
  • What is the output of the following:
    Code: [Select]
    echo $HOME
    echo $SHELL
    and the directory of you 3DNA installation?

Since I am basically a non-Windows person, I am hoping other 3DNA users using Cygwin and MinGW would help out with more detailed instructions.

Xiang-Jun

Offline corgan

  • with-posts
  • *
  • Posts: 2
    • View Profile
Re: Error Running X3DNA_setup script
« Reply #2 on: February 02, 2010, 12:18:19 pm »
"Is x3dna_setup executable? You may need to run "chmod u+x *" in X3DNA/bin/ directory."

-No it is non-executable.  I have tried chmod u+x and still no go.  Is it possible perl does not work with cygwin?


"What "which perl" outputs? If not /usr/bin/perl, you will need to change the first line in the script to reflect your local setting."

-I tried this with no change.

"What is the output of the following:

Code: Select all
echo $HOME
echo $SHELL
and the directory of you 3DNA installation?"

-No output...it just moves to the next command line
3dna is installed at C:documents and settingsjgkaupdesktop

"Does your Perl installation have modules "FindBin" and "File::Basename"? If not, you will need to have then installed."

-under perl/lib I found FindBin.pm
-under perl/lib/file/base i found basename.pm

Thanks for your help I will try to find somebody around that know more than I do about this stuff.

 

Created and maintained by Dr. Xiang-Jun Lu [律祥俊] (xiangjun@x3dna.org)
The Bussemaker Laboratory at the Department of Biological Sciences, Columbia University.