On 日, 2011-08-07 at 20:49 -0600, Timo Heister wrote: > > But I got this error message: > > > > huyaoyu@ubuntu:~/Downloads/deal-dev$ ./configure > > Configuring deal.II version 7.1.pre > > configure: error: cannot run /bin/bash contrib/config/config.sub > > > > The very error appeared no matter I put other arguments or not. I > > Googled the error message but did not find a solution. Do you know what > > is going on here? > > If I remember correctly, we had some problems with running scripts > with different shells, so we force the usage of bash in some places. > Do you have bash installed (ubuntu package bash)? Does /bin/bash exist > and can you execute it? If yes, what does config.log tell you? >
Thank you, Timo! I suddenly figure out that the code I have downloaded through svn which is running on Windows (Using my own computer, which is old and runs Windows XP). And I copied it with a USB Flash drive. I have this experience before that some code or binaries saved on Windows do not work properly when copied to Linux system. This time I check it out on Linux with svn. And the configuration goes very well. By the way, I have bash installed on my Ubuntu 11.04 64bit. And the config.log file (when the configuration fails) shows something like the shell dose. It is like this: =============deal.II config.log===================== ## --------- ## ## Platform. ## ## --------- ## hostname = ubuntu uname -m = x86_64 uname -r = 2.6.38-10-generic uname -s = Linux uname -v = #46-Ubuntu SMP Tue Jun 28 15:07:17 UTC 2011 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /usr/games ## ----------- ## ## Core tests. ## ## ----------- ## configure:2437: result: Configuring deal.II version 7.1.pre configure:2444: error: configure: cannot run /bin/bash contrib/config/config.sub (I RECALL THE LAST LINE FROM MY MEMORY) OTHER STUFF ===============End of deal.II config.log============= Thank you again! Best, HuYaoyu. _______________________________________________ dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii
