Closed p5pRT closed 20 years ago
Trying out foolperl on my new MacOS X installation\, I ran into this problem:
../../miniperl -I../../lib -I../../lib -I../../lib -I../../lib Errno_pm.PL Errno.pm perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LC_ALL = (unset)\, LANG = "en_US" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). No error definitions found at Errno_pm.PL line 155. make[1]: *** [Errno.pm] Error 2 make: *** [ext/Errno/pm_to_blib] Error 2
This is because {g\,}cc -dM is busted:
macosx% gcc -dM -E /usr/include/sys/errno.h #1 "/usr/include/sys/errno.h"
# 67 #1 "/usr/include/sys/cdefs.h" 1
#67 "/usr/include/sys/errno.h" 2
extern int * __error ( void ) ; # 216 macosx% cc -dM -E /usr/include/sys/errno.h #1 "/usr/include/sys/errno.h"
# 67 #1 "/usr/include/sys/cdefs.h" 1
#67 "/usr/include/sys/errno.h" 2
extern int * __error ( void ) ; # 216
Anybody from Apple following perl5-porters? I gave up trying to find out where to send this bug on the Apple web page.
This must be ok now. :)
@rspier - Status changed from 'open' to 'resolved'
Migrated from rt.perl.org#6712 (status was 'resolved')
Searchable as RT6712$