Re: [mpir-devel] configure doesn't generate Makefile, couldn't proceed with install

2018-02-19 Thread 'Bill Hart' via mpir-devel
You simply need to install m4 on your system. You can either install it using apt-get, or download the tarball locally, build and install it. -- You received this message because you are subscribed to the Google Groups "mpir-devel" group. To unsubscribe from this group and stop receiving emails

[mpir-devel] configure doesn't generate Makefile, couldn't proceed with install

2018-02-19 Thread tamwenyan
My system is Ubuntu 16.04 LTS on an Intel Core2 Duo U9300 CPU. I am trying to install mpir 3.0.0. I already installed Yasm and it passed "make check". Yasm was installed in the default directory /usr/local/bin. I tried ./configure --with-yasm=/usr/local/bin/yasm However, this step

Re: [mpir-devel] can't pass compiliation involving mpir

2018-02-19 Thread 'Bill Hart' via mpir-devel
You need to give the location of the .h files (mpir.h or gmp.h if you pass --enable-gmpcompat to configure). For this you must use the -I directive to gcc. You also need to tell it where to find the library, with the -L directive. These are always required when linking against libraries. -- You

Re: [mpir-devel] can't pass compiliation involving mpir

2018-02-19 Thread tamwenyan
Mr. Hart, May I ask a follow-up question then? I did the same things on my Mac OS desktop as on my Ubuntu laptop, same g++ command (for compiling the same cpp file), same configure command (for installing mpir). Well, I didn't have to manually install m4 on my Mac OS while I had to do it on

Re: [mpir-devel] can't pass compiliation involving mpir

2018-02-19 Thread 'Bill Hart' via mpir-devel
On 19 February 2018 at 21:58, wrote: > Mr. Hart, > > May I ask a follow-up question then? I did the same things on my Mac OS > desktop as on my Ubuntu laptop, same g++ command (for compiling the same > cpp file), same configure command (for installing mpir). Well, I didn't

[mpir-devel] can't pass compiliation involving mpir

2018-02-19 Thread tamwenyan
After (supposedly semi-)successfully installing mpir thanks to BIll Hart, I tried to compile and run my .cpp program. But I got a list of compile errors, which I believe is linked to mpir. First, I used ./configure --with-yasm=/usr/local/bin/yasm --enable-cxx to install mpir on my Ubuntu