bugzilla-daemon at main.slony.info bugzilla-daemon at main.slony.info
Tue Oct 4 08:23:46 PDT 2011
http://www.slony.info/bugzilla/show_bug.cgi?id=242

           Summary: Unable to install slony 2.1 RC1
           Product: Slony-I
           Version: devel
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: low
         Component: core scripts
        AssignedTo: slony1-bugs at lists.slony.info
        ReportedBy: andre.bolinhas at hotmail.com
                CC: slony1-bugs at lists.slony.info
   Estimated Hours: 0.0


Hi,

I can not install slony 2.1 rc1 on my ubuntu.

I get this error on "make all"
root at webmail:~/slony1-2.1.0.rc1# make all
make[1]: Entering directory `/root/slony1-2.1.0.rc1/src'
make[2]: Entering directory `/root/slony1-2.1.0.rc1/src/parsestatements'
./test-scanner < /dev/null > emptytestresult.log
./test-scanner < ./test_sql.sql > test_sql.log
./test-scanner < ./cstylecomments.sql > cstylecomments.log
make[2]: Leaving directory `/root/slony1-2.1.0.rc1/src/parsestatements'
make[2]: Entering directory `/root/slony1-2.1.0.rc1/src/slon'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/slony1-2.1.0.rc1/src/slon'
make[2]: Entering directory `/root/slony1-2.1.0.rc1/src/slonik'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/slony1-2.1.0.rc1/src/slonik'
make[2]: Entering directory `/root/slony1-2.1.0.rc1/src/backend'
gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../.. -fpic
-I/usr/include/postgresql/ -I/usr/include/postgresql/8.4/server/  -c -o
slony1_funcs.o slony1_funcs.c
slony1_funcs.c:23:23: error: miscadmin.h: No such file or directory
slony1_funcs.c:24:29: error: nodes/makefuncs.h: No such file or directory
slony1_funcs.c:25:29: error: parser/keywords.h: No such file or directory
slony1_funcs.c:26:31: error: parser/parse_type.h: No such file or directory
slony1_funcs.c:27:26: error: executor/spi.h: No such file or directory
slony1_funcs.c:28:30: error: commands/trigger.h: No such file or directory
slony1_funcs.c:29:28: error: commands/async.h: No such file or directory
slony1_funcs.c:30:33: error: catalog/pg_operator.h: No such file or directory
slony1_funcs.c:32:25: error: access/xact.h: No such file or directory
slony1_funcs.c:33:28: error: access/transam.h: No such file or directory
slony1_funcs.c:34:28: error: utils/builtins.h: No such file or directory
slony1_funcs.c:36:23: error: utils/guc.h: No such file or directory
slony1_funcs.c:37:23: error: utils/rel.h: No such file or directory
slony1_funcs.c:38:28: error: utils/relcache.h: No such file or directory
slony1_funcs.c:45:31: error: parser/parse_oper.h: No such file or directory
slony1_funcs.c:59: warning: data definition has no type or storage class
slony1_funcs.c:59: warning: type defaults to âintâ in declaration of
âPG_FUNCTION_INFO_V1â
slony1_funcs.c:59: warning: parameter names (without types) in function
declaration
slony1_funcs.c:60: warning: data definition has no type or storage class
slony1_funcs.c:60: warning: type defaults to âintâ in declaration of
âPG_FUNCTION_INFO_V1â
slony1_funcs.c:60: warning: parameter names (without types) in function
declaration
slony1_funcs.c:61: warning: data definition has no type or storage class
slony1_funcs.c:61: warning: type defaults to âintâ in declaration of
âPG_FUNCTION_INFO_V1â
slony1_funcs.c:61: warning: parameter names (without types) in function
declaration
slony1_funcs.c:63: warning: data definition has no type or storage class
slony1_funcs.c:63: warning: type defaults to âintâ in declaration of
âPG_FUNCTION_INFO_V1â
slony1_funcs.c:63: warning: parameter names (without types) in function
declaration
slony1_funcs.c:64: warning: data definition has no type or storage class
slony1_funcs.c:64: warning: type defaults to âintâ in declaration of
âPG_FUNCTION_INFO_V1â
slony1_funcs.c:64: warning: parameter names (without types) in function
declaration
slony1_funcs.c:65: warning: data definition has no type or storage class
slony1_funcs.c:65: warning: type defaults to âintâ in declaration of
âPG_FUNCTION_INFO_V1â
slony1_funcs.c:65: warning: parameter names (without types) in function
declaration
slony1_funcs.c:66: warning: data definition has no type or storage class
slony1_funcs.c:66: warning: type defaults to âintâ in declaration of
âPG_FUNCTION_INFO_V1â
slony1_funcs.c:66: warning: parameter names (without types) in function
declaration
slony1_funcs.c:67: warning: data definition has no type or storage class
slony1_funcs.c:67: warning: type defaults to âintâ in declaration of
âPG_FUNCTION_INFO_V1â
slony1_funcs.c:67: warning: parameter names (without types) in function
declaration
slony1_funcs.c:69: warning: data definition has no type or storage class
slony1_funcs.c:69: warning: type defaults to âintâ in declaration of
âPG_FUNCTION_INFO_V1â
slony1_funcs.c:69: warning: parameter names (without types) in function
declaration
slony1_funcs.c:70: warning: data definition has no type or storage class
slony1_funcs.c:70: warning: type defaults to âintâ in declaration of
âPG_FUNCTION_INFO_V1â
slony1_funcs.c:70: warning: parameter names (without types) in function
declaration
slony1_funcs.c:71: warning: data definition has no type or storage class
slony1_funcs.c:71: warning: type defaults to âintâ in declaration of
âPG_FUNCTION_INFO_V1â
slony1_funcs.c:71: warning: parameter names (without types) in function
declaration
slony1_funcs.c:73: warning: parameter names (without types) in function
declaration
slony1_funcs.c:74: warning: parameter names (without types) in function
declaration
slony1_funcs.c:75: warning: parameter names (without types) in function
declaration
slony1_funcs.c:77: warning: parameter names (without types) in function
declaration
slony1_funcs.c:78: warning: parameter names (without types) in function
declaration
slony1_funcs.c:79: warning: parameter names (without types) in function
declaration
slony1_funcs.c:80: warning: parameter names (without types) in function
declaration
slony1_funcs.c:81: warning: parameter names (without types) in function
declaration
slony1_funcs.c:83: warning: parameter names (without types) in function
declaration
slony1_funcs.c:84: warning: parameter names (without types) in function
declaration
slony1_funcs.c:86: warning: parameter names (without types) in function
declaration
slony1_funcs.c:139: warning: no previous prototype for â_Slony_I_createEventâ
slony1_funcs.c: In function â_Slony_I_createEventâ:
slony1_funcs.c:141: warning: implicit declaration of function
âGetCurrentTransactionIdâ
slony1_funcs.c:156: error: âSerializableSnapshotâ undeclared (first use in this
function)
slony1_funcs.c:156: error: (Each undeclared identifier is reported only once
slony1_funcs.c:156: error: for each function it appears in.)
slony1_funcs.c:160: warning: implicit declaration of function âSPI_connectâ
slony1_funcs.c:167: warning: implicit declaration of function âPG_GETARG_NAMEâ
slony1_funcs.c:168: warning: passing argument 1 of âgetClusterStatusâ makes
pointer from integer without a cast
slony1_funcs.c:131: note: expected âNameâ but argument is of type âintâ
slony1_funcs.c:175: warning: implicit declaration of function
âTransactionIdEqualsâ
slony1_funcs.c:185: warning: implicit declaration of function âPG_NARGSâ
slony1_funcs.c:185: warning: implicit declaration of function âPG_ARGISNULLâ
slony1_funcs.c:192: warning: implicit declaration of function âPG_GETARG_DATUMâ
slony1_funcs.c:198: warning: implicit declaration of function âSPI_execpâ
slony1_funcs.c:205: error: âSPI_processedâ undeclared (first use in this
function)
slony1_funcs.c:207: warning: implicit declaration of function âSPI_getbinvalâ
slony1_funcs.c:207: error: âSPI_tuptableâ undeclared (first use in this
function)
slony1_funcs.c:216: warning: implicit declaration of function
âDirectFunctionCall1â
slony1_funcs.c:216: error: âtextoutâ undeclared (first use in this function)
slony1_funcs.c:228: warning: implicit declaration of function âSPI_finishâ
slony1_funcs.c:230: warning: implicit declaration of function âPG_RETURN_INT64â
slony1_funcs.c: At top level:
slony1_funcs.c:245: warning: no previous prototype for
â_Slony_I_getLocalNodeIdâ
slony1_funcs.c: In function â_Slony_I_getLocalNodeIdâ:
slony1_funcs.c:253: warning: passing argument 1 of âgetClusterStatusâ makes
pointer from integer without a cast
slony1_funcs.c:131: note: expected âNameâ but argument is of type âintâ
slony1_funcs.c:257: warning: implicit declaration of function âPG_RETURN_INT32â
slony1_funcs.c: At top level:
slony1_funcs.c:269: warning: no previous prototype for
â_Slony_I_getModuleVersionâ
slony1_funcs.c: In function â_Slony_I_getModuleVersionâ:
slony1_funcs.c:280: warning: implicit declaration of function
âPG_RETURN_TEXT_Pâ
slony1_funcs.c: At top level:
slony1_funcs.c:285: warning: no previous prototype for â_Slony_I_logTriggerâ
slony1_funcs.c: In function â_Slony_I_logTriggerâ:
slony1_funcs.c:289: error: âTriggerDataâ undeclared (first use in this
function)
slony1_funcs.c:289: error: âtgâ undeclared (first use in this function)
slony1_funcs.c:302: error: âSessionReplicationRoleâ undeclared (first use in
this function)
slony1_funcs.c:302: error: âSESSION_REPLICATION_ROLE_ORIGINâ undeclared (first
use in this function)
slony1_funcs.c:308: warning: implicit declaration of function
âCALLED_AS_TRIGGERâ
slony1_funcs.c:308: error: âfcinfoâ undeclared (first use in this function)
slony1_funcs.c:310: error: expected expression before â)â token
slony1_funcs.c:315: warning: implicit declaration of function
âTRIGGER_FIRED_AFTERâ
slony1_funcs.c:317: warning: implicit declaration of function
âTRIGGER_FIRED_FOR_ROWâ
slony1_funcs.c:331: error: ânameinâ undeclared (first use in this function)
slony1_funcs.c:355: error: âSPI_processedâ undeclared (first use in this
function)
slony1_funcs.c:358: error: âSPI_tuptableâ undeclared (first use in this
function)
slony1_funcs.c:360: warning: implicit declaration of function
âSPI_freetuptableâ
slony1_funcs.c:386: warning: implicit declaration of function
âTRIGGER_FIRED_BY_INSERTâ
slony1_funcs.c:388: error: âHeapTupleâ undeclared (first use in this function)
slony1_funcs.c:388: error: expected â;â before ânew_rowâ
slony1_funcs.c:389: error: âTupleDescâ undeclared (first use in this function)
slony1_funcs.c:389: error: expected â;â before âtupdescâ
slony1_funcs.c:416: error: âtupdescâ undeclared (first use in this function)
slony1_funcs.c:419: warning: implicit declaration of function âSPI_fnameâ
slony1_funcs.c:459: warning: implicit declaration of function
âGetConfigOptionByNameâ
slony1_funcs.c:459: warning: assignment makes pointer from integer without a
cast
slony1_funcs.c:461: warning: implicit declaration of function
âset_config_optionâ
slony1_funcs.c:461: error: âPGC_USERSETâ undeclared (first use in this
function)
slony1_funcs.c:461: error: âPGC_S_SESSIONâ undeclared (first use in this
function)
slony1_funcs.c:471: warning: implicit declaration of function âSPI_getvalueâ
slony1_funcs.c:471: error: ânew_rowâ undeclared (first use in this function)
slony1_funcs.c:512: warning: implicit declaration of function
âTRIGGER_FIRED_BY_UPDATEâ
slony1_funcs.c:514: error: expected â;â before âold_rowâ
slony1_funcs.c:515: error: expected â;â before ânew_rowâ
slony1_funcs.c:516: error: expected â;â before âtupdescâ
slony1_funcs.c:548: error: âold_rowâ undeclared (first use in this function)
slony1_funcs.c:564: error: âFmgrInfoâ undeclared (first use in this function)
slony1_funcs.c:564: error: âopr_finfo_pâ undeclared (first use in this
function)
slony1_funcs.c:582: error: expected â;â before âopr_finfoâ
slony1_funcs.c:584: warning: implicit declaration of function
âcompatible_oper_funcidâ
slony1_funcs.c:584: warning: implicit declaration of function âmakeList1â
slony1_funcs.c:584: warning: implicit declaration of function âmakeStringâ
slony1_funcs.c:585: warning: implicit declaration of function âSPI_gettypeidâ
slony1_funcs.c:589: warning: implicit declaration of function âfmgr_infoâ
slony1_funcs.c:589: error: âopr_finfoâ undeclared (first use in this function)
slony1_funcs.c:601: warning: implicit declaration of function âFunctionCall2â
slony1_funcs.c:625: warning: assignment makes pointer from integer without a
cast
slony1_funcs.c:757: warning: implicit declaration of function
âTRIGGER_FIRED_BY_DELETEâ
slony1_funcs.c:759: error: expected â;â before âold_rowâ
slony1_funcs.c:760: error: expected â;â before âtupdescâ
slony1_funcs.c: At top level:
slony1_funcs.c:843: warning: no previous prototype for â_Slony_I_denyAccessâ
slony1_funcs.c: In function â_Slony_I_denyAccessâ:
slony1_funcs.c:845: error: âTriggerDataâ undeclared (first use in this
function)
slony1_funcs.c:845: error: âtgâ undeclared (first use in this function)
slony1_funcs.c:850: error: âfcinfoâ undeclared (first use in this function)
slony1_funcs.c:852: error: expected expression before â)â token
slony1_funcs.c:857: warning: implicit declaration of function
âTRIGGER_FIRED_BEFOREâ
slony1_funcs.c:875: error: âSessionReplicationRoleâ undeclared (first use in
this function)
slony1_funcs.c:875: error: âSESSION_REPLICATION_ROLE_ORIGINâ undeclared (first
use in this function)
slony1_funcs.c: At top level:
slony1_funcs.c:890: warning: no previous prototype for â_Slony_I_lockedSetâ
slony1_funcs.c: In function â_Slony_I_lockedSetâ:
slony1_funcs.c:892: error: âTriggerDataâ undeclared (first use in this
function)
slony1_funcs.c:892: error: âtgâ undeclared (first use in this function)
slony1_funcs.c:897: error: âfcinfoâ undeclared (first use in this function)
slony1_funcs.c:899: error: expected expression before â)â token
slony1_funcs.c: At top level:
slony1_funcs.c:921: warning: no previous prototype for â_Slony_I_killBackendâ
slony1_funcs.c: In function â_Slony_I_killBackendâ:
slony1_funcs.c:927: warning: implicit declaration of function âsuperuserâ
slony1_funcs.c:930: warning: implicit declaration of function âPG_GETARG_INT32â
slony1_funcs.c:931: warning: implicit declaration of function
âPG_GETARG_TEXT_Pâ
slony1_funcs.c:931: warning: assignment makes pointer from integer without a
cast
slony1_funcs.c: At top level:
slony1_funcs.c:975: warning: no previous prototype for â_Slony_I_seqtrackâ
slony1_funcs.c: In function â_Slony_I_seqtrackâ:
slony1_funcs.c:984: warning: implicit declaration of function âPG_GETARG_INT64â
slony1_funcs.c:1013: warning: implicit declaration of function âPG_RETURN_NULLâ
slony1_funcs.c: At top level:
slony1_funcs.c:1162: warning: no previous prototype for â_slon_quote_identâ
slony1_funcs.c: In function â_slon_quote_identâ:
slony1_funcs.c:1164: warning: initialization makes pointer from integer without
a cast
slony1_funcs.c: In function âgetClusterStatusâ:
slony1_funcs.c:1196: error: âTypeNameâ undeclared (first use in this function)
slony1_funcs.c:1196: error: âtxid_snapshot_typnameâ undeclared (first use in
this function)
slony1_funcs.c:1203: warning: implicit declaration of function
âDirectFunctionCall2â
slony1_funcs.c:1203: error: ânameeqâ undeclared (first use in this function)
slony1_funcs.c:1236: error: âtextoutâ undeclared (first use in this function)
slony1_funcs.c:1236: error: âquote_identâ undeclared (first use in this
function)
slony1_funcs.c:1236: error: âtextinâ undeclared (first use in this function)
slony1_funcs.c:1245: warning: implicit declaration of function âSPI_execâ
slony1_funcs.c:1246: error: âSPI_processedâ undeclared (first use in this
function)
slony1_funcs.c:1248: error: âSPI_tuptableâ undeclared (first use in this
function)
slony1_funcs.c:1257: error: âInvalidTransactionIdâ undeclared (first use in
this function)
slony1_funcs.c:1275: warning: implicit declaration of function âmakeNodeâ
slony1_funcs.c:1277: warning: implicit declaration of function âlappendâ
slony1_funcs.c:1277: error: âNILâ undeclared (first use in this function)
slony1_funcs.c:1307: warning: implicit declaration of function âSPI_saveplanâ
slony1_funcs.c:1307: warning: implicit declaration of function âSPI_prepareâ
slony1_funcs.c:1307: warning: assignment makes pointer from integer without a
cast
slony1_funcs.c:1328: warning: assignment makes pointer from integer without a
cast
slony1_funcs.c:1362: warning: assignment makes pointer from integer without a
cast
slony1_funcs.c: In function âprepareLogPlanâ:
slony1_funcs.c:1402: warning: assignment makes pointer from integer without a
cast
slony1_funcs.c:1420: warning: assignment makes pointer from integer without a
cast
slony1_funcs.c: At top level:
slony1_funcs.c:1435: warning: no previous prototype for â_Slony_I_resetSessionâ
slony1_funcs.c: In function â_Slony_I_resetSessionâ:
slony1_funcs.c:1453: warning: implicit declaration of function âSPI_freeplanâ
slony1_funcs.c: At top level:
slony1_funcs.c:1479: warning: no previous prototype for â_slon_decode_tgargsâ
slony1_funcs.c: In function â_slon_decode_tgargsâ:
slony1_funcs.c:1483: error: âArrayTypeâ undeclared (first use in this function)
slony1_funcs.c:1483: error: âout_arrayâ undeclared (first use in this function)
slony1_funcs.c:1485: warning: implicit declaration of function
âPG_GETARG_BYTEA_Pâ
slony1_funcs.c:1485: warning: initialization makes pointer from integer without
a cast
slony1_funcs.c:1490: warning: implicit declaration of function
âconstruct_empty_arrayâ
slony1_funcs.c:1501: warning: implicit declaration of function âarray_setâ
slony1_funcs.c:1521: warning: implicit declaration of function
âPG_RETURN_ARRAYTYPE_Pâ
make[2]: *** [slony1_funcs.o] Error 1
make[2]: Leaving directory `/root/slony1-2.1.0.rc1/src/backend'
make[1]: *** [all] Error 2
make[1]: Leaving directory `

I have postgres 8.4.

How can I fix this ?

-- 
Configure bugmail: http://www.slony.info/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Slony1-bugs mailing list