Am 05.05.2013 um 22:57 schrieb Jean-Marc Lasgouttes <lasgout...@lyx.org>:
> Le 05/05/13 21:52, Stephan Witt a écrit : >> This would lead to a LyX running on Lion or Mountain Lion only. The SDK for >> 10.6 (Snow Leopard) I don't have anymore. > >> @JMarc >> Sorry, I didn't remember the problem well… It is ::unsetenv with return type >> void used in unsetEnv(). >> >> The hack I've used to build on 10.5 is this: > > That does not correspond to what is explained here > https://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man3/setenv.3.html > but there has to be a reason. This is the relevant contents of stdlib.h: #if __DARWIN_UNIX03 int unsetenv(const char *) __DARWIN_ALIAS(unsetenv); #else /* !__DARWIN_UNIX03 */ void unsetenv(const char *); #endif /* __DARWIN_UNIX03 */ I don't have the time to search for the reason __DARWIN_UNIX03 not being defined. > But you mean that you can build for 10.5, right? I can build on 10.5 with the hack. Actually I built it on 10.8 with 10.7 SDK now and placed it here: https://dl.dropboxusercontent.com/u/27842660/LyX-2.0.6%2Bqt4.dmg https://dl.dropboxusercontent.com/u/27842660/LyX-2.0.6%2Bqt4.dmg.sig Regards, Stephan