-1

I am currently installing graph-tool-2.2. According to the description of installation, I first ran the Linux command line:

./configure

and it successfully configured. Then when I typed:

./make

it had already run for several hours, and seemed to be non-stopped at all. I am curious about how long it usually takes for "make", and how I can solve the problem.

Ruofan Kong
  • 1,060
  • 1
  • 17
  • 34
  • There are other alternate methods on their website.why don't you try them – Ajay Apr 16 '15 at 02:00
  • The command `./make` should have given you an error, as there shouldn't be a file called `make` in the current directory... – MattDMo Apr 16 '15 at 02:15

2 Answers2

2

It just takes a while to compile it. If it is indeed taking "several hours" this is perhaps because the compilation has run out of memory, and your system is swapping.

Tiago Peixoto
  • 5,149
  • 2
  • 28
  • 28
  • Thanks. it's very helpful! Now I know that the main reason is my Computer RAM is just 2GB, which is not suitable for compilation. – Ruofan Kong Jul 04 '15 at 21:49
  • You would probably need slightly more than 4G. I would say around 4-6G, if you use GCC. With clang, you can compile it under 4G. – Tiago Peixoto Sep 25 '15 at 11:34
2

Are you sure you need to compile from source ? Because you may try to install a Pre-compiled Packages which is compatible with your current OS

You have to know before compiling that it could be a very long operation and especially when compiling "graph-tool" !

thomasillo said here : "Graph-tool was compiled anew (which took around 30 hours(!))"

It is a very long process...

A. STEFANI
  • 6,707
  • 1
  • 23
  • 48
  • Thank you for your reply! I think the main problem for compilation taking too long as my computer is with 2G RAM, so infinite times of page replacement causes running out of memory. – Ruofan Kong Jul 04 '15 at 21:47