cybergarage / mupnp

mUPnP for C is a development package for UPnP™ developers. mUPnP controls these protocols automatically, and supports to create your devices and control points quickly.
http://www.cybergarage.org/
Other
82 stars 46 forks source link

make install fails on OSX #11

Closed thanethomson closed 9 years ago

thanethomson commented 10 years ago

For some reason make install fails on OSX (10.9.3):

Making install in include
make[2]: Nothing to be done for `install-exec-am'.
 -d '/usr/local/include'
/bin/sh: -d: command not found
make[2]: *** [install-nobase_includeHEADERS] Error 1
make[1]: *** [install-am] Error 2
make: *** [install-recursive] Error 1

It appears as though the generated Makefile has an invalid MKDIR_P setting:

MKDIR_P =  -d

To get my installation going I manually had to sed all of the generated Makefiles in the project to make use of the config/install-sh script, but there's most likely a much better way to fix this (sorry, don't have time right now).

cybergarage commented 9 years ago

I have added configure_macosx. Please use the script.