You are not logged in.

#1 2012-08-10 01:17:51

dgbaley27
Member
Registered: 2011-07-22
Posts: 47

[SOLVED] Unable to build "netbee" on Arch, but works on Ubuntu

I need to build netbee as a dependency for something else. I've been having trouble building it on Arch, so I gave Ubuntu a try as that was used in the README. I can't yet figure out why it's not working on Arch...

The source is available here: http://www.nbee.org/download/nbeesrc-12-06-01.zip.

It works this far on Arch and Ubuntu:

$ mkdir tmp
$ cd tmp
$ curl -O http://www.nbee.org/download/nbeesrc-12-06-01.zip
$ unzip nbeesrc-12-06-01.zip
$ cd netbee/src
$ cmake .
$ make

Now, on Arch:

$ cd ../tools
$ cmake .
$ make
Scanning dependencies of target nbeedump
[  9%] Building CXX object nbeedump/CMakeFiles/nbeedump.dir/configparams.o
[ 18%] Building CXX object nbeedump/CMakeFiles/nbeedump.dir/nbeedump.o
Linking CXX executable nbeedump
/home/matt/tmp/netbee/tools/nbeedump/../../bin/libnbprotodb.so: undefined reference to `pdl_parse(void**)'
collect2: error: ld returned 1 exit status
make[2]: *** [nbeedump/nbeedump] Error 1
make[1]: *** [nbeedump/CMakeFiles/nbeedump.dir/all] Error 2
make: *** [all] Error 2

whereas on Ubuntu 12.04, this works just fine. Does anyone have any insight?

Thanks!

Last edited by dgbaley27 (2012-08-26 05:50:07)

Offline

#2 2012-08-10 01:28:17

dgbaley27
Member
Registered: 2011-07-22
Posts: 47

Re: [SOLVED] Unable to build "netbee" on Arch, but works on Ubuntu

Oh, and Ubuntu is 64bit running in kvm, Arch is 64bit with the multilib gcc

Offline

#3 2012-08-10 19:58:24

dgbaley27
Member
Registered: 2011-07-22
Posts: 47

Re: [SOLVED] Unable to build "netbee" on Arch, but works on Ubuntu

Update: can build on Fedora 17 as well =/

Offline

#4 2012-08-26 03:16:19

switchcade
Member
Registered: 2012-08-26
Posts: 1

Re: [SOLVED] Unable to build "netbee" on Arch, but works on Ubuntu

The problem was bison-2.6. I've just chucked together a PKGBUILD for netbee here: https://aur.archlinux.org/packages.php?ID=62293

Tested on x86_64, building of12softswitch. The PKGBUILD is pretty much pieced together from some of the tips on that github repository. Feedback welcome.

Last edited by switchcade (2012-08-26 03:37:52)

Offline

#5 2012-08-26 05:03:41

dgbaley27
Member
Registered: 2011-07-22
Posts: 47

Re: [SOLVED] Unable to build "netbee" on Arch, but works on Ubuntu

Crap, I forgot to inform this thread. That was me with the instructions on github smile.

What are you using ofsoftswitch for? Do you know of OpenFlow switch supporting 1.3 with an in-kernel datapath?

Offline

Board footer

Powered by FluxBB