I can't get tinc to complete the configure script. It can't find the gmp 3.0.1 libraries even though they are installed. I saw a fix mentioned in the list archives, but it didn't work. Can anyone else help me out? Thanks John - Tinc: Discussion list about the tinc VPN daemon Archive: http://mail.nl.linux.org/lists/ Tinc site: http://ftp.nl.linux.org/pub/linux/tinc/
On Tue, 25 Jul 2000, John Lange wrote:> I can't get tinc to complete the configure script. It can't find the gmp > 3.0.1 libraries even though they are installed. I saw a fix mentioned in the > list archives, but it didn't work.Until we install 3.0.1 ourselves and fix it for real, try installing gmp2. Alternatively, hack the ./configure script and mail us the patch :). ------------------------------------------- Met vriendelijke groet / with kind regards, Guus Sliepen <guus@sliepen.warande.net> ------------------------------------------- See also: http://tinc.nl.linux.org/ http://www.kernelbench.org/ ------------------------------------------- - Tinc: Discussion list about the tinc VPN daemon Archive: http://mail.nl.linux.org/lists/ Tinc site: http://ftp.nl.linux.org/pub/linux/tinc/
Ok, I'm way slow in replying to this but I've finally got around to
trying to
get tinc up and running again.
The problem is, tinc ./configure will not find gmp 3.0.1. I was asked for the
relevent lines in config.log, so here they are below.
Just so anyone reading this knows, the work around is to use gmp-2.0.1 instead.
I had to manually remove libgmp from /usr/local/lib to get the old version to
install.
My understanding is this should all go away in tinc1.0pre3.
----- snip -----
configure:4197: checking for mpz_powm in -lgmp2
configure:4216: gcc -o conftest -g -O2 conftest.c -lgmp2 1>&5
/usr/i386-slackware-linux/bin/ld: cannot open -lgmp2: No such file or directory
collect2: ld returned 1 exit status
configure: failed program was:
#line 4205 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char mpz_powm();
int main() {
mpz_powm()
; return 0; }
configure:4239: checking for mpz_powm in -lgmp3
configure:4258: gcc -o conftest -g -O2 conftest.c -lgmp3 1>&5
/usr/i386-slackware-linux/bin/ld: cannot open -lgmp3: No such file or directory
collect2: ld returned 1 exit status
configure: failed program was:
#line 4247 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char mpz_powm();
int main() {
mpz_powm()
; return 0; }
configure:4281: checking for mpz_powm in -lgmp
configure:4300: gcc -o conftest -g -O2 conftest.c -lgmp 1>&5
/tmp/ccfm1s1e.o: In function `main':
/home/wangster/tinc-1.0pre2/configure:4296: undefined reference to
`mpz_powm'
collect2: ld returned 1 exit status
configure: failed program was:
#line 4289 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char mpz_powm();
int main() {
mpz_powm()
; return 0; }
----- end snip ------
John Lange
-
Tinc: Discussion list about the tinc VPN daemon
Archive: http://mail.nl.linux.org/lists/
Tinc site: http://ftp.nl.linux.org/pub/linux/tinc/