Gentoo Archives: gentoo-user

From: Holly Bostick <motub@××××××.nl>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Sun Java JDK upgrade problem
Date: Fri, 16 Sep 2005 16:58:49
Message-Id: 432AF8AA.1040906@planet.nl
In Reply to: Re: [gentoo-user] Sun Java JDK upgrade problem by Chris Woods
1 Chris Woods schreef:
2 >
3 > On Sep 16, 2005, at 10:02 AM, Andreas Karlsson wrote:
4 >
5 >>
6 >> * Please download j2sdk-1_4_2_09-linux-i586.bin from: *
7 >> http://javashoplm.sun.com/ECom/docs/Welcome.jsp?
8 >> StoreId=22&PartDetailId=j2sdk-1.4.2_09-oth-
9 >> JPR&SiteId=JSC&TransactionId=noreg * (SDK 32-bit/64-bit for
10 >> Windows/Linux/Solaris SPARC 32-bit for Solaris x86, then select
11 >> download Linux Self-extracting. * and move it to /distfiles
12 >
13 >
14 > Mine tells me to move it to /usr/portage/distfiles. Sounds like
15 > there's an environment variable that tells portage where to find
16 > distfiles, and yours for some reason is set to "/distfiles".
17 >
18 > Cheers, Chris
19 >
20 Oooh, nice catch! I was looking at this and didn't see that.... anyway,
21 the environment variable you're talking about is in /etc/make.conf, and
22 looks like this:
23
24 PORTDIR=/usr/portage
25 DISTDIR=${PORTDIR}/distfiles
26
27 So the resulting DISTDIR variable expands to /usr/portage/distfiles
28 (since ${PORTDIR}=/usr/portage).
29
30 That's where I'd check to see if something went wrong (perhaps
31 /etc/make.conf was improperly edited?).
32
33 Holly
34 --
35 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Sun Java JDK upgrade problem Andreas Karlsson <hermes@××××.se>