[Xorp-hackers] Adding a XORP Process
Victor Faion
vfaion at gmail.com
Wed Dec 10 12:31:23 PST 2008
On Wed, Dec 10, 2008 at 20:20, Atanu Ghosh <atanu at xorp.org> wrote:
> Hi,
>
> The examples directory is not in the last release, it is only in CVS, it
> will appear in the next release.
>
> Atanu.
>
>>>>>> "Victor" == Victor Faion <vfaion at gmail.com> writes:
>
> Victor> On Wed, Dec 10, 2008 at 18:41, Atanu Ghosh <atanu at xorp.org> wrote:
> >> Hi,
> >>
> >> You may want to also look in the examples directory, there is a
> >> directory usermgr that has a simple working example of add a XORP
> >> process.
> >>
> >> Atanu.
> >>
> >>>>>>> "Pavlin" == Pavlin Radoslavov <pavlin at ICSI.Berkeley.EDU> writes:
> >>
> Pavlin> Victor Faion <vfaion at gmail.com> wrote:
> >>
> >> >> Hello,
> >> >>
> >> >> I was trying to create a new XORP process by following the guide. I
> >> >> created an interface (.xif file in /xrl/interfaces) and then added
> >> >> this to /xrl/intefaces/Makefile.am :
> >> >>
> >> >> noinst_LTLIBRARIES += libipsfxif.la
> >> >> libipsfxif_la_SOURCES = ipsf_xif.hh ipsf_xif.cc
> >> >>
> >> >> Then I was trying to generate the Makefile.in with automake but it
> >> >> wasn't working. I ran automake from the root folder but I go some
> >> >> errors:
> >> >>
> >> >> ...
> >> >> xrl/interfaces/Makefile.am:11: Libtool library used but `LIBTOOL' is undefined
> >> >> xrl/interfaces/Makefile.am:11: The usual way to define `LIBTOOL' is
> >> >> to add `AC_PROG_LIBTOOL'
> >> >> xrl/interfaces/Makefile.am:11: to `configure.in' and run `aclocal'
> >> >> and `autoconf' again.
> >> >> xrl/interfaces/Makefile.am:11: If `AC_PROG_LIBTOOL' is in
> >> >> `configure.in', make sure
> >> >> xrl/interfaces/Makefile.am:11: its definition is in aclocal's search path.
> >> >> ...
> >> >>
> >> >> I checked and AC_PROG_LIBTOOL is in configure.in but when I run
> >> >> aclocal I get these errors
> >> >>
> >> >> /usr/share/aclocal/libmcrypt.m4:17: warning: underquoted definition of
> >> >> AM_PATH_LIBMCRYPT
> >> >> /usr/share/aclocal/libmcrypt.m4:17: run info '(automake)Extending aclocal'
> >> >> /usr/share/aclocal/libmcrypt.m4:17: or see
> >> >> http://sources.redhat.com/automake/automake.html#Extending-aclocal
> >> >>
> >> >> and from autoconf I get the following:
> >> >>
> >> >> configure.in:173: error: possibly undefined macro: AC_DISABLE_SHARED
> >> >> If this token and others are legitimate, please use m4_pattern_allow.
> >> >> See the Autoconf documentation.
> >> >> configure.in:174: error: possibly undefined macro: AC_DISABLE_FAST_INSTALL
> >> >> configure.in:175: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
> >> >> configure.in:176: error: possibly undefined macro: AC_PROG_LIBTOOL
> >> >>
> >> >> Not really sure if this is the right way to regenerate the
> >> >> /xrl/interfaces/Makefile.in from /xrl/interfaces/Makefile.am, perhaps
> >> >> XORP has its own scripts to do this?
> >>
> Pavlin> Yes, please run ./bootstrap in the top-level XORP directory.
> Pavlin> However, first make sure that your autoconf/automake/libtool
> Pavlin> versions are same as those specified in README. After that
> Pavlin> check the beginning of bootstrap about the executable names that
> Pavlin> bootstrap assumes. If they are different on your system, then use
> Pavlin> the corresponding environmental variables to overwrite them.
> >>
> Pavlin> Pavlin
> >>
> >> >> _______________________________________________
> >> >> Xorp-hackers mailing list
> >> >> Xorp-hackers at icir.org
> >> >> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers
> >>
> Pavlin> _______________________________________________
> Pavlin> Xorp-hackers mailing list
> Pavlin> Xorp-hackers at icir.org
> Pavlin> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers
> >>
>
>
> Victor> Sorry Pavlin I had missed that bit of the guide as it was at the end.
> Victor> Thanks for the help it's all working now :-)
> Victor> Atanu: Where did you get the examples directory from? I don't have that one.
>
> Victor> Victor
>
Thanks, I will check it out.
Victor
More information about the Xorp-hackers
mailing list