Hello John,
I managed to compile piler 0.1.17.3 without any problem
on centos 5.8 (however it was 32 bit installation).
I installed an x64 version of centos 5.8, and tried to
compile it. However I could not find the "tre" and "tre-devel"
packages on the x64 platform.
What tre version do you have and where did you get it from?
Best regards,
Janos
On Tue, 15 May 2012 08:12:19 +1000, John Kenyon wrote:
Hi Janos,
Having an issue when trying to compile the latest version - 0.1.17.3
OS: Centos 5.8 x64
[root@testbox piler-0.1.17.3]# make
Making all in src
make[1]: Entering directory `/home/piler-0.1.17.3/src'
gcc -O2 -Wall -g -fPIC -I. -I.. -I/usr/include/mysql -g -pipe
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -D_GNU_SOURCE
-DHAVE_MEMCACHED -DHAVE_TRE -DNEED_MYSQL -c dirs.c -o dirs.o
In file included from ./defs.h:23,
from ./misc.h:11,
from ./piler.h:8,
from dirs.c:13:
/usr/include/tre/regex.h:79: error: conflicting types for âregex_tâ
/usr/include/tre/tre.h:70: error: previous declaration of âregex_tâ
was here
/usr/include/tre/regex.h:84: error: conflicting types for
âregmatch_tâ
/usr/include/tre/tre.h:75: error: previous declaration of
âregmatch_tâ was here
/usr/include/tre/regex.h:88: error: redeclaration of enumerator
âREG_OKâ
/usr/include/tre/tre.h:79: error: previous definition of âREG_OKâ was
here
/usr/include/tre/regex.h:91: error: redeclaration of enumerator
âREG_NOMATCHâ
/usr/include/tre/tre.h:82: error: previous definition of
âREG_NOMATCHâ was here
/usr/include/tre/regex.h:92: error: redeclaration of enumerator
âREG_BADPATâ
/usr/include/tre/tre.h:83: error: previous definition of âREG_BADPATâ
was here
/usr/include/tre/regex.h:93: error: redeclaration of enumerator
âREG_ECOLLATEâ
/usr/include/tre/tre.h:84: error: previous definition of
âREG_ECOLLATEâ was here
/usr/include/tre/regex.h:94: error: redeclaration of enumerator
âREG_ECTYPEâ
/usr/include/tre/tre.h:85: error: previous definition of âREG_ECTYPEâ
was here
/usr/include/tre/regex.h:95: error: redeclaration of enumerator
âREG_EESCAPEâ
/usr/include/tre/tre.h:86: error: previous definition of
âREG_EESCAPEâ was here
/usr/include/tre/regex.h:96: error: redeclaration of enumerator
âREG_ESUBREGâ
/usr/include/tre/tre.h:87: error: previous definition of
âREG_ESUBREGâ was here
/usr/include/tre/regex.h:97: error: redeclaration of enumerator
âREG_EBRACKâ
/usr/include/tre/tre.h:88: error: previous definition of âREG_EBRACKâ
was here
/usr/include/tre/regex.h:98: error: redeclaration of enumerator
âREG_EPARENâ
/usr/include/tre/tre.h:89: error: previous definition of âREG_EPARENâ
was here
/usr/include/tre/regex.h:99: error: redeclaration of enumerator
âREG_EBRACEâ
/usr/include/tre/tre.h:90: error: previous definition of âREG_EBRACEâ
was here
/usr/include/tre/regex.h:100: error: redeclaration of enumerator
âREG_BADBRâ
/usr/include/tre/tre.h:91: error: previous definition of âREG_BADBRâ
was here
/usr/include/tre/regex.h:101: error: redeclaration of enumerator
âREG_ERANGEâ
/usr/include/tre/tre.h:92: error: previous definition of âREG_ERANGEâ
was here
/usr/include/tre/regex.h:102: error: redeclaration of enumerator
âREG_ESPACEâ
/usr/include/tre/tre.h:93: error: previous definition of âREG_ESPACEâ
was here
/usr/include/tre/regex.h:104: error: redeclaration of enumerator
âREG_BADRPTâ
/usr/include/tre/tre.h:95: error: previous definition of âREG_BADRPTâ
was here
/usr/include/tre/regex.h:104: error: conflicting types for
âreg_errcode_tâ
/usr/include/tre/tre.h:95: error: previous declaration of
âreg_errcode_tâ was here
/usr/include/tre/regex.h:199: error: conflicting types for
âregaparams_tâ
/usr/include/tre/tre.h:190: error: previous declaration of
âregaparams_tâ was here
/usr/include/tre/regex.h:209: error: conflicting types for
âregamatch_tâ
/usr/include/tre/tre.h:200: error: previous declaration of
âregamatch_tâ was here
/usr/include/tre/regex.h:247: error: conflicting types for
âtre_str_sourceâ
/usr/include/tre/tre.h:238: error: previous declaration of
âtre_str_sourceâ was here
/usr/include/tre/regex.h:264: error: redeclaration of enumerator
âTRE_CONFIG_APPROXâ
/usr/include/tre/tre.h:255: error: previous definition of
âTRE_CONFIG_APPROXâ was here
/usr/include/tre/regex.h:265: error: redeclaration of enumerator
âTRE_CONFIG_WCHARâ
/usr/include/tre/tre.h:256: error: previous definition of
âTRE_CONFIG_WCHARâ was here
/usr/include/tre/regex.h:266: error: redeclaration of enumerator
âTRE_CONFIG_MULTIBYTEâ
/usr/include/tre/tre.h:257: error: previous definition of
âTRE_CONFIG_MULTIBYTEâ was here
/usr/include/tre/regex.h:267: error: redeclaration of enumerator
âTRE_CONFIG_SYSTEM_ABIâ
/usr/include/tre/tre.h:258: error: previous definition of
âTRE_CONFIG_SYSTEM_ABIâ was here
/usr/include/tre/regex.h:269: error: redeclaration of enumerator
âTRE_CONFIG_VERSIONâ
/usr/include/tre/tre.h:260: error: previous definition of
âTRE_CONFIG_VERSIONâ was here
/usr/include/tre/regex.h:273: error: conflicting types for
âtre_have_backrefsâ
/usr/include/tre/tre.h:264: error: previous declaration of
âtre_have_backrefsâ was here
/usr/include/tre/regex.h:278: error: conflicting types for
âtre_have_approxâ
/usr/include/tre/tre.h:269: error: previous declaration of
âtre_have_approxâ was here
make[1]: *** [dirs.o] Error 1
make[1]: Leaving directory `/home/piler-0.1.17.3/src'
make: *** [all-recursive] Error 1
--
Cheers, John