Unix Technical Forum

iproute2 compiling

This is a discussion on iproute2 compiling within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> I saw some posts on this but not a direct solution so forgive me if there is one available... ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2008, 09:24 PM
Keith C. Perry
 
Posts: n/a
Default iproute2 compiling

I saw some posts on this but not a direct solution so forgive me if
there is one available...

I'm trying to compile iproute2 on my linux router and it is failing
(with the same errors that have been posted previously so I won't
repeat them here- unless asked).

I know that my 9.1 disk 2 extras directory has the package but this
router is 8.0 and I actually don't have time to upgrade to a new
distribution. This the first time I've had a problem compiling
"basic" network software on Slackware so I'm guessing that there is
something in the code that specific to some other disto (like one of
those rpm types???). I would prefer to compile this software (even
for my 9.1 boxen) so can someone post the patch or steps needed to
compile iproute2 for Slackware.

Thanks in advance
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-18-2008, 09:24 PM
/dev/rob0
 
Posts: n/a
Default Re: iproute2 compiling

In article <a17e8509.0312181105.7ad1161a@posting.google.com >,
Keith C. Perry wrote:
> for my 9.1 boxen) so can someone post the patch or steps needed to
> compile iproute2 for Slackware.


A script for you:
#v+
FTP="ftp.slackware.at" # or any mirror with full path
VERSION=slackware-9.1
IPROUTE2="extra/source/iproute2-2.4.7-now-ss020116"
CUT="3" # probably need more for other $FTP sites
wget -nH -r --cut-dirs=$CUT ftp://$FTP/$VERSION/$IPROUTE2
cd iproute2-2.4.7-now-ss020116
su -c ./iproute2.build
#v-
Don't worry, it wasn't any work for me: it's just adapted from my own
script to wget the -current tree.

A hint for you and others: Pat always gives us every detail of how it
was done in the source directory for each package.
--
/dev/rob0 - preferred_email=i$((28*28+28))@softhome.net
or put "not-spam" or "/dev/rob0" in Subject header to reply
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-18-2008, 09:25 PM
Keith C. Perry
 
Posts: n/a
Default Re: iproute2 compiling

/dev/rob0 <rob0@gmx.co.uk> wrote in message news:<slrnbu42d5.5ub.rob0@linuxbox.linux.box>...
> In article <a17e8509.0312181105.7ad1161a@posting.google.com >,
> Keith C. Perry wrote:
> > for my 9.1 boxen) so can someone post the patch or steps needed to
> > compile iproute2 for Slackware.

>
> A script for you:
> #v+
> FTP="ftp.slackware.at" # or any mirror with full path
> VERSION=slackware-9.1
> IPROUTE2="extra/source/iproute2-2.4.7-now-ss020116"
> CUT="3" # probably need more for other $FTP sites
> wget -nH -r --cut-dirs=$CUT ftp://$FTP/$VERSION/$IPROUTE2
> cd iproute2-2.4.7-now-ss020116
> su -c ./iproute2.build
> #v-
> Don't worry, it wasn't any work for me: it's just adapted from my own
> script to wget the -current tree.
>
> A hint for you and others: Pat always gives us every detail of how it
> was done in the source directory for each package.


Funny... I just finished poking around the extra/source directory (on
ftp since I didn't think to check disks 3 & 4) and realized the goal
mine was there!

I'm going to read through Pat's source notes and see what that yeilds
on the 8.0 box.

Thanks again-
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-18-2008, 09:27 PM
/dev/rob0
 
Posts: n/a
Default Re: iproute2 compiling

In article <a17e8509.0312182103.4dedb365@posting.google.com >,
Keith C. Perry wrote:
> I'm going to read through Pat's source notes and see what that yeilds
> on the 8.0 box.


FWIW, I recently decommissioned my own 8.0 server, but I generally found
that SlackBuild scripts from 9.x and -current would work on there with
very little tweaking. The biggest "gotcha" was to change all the tar
commands for bzip2'ed files from "j" to "y".

The next big "gotcha" was to be careful in upgradepkg'ing, because a lot
of things which shipped in meta-packages for 8.0 were split out later. I
did an upgradepkg of 8.0's tcpip.tgz ... a disaster.
--
/dev/rob0 - preferred_email=i$((28*28+28))@softhome.net
or put "not-spam" or "/dev/rob0" in Subject header to reply
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-18-2008, 09:28 PM
Keith C. Perry
 
Posts: n/a
Default Re: iproute2 compiling

/dev/rob0 <rob0@gmx.co.uk> wrote in message news:<slrnbu6oqs.qp5.rob0@linuxbox.linux.box>...
> In article <a17e8509.0312182103.4dedb365@posting.google.com >,
> Keith C. Perry wrote:
> > I'm going to read through Pat's source notes and see what that yeilds
> > on the 8.0 box.

>
> FWIW, I recently decommissioned my own 8.0 server, but I generally found
> that SlackBuild scripts from 9.x and -current would work on there with
> very little tweaking. The biggest "gotcha" was to change all the tar
> commands for bzip2'ed files from "j" to "y".
>
> The next big "gotcha" was to be careful in upgradepkg'ing, because a lot
> of things which shipped in meta-packages for 8.0 were split out later. I
> did an upgradepkg of 8.0's tcpip.tgz ... a disaster.


*nod* Ok, as long as I've been using Slackware (forever!) I've
actually never upgraded packages. I compiled code. However I did
start doing that with 9.0. That is good to hear that they worked
crossed versions. Not that I'm surprised ...

I tried to do the build for iproute2 and it didn't go so I'll try it
out on 9.0 for sanity sake and just upgrade the 8.0 box to 9.1

Thanks again-
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-18-2008, 09:29 PM
Stefan Ullrich
 
Posts: n/a
Default Re: iproute2 compiling

i found out i had to compile the QOS stuff in the kernel source
directly into the kernel (version 2.4.23) not as modules.
this is for slack 9.1.

hope this is of some help
cheers
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:26 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com