On Wednesday, July 10, 2013 10:00:15 AM UTC-7, Saurabh Jha wrote: > > Thanks for the suggestion, but it's causing the same problem. GMP and MPFR > were installed correctly as before. But if I want to ./configure mpc, I get > this output. I followed your exact suggestion(I suppose they are the same > as in docs). > > Making install in src > /bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -O2 -pedantic > -fomit-frame-pointer -m64 -mtune=core2 -march=core2 -version-info 3:0:0 > -L/opt/local/lib -L/opt/local/lib -o libmpc.la -rpath /opt/local/lib > abs.lo acos.lo acosh.lo add.lo add_fr.lo add_si.lo add_ui.lo arg.lo asin.lo > asinh.lo atan.lo atanh.lo clear.lo cmp.lo cmp_si_si.lo conj.lo cos.lo > cosh.lo div_2si.lo div_2ui.lo div.lo div_fr.lo div_ui.lo exp.lo fma.lo > fr_div.lo fr_sub.lo get_prec2.lo get_prec.lo get_version.lo get_x.lo > imag.lo init2.lo init3.lo inp_str.lo log.lo log10.lo mem.lo mul_2si.lo > mul_2ui.lo mul.lo mul_fr.lo mul_i.lo mul_si.lo mul_ui.lo neg.lo norm.lo > out_str.lo pow.lo pow_fr.lo pow_ld.lo pow_d.lo pow_si.lo pow_ui.lo pow_z.lo > proj.lo real.lo urandom.lo set.lo set_prec.lo set_str.lo set_x.lo > set_x_x.lo sin.lo sin_cos.lo sinh.lo sqr.lo sqrt.lo strtoc.lo sub.lo > sub_fr.lo sub_ui.lo swap.lo tan.lo tanh.lo uceil_log2.lo ui_div.lo > ui_ui_sub.lo -lmpfr -lgmp > grep: /home/case/local/lib/libgmp.la: No such file or directory > sed: /home/case/local/lib/libgmp.la: No such file or directory > libtool: link: `/home/case/local/lib/libgmp.la' is not a valid libtool > archive > make[1]: *** [libmpc.la] Error 1 > make: *** [install-recursive] Error 1 >
You are using "/home/case/local" which is an example directory on my personal system. You need to tell the MPC configure script where GMP and MPFR are located on your system. Try the following: # Delete any existing configuration $ make distclean # Configure MPC to use /usr/local $ ./configure --prefix=/usr/local --with-gmp=/usr/local --with-mpfr=/usr/local $ make $ make check $ sudo make install # Build GMPY2 $ python setup.py build_ext --prefix=/usr/local $ sudo python setup.py install --prefix=/usr/local If you still have problems, please include the commands to you to configure and compile the software. casevh > > > -Saurabh > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr...@googlegroups.com. To post to this group, send email to sympy@googlegroups.com. Visit this group at http://groups.google.com/group/sympy. For more options, visit https://groups.google.com/groups/opt_out.