Hi,TOSAKA, Masatoshi I also met this problem, however, it is solved by a command like
cd /usr/lib/gcc/i686-pc-cygwin/3.4.4 && cp libg2c.la ../ and making sure the line libdir='/usr/lib/gcc/i686-pc-cygwin/3.4.4' correct in libg2c.la. And the hdf5-lib problem may also be of this kind. If you set a correct compiling environment, the compiler will work well. Another advice is that [EMAIL PROTECTED] runs slower than it does in *nux. For a larger numerical problem, you may consider [EMAIL PROTECTED] Best wishes. Zheng 在 2007-07-19四的 10:47 +0900,TOSAKA, Masatoshi写道: > Hi all, > > I am having another trouble installing Meep on Cygwin. As I have > written, I have a trouble that HDF5 is not recognized by ./configure. I > tried to compile Meep anyway. Then I get the following output: > > $ make > make all-recursive > make[1]: Entering directory `/home/tosaka/meep-0.10' > Making all in src > make[2]: Entering directory `/home/tosaka/meep-0.10/src' > /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -malign-double > -march=pentium4 -o sphere_quad.exe sphere-quad.o -lz -lgsl > -lgslcblas -L/usr/local/lib -L/usr/lib/gcc/i686-pc-cygwin/3.4.4 > -L/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../.. -lharminv -llapack -lblas > -lm -lfrtbegin -lg2c -lcygwin -luser32 -lkernel32 -ladvapi32 -lshell32 > -lfftw3 -lm > libtool: link: warning: library > `/usr/lib/gcc/i686-pc-cygwin/3.4.4/libg2c.la' was moved. > libtool: link: cannot find the library > `/usr/lib/gcc/i686-pc-cygwin//libg2c.la' > make[2]: *** [sphere_quad.exe] Error 1 > make[2]: Leaving directory `/home/tosaka/meep-0.10/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/tosaka/meep-0.10' > make: *** [all] Error 2 > > The solution for this type of error was found in > http://ab-initio.mit.edu/pipermail/meep-discuss/2006-October/000396.html > http://ab-initio.mit.edu/pipermail/meep-discuss/2006-October/000400.html > > However, these solutions did not work. > > As my gcc is installed in '/lib/gcc/i686-pc-cygwin/3.4.4' (not in > '/usr/lib/gcc/i686-pc-cygwin/'), I corrected the last line of libg2c.la > to indicate this path. This did not work. Removal of all *.la files from > '/lib/gcc/i686-pc-cygwin/3.4.4' also. > Finally I copied all the contents in '/lib/gcc/i686-pc-cygwin/3.4.4' to > '/usr/lib/gcc/i686-pc-cygwin/'. > > In every case, I get the message: > libtool: link: cannot find the library > `/usr/lib/gcc/i686-pc-cygwin//libg2c.la' > > Any ideas to overcome this problem? > > Cheers, > Masatoshi _______________________________________________ meep-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

