Skip Menu |

This queue is for tickets about the Syntax-Highlight-Universal CPAN distribution.

Report information
The Basics
Id: 12172
Status: new
Priority: 0/
Queue: Syntax-Highlight-Universal

People
Owner: Nobody in particular
Requestors: dwuziu [...] bzium.net
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.4
Fixed in: (no value)



Subject: Compilation failed on Mac OS X 10.3.8
The module fails to compile when being installed via Cpan.pm. Compilation error message: colorer/unicode/Encodings.cpp: In static member function `static int Encodings::getEncodingIndex(const char*)': colorer/unicode/Encodings.cpp:48: error: `stricmp' undeclared (first use this function) colorer/unicode/Encodings.cpp:48: error: (Each undeclared identifier is reported only once for each function it appears in.) make: *** [colorer/unicode/Encodings.o] Error 1 After adding "-Dstricmp=strcasecmp -Dstrnicmp=strncasecmp" to CCFLAGS the module compiles and passes tests. System info: Perl, v5.8.1-RC3 built for darwin-thread-multi-2level Darwin kalarepa.local 7.8.0 Darwin Kernel Version 7.8.0: Wed Dec 22 14:26:17 PST 2004; root:xnu/xnu-517.11.1.obj~1/RELEASE_PPC Power Macintosh powerp
Also does the same thing if you manually do it as per the readme file with cc or gcc in 10.3.9, bummer...