The reason the multi-level server make failed is because the compiler couldn't find libnetconf_tls.h.
gary@gary-VirtualBox:~/netopeer/server$ make
gcc -Wall -Wextra -O3 -pthread -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/local/include -I/usr/include/libxml2 -DBINDIR=\"/usr/local/bin\" -DCFG_DIR=\"//etc/netopeer\" -DMODULES_CFG_DIR=\"//etc/netopeer/modules.conf.d//\" -DVERSION=\"0.6.0\" -fPIC -c src/netconf-server-transapi.c -o .obj/src/netconf-server-transapi.o
src/netconf-server-transapi.c:64:28: fatal error: libnetconf_tls.h: No such file or directory
#include <libnetconf_tls.h>
^
compilation terminated.
make: *** [.obj/src/netconf-server-transapi.o] Error 1
Thanks in advance for the help Everybody!
--
You received this message because you are subscribed to the Google Groups "libnetconf" group.
To unsubscribe from this group and stop receiving emails from it, send an email to libnetconf+...@googlegroups.com.
Visit this group at http://groups.google.com/group/libnetconf.
For more options, visit https://groups.google.com/d/optout.
I will upload lab notes, Yang model, and source code as they become available.
I have three questions.
Many thanks Radek and all,
Gary
My tests and development steps are to:
- Test the multi-level server and cli
- Add my own (very simple) Yang model to the multi-level server
- Test my own Yang model with the cli
I will upload lab notes, Yang model, and source code as they become available.
I have three questions.
- Will I be using TransAPI for doing step 2 above?
- Where is TransAPI?
- Where is the TransAPI documentation?
Hi Radek,
Hi Gary,
I have some question to the notes you enclosed.
1) In 1. it installs libxml2 package - is there any libxml2-dev package on Ubuntu No. I messed this up or does this package include header files? Because it is strange for me, that in 9. you are a forcing configure to start with CPPFLAGS set to -I/usr/local/include/libxml2, which probably means, that these header files were installed not from the package, but from the source codes using make install. Be careful with this, since the header files can have different version than binaries installed from libxml2 package. I also don't understand why are you specifying CPPFLAGS for cli and you don't do that for servers. I mistakenly and blindly copied steps from the previous procedure.
2) why do you need -lncurses in cli? I know, that Rapeno used it, but, can you try it without -lncurses? netopeer-cli requires only libreadline, not ncurses. I tried without and the CLI connects to server-sl just fine.
3) in 3. you don't use --with-group option - just note that this way, only members of the root group are able to connect to the netopeer-server. OK
Regards,
Radek
Hi Michal,
I will do tonight.. Will update you on this...
Thanks for all your help...
Regards,
Sanjib
--
You received this message because you are subscribed to a topic in the Google Groups "libnetconf" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/libnetconf/sVaj8tYYZC0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to libnetconf+...@googlegroups.com.
Hi Redek,
I already had libnetconf installed... on top of this I had to apply that package
I am following instructions as per this link
thanks,
Sanjib
--
You received this message because you are subscribed to the Google Groups "libnetconf" group.
To unsubscribe from this group and stop receiving emails from it, send an email to libnetconf+...@googlegroups.com.
Default path...