Error while compiling

Hi,

I am trying to install a software but I get error as under -

linux-lst5:/usr/share/man/arpd # ./configure --with-libdnet=/usr/local/libdnet --with-libevent=/usr/local/libevent
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for mawk... no
checking for gawk... gawk
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable cc found in $PATH

Hi
Please don’t compile as root user, I’m sure if you look at the readme,
it will tell you to use sudo to install and your compiling in the
bowels of the system…

Setup a directory as your user and build form there, you need to
install the basic build tools gcc, gcc-c++, make, automake, autoconf
etc.


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.32.12-0.7-default
up 1:50, 2 users, load average: 0.16, 0.06, 0.02
GPU GeForce 8600 GTS Silent - Driver Version: 256.35

Hi,

I have all the build tools in place already. Let me check 32 bit ones or this has got to do with libpcap. Anyway I will try again.

Hi, got all 32 bit ones and made some progress with sudo but still no luck.

david@linux-lst5:~> cd arpd
david@linux-lst5:~/arpd> sudo ./configure --with-libdnet=/usr/local/libdnet --with-libevent=/usr/local/libevent
root's password:
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... missing
checking for mawk... no
checking for gawk... gawk
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... yes
checking for libdnet... /usr/local/libdnet
configure: error: dnet-config not found in /usr/local/libdnet/bin

Tried:
david@linux-lst5:~> dnet-config --libs
-L/usr/lib64 -ldnet

That is there but it is x64, where i can get i386 ones.

Hi
No only use sudo when installing not for either the configure or make
commands :wink:

Why not just install libnet-devel from the normal oss repository???
Then you don’t need to use /usr/local


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.32.12-0.7-default
up 2:35, 2 users, load average: 0.16, 0.13, 0.06
GPU GeForce 8600 GTS Silent - Driver Version: 256.35

Yup, that is what I am doing right now.

Mate, not able to find it. Is it the right name in suse repos, in deb it is called something libdumbnet-dev.

Hi
It’s on the dvd or the oss repository? What openSUSE release are you
running? Do you have the oss repository enabled?


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.32.12-0.7-default
up 0:36, 2 users, load average: 0.06, 0.04, 0.06
GPU GeForce 8600 GTS Silent - Driver Version: 256.35

Hi
In your system do you have a local install source enable in the
software repositories (eg DVD, liveCD) also how is your internet
connection to the openSUSE repositories, maybe defining a local mirror
may help, because you seem to have difficulty finding files?
http://en.opensuse.org/Mirror_Selection


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.32.12-0.7-default
up 8:07, 2 users, load average: 0.06, 0.06, 0.01
GPU GeForce 8600 GTS Silent - Driver Version: 256.35

Hi,

I have dvd, will try it when I get in suse. I run 11.2 x64. I’ve oss repo enabled.

Errm, not really. I installed libcap and other dependencies at the same time. I found libdnet i386 but it didnt work.

But it’s there openSUSE:11.2/standard?
http://tinyurl.com/2v2mqru
http://download.opensuse.org/distribution/11.2/repo/oss/suse/x86_64/


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.32.12-0.7-default
up 12:02, 2 users, load average: 0.18, 0.08, 0.01
GPU GeForce 8600 GTS Silent - Driver Version: 256.35

Tried 1 click install after satisfying dependency of libdnet1-1.11 but still cant install libdnet with 1 click or from YaST.

Hi, got libdnet-devel by 1 click after adding another repo. Let me compile and I get back.

It still doesnt work.

Tried other dependencies but still it gives some sort of error -

linux-lst5:/home/david/arpd # ./configure --with-libdnet=/usr/local/libdnet --with-libevent=/usr/local/libevent
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for mawk... no
checking for gawk... gawk
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... yes
checking for libdnet... /usr/local/libdnet
configure: error: dnet-config not found in /usr/local/libdnet/bin

Can anyone tell what do I do in order to make install of arpd. MAWK isnt in use for long and it uses GAWK.

Hi
Just use;


../configure --prefix=/usr

libdnet is installed via rpm and doesn’t live in /usr/local.


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.32.12-0.7-default
up 21:01, 2 users, load average: 0.06, 0.05, 0.01
GPU GeForce 8600 GTS Silent - Driver Version: 256.35

Its not working still

21:54 linux-lst5:/home/david # cd arpd
21:55 linux-lst5:/home/david/arpd # ./configure --with-libdnet=/usr/local/libdnet --with-libevent=/usr
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for mawk... no
checking for gawk... gawk
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... yes
checking for libdnet... /usr/local/libdnet
configure: error: dnet-config not found in /usr/local/libdnet/bin

did a web check, a lot of suse users have this issue.

Tried with python as well but still no luck.

linux-lst5:/home/david/arpd # ./configure --with-libevent=/usr/libevent --with-libdnet=/usr/libdnet --with-python                                                                                                     
checking for a BSD compatible install... /usr/bin/install -c                                            
checking whether build environment is sane... yes                                                       
checking whether make sets ${MAKE}... yes                                                               
checking for working aclocal... found                                                                   
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for mawk... no
checking for gawk... gawk
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... yes
checking for libdnet... /usr/libdnet
configure: error: dnet-config not found in /usr/libdnet/bin

Hi
Just install iproute2 which includes arpd? Else can you provide a link
to your source download?


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.32.12-0.7-default
up 21:56, 2 users, load average: 0.09, 0.07, 0.02
GPU GeForce 8600 GTS Silent - Driver Version: 256.35