Issue with Building Macaulay2 from Source – No Makefile Found

12 views
Skip to first unread message

Norio Kosaka

unread,
Mar 24, 2025, 11:40:02 PMMar 24
to Macaulay2

Dear Macaulay2 community,

I am trying to build Macaulay2 from source on my Ubuntu-24.04 machine following the instructions from the official wiki. I ran the following commands:

```bash
git clone https://github.com/Macaulay2/M2
cd M2/M2/BUILD/build
../../autogen.sh
../../configure --enable-download
make
sudo make install
```

However, when I run make in M2/BUILD/build, I get the following error:

>> make: *** No targets specified and no makefile found. Stop.

It seems that I'm missing a Makefile in the directory. Here is the current state of the directory:

total 12
drwxrwxrwx 1 rowing0914 rowing0914   512 Mar 13 20:32 ./
drwxrwxrwx 1 rowing0914 rowing0914   512 Mar 13 20:35 ../
-rwxrwxrwx 1 rowing0914 rowing0914   111 Mar 13 20:29 .gitignore*
-rwxrwxrwx 1 rowing0914 rowing0914    99 Mar 13 20:29 README*
-rwxrwxrwx 1 rowing0914 rowing0914    39 Mar 13 20:32 config.args*
-rwxrwxrwx 1 rowing0914 rowing0914 11946 Mar 13 20:32 config.log*

It looks like Makefile was not generated. Did I miss a step, or is there something else I need to check?

Any guidance would be greatly appreciated.

Best regards,
Norio

Doug Torrance

unread,
Mar 24, 2025, 11:44:06 PMMar 24
to maca...@googlegroups.com

Were there any error messages after calling "../../configure"?  The existence of config.log but absence of a Makefile seems to point to something going wrong at that step. Perhaps you're missing a dependency?


--
You received this message because you are subscribed to the Google Groups "Macaulay2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to macaulay2+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/macaulay2/22fb2909-85c7-4461-b03a-afd434b0aa67n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages