farpd installation problem
Hay all,,
i need to install farpd-0.2 on my opensuse 11.1machine and i use these following command ./configure --with-libevent=/usr/local/libevent --with-libdnet=/usr/local/libdnet --with-python but when i try to make these follwing error occured gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/libdnet/include -I/usr/local/libevent/include -I/usr/include/pcap -I/usr/local/libdnet/include -c arpd.c arpd.c: In function ‘arpd_send’: arpd.c:268: error: expected ‘)’ before string constant arpd.c: In function ‘arpd_lookup’: arpd.c:285: error: expected ‘)’ before string constant arpd.c:294: error: expected ‘)’ before string constant arpd.c:297: error: expected ‘)’ before string constant arpd.c: In function ‘arpd_recv_cb’: arpd.c:426: error: expected ‘)’ before string constant make: *** [arpd.o] Error 1 actually i have some reference in this link http://honeyd.org/phpBB2/viewtopic.php?t=471 but it tells to run the patch but i dont know how to run it Thanks before |
http://packages.debian.org/unstable/net/farpd
>>> "Links for farpd" [farpd_0.2.orig.tar.gz], [farpd_0.2-10.diff.gz] patch -p1 < farpd_0.2-10.diff The patch in your link is rejected. The above patch works. By the way, libdumpnet=libdnet, libevent are available in the Package Manager (Yast2) or with: # zypper in libdnet-devel libevent-devel .. |
I tried all your suggestion but still can not work same error occured like before..,
This is the out put when i try to run the patch linux-4tf4:~/farpd-0.2 # patch -p1 < farpd_0.2-10.diff.gz patch unexpectedly ends in middle of line patch: **** Only garbage was found in the patch input. Sorry still newbie,,,, |
Please have a look at post # 2 :
patch -p1 < farpd_0.2-10.diff : This command indicates an uncompressed file ! 1) you can do : gunzip farpd_0.2-10.diff.gz which uncompresses the file, and the patch command will work. 2) Or do : zcat farpd_0.2-10.diff.gz | patch -p1 Suggest : read 'man patch' and 'man zcat'. .. |
All times are GMT -5. The time now is 06:06 PM. |