Go Back > Factoring Projects > YAFU

Thread Tools
Old 2016-06-25, 08:05   #1
Jun 2016

118 Posts
Question Error installing Yafu on Mac


I tried for the first time to install on my mac with command line and I need Yafu to factorise a large number. I downloaded yafu-master and run a make command:

Seb-iMac:yafu-master seb$ make x86_64
gcc -g -O3 -fomit-frame-pointer -Wall -I. -Iinclude -I../gmp/include -I../gmp-ecm/include/linux -c -o factor/qs/msieve/lanczos.o factor/qs/msieve/lanczos.c
In file included from factor/qs/msieve/lanczos.c:18:
In file included from include/lanczos.h:21:
In file included from include/factor.h:24:
include/yafu.h:49:10: fatal error: 'gmp.h' file not found
#include <gmp.h>
1 error generated.
make: *** [factor/qs/msieve/lanczos.o] Error 1
I'm sure I missed something as I'm really guessing here but is someone can help me run Yafu on my mac that would be great.

Thanks in advance.
craneduitre is offline   Reply With Quote
Old 2016-06-25, 20:35   #2
Basketry That Evening!
Dubslow's Avatar
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3×29×83 Posts

You need install GMP as well beforehand.
Dubslow is offline   Reply With Quote

Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
I'm getting an error when yafu wants to start lattice sieving Hailstone YAFU 30 2018-05-23 19:33
Running YAFU via Aliqueit doesn't find yafu.ini EdH YAFU 8 2018-03-14 17:22
YAFU make error when use CUDA=1 option aein YAFU 24 2016-11-13 15:20
Installing YAFU 1.34 on Linux Romuald YAFU 12 2015-12-06 09:52
Unpacking and installing GGNFS? (error and n00b-questions) Andi47 Factoring 1 2007-03-22 20:58

All times are UTC. The time now is 05:38.

Fri Apr 23 05:38:23 UTC 2021 up 15 days, 19 mins, 0 users, load averages: 1.54, 1.64, 1.61

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.