reduce-algebra portfile dev

Ryan Schmidt ryandesign at macports.org
Sat Aug 20 13:08:40 PDT 2011


On Aug 20, 2011, at 14:15, Mark Brethen wrote:

> I tried installing reduce-algebra using a local portfile. Either it didn't compile or the files might have been installed directly into my system. I have the log file if someone would like to help me sort this out. 

Mark, I rejected your initial post because the logfile you attached was too large. Many people are subscribed to this list, some of whom are on slow or expensive Internet connections, and many won't be interested in your logfile. But it's unlikely anyone can help you without the logfile. Compression is helpful, or you can upload the file somewhere, then provide a URL to it.

A relevant line in the log was:

:info:destroot make: `install' is up to date.

This means the project's Makefile is not written properly. They assume they are running on a case-sensitive filesystem, which most Macs aren't. It's a conflict between the virtual rule "install" (as in "make install") and the real file "INSTALL" which provides installation instructions.

The best solution is to fix the Makefile and provide the patch back to the developers. Locate the ".PHONY" line in the Makefile and add "install" to it. If there is no .PHONY line, add one:

.PHONY install

An alternate solution is to just delete the INSTALL file, for example in the post-extract phase.




More information about the macports-dev mailing list