[classad-users] Build Problems on OS X


Date: Tue, 13 Oct 2009 10:24:16 -0600
From: Ole Weidner <oweidner@xxxxxxxxxxx>
Subject: [classad-users] Build Problems on OS X
Hello,

when I try to build the latest release of classad, I run into the following problem:

fnCall.cpp: In function 'bool regexp_helper(const char*, const char*, const char*, bool, std::string, Value&)':
fnCall.cpp:2627: error: 'pcre' was not declared in this scope
fnCall.cpp:2627: error: 're' was not declared in this scope
fnCall.cpp:2635: error: 'PCRE_CASELESS' was not declared in this scope
fnCall.cpp:2638: error: 'PCRE_MULTILINE' was not declared in this scope
fnCall.cpp:2641: error: 'PCRE_DOTALL' was not declared in this scope
fnCall.cpp:2644: error: 'PCRE_EXTENDED' was not declared in this scope
fnCall.cpp:2649: error: 'pcre_compile' was not declared in this scope
fnCall.cpp:2655: error: 'PCRE_INFO_CAPTURECOUNT' was not declared in this scope
fnCall.cpp:2655: error: 'pcre_fullinfo' was not declared in this scope
fnCall.cpp:2661: error: 'pcre_exec' was not declared in this scope
fnCall.cpp:2668: error: 'pcre_free' was not declared in this scope
fnCall.cpp:2680: error: 'pcre_get_substring_list' was not declared in this scope fnCall.cpp:2703: error: 'pcre_free_substring_list' was not declared in this scope

I don't know why it is trying to do pcre stuff at all - configure -- help reads:

  --with-pcre[=DIR] Use PCRE instead of POSIX regex. The directory
should be include and lib subdirectories (default:
                          not used)

Any idea how to fix this?

Thanks,
Ole
[← Prev in Thread] Current Thread [Next in Thread→]