Problem building on Mac OS X 10.7

Tor Lillqvist tml at iki.fi
Wed Aug 1 09:35:40 PDT 2012


> Any help/pointers would be much appreciated.

The (mysterious) code in solenv/bin/modules/macosxotoolhelper.pm
doesn't cope with a file name that contains regexp metacharacters (the
'+' in your "/Volumes/hfs+/git").

I think the quickest solution might be to change the
    $line =~ /^$file:\n$/
to
   $line =~ /^\Q$file\E:\n$/

in said macosxotoolhelper.pm. Try that and report back.

An even better thing would be to eventually figure out whether all
that special Mac OS X dylib crack is needed at all when building with
a current Xcode tool-chain for a current OS... and hopefully notice
that it isn't.

--tml

P.S. Anticipating the knee-jerk reaction from the more leet coders:
Yes, using Python instead of Perl this problem would go away, sure,
sure, you win, have a cookie.


More information about the LibreOffice mailing list