SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
well i want install ArpON in slack, but throw me the next error
CMake Error at cmake/modules/FindLibnet1.cmake:72 (message):
Could not find Libnet1! Please see in the ArpON 'README' file.
Call Stack (most recent call first):
CMakeLists.txt:103 (find_package)
How i can install Libnet1 in slackware? or someone that can help me to install ArpON 3.0?
I just built ArpON-3.0-ng.tar.gz with no issue, having libnet and libdnet built and installed from the SlackBuilds on SBo.
check that you built and installed both the libraries above from SBo.
I just extracted the tarball and then from the ArpON-3.0-ng folder I ran these commands
Code:
$ mkdir build
$ cd build
$ cmake -DCMAKE_C_FLAGS:STRING="-O2 -march=i486 -mtune=i686" -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
-- The C compiler identification is GNU 5.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Building ArpON for Operating System: GNU/Linux
-- Build type: Release
-- Looking for net/ethernet.h
-- Looking for net/ethernet.h - found
-- Looking for net/if.h
-- Looking for net/if.h - found
-- Looking for net/if_arp.h
-- Looking for net/if_arp.h - found
-- Looking for netinet/ether.h
-- Looking for netinet/ether.h - found
-- Looking for netinet/if_ether.h
-- Looking for netinet/if_ether.h - found
-- Looking for netinet/in.h
-- Looking for netinet/in.h - found
-- Looking for arpa/inet.h
-- Looking for arpa/inet.h - found
-- Looking for sys/socket.h
-- Looking for sys/socket.h - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for sys/time.h
-- Looking for sys/time.h - found
-- Looking for sys/select.h
-- Looking for sys/select.h - found
-- Looking for sys/ioctl.h
-- Looking for sys/ioctl.h - found
-- Looking for stdio.h
-- Looking for stdio.h - found
-- Looking for stdlib.h
-- Looking for stdlib.h - found
-- Looking for stdbool.h
-- Looking for stdbool.h - found
-- Looking for stdarg.h
-- Looking for stdarg.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for string.h
-- Looking for string.h - found
-- Looking for getopt.h
-- Looking for getopt.h - found
-- Looking for fcntl.h
-- Looking for fcntl.h - found
-- Looking for time.h
-- Looking for time.h - found
-- Looking for signal.h
-- Looking for signal.h - found
-- Looking for errno.h
-- Looking for errno.h - found
-- Looking for assert.h
-- Looking for assert.h - found
-- Found library: Pthreads
-- Found library: Librt
-- Found library: Libpcap
-- Found library: Libnet1
-- Found library: Libdnet
-- Configuring done
-- Generating done
-- Build files have been written to: /home/myuser/ArpON-3.0-ng/build
$ make
Scanning dependencies of target arpon
[ 5%] Building C object src/CMakeFiles/arpon.dir/arpca.c.o
[ 10%] Building C object src/CMakeFiles/arpon.dir/darpi.c.o
[ 15%] Building C object src/CMakeFiles/arpon.dir/darpica.c.o
[ 20%] Building C object src/CMakeFiles/arpon.dir/dmn.c.o
[ 25%] Building C object src/CMakeFiles/arpon.dir/env.c.o
[ 30%] Building C object src/CMakeFiles/arpon.dir/exit.c.o
[ 35%] Building C object src/CMakeFiles/arpon.dir/harpi.c.o
[ 40%] Building C object src/CMakeFiles/arpon.dir/intf.c.o
[ 45%] Building C object src/CMakeFiles/arpon.dir/ispn.c.o
[ 50%] Building C object src/CMakeFiles/arpon.dir/main.c.o
[ 55%] Building C object src/CMakeFiles/arpon.dir/msg.c.o
[ 60%] Building C object src/CMakeFiles/arpon.dir/opt.c.o
[ 65%] Building C object src/CMakeFiles/arpon.dir/proc.c.o
[ 70%] Building C object src/CMakeFiles/arpon.dir/rt.c.o
[ 75%] Building C object src/CMakeFiles/arpon.dir/sarpi.c.o
[ 80%] Building C object src/CMakeFiles/arpon.dir/sarpica.c.o
[ 85%] Building C object src/CMakeFiles/arpon.dir/sig.c.o
[ 90%] Building C object src/CMakeFiles/arpon.dir/std.c.o
[ 95%] Building C object src/CMakeFiles/arpon.dir/thd.c.o
[100%] Linking C executable arpon
[100%] Built target arpon
I just built ArpON-3.0-ng.tar.gz with no issue, having libnet and libdnet built and installed from the SlackBuilds on SBo.
check that you built and installed both the libraries above from SBo.
how you installed the arpon?
Download the tar
untar
cmake ..
make ???
I just built ArpON-3.0-ng.tar.gz with no issue, having libnet and libdnet built and installed from the SlackBuilds on SBo.
check that you built and installed both the libraries above from SBo.
I just extracted the tarball and then from the ArpON-3.0-ng folder I ran these commands
Code:
$ mkdir build
$ cd build
$ cmake -DCMAKE_C_FLAGS:STRING="-O2 -march=i486 -mtune=i686" -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
-- The C compiler identification is GNU 5.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Building ArpON for Operating System: GNU/Linux
-- Build type: Release
-- Looking for net/ethernet.h
-- Looking for net/ethernet.h - found
-- Looking for net/if.h
-- Looking for net/if.h - found
-- Looking for net/if_arp.h
-- Looking for net/if_arp.h - found
-- Looking for netinet/ether.h
-- Looking for netinet/ether.h - found
-- Looking for netinet/if_ether.h
-- Looking for netinet/if_ether.h - found
-- Looking for netinet/in.h
-- Looking for netinet/in.h - found
-- Looking for arpa/inet.h
-- Looking for arpa/inet.h - found
-- Looking for sys/socket.h
-- Looking for sys/socket.h - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for sys/time.h
-- Looking for sys/time.h - found
-- Looking for sys/select.h
-- Looking for sys/select.h - found
-- Looking for sys/ioctl.h
-- Looking for sys/ioctl.h - found
-- Looking for stdio.h
-- Looking for stdio.h - found
-- Looking for stdlib.h
-- Looking for stdlib.h - found
-- Looking for stdbool.h
-- Looking for stdbool.h - found
-- Looking for stdarg.h
-- Looking for stdarg.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for string.h
-- Looking for string.h - found
-- Looking for getopt.h
-- Looking for getopt.h - found
-- Looking for fcntl.h
-- Looking for fcntl.h - found
-- Looking for time.h
-- Looking for time.h - found
-- Looking for signal.h
-- Looking for signal.h - found
-- Looking for errno.h
-- Looking for errno.h - found
-- Looking for assert.h
-- Looking for assert.h - found
-- Found library: Pthreads
-- Found library: Librt
-- Found library: Libpcap
-- Found library: Libnet1
-- Found library: Libdnet
-- Configuring done
-- Generating done
-- Build files have been written to: /home/myuser/ArpON-3.0-ng/build
$ make
Scanning dependencies of target arpon
[ 5%] Building C object src/CMakeFiles/arpon.dir/arpca.c.o
[ 10%] Building C object src/CMakeFiles/arpon.dir/darpi.c.o
[ 15%] Building C object src/CMakeFiles/arpon.dir/darpica.c.o
[ 20%] Building C object src/CMakeFiles/arpon.dir/dmn.c.o
[ 25%] Building C object src/CMakeFiles/arpon.dir/env.c.o
[ 30%] Building C object src/CMakeFiles/arpon.dir/exit.c.o
[ 35%] Building C object src/CMakeFiles/arpon.dir/harpi.c.o
[ 40%] Building C object src/CMakeFiles/arpon.dir/intf.c.o
[ 45%] Building C object src/CMakeFiles/arpon.dir/ispn.c.o
[ 50%] Building C object src/CMakeFiles/arpon.dir/main.c.o
[ 55%] Building C object src/CMakeFiles/arpon.dir/msg.c.o
[ 60%] Building C object src/CMakeFiles/arpon.dir/opt.c.o
[ 65%] Building C object src/CMakeFiles/arpon.dir/proc.c.o
[ 70%] Building C object src/CMakeFiles/arpon.dir/rt.c.o
[ 75%] Building C object src/CMakeFiles/arpon.dir/sarpi.c.o
[ 80%] Building C object src/CMakeFiles/arpon.dir/sarpica.c.o
[ 85%] Building C object src/CMakeFiles/arpon.dir/sig.c.o
[ 90%] Building C object src/CMakeFiles/arpon.dir/std.c.o
[ 95%] Building C object src/CMakeFiles/arpon.dir/thd.c.o
[100%] Linking C executable arpon
[100%] Built target arpon
Thanks, i recently installed, now how i can make for call arpon with the command arpon in the console?
[cl45h-~]$> arpon
bash: arpon: command not found
if you followed the instruction I pasted above, after a "make install", arpon gets installed as /usr/sbin/arpon: it's a command to execute as root.
for support *running* arpon please refer to its site.
P.S. I suggest you to keep the sources at hand to be able to run eventually a "make uninstall".
i reinstalled as root and the same
tar -xzvf /home/cl45h/Downloads/ArpON-3.0-ng.tar.gz
cd ArpON-3.0-ng/
mkdir build
cd build/
cmake -DCMAKE_C_FLAGS:STRING="-O2 -march=i486 -mtune=i686" -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
make
bash-4.3# arpon
bash: arpon: command not found
so how i can continue?
You would need to install the package after you compile it by running make install as root.
Keep in mind, this will put files in your system that are not tracked by Slackware's package manager which can make it difficult to remove. You may want to keep your source available so you can uninstall the program in the future if needed. To do that, you'd run make uninstall from within the build directory (assuming the source supports it, not all do).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.