Brilliant! Waiting for next release :) On Thu, Sep 10, 2015 at 6:40 PM, Alfredo Cardigliano <cardigli...@ntop.org> wrote: > Hi Stefan > update: we removed the libnuma dependency in pfring, it is no more needed as > we wrote our own code for numa affinity. > > Regards > Alfredo > > On 25 Aug 2015, at 08:31, Stefan Binna <stefan.bi...@salzburgresearch.at> > wrote: > > Hi Luca, > > I am currently using the following: > > Ubuntu 12.04.5 LTS (kernel: 3.13.0-32-generic) > GCC: (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 > CPU: Intel i5-4460S @ 2.9GHz > > Thanks. > Kind regards, Stefan. > > Am 25.08.2015 um 08:28 schrieb Luca Deri: > > Stefan > what CPU/gcc version are you using on your PC? it seems that for some reason > your gcc does not accept some Cli options we use. You are on Ubuntu 12 LTS, > correct? > > Luca > > On 25 Aug 2015, at 08:23, Stefan Binna <stefan.bi...@salzburgresearch.at> > wrote: > > Anyone an idea? > > Kind regards, > Stefan. > > Am 21.08.2015 um 13:51 schrieb Stefan Binna: > > Hi Yuri, > > I know it's pretty crazy. > > This is the output of dpkg -l | grep numa: > > ii libnuma-dev 2.0.8~rc3-1 > Development files for libnuma > ii libnuma1 2.0.8~rc3-1 > Libraries for controlling NUMA policy > > This is part of the output of config.log: > > configure:3617: result: no > configure:3650: checking for numa_available in -lnuma > configure:3675: gcc -o conftest -march=core-avx2 -mtune=core-avx2 > conftest.c -lnuma >&5 > conftest.c:1:0: error: bad value (core-avx2) for -march= switch > conftest.c:1:0: error: bad value (core-avx2) for -mtune= switch > configure:3675: $? = 1 > configure: failed program was: > | /* confdefs.h */ > | #define PACKAGE_NAME "pfring.c" > | #define PACKAGE_TARNAME "pfring-c" > | #define PACKAGE_VERSION "1.0" > | #define PACKAGE_STRING "pfring.c 1.0" > | #define PACKAGE_BUGREPORT "" > | #define PACKAGE_URL "" > | #define STDC_HEADERS 1 > | #define HAVE_SYS_TYPES_H 1 > | #define HAVE_SYS_STAT_H 1 > | #define HAVE_STDLIB_H 1 > | #define HAVE_STRING_H 1 > | #define HAVE_MEMORY_H 1 > | #define HAVE_STRINGS_H 1 > | #define HAVE_INTTYPES_H 1 > | #define HAVE_STDINT_H 1 > | #define HAVE_UNISTD_H 1 > | #define HAVE_LINUX_NET_TSTAMP_H 1 > | /* end confdefs.h. */ > | > | /* Override any GCC internal prototype to avoid an error. > | Use char because int might match the return type of a GCC > | builtin and then its argument prototype would still apply. */ > | #ifdef __cplusplus > | extern "C" > | #endif > | char numa_available (); > | int > | main () > | { > | return numa_available (); > | ; > | return 0; > | } > configure:3684: result: no > configure:3690: checking if libnuma is present > configure:3698: result: no > > This is actually where libnuma is located, output of the command find / > -iname "*libnuma*": > > /usr/share/doc/libnuma-dev > /usr/share/doc/libnuma1 > /usr/lib/libnuma.so > /usr/lib/libnuma.so.1 > /usr/lib/libnuma.a > /var/lib/dpkg/info/libnuma1.md5sums > /var/lib/dpkg/info/libnuma1.shlibs > /var/lib/dpkg/info/libnuma1.list > /var/lib/dpkg/info/libnuma-dev.md5sums > /var/lib/dpkg/info/libnuma1.postrm > /var/lib/dpkg/info/libnuma1.postinst > /var/lib/dpkg/info/libnuma-dev.list > /var/cache/apt/archives/libnuma1_2.0.8~rc3-1_amd64.deb > /var/cache/apt/archives/libnuma-dev_2.0.8~rc3-1_amd64.deb > > I actually don't understand why it doesn't recognise libnuma as installed. > Is there anything wrong with the path where libnuma is located? > > Thanks very much for your help. > > Best regards, > Stefan. > > Am 20.08.2015 um 19:24 schrieb Yuri Francalacci: > > Stefan, > could you please check the config.log in the lib directory once you have run > the configure script? > > In an ubuntu 12.04 system, with numa packages installed >> dpkg -l |grep numa > ii libnuma-dev 2.0.8~rc3-1 > Development files for libnuma > ii libnuma1 2.0.8~rc3-1 > Libraries for controlling NUMA policy > > the configure script should print something as > <…> > checking for numa_available in -lnuma... yes > checking if libnuma is present... yes > <…> > Yuri > ############################################### > Yuri Francalacci - y...@ntop.org - http://www.ntop.org > "Simplicity is the ultimate sophistication" - Leonardo da Vinci > ############################################### > > On 20 Aug 2015, at 09:52, Stefan Binna <stefan.bi...@salzburgresearch.at> > wrote: > > Hi Alfredo, > thanks for the quick response. > > I thought that too, but the thing is that libnuma-dev and libnuma1 are > already installed. > > They show up as installed packages with the newest version. > > Despite all that I still get the same compile error as stated in my previous > post. Even if I run the configure script under PF_RING/userland/lib. > > Thanks in advance. > Best regards, Stefan. > > Am 19.08.2015 um 21:26 schrieb Alfredo Cardigliano: > > Hi Stefan > it seems libnuma is not installed, please make sure you have: > > # dpkg --get-selections| grep numa > libnuma-dev:amd64 install > libnuma1:amd64 install > > and run: > > PF_RING/userland/lib # ./configure > > Alfredo > > On 19 Aug 2015, at 19:44, Stefan Binna <stefan.bi...@salzburgresearch.at> > wrote: > > Hi, > > I am currently trying to implement PF_RING on Ubuntu 12.04.5 LTS Server with > Kernel 3.13.0-32-generic. > > I tried following sources: > > - git clone https://github.com/ntop/PF_RING > - PF_RING-6.0.3.tar.gz > > I have installed following packages to fulfill the build requirements, > furthermore the Ubuntu has the newest packages available installed: > > build-essentials, libnuma-dev, libnuma1, dkms, debhelper > > When I try to build the .deb package manually, as described here: > http://packages.ntop.org/ubuntu/12.04/x64/PF_RING/ > > I ALWAYS get the following build errors after like 2 minutes of compiling: > > [...] > checking librdi.h usability... no > checking librdi.h presence... no > checking for librdi.h... no > checking for pthread_setaffinity_np in -lpthread... no > checking for librdi.h... (cached) no > checking for redisCommand in -lhiredis... no > checking for numa_available in -lnuma... no > checking if libnuma is present... no > Please install libnuma-dev in order to use PF_RING > make[2]: Entering directory `/root/PF_RING/userland/lib' > make[2]: *** No targets specified and no makefile found. Stop. > make[2]: Leaving directory `/root/PF_RING/userland/lib' > make[1]: *** [libpfring] Error 2 > make[1]: Leaving directory `/root/PF_RING/userland' > make: *** [pre-build-core] Error 2 > > What can I do to succeed in a successful build? > > Thanks very much in advance. > > Kind regards, Stefan. > _______________________________________________ > Ntop-misc mailing list > Ntop-misc@listgateway.unipi.it > http://listgateway.unipi.it/mailman/listinfo/ntop-misc > > > > _______________________________________________ > Ntop-misc mailing list > Ntop-misc@listgateway.unipi.it > http://listgateway.unipi.it/mailman/listinfo/ntop-misc > > > _______________________________________________ > Ntop-misc mailing list > Ntop-misc@listgateway.unipi.it > http://listgateway.unipi.it/mailman/listinfo/ntop-misc > > > > > _______________________________________________ > Ntop-misc mailing list > Ntop-misc@listgateway.unipi.it > http://listgateway.unipi.it/mailman/listinfo/ntop-misc > > > > > _______________________________________________ > Ntop-misc mailing list > Ntop-misc@listgateway.unipi.it > http://listgateway.unipi.it/mailman/listinfo/ntop-misc > > > _______________________________________________ > Ntop-misc mailing list > Ntop-misc@listgateway.unipi.it > http://listgateway.unipi.it/mailman/listinfo/ntop-misc > > > > > _______________________________________________ > Ntop-misc mailing list > Ntop-misc@listgateway.unipi.it > http://listgateway.unipi.it/mailman/listinfo/ntop-misc > > > _______________________________________________ > Ntop-misc mailing list > Ntop-misc@listgateway.unipi.it > http://listgateway.unipi.it/mailman/listinfo/ntop-misc > > > > _______________________________________________ > Ntop-misc mailing list > Ntop-misc@listgateway.unipi.it > http://listgateway.unipi.it/mailman/listinfo/ntop-misc
-- Sincerely yours, Pavel Odintsov _______________________________________________ Ntop-misc mailing list Ntop-misc@listgateway.unipi.it http://listgateway.unipi.it/mailman/listinfo/ntop-misc