Skip to content

OSX compatability #2

@matthewkirby

Description

@matthewkirby

I was unable to get this to compile out of the box on OSX with coreutils (which includes gnu make) installed. This means that I should install the software by calling

./configure
gmake
gmake install

But this also requires that the Makefile calls ginstall. ./configure did actually find the correct thing, checking for a BSD-compatible install... /usr/local/bin/ginstall -c but it didn't utilize this information at all. I have no experience writing makefiles and I didn't want to work through the 3000 line configure file. But this can be resolved simply by having ./configure set the result (/usr/local/bin/ginstall -c) to a variable that is then inserted into the makefile a la

installer   = @installer@

install     :
     $(installer) -p -D --target-directory=$(bindir) $(PROGNAME)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions