* [LARTC] Problems with tcng and gentoo
@ 2003-10-30 9:46 Wouter Coppens
0 siblings, 0 replies; 2+ messages in thread
From: Wouter Coppens @ 2003-10-30 9:46 UTC (permalink / raw)
To: lartc
[-- Attachment #1: Type: text/plain, Size: 300 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 1726 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [LARTC] Problems with tcng and gentoo
@ 2003-11-04 13:09 raptor
0 siblings, 0 replies; 2+ messages in thread
From: raptor @ 2003-11-04 13:09 UTC (permalink / raw)
To: lartc
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-11-04 13:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-04 13:09 [LARTC] Problems with tcng and gentoo raptor
-- strict thread matches above, loose matches on Subject: below --
2003-10-30 9:46 Wouter Coppens
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.