1 |
On 12/9/05, Billy Holmes <billy@××××××.net> wrote: |
2 |
> Peter Humphrey wrote: |
3 |
> > (Pardon my butting in, Billy; I thought my experience might help Mark.) |
4 |
> |
5 |
> no worries! What you said is pretty much on target except for the |
6 |
> distfiles, but as Duncan said, if you run a distfile cleaner it will |
7 |
> clean out the original tarball, however, the ebuild *should* download |
8 |
> the tarball from my site if it's not in distfiles. |
9 |
> |
10 |
> I should probably edit the patch and make it default to /mnt/gentoo32. |
11 |
> |
12 |
> Do you all think that would be the default that everyone uses? I setup |
13 |
> my chroot over a year ago, and I don't think the chroot handbook was |
14 |
> around then. |
15 |
> -- |
16 |
> gentoo-amd64@g.o mailing list |
17 |
> |
18 |
> |
19 |
|
20 |
Hi all, |
21 |
Sorry for the delay responding. I'm back as of yesterday from my |
22 |
class and starting to use my Gentoo AMD64 machine with it's chrooted |
23 |
environment more intensely. Things are progressing pretty nicely: |
24 |
|
25 |
Billy - I would agree with a default of /mnt/gentoo32 for now, just to |
26 |
match the manual. |
27 |
|
28 |
1) Everything seems to work fine so far as root. I have Firefox, Java, |
29 |
Flash and mplayer all working nicely. I can browse the web pages I |
30 |
need to and play the wmv video training files and do the exercises |
31 |
just fine. |
32 |
|
33 |
2) As a user, and using Peter's outline of how to fix my l32 setup, I |
34 |
am now able to get to the chrooted environment as a user. Thanks |
35 |
Peter! Note that I set it up as Peter suggested with the tar file in |
36 |
/usr/local/portage/distfiles. I take it from reading the rest of this |
37 |
thread that this is not required? |
38 |
|
39 |
3) Ar root in the chrroted environment I am not able to emerge vim |
40 |
successfully: |
41 |
|
42 |
lightning ~ # emerge -pv vim |
43 |
|
44 |
These are the packages that I would merge, in order: |
45 |
|
46 |
Calculating dependencies ...done! |
47 |
[ebuild N ] app-editors/vim-6.4 -acl -bash-completion -cscope |
48 |
+gpm -minimal +nls +perl +python -ruby -vim-with-x 0 kB |
49 |
|
50 |
Total size of downloads: 0 kB |
51 |
lightning ~ # |
52 |
|
53 |
will fail like this: |
54 |
|
55 |
config.status: creating auto/config.h |
56 |
make: Entering directory `/var/tmp/portage/vim-6.4/work/vim64/src' |
57 |
CC="i686-pc-linux-gnu-gcc -Iproto -DHAVE_CONFIG_H -O2 |
58 |
-march=athlon-xp -msse2 -pipe -fomit-frame-pointer -pipe |
59 |
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm |
60 |
-I/usr/lib/perl5/5.8.6/i686-linux/CORE -I/usr/include/python2.4 |
61 |
-pthread " srcdir=. sh ./osdef.sh |
62 |
mkdir objects |
63 |
make: Leaving directory `/var/tmp/portage/vim-6.4/work/vim64/src' |
64 |
make: *** empty string invalid as file name. Stop. |
65 |
* If the above messages seem to be talking about perl |
66 |
* and undefined references, please try re-emerging both |
67 |
* perl and libperl with the same USE flags. For more |
68 |
* information, see: |
69 |
* https://bugs.gentoo.org/show_bug.cgi?id=18129 |
70 |
|
71 |
!!! ERROR: app-editors/vim-6.4 failed. |
72 |
!!! Function vim_src_compile, Line 516, Exitcode 0 |
73 |
!!! emake failed |
74 |
!!! If you need support, post the topmost build error, NOT this status message. |
75 |
|
76 |
lightning ~ # |
77 |
|
78 |
I'm not clear what USE flags this message says should be the same. |
79 |
Possibly I should remove the perl flag from vim??? |
80 |
|
81 |
lightning ~ # emerge -pv vim perl libperl |
82 |
|
83 |
These are the packages that I would merge, in order: |
84 |
|
85 |
Calculating dependencies ...done! |
86 |
[ebuild N ] app-editors/vim-6.4 -acl -bash-completion -cscope |
87 |
+gpm -minimal +nls +perl +python -ruby -vim-with-x 0 kB |
88 |
[ebuild R ] dev-lang/perl-5.8.6-r8 +berkdb -build -debug -doc |
89 |
+gdbm -ithreads -minimal -perlsuid 0 kB |
90 |
[ebuild R ] sys-devel/libperl-5.8.6-r1 +berkdb -debug +gdbm -ithreads 0 kB |
91 |
|
92 |
Total size of downloads: 0 kB |
93 |
lightning ~ # |
94 |
|
95 |
4) OK, after chrooting into the new environment (l32 /bin/bash) I can |
96 |
run Firefox, but I'm surprised to see that I have all my bookmarks |
97 |
from the 64-bit environment. Is this correct? |
98 |
|
99 |
5) Probably most important, I do not have a user account in the |
100 |
chrooted environment yet. I've found a couple of wiki's about doing |
101 |
this but they seem contradictory so I'm taking that slowly. The lack |
102 |
of the /home/mark directory seems to get in the way of pretty basic |
103 |
stuff: |
104 |
|
105 |
mark@lightning / $ java-config -L |
106 |
[blackdown-jre-1.4.2.02] "Blackdown JRE 1.4.2.02" |
107 |
(/etc/env.d/java/20blackdown-jre-1.4.2.02) |
108 |
[blackdown-jdk-1.4.2.02] "Blackdown JDK 1.4.2.02" |
109 |
(/etc/env.d/java/20blackdown-jdk-1.4.2.02) * |
110 |
mark@lightning / $ java-config -s blackdown-jre-1.4.2.02 |
111 |
jc_options: Cannot write to ${HOME} |
112 |
mark@lightning / $ |
113 |
|
114 |
If I create the directory by hand I suspect I'll create problems. |
115 |
|
116 |
6) I am not sure I'm happy with the way the wiki set up my chrooted |
117 |
environment. From the 64-bit environment I now see: |
118 |
mark@lightning ~ $ df |
119 |
Filesystem 1K-blocks Used Available Use% Mounted on |
120 |
/dev/sda3 9614148 8224572 901200 91% / |
121 |
udev 255204 292 254912 1% /dev |
122 |
/dev/sda6 3850292 1437408 2217296 40% /usr/src |
123 |
/dev/sda7 11543016 1773832 9182816 17% /mnt/gentoo32 |
124 |
shm 255204 0 255204 0% /dev/shm |
125 |
none 255204 0 255204 0% /tmp/jack |
126 |
/dev 255204 292 254912 1% /mnt/gentoo32/dev |
127 |
/dev/shm 255204 0 255204 0% /mnt/gentoo32/dev/shm |
128 |
/usr/portage 9614148 8224572 901200 91% |
129 |
/mnt/gentoo32/usr/portage |
130 |
/tmp 9614148 8224572 901200 91% /mnt/gentoo32/tmp |
131 |
myth14:/video 225373664 120268192 93657152 57% /video |
132 |
|
133 |
It seems these mount -bind steps have hidden my normal disk partitions.... |
134 |
|
135 |
|
136 |
Anyway, that's my quick status. Thanks in advance for all your help. |
137 |
|
138 |
Cheers, |
139 |
Mark |
140 |
|
141 |
-- |
142 |
gentoo-amd64@g.o mailing list |