From: raptor <raptor@tvskat.net>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Problems with tcng and gentoo
Date: Tue, 04 Nov 2003 13:09:11 +0000 [thread overview]
Message-ID: <marc-lartc-106796071409182@msgid-missing> (raw)
Here is an .ebuild I'm just making for gentoo...
Not fully tested yet, but compilation goes fine and install on my test computer.(look below).
As I finish it I will give it to werner to include the .ebuild into the tcng itself...
(tcsim is not compiled )
copy it to net-misc, make digest and emerge..
hth
On Thu, 30 Oct 2003 10:46:47 +0100
"Wouter Coppens" <wouter.coppens@dedigate.com> wrote:
> Hey,
>
> I installed tcng on gentoo, but I always got the error:
> Could not run/locate "tcc"
>
> tcc is installed in /sbin.
>
> I read somewhere that you need a little patch to get tcng running on
> gentoo, but I can't find the patch.
>
> Can somebody help me?
>
> Thanks in advance,
>
> Wouter
>
===============.ebuild========# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: $
#made by raptor
DESCRIPTION="Traffic control Next Generation.Higher level than tc"
HOMEPAGE="http://tcng.sourceforge.net"
SRC_URI="http://tcng.sourceforge.net/dist/${P}.tar.gz"
LICENSE=""
SLOT="0"
KEYWORDS="x86"
# - additional packages needed after "make immaculate":
# transfig (fig2dev), wget
DEPEND=">=virtual/linux-sources-2.4.19
>=perl-5.6.1
>=iproute-20010824-r2
>=gnuplot-3.7.1-r3
>=binutils-2.13.90.0.4
>=gcc-3.2-r4
>=make-3.80
>=flex-2.5.4a
>=yacc-1.9.1-r1
>=grep-2.5-r1
>=sed-4.0.1
>=gawk-3.1.1-r1
>=textutils-2.1
>=fileutils-4.1.11
>=sh-utils-2.0.15
>=tetex-1.0.7-r12
"
#>=LaTeX
#>=dvips
S=${WORKDIR}/tcng
src_compile() {
#first put iproute sources in tcism
#if tcism is to be compiled. we dont do that
#create /var/tmp/portage/tcng-xxx/image/usr&bin in advance
#so that configure doesnt complain that it doesnt exists
dodir /usr/bin
#I'm using 2.4.22 so i had to handle it somehow :")
perl -pi -e 's/,2.4.21/2.4.21,2.4.22/' configure
# perl -pi -e 's|#!/bin/sh|#!/bin/sh\nTCNG_INSTALL_CWD=/usr|' ./scripts/localize.sh
./configure --no-tcsim \
--install-directory ${D}usr
emake || die
# echo
# einfo "Now will run tcng test suite.....\n\n"
# sleep 3
# make test
}
src_install() {
dodir /usr/bin
#For localization.sh to work corectly
#TCNG INSTALL/TOPDIR has to be /usr, instead of /var/tmp/portage/tcng-xx/image/usr...
TCNG_INSTALL_CWD=/usr einstall
}
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next reply other threads:[~2003-11-04 13:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-04 13:09 raptor [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-10-30 9:46 [LARTC] Problems with tcng and gentoo Wouter Coppens
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-lartc-106796071409182@msgid-missing \
--to=raptor@tvskat.net \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.