LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-21-2010, 05:04 AM   #1
ababil151
LQ Newbie
 
Registered: May 2010
Posts: 18

Rep: Reputation: 0
Smile 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
 
Old 06-21-2010, 08:26 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
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
..
 
Old 06-22-2010, 10:47 AM   #3
ababil151
LQ Newbie
 
Registered: May 2010
Posts: 18

Original Poster
Rep: Reputation: 0
Smile

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,,,,
 
Old 06-22-2010, 11:31 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
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'.
..
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PXE installation problem - can only select A series packages for installation Nylex Slackware 4 08-19-2010 03:15 PM
Installation of Binutils(configure:error:installation or configuration problem:C ...) h_r0019 Linux From Scratch 1 05-05-2007 08:40 AM
Redhat/Linux Installation Support??? Is It Red hat installation problem??? wanux Red Hat 1 08-01-2006 11:32 PM
LiLo Installation problem ?and (GNOME and KDE problem) hitesh_linux Linux - Software 1 01-01-2002 05:56 AM


All times are GMT -5. The time now is 02:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration