On Thu, 28 Mar 2013, Sonya Blade wrote: > DEar All, > Here is out put from Python console after runing teh suggested Python code > script. > > >>> import os > >>> print os.path.realpath(os.getcwd()) > C:\Python27 > >>> print os.path.realpath(os.environ['SLEPC_DIR']) > D:\TEST_FOLDER_dell\slepc
You should be using cygwin python here from cygwin-shell [as per the installation instructions]- not MS-Python [console]. > >>> > Interesting thing here is, why Python script returns the > backslashed path although I'm sure that I set it in? > environmental ?variables as forward slashed path.? > > > > And here is the output from the CygWin terminal? > > nobody at nobody /cygdrive/d/TEST_FOLDER_dell/slepc > $ export SKPEC_DIR=D:/TEST_FOLDER_dell/slepc/ See the cygwin path above in your bash prompt? Thats what you should be using. Also you have a typo for SLEPC_DIR export SLEPC_DIR=/cygdrive/d/TEST_FOLDER_dell/slepc Satish > > nobody at nobody /cygdrive/d/TEST_FOLDER_dell/slepc > $ ./configure > Checking environment... > cygwin warning: > ? MS-DOS style path detected: D:/TEST_FOLDER_dell/slepc > ? Preferred POSIX equivalent is: /cygdrive/d/TEST_FOLDER_dell/slepc > ? CYGWIN environment variable option "nodosfilewarning" turns off this > warning. > ? Consult the user's guide for more details about POSIX paths: > ? ? http://cygwin.com/cygwin-ug-net/using.html#using-pathnames > ERROR: SLEPC_DIR is not the current directory > > > Your help will be appreciated,
