In detail, how to I get tsyncd compiled and working on debian,
starting from a sarge base system (though I am willing to use packages
not found in sarge). I have tried following the standard directions
and they let me to serveral roadblocks and errors, so I need help from
someone who can actually make this work.
I at first had gcc/g++ errors, but then changed my gcc to the correct version.
Here is a bunch of the correspondance I had with the author of tsyncd:
Hello,
I am extremely interested in tsync, and have been following the how to.
I almost managed to get everything working, I created my rsa keys and
config file, but when I run tsync, I get: "could not detect ssh agent"
Are you able to help at all? I have ssh installed, but perhaps there's
some stuff I need to do with ssh? (In case in helps, I'm running
Debian.)
Sincerely,
Joe Crawford
___________________________________
Owner - Joetainment Enterprises
Cell: 604-866-3050
Email: joe@joetainment.com
Messenger: joetainment@hotmail.com
ICQ: 103730379
Web: www.joetainment.com
ReplyForward
James W. Anderson
to me
More options Sep 19
Hi Joe,
You need to make sure that the ssh-agent is running in your current
shell. Try running 'ssh-add -l' and make sure that your keys are
listed. If not, you can run these commands:
killall ssh-agent
eval `ssh-agent`
ssh-add ~/.ssh/<rsa1-key>
ssh-add ~/.ssh/<rsa2-key>
Then verify with 'ssh-add -l' that your keys have been added.
James
- Show quoted text -
On Sun, Sep 18, 2005 at 08:50:19PM -0700, Joe Crawford wrote:
> Hello,
>
> I am extremely interested in tsync, and have been following the how to.
>
> I almost managed to get everything working, I created my rsa keys and
> config file, but when I run tsync, I get: "could not detect ssh agent"
>
> Are you able to help at all? I have ssh installed, but perhaps there's
> some stuff I need to do with ssh? (In case in helps, I'm running
> Debian.)
>
> Sincerely,
>
> Joe Crawford
ReplyForwardInvite James to Gmail
Joe Crawford
to James
More options Sep 19
Thanks for the help!
I made it work, got ssh issues solved, but had errors... I think its
cause I installed a binary one from sourceforge.
So I went to CVS, got the source, got the depends, got gcc/g++ 3.4 and
tried make.
Then I got the following errors during make, and am stuck again. Could
you take a look. I am very thankful for your help so far.
Here are the errors:
make[2]: Leaving directory `/root/tsyncd/src/mace/mace-extras/sha1'
make[2]: Entering directory `/root/tsyncd/src/mace/lib'
g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
-D_GNU_SOURCE -Wall -Werror -pthread -c -o FileUtil.o FileUtil.cc
g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
-D_GNU_SOURCE -Wall -Werror -pthread -c -o LoadMonitor.o
LoadMonitor.cc
g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
-D_GNU_SOURCE -Wall -Werror -pthread -c -o Log.o Log.cc
g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
-D_GNU_SOURCE -Wall -Werror -pthread -c -o LogSelector.o
LogSelector.cc
g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
-D_GNU_SOURCE -Wall -Werror -pthread -c -o mace.o mace.cc
g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
-D_GNU_SOURCE -Wall -Werror -pthread -c -o MaceKey.o MaceKey.cc
g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
-D_GNU_SOURCE -Wall -Werror -pthread -c -o MailUtil.o MailUtil.cc
g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
-D_GNU_SOURCE -Wall -Werror -pthread -c -o NumberGen.o NumberGen.cc
g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
-D_GNU_SOURCE -Wall -Werror -pthread -c -o Params.o Params.cc
g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
-D_GNU_SOURCE -Wall -Werror -pthread -c -o Printable.o Printable.cc
g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
-D_GNU_SOURCE -Wall -Werror -pthread -c -o RandomUtil.o
RandomUtil.cc
g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
-D_GNU_SOURCE -Wall -Werror -pthread -c -o Scheduler.o Scheduler.cc
g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
-D_GNU_SOURCE -Wall -Werror -pthread -c -o Serializable.o
Serializable.cc
g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
-D_GNU_SOURCE -Wall -Werror -pthread -c -o SockUtil.o SockUtil.cc
g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
-D_GNU_SOURCE -Wall -Werror -pthread -c -o StrUtil.o StrUtil.cc
g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
-D_GNU_SOURCE -Wall -Werror -pthread -c -o SysUtil.o SysUtil.cc
g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
-D_GNU_SO Actions Undo Package Search Options Views Help
f10: Menu ?: Help q: Quit u: Update g: Download/Install/Remove Pkgs
http://ftp.debian.org stable/main flex 2.5.31-31 [Downloaded]
fileserver:~/tsyncd/src# make
make -C mace
make[1]: Entering directory `/root/tsyncd/src/mace'
make[2]: Entering directory `/root/tsyncd/src/mace/mace-extras/sha1'
make[2]: Nothing to be done for `library'.
make[2]: Leaving directory `/root/tsyncd/src/mace/mace-extras/sha1'
make[2]: Entering directory `/root/tsyncd/src/mace/lib'
make[2]: Nothing to be done for `library'.
make[2]: Leaving directory `/root/tsyncd/src/mace/lib'
make[2]: Entering directory `/root/tsyncd/src/mace/compiler'
flex -omace-lex.c mace.l
gcc -g -DYYDEBUG=1 -Wall -Werror -c -o mace-lex.o mace-lex.c
gcc -g -DYYDEBUG=1 -Wall -Werror -c -o mace.tab.o mace.tab.c
mace.tab.c: In function `yyparse':
mace.tab.c:1015: warning: suggest parentheses around assignment used
as truth value
mace.tab.c:1032: warning: suggest parentheses around assignment used
as truth value
mace.tab.c:1075: warning: label `yynewerror' defined but not used
mace.tab.c:1080: warning: label `yyerrlab' defined but not used
mace.tab.c: At top level:
mace.tab.c:2: warning: 'yysccsid' defined but not used
make[2]: *** [mace.tab.o] Error 1
make[2]: Leaving directory `/root/tsyncd/src/mace/compiler'
make[1]: *** [compiler] Error 2
make[1]: Leaving directory `/root/tsyncd/src/mace'
make: *** [mace/compiler/XmlRpc/xmlrpcc] Error 2
fileserver:~/tsyncd/src# make clean
make[1]: Entering directory `/root/tsyncd/src/rsync'
rm -f *.o *.d *.stripped librsync.a
make[1]: Leaving directory `/root/tsyncd/src/rsync'
make[1]: Entering directory `/root/tsyncd/src/mace'
make[2]: Entering directory `/root/tsyncd/src/mace/mace-extras/sha1'
rm -f *.o *.d
rm -f libmacesha1.a
make[2]: Leaving directory `/root/tsyncd/src/mace/mace-extras/sha1'
make[2]: Entering directory `/root/tsyncd/src/mace/lib'
rm -f *.o *.d
rm -f libmace.a
make[2]: Leaving directory `/root/tsyncd/src/mace/lib'
make[2]: Entering directory `/root/tsyncd/src/mace/compiler'
rm -f *.o mace.tab.h mace.tab.c mace-lex.c macecc serviceparser
serviceparser.tab.c serviceparser.tab.h lex.sp.c
make -C XmlRpc clean
make[3]: Entering directory `/root/tsyncd/src/mace/compiler/XmlRpc'
rm -f *.o xmlrpcc
make[3]: Leaving directory `/root/tsyncd/src/mace/compiler/XmlRpc'
make[2]: Leaving directory `/root/tsyncd/src/mace/compiler'
make[2]: Entering directory `/root/tsyncd/src/mace/services'
make[3]: Entering directory `/root/tsyncd/src/mace/services/common'
make[3]: Leaving directory `/root/tsyncd/src/mace/services/common'
make[3]: Entering directory `/root/tsyncd/src/mace/services/Transport'
make[3]: Leaving directory `/root/tsyncd/src/mace/services/Transport'
make[3]: Entering directory `/root/tsyncd/src/mace/services/Http'
make[3]: Leaving directory `/root/tsyncd/src/mace/services/Http'
make[3]: Entering directory `/root/tsyncd/src/mace/services/RandTree'
make[3]: Leaving directory `/root/tsyncd/src/mace/services/RandTree'
make[3]: Entering directory `/root/tsyncd/src/mace/services/RanSub'
make[3]: Leaving directory `/root/tsyncd/src/mace/services/RanSub'
make[3]: Entering directory
`/root/tsyncd/src/mace/services/GenericTreeMulticast'
make[3]: Leaving directory `/root/tsyncd/src/mace/services/GenericTreeMulticast'
rm -f lib*.a core
make DIR=common MAKEFILES= -C common -f Makefile.mknull clean
make[3]: Entering directory `/root/tsyncd/src/mace/services/common'
make[3]: Leaving directory `/root/tsyncd/src/mace/services/common'
make[2]: Leaving directory `/root/tsyncd/src/mace/services'
make[1]: Leaving directory `/root/tsyncd/src/mace'
rm -f *.o *.d *.stripped tsyncd libtsync.a TsyncXmlRpcHandler.h
TsyncUIXmlRpcHandler.h TsyncXmlRpcClient.h TsyncUIXmlRpcClient.h
TsyncXmlRpcClient.cc TsyncUIXmlRpcClient.cc
fileserver:~/tsyncd/src# make
make -C mace
make[1]: Entering directory `/root/tsyncd/src/mace'
make[2]: Entering directory `/root/tsyncd/src/mace/mace-extras/sha1'
make[2]: Leaving directory `/root/tsyncd/src/mace/mace-extras/sha1'
make[2]: Entering directory `/root/tsyncd/src/mace/mace-extras/sha1'
g++ -Wall -Werror -I../../lib -g -pthread -D_REENTRANT -D_THREAD_SAFE
-D_PTHREAD -D__USE_UNIX98 -D_GNU_SOURCE -O2 -g -c -o HashUtil.o
HashUtil.cc
g++ -Wall -Werror -I../../lib -g -pthread -D_REENTRANT -D_THREAD_SAFE
-D_PTHREAD -D__USE_UNIX98 -D_GNU_SOURCE -O2 -g -c -o sha1.o sha1.cc
ar rc libmacesha1.a HashUtil.o sha1.o
make[2]: Leaving directory `/root/tsyncd/src/mace/mace-extras/sha1'
make[2]: Entering directory `/root/tsyncd/src/mace/lib'
make[2]: Leaving directory `/root/tsyncd/src/mace/lib'
make[2]: Entering directory `/root/tsyncd/src/mace/lib'
g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
-D_GNU_SOURCE -Wall -Werror -pthread -c -o Accumulator.o
Accumulator.cc
g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
-D_GNU_SOURCE -Wall -Werror -pthread -c -o Base64.o Base64.cc
g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
-D_GNU_SOURCE -Wall -Werror -pthread -c -o Crypto.o Crypto.cc
g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
-D_GNU_SOURCE -Wall -Werror -pthread -c -o FileUtil.o FileUtil.cc
g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
-D_GNU_SOURCE -Wall -Werror -pthread -c -o LoadMonitor.o
LoadMonitor.cc
g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
-D_GNU_SOURCE -Wall -Werror -pthread -c -o Log.o Log.cc
g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
-D_GNU_SOURCE -Wall -Werror -pthread -c -o LogSelector.o
LogSelector.cc
g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
-D_GNU_SOURCE -Wall -Werror -pthread -c -o mace.o mace.cc
g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
-D_GNU_SOURCE -Wall -Werror -pthread -c -o MaceKey.o MaceKey.cc
g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
-D_GNU_SOURCE -Wall -Werror -pthread -c -o MailUtil.o MailUtil.cc
g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
-D_GNU_SOURCE -Wall -Werror -pthread -c -o NumberGen.o NumberGen.cc
g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
-D_GNU_SOURCE -Wall -Werror -pthread -c -o Params.o Params.cc
g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
-D_GNU_SOURCE -Wall -Werror -pthread -c -o Printable.o Printable.cc
g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
-D_GNU_SOURCE -Wall -Werror -pthread -c -o RandomUtil.o
RandomUtil.cc
g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
-D_GNU_SOURCE -Wall -Werror -pthread -c -o Scheduler.o Scheduler.cc
g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
-D_GNU_SOURCE -Wall -Werror -pthread -c -o Serializable.o
Serializable.cc
g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
-D_GNU_SOURCE -Wall -Werror -pthread -c -o SockUtil.o SockUtil.cc
g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
-D_GNU_SOURCE -Wall -Werror -pthread -c -o StrUtil.o StrUtil.cc
g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
-D_GNU_SOURCE -Wall -Werror -pthread -c -o SysUtil.o SysUtil.cc
g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
-D_GNU_SOURCE -Wall -Werror -pthread -c -o ThreadCreate.o
ThreadCreate.cc
g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
-D_GNU_SOURCE -Wall -Werror -pthread -c -o Util.o Util.cc
g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
-D_GNU_SOURCE -Wall -Werror -pthread -c -o utils.o utils.cc
ar rc libmace.a Accumulator.o Base64.o Crypto.o FileUtil.o
LoadMonitor.o Log.o LogSelector.o mace.o MaceKey.o MailUtil.o
NumberGen.o Params.o Printable.o RandomUtil.o Scheduler.o
Serializable.o SockUtil.o StrUtil.o SysUtil.o ThreadCreate.o Util.o
utils.o
make[2]: Leaving directory `/root/tsyncd/src/mace/lib'
make[2]: Entering directory `/root/tsyncd/src/mace/compiler'
yacc -t -b mace -d mace.y
yacc: 21 rules never reduced
yacc: 5 shift/reduce conflicts, 2 reduce/reduce conflicts.
g++ -g -DYYDEBUG=1 -Wall -Werror -pthread -c -o mace-conv.o mace-conv.cc
flex -omace-lex.c mace.l
gcc -g -DYYDEBUG=1 -Wall -Werror -c -o mace-lex.o mace-lex.c
gcc -g -DYYDEBUG=1 -Wall -Werror -c -o mace.tab.o mace.tab.c
mace.tab.c: In function `yyparse':
mace.tab.c:1015: warning: suggest parentheses around assignment used
as truth value
mace.tab.c:1032: warning: suggest parentheses around assignment used
as truth value
mace.tab.c:1075: warning: label `yynewerror' defined but not used
mace.tab.c:1080: warning: label `yyerrlab' defined but not used
mace.tab.c: At top level:
mace.tab.c:2: warning: 'yysccsid' defined but not used
make[2]: *** [mace.tab.o] Error 1
make[2]: Leaving directory `/root/tsyncd/src/mace/compiler'
make[1]: *** [compiler] Error 2
make[1]: Leaving directory `/root/tsyncd/src/mace'
make: *** [mace/compiler/XmlRpc/xmlrpcc] Error 2
fileserver:~/tsyncd/src#
Thanks again.
- Show quoted text -
Sincerely,
Joe Crawford
___________________________________
Owner - Joetainment Enterprises
Cell: 604-866-3050
Email: joe@joetainment.com
Messenger: joetainment@hotmail.com
ICQ: 103730379
Web: www.joetainment.com
ReplyForward
James W. Anderson
to me
More options Sep 21
You need to install the flex package so that it can build the Mace
compiler. You also need yacc if it is not already installed.
James
- Show quoted text -
On Mon, Sep 19, 2005 at 08:51:35PM -0700, Joe Crawford wrote:
> Thanks for the help!
>
> I made it work, got ssh issues solved, but had errors... I think its
> cause I installed a binary one from sourceforge.
>
> So I went to CVS, got the source, got the depends, got gcc/g++ 3.4 and
> tried make.
>
> Then I got the following errors during make, and am stuck again. Could
> you take a look. I am very thankful for your help so far.
>
> Here are the errors:
> make[2]: Leaving directory `/root/tsyncd/src/mace/mace-extras/sha1'
> make[2]: Entering directory `/root/tsyncd/src/mace/lib'
> g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
> -D_GNU_SOURCE -Wall -Werror -pthread -c -o FileUtil.o FileUtil.cc
> g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
> -D_GNU_SOURCE -Wall -Werror -pthread -c -o LoadMonitor.o
> LoadMonitor.cc
> g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
> -D_GNU_SOURCE -Wall -Werror -pthread -c -o Log.o Log.cc
> g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
> -D_GNU_SOURCE -Wall -Werror -pthread -c -o LogSelector.o
> LogSelector.cc
> g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
> -D_GNU_SOURCE -Wall -Werror -pthread -c -o mace.o mace.cc
> g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
> -D_GNU_SOURCE -Wall -Werror -pthread -c -o MaceKey.o MaceKey.cc
> g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
> -D_GNU_SOURCE -Wall -Werror -pthread -c -o MailUtil.o MailUtil.cc
> g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
> -D_GNU_SOURCE -Wall -Werror -pthread -c -o NumberGen.o NumberGen.cc
> g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
> -D_GNU_SOURCE -Wall -Werror -pthread -c -o Params.o Params.cc
> g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
> -D_GNU_SOURCE -Wall -Werror -pthread -c -o Printable.o Printable.cc
> g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
> -D_GNU_SOURCE -Wall -Werror -pthread -c -o RandomUtil.o
> RandomUtil.cc
> g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
> -D_GNU_SOURCE -Wall -Werror -pthread -c -o Scheduler.o Scheduler.cc
> g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
> -D_GNU_SOURCE -Wall -Werror -pthread -c -o Serializable.o
> Serializable.cc
> g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
> -D_GNU_SOURCE -Wall -Werror -pthread -c -o SockUtil.o SockUtil.cc
> g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
> -D_GNU_SOURCE -Wall -Werror -pthread -c -o StrUtil.o StrUtil.cc
> g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
> -D_GNU_SOURCE -Wall -Werror -pthread -c -o SysUtil.o SysUtil.cc
> g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
> -D_GNU_SO Actions Undo Package Search Options Views Help
> f10: Menu ?: Help q: Quit u: Update g: Download/Install/Remove Pkgs
> http://ftp.debian.org stable/main flex 2.5.31-31 [Downloaded]
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> fileserver:~/tsyncd/src# make
> make -C mace
> make[1]: Entering directory `/root/tsyncd/src/mace'
> make[2]: Entering directory `/root/tsyncd/src/mace/mace-extras/sha1'
> make[2]: Nothing to be done for `library'.
> make[2]: Leaving directory `/root/tsyncd/src/mace/mace-extras/sha1'
> make[2]: Entering directory `/root/tsyncd/src/mace/lib'
> make[2]: Nothing to be done for `library'.
> make[2]: Leaving directory `/root/tsyncd/src/mace/lib'
> make[2]: Entering directory `/root/tsyncd/src/mace/compiler'
> flex -omace-lex.c mace.l
> gcc -g -DYYDEBUG=1 -Wall -Werror -c -o mace-lex.o mace-lex.c
> gcc -g -DYYDEBUG=1 -Wall -Werror -c -o mace.tab.o mace.tab.c
> mace.tab.c: In function `yyparse':
> mace.tab.c:1015: warning: suggest parentheses around assignment used
> as truth value
> mace.tab.c:1032: warning: suggest parentheses around assignment used
> as truth value
> mace.tab.c:1075: warning: label `yynewerror' defined but not used
> mace.tab.c:1080: warning: label `yyerrlab' defined but not used
> mace.tab.c: At top level:
> mace.tab.c:2: warning: 'yysccsid' defined but not used
> make[2]: *** [mace.tab.o] Error 1
> make[2]: Leaving directory `/root/tsyncd/src/mace/compiler'
> make[1]: *** [compiler] Error 2
> make[1]: Leaving directory `/root/tsyncd/src/mace'
> make: *** [mace/compiler/XmlRpc/xmlrpcc] Error 2
> fileserver:~/tsyncd/src# make clean
> make[1]: Entering directory `/root/tsyncd/src/rsync'
> rm -f *.o *.d *.stripped librsync.a
> make[1]: Leaving directory `/root/tsyncd/src/rsync'
> make[1]: Entering directory `/root/tsyncd/src/mace'
> make[2]: Entering directory `/root/tsyncd/src/mace/mace-extras/sha1'
> rm -f *.o *.d
> rm -f libmacesha1.a
> make[2]: Leaving directory `/root/tsyncd/src/mace/mace-extras/sha1'
> make[2]: Entering directory `/root/tsyncd/src/mace/lib'
> rm -f *.o *.d
> rm -f libmace.a
> make[2]: Leaving directory `/root/tsyncd/src/mace/lib'
> make[2]: Entering directory `/root/tsyncd/src/mace/compiler'
> rm -f *.o mace.tab.h mace.tab.c mace-lex.c macecc serviceparser
> serviceparser.tab.c serviceparser.tab.h lex.sp.c
> make -C XmlRpc clean
> make[3]: Entering directory `/root/tsyncd/src/mace/compiler/XmlRpc'
> rm -f *.o xmlrpcc
> make[3]: Leaving directory `/root/tsyncd/src/mace/compiler/XmlRpc'
> make[2]: Leaving directory `/root/tsyncd/src/mace/compiler'
> make[2]: Entering directory `/root/tsyncd/src/mace/services'
> make[3]: Entering directory `/root/tsyncd/src/mace/services/common'
> make[3]: Leaving directory `/root/tsyncd/src/mace/services/common'
> make[3]: Entering directory `/root/tsyncd/src/mace/services/Transport'
> make[3]: Leaving directory `/root/tsyncd/src/mace/services/Transport'
> make[3]: Entering directory `/root/tsyncd/src/mace/services/Http'
> make[3]: Leaving directory `/root/tsyncd/src/mace/services/Http'
> make[3]: Entering directory `/root/tsyncd/src/mace/services/RandTree'
> make[3]: Leaving directory `/root/tsyncd/src/mace/services/RandTree'
> make[3]: Entering directory `/root/tsyncd/src/mace/services/RanSub'
> make[3]: Leaving directory `/root/tsyncd/src/mace/services/RanSub'
> make[3]: Entering directory
> `/root/tsyncd/src/mace/services/GenericTreeMulticast'
> make[3]: Leaving directory `/root/tsyncd/src/mace/services/GenericTreeMulticast'
> rm -f lib*.a core
> make DIR=common MAKEFILES= -C common -f Makefile.mknull clean
> make[3]: Entering directory `/root/tsyncd/src/mace/services/common'
> make[3]: Leaving directory `/root/tsyncd/src/mace/services/common'
> make[2]: Leaving directory `/root/tsyncd/src/mace/services'
> make[1]: Leaving directory `/root/tsyncd/src/mace'
> rm -f *.o *.d *.stripped tsyncd libtsync.a TsyncXmlRpcHandler.h
> TsyncUIXmlRpcHandler.h TsyncXmlRpcClient.h TsyncUIXmlRpcClient.h
> TsyncXmlRpcClient.cc TsyncUIXmlRpcClient.cc
> fileserver:~/tsyncd/src# make
> make -C mace
> make[1]: Entering directory `/root/tsyncd/src/mace'
> make[2]: Entering directory `/root/tsyncd/src/mace/mace-extras/sha1'
> make[2]: Leaving directory `/root/tsyncd/src/mace/mace-extras/sha1'
> make[2]: Entering directory `/root/tsyncd/src/mace/mace-extras/sha1'
> g++ -Wall -Werror -I../../lib -g -pthread -D_REENTRANT -D_THREAD_SAFE
> -D_PTHREAD -D__USE_UNIX98 -D_GNU_SOURCE -O2 -g -c -o HashUtil.o
> HashUtil.cc
> g++ -Wall -Werror -I../../lib -g -pthread -D_REENTRANT -D_THREAD_SAFE
> -D_PTHREAD -D__USE_UNIX98 -D_GNU_SOURCE -O2 -g -c -o sha1.o sha1.cc
> ar rc libmacesha1.a HashUtil.o sha1.o
> make[2]: Leaving directory `/root/tsyncd/src/mace/mace-extras/sha1'
> make[2]: Entering directory `/root/tsyncd/src/mace/lib'
> make[2]: Leaving directory `/root/tsyncd/src/mace/lib'
> make[2]: Entering directory `/root/tsyncd/src/mace/lib'
> g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
> -D_GNU_SOURCE -Wall -Werror -pthread -c -o Accumulator.o
> Accumulator.cc
> g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
> -D_GNU_SOURCE -Wall -Werror -pthread -c -o Base64.o Base64.cc
> g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
> -D_GNU_SOURCE -Wall -Werror -pthread -c -o Crypto.o Crypto.cc
> g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
> -D_GNU_SOURCE -Wall -Werror -pthread -c -o FileUtil.o FileUtil.cc
> g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
> -D_GNU_SOURCE -Wall -Werror -pthread -c -o LoadMonitor.o
> LoadMonitor.cc
> g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
> -D_GNU_SOURCE -Wall -Werror -pthread -c -o Log.o Log.cc
> g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
> -D_GNU_SOURCE -Wall -Werror -pthread -c -o LogSelector.o
> LogSelector.cc
> g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
> -D_GNU_SOURCE -Wall -Werror -pthread -c -o mace.o mace.cc
> g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
> -D_GNU_SOURCE -Wall -Werror -pthread -c -o MaceKey.o MaceKey.cc
> g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
> -D_GNU_SOURCE -Wall -Werror -pthread -c -o MailUtil.o MailUtil.cc
> g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
> -D_GNU_SOURCE -Wall -Werror -pthread -c -o NumberGen.o NumberGen.cc
> g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
> -D_GNU_SOURCE -Wall -Werror -pthread -c -o Params.o Params.cc
> g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
> -D_GNU_SOURCE -Wall -Werror -pthread -c -o Printable.o Printable.cc
> g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
> -D_GNU_SOURCE -Wall -Werror -pthread -c -o RandomUtil.o
> RandomUtil.cc
> g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
> -D_GNU_SOURCE -Wall -Werror -pthread -c -o Scheduler.o Scheduler.cc
> g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
> -D_GNU_SOURCE -Wall -Werror -pthread -c -o Serializable.o
> Serializable.cc
> g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
> -D_GNU_SOURCE -Wall -Werror -pthread -c -o SockUtil.o SockUtil.cc
> g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
> -D_GNU_SOURCE -Wall -Werror -pthread -c -o StrUtil.o StrUtil.cc
> g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
> -D_GNU_SOURCE -Wall -Werror -pthread -c -o SysUtil.o SysUtil.cc
> g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
> -D_GNU_SOURCE -Wall -Werror -pthread -c -o ThreadCreate.o
> ThreadCreate.cc
> g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
> -D_GNU_SOURCE -Wall -Werror -pthread -c -o Util.o Util.cc
> g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
> -D_GNU_SOURCE -Wall -Werror -pthread -c -o utils.o utils.cc
> ar rc libmace.a Accumulator.o Base64.o Crypto.o FileUtil.o
> LoadMonitor.o Log.o LogSelector.o mace.o MaceKey.o MailUtil.o
> NumberGen.o Params.o Printable.o RandomUtil.o Scheduler.o
> Serializable.o SockUtil.o StrUtil.o SysUtil.o ThreadCreate.o Util.o
> utils.o
> make[2]: Leaving directory `/root/tsyncd/src/mace/lib'
> make[2]: Entering directory `/root/tsyncd/src/mace/compiler'
> yacc -t -b mace -d mace.y
> yacc: 21 rules never reduced
> yacc: 5 shift/reduce conflicts, 2 reduce/reduce conflicts.
> g++ -g -DYYDEBUG=1 -Wall -Werror -pthread -c -o mace-conv.o mace-conv.cc
> flex -omace-lex.c mace.l
> gcc -g -DYYDEBUG=1 -Wall -Werror -c -o mace-lex.o mace-lex.c
> gcc -g -DYYDEBUG=1 -Wall -Werror -c -o mace.tab.o mace.tab.c
> mace.tab.c: In function `yyparse':
> mace.tab.c:1015: warning: suggest parentheses around assignment used
> as truth value
> mace.tab.c:1032: warning: suggest parentheses around assignment used
> as truth value
> mace.tab.c:1075: warning: label `yynewerror' defined but not used
> mace.tab.c:1080: warning: label `yyerrlab' defined but not used
> mace.tab.c: At top level:
> mace.tab.c:2: warning: 'yysccsid' defined but not used
> make[2]: *** [mace.tab.o] Error 1
> make[2]: Leaving directory `/root/tsyncd/src/mace/compiler'
> make[1]: *** [compiler] Error 2
> make[1]: Leaving directory `/root/tsyncd/src/mace'
> make: *** [mace/compiler/XmlRpc/xmlrpcc] Error 2
> fileserver:~/tsyncd/src#
>
>
>
>
> Thanks again.
>
>
> Sincerely,
>
> Joe Crawford
> ___________________________________
> Owner - Joetainment Enterprises
> Cell: 604-866-3050
> Email: joe@joetainment.com
> Messenger: joetainment@hotmail.com
> ICQ: 103730379
> Web: www.joetainment.com
ReplyForwardInvite James to Gmail
Joe Crawford
to James
More options Sep 21
That's the strange thing... I seem to have both flaxx and yacc
installed (the package says its called byacc, but the yacc command
works...).
Do I need some special development versions of flex and yacc? I think
I only have binaries.
On 9/21/05, James W. Anderson <j_w_anderson@users.sourceforge.net> wrote:
> You need to install the flex package so that it can build the Mace
> compiler. You also need yacc if it is not already installed.
>
> James
>
> On Mon, Sep 19, 2005 at 08:51:35PM -0700, Joe Crawford wrote:
> > Thanks for the help!
> >
> > I made it work, got ssh issues solved, but had errors... I think its
> > cause I installed a binary one from sourceforge.
> >
> > So I went to CVS, got the source, got the depends, got gcc/g++ 3.4 and
> > tried make.
> >
> > Then I got the following errors during make, and am stuck again. Could
> > you take a look. I am very thankful for your help so far.
> >
> > Here are the errors:
> > make[2]: Leaving directory `/root/tsyncd/src/mace/mace-extras/sha1'
> > make[2]: Entering directory `/root/tsyncd/src/mace/lib'
> > g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
> > -D_GNU_SOURCE -Wall -Werror -pthread -c -o FileUtil.o FileUtil.cc
> > g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
> > -D_GNU_SOURCE -Wall -Werror -pthread -c -o LoadMonitor.o
> > LoadMonitor.cc
> > g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
> > -D_GNU_SOURCE -Wall -Werror -pthread -c -o Log.o Log.cc
> > g++ -O2 -g -I../ -D_REENTRANT -D_THREAD_SAFE -D_PTHREAD -D__USE_UNIX98
> > -D_GNU_SOURCE -Wal>l -Werror -pthread -c -o LogSelector.o |