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... ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 |
| |||
| 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 |
| |||
| /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- |
| |||
| 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 |
| |||
| /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- |