|
|
Hi,
I'm trying to install cfengine on a tru64 cluster ( uname -a: OSF1
my.hostname V5.1 2650 alpha)
Installed software is:
OpenSSL 0.9.7d (system installed)
BerkeleyDB-4.6.21 (manually compiled)
It is running with its default CC and MAKE, doesn't seem that there is
that many gnu utilities available (but shouldn't it work since the
configure runs through OK?)
I have downloaded the latest cfengine-2.2.6 and ran configure using
the following command:
LDFLAGS="-L/usr/shlib -Wl,-rpath,/usr/local/BerkeleyDB.4.6/lib:/usr/
shlib" \
./configure --prefix=/home/netictr/cfengine --with-berkeleydb=/usr/
local/BerkeleyDB.4.6
It is running with its default CC and MAKE (not gcc, not gmake, no
automake, autoconf etc), doesn't seem that there is that many gnu
utilities available (but shouldn't it work since the configure runs
through OK?)
During the make run, I got a lot of warnings like this:
cc: Warning: cfservd.c, line 2425: In this statement, the referenced
type of the pointer value "digest" is "unsigned char", which is not
compatible with "char" because they differ by signed/unsigned
attribute. (ptrmismatch1)
SendTransaction(conn->sd_reply,digest,16,CF_DONE);
But after awhile, the compile does finish without errors, though it
ends with some "No suffix list" messages on stdout.
but issuing a make install results in the following output:
<snip successfully installing sbin binaries>
cc -L/usr/shlib -Wl,-rpath,/usr/local/BerkeleyDB.4.6/lib:/usr/shlib -
D_REENTRANT -pthread -g -I/usr/local/BerkeleyDB.4.6/include install.c
-o install
cc: Warning: install.c, line 1766: In this statement, the referenced
type of the pointer value "&machine" is "pointer to char", which is
not compatible with "pointer to const char". (ptrmismatch)
while (getnetgrent(&machine,&user,&domain))
--------------------------------------^
cc: Warning: install.c, line 1766: In this statement, the referenced
type of the pointer value "&user" is "pointer to char", which is not
compatible with "pointer to const char". (ptrmismatch)
while (getnetgrent(&machine,&user,&domain))
-----------------------------------------------^
cc: Warning: install.c, line 1766: In this statement, the referenced
type of the pointer value "&domain" is "pointer to char", which is not
compatible with "pointer to const char". (ptrmismatch)
while (getnetgrent(&machine,&user,&domain))
-----------------------------------------------------^
cc: Warning: install.c, line 1791: In this statement, the referenced
type of the pointer value "&machine" is "pointer to char", which is
not compatible with "pointer to const char". (ptrmismatch)
while (getnetgrent(&machine,&user,&domain))
--------------------------------------^
cc: Warning: install.c, line 1791: In this statement, the referenced
type of the pointer value "&user" is "pointer to char", which is not
compatible with "pointer to const char". (ptrmismatch)
while (getnetgrent(&machine,&user,&domain))
-----------------------------------------------^
cc: Warning: install.c, line 1791: In this statement, the referenced
type of the pointer value "&domain" is "pointer to char", which is not
compatible with "pointer to const char". (ptrmismatch)
while (getnetgrent(&machine,&user,&domain))
-----------------------------------------------------^
cc: Warning: install.c, line 6171: In this statement, the referenced
type of the pointer value "&machine" is "pointer to char", which is
not compatible with "pointer to const char". (ptrmismatch)
while (getnetgrent(&machine,&user,&domain))
----------------------------^
cc: Warning: install.c, line 6171: In this statement, the referenced
type of the pointer value "&user" is "pointer to char", which is not
compatible with "pointer to const char". (ptrmismatch)
while (getnetgrent(&machine,&user,&domain))
-------------------------------------^
cc: Warning: install.c, line 6171: In this statement, the referenced
type of the pointer value "&domain" is "pointer to char", which is not
compatible with "pointer to const char". (ptrmismatch)
while (getnetgrent(&machine,&user,&domain))
-------------------------------------------^
ld:
Unresolved:
main
Set2DList
Get2DListEnt
Build2DListFromVarstring
Delete2DList
yyerror
ChecksumType
ParseFlagString
FatalError
Warning
AddInstallable
AddMultipleClasses
AddClassToHeap
DeleteClassFromHeap
IsHardClass
IsSpecialClass
IsDefinedClass
IsInstallable
IsAbsoluteFileName
DeleteSlash
CanonifyName
ReadLastNode
BufferOverflow
Chop
ToLower
ToUpper
ToLowerStr
InstallFilterTest
DeleteItemLiteral
DeleteItemContaining
AppendItems
IsItemIn
PrependItem
AppendItem
InstallItem
DeleteItemList
DeleteItem
SplitStringAsItemList
ListFromArgs
CfLog
SetContext
AddMacroValue
GetMacroValue
AddNetworkClass
ChecksumFile
ChecksumList
DeleteInterfaceInfo
SetClassesOnScript
ParseModeString
AddClassToStrategy
InitializeAction
SetMountPath
SetRepository
StrStr
cfpopen
cfpopen_sh
cfpclose
ReadLine
IsListVar
ExpandVarstring
ScanVariable
ALL_SINGLECOPY
AUDITPTR
VAUDIT
METHODFILENAME
METHODREPLYTO
METHODFORCE
CONTEXTID
METHODNAME
ACTIONTEXT
CLASSTEXT
FILEACTIONTEXT
COMMATTRIBUTES
VCURRENTFILE
CHDIR
LISTSEPARATOR
REPOSCHAR
DISCOMP
USESHELL
PREVIEW
PURGE
CHECKSUM
COMPRESS
DISABLESIZE
VSYSNAME
LINENUMBER
FINDERTYPE
VUIDNAME
VGIDNAME
CFSERVER
VRECURSE
VAGE
MOUNTMODE
DELETEDIR
DELETEFSTAB
FORCE
FORCEIPV4
FORCELINK
FORCEDIRS
STEALTH
PRESERVETIMES
TRUSTKEY
FORK
LINKSILENT
LINKTYPE
AGETYPE
COPYTYPE
DEFAULTCOPYTYPE
LINKDIRS
LOGP
INFORMP
AUDITP
FILTERNAME
STRATEGYNAME
CURRENTOBJECT
CURRENTITEM
GROUPBUFF
ACTIONBUFF
CLASSBUFF
ALLCLASSBUFFER
CHROOT
ELSECLASSBUFFER
FAILOVERBUFFER
LINKFROM
LINKTO
MOUNTFROM
MOUNTONTO
MOUNTOPTS
DESTINATION
IMAGEACTION
EXPR
RESTART
FILTERDATA
STRATEGYDATA
PKGVER
PROSIGNAL
PROACTION
PROCOMP
IMGCOMP
IMGSIZE
VBUFF
OUTPUT
VFACULTY
VDOMAIN
VSYSADM
VNETMASK
VBROADCAST
VMAILSERVER
VTIMEZONE
VDEFAULTROUTE
VNFSTYPE
LOCALREPOS
VIFNAME
VIFNAMEOVERRIDE
VSYSTEMHARDCLASS
VFQNAME
VUQNAME
CMPSENSETEXT
NOABSPATH
CHKROOT
VSINGLECOPY
VAUTODEFINE
VEXCLUDECOPY
VEXCLUDELINK
VCOPYLINKS
VLINKCOPIES
VEXCLUDEPARSE
VCPLNPARSE
VINCLUDEPARSE
VIGNOREPARSE
VACLBUILD
VFILTERBUILD
VHEAP
ABORTHEAP
VPKG
VPKGTOP
VMOUNTABLES
VMOUNTABLESTOP
PARSEMETHODRETURNCLASSES
METHODARGS
CF_MOUNT_RO
VALERTS
VTIDY
VREQUIRED
VREQUIREDTOP
VSCRIPT
VSCRIPTTOP
VSCLI
VSCLITOP
VIFLIST
VIFLISTTOP
VBINSERVERS
VLINK
VFILE
VHOMESERVERS
VDISABLELIST
VDISABLETOP
VMAKEPATH
VMAKEPATHTOP
VCHLINK
VIGNORE
VHOMEPATLIST
EXTENSIONLIST
SUSPICIOUSLIST
SCHEDULE
SPOOLDIRLIST
NONATTACKERLIST
MULTICONNLIST
TRUSTKEYLIST
DHCPLIST
ALLOWUSERLIST
SKIPVERIFY
ATTACKERLIST
MOUNTOPTLIST
VRESOLVE
VMISCMOUNT
VMISCMOUNTTOP
VIMPORT
VACTIONSEQ
VACCESSLIST
VEDITLIST
VEDITLISTTOP
VUNMOUNT
VUNMOUNTTOP
VIMAGE
VIMAGETOP
VMETHODS
VMETHODSTOP
VPROCLIST
VPROCTOP
VSERVERLIST
VRPCPEERLIST
VREDEFINES
VLINKTOP
VCHLINKTOP
VTIDYTOP
VFILETOP
DEBUG
D1
D2
PARSING
VERBOSE
PIFELAPSED
PEXPIREAFTER
TIDYDIRS
DEADLINKS
PTRAVLINKS
FORCENETCOPY
SILENT
IMAGEBACKUP
ROTATE
TIDYSIZE
USEENVIRON
PROMATCHES
UNDERSCORE_CLASSES
NOHARDCLASSES
XDEV
RXDIRS
TYPECHECK
SCAN
ACTION
PLUSMASK
MINUSMASK
PLUSFLAG
MINUSFLAG
ACTION_IS_LINK
ACTION_IS_LINKCHILDREN
ACTIONPENDING
ENCRYPT
VERIFY
COMPATIBILITY
VIFDEV
VEDITNAMES
PKGMGRTEXT
PKGACTIONTEXT
VTIMEOUT
UMASK
SIGNALS
SENSIBLEFILECOUNT
SENSIBLEFSSIZE
EDITFILESIZE
EDITBINFILESIZE
VIFELAPSED
VEXPIREAFTER
VDEFAULTIFELAPSED
VDEFAULTEXPIREAFTER
FILEACTION
CMPSENSE
PKGMGR
DEFAULTPKGMGR
PKGACTION
EDITGROUPLEVEL
SEARCHREPLACELEVEL
FOREACHLEVEL
*** Exit 1
Stop.
*** Exit 1
Stop.
Any and all help is greatly appreciated, it seems like something is
working because I can run cfagent and it will fetch the cfengine
configuration, but I'm not pleased with the compile/install doesn't
run through without errors.
I should say that I'm not familiar with Tru64 and any strange issues
that may be with this platform.
Regards
Thomas Rasmussen
|
|