[Xorp-hackers] problem compiling xorp - ubuntu

Aleksandar Cvjetic aleksandar.cvjetic at gmail.com
Mon Jan 11 11:58:13 PST 2010


To save everyone's time striving to install XORP SVN version on Ubuntu9.10,
below is the list of packages that might be needed (among the rest) before
successful installation:

- scons toolset  (apt-get install scons)

- apt-get install libboost-regex-dev ( or apt-get install
libboost-regex1.40-dev for boost1.4)

- apt-get install libssl-dev
- apt-get install libpcap-dev

- apt-get install libncurses5-dev


To compile and install:


scons

scons install at xorp top level directory.


xorp_rtrmgr and xorpsh scripts needed to run XORP router are then placed in
/usr/local/xorp/sbin:


./xorp_rtrmgr -b <bootfile_name.boot>

./xorpsh


rm -fr obj  is needed if you fail to compile (as I did), to be sure next
time it reconfigures and re-builds properly.


Thanks to Ben,

Alex





On Mon, Jan 11, 2010 at 7:38 PM, Ben Greear <greearb at candelatech.com> wrote:

> On 01/11/2010 10:37 AM, Aleksandar Cvjetic wrote:
>
>> Many thanks Ben! Finally It works.
>>
>>
> Pls post a followup to the list so that others can learn how
> you did it.
>
> Thanks,
> Ben
>
>  Thank you,
>> Aleksndar
>>
>>
>>
>> On Mon, Jan 11, 2010 at 12:52 AM, Ben Greear <greearb at candelatech.com
>> <mailto:greearb at candelatech.com>> wrote:
>>
>>    On 01/10/2010 08:42 AM, Aleksandar Cvjetic wrote:
>>
>>        Thanks Ben. It seems compilation passed well:
>>
>>  .......................................................................
>>        -lxst_bgp -lxst_fea_ifmgr_mirror -lxif_rib
>>        -lxif_finder_event_notifier
>>        -lxif_profile_client -lxif_fea_ifmgr_mirror
>>        -lxif_fea_ifmgr_replicator
>>        -lxorp_ipc -lxorp_core -lxorp_comm
>>        scons: done building targets.
>>        root at aleks:~/xorp.ct#
>>
>>        But isn't neccessary for xorp_rtrmgr i xorpsh scripts to be
>>        under rtrmgr
>>        direct. after compilation to run them in order to start xorp?  Or I
>>        haven't succeed yet ....
>>
>>
>>    scons install
>>    should do the trick I believe.
>>
>>    That will put it in /usr/local/xorp/
>>
>>    Ben
>>
>>
>>
>>        Thank you,
>>        Alex
>>
>>        On Fri, Jan 8, 2010 at 6:47 PM, Ben Greear
>>        <greearb at candelatech.com <mailto:greearb at candelatech.com>
>>        <mailto:greearb at candelatech.com
>>
>>        <mailto:greearb at candelatech.com>>> wrote:
>>
>>            On 01/08/2010 03:04 AM, Aleksandar Cvjetic wrote:
>>
>>                Hi Ben,
>>
>>                Unfortunatelly, still have the same problem. I installed
>>        boost
>>                1.4 lib
>>                with:
>>                apt-get install libboost1.40-dev
>>                and try your command:
>>                root at aleks:~/xorp.ct# apt-get install
>> libboost-regex1.40-dev
>>                Reading package lists... Done
>>                Building dependency tree
>>                Reading state information... Done
>>                libboost-regex1.40-dev is already the newest version.
>>                0 upgraded, 0 newly installed, 0 to remove and 0 not
>>        upgraded.
>>                and:
>>
>>
>>            You have to rm -fr obj
>>            to make sure it re-builds & re-configures everything properly.
>>
>>            If it still fails, look at the config log in the obj/*/ dir and
>>            look for compile errors about boost.  See if you can manually
>>            get those tests to pass (usually just need to compile a small
>>            test program).
>>
>>
>>
>>                root at aleks:~/xorp.ct#scons
>>                ...............................................
>>                ...............................................
>>                gave me the same error as before.
>>
>>                Have you found something helpfull from
>>                dpkg -l that I'm missing?
>>
>>
>>            I need to power my ubuntu machine back on and
>>        compare..haven't had
>>            time yet.
>>
>>
>>            Thanks,
>>            Ben
>>
>>
>>            --
>>            Ben Greear <greearb at candelatech.com
>>        <mailto:greearb at candelatech.com> <mailto:greearb at candelatech.com
>>
>>        <mailto:greearb at candelatech.com>>>
>>
>>            Candela Technologies Inc http://www.candelatech.com
>>
>>
>>
>>
>>    --
>>    Ben Greear <greearb at candelatech.com <mailto:greearb at candelatech.com>>
>>    Candela Technologies Inc http://www.candelatech.com
>>
>>
>>
>
> --
> Ben Greear <greearb at candelatech.com>
> Candela Technologies Inc  http://www.candelatech.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-hackers/attachments/20100111/f6edf262/attachment.html 


More information about the Xorp-hackers mailing list