i had mandrake 10 running great on the laptop.
i had linuxant driver loader working and i could
connect to about 95 % of all wireless around
where i live.
i could build the ptxdist/livecd project no problems
but no vmware and now i need vmware.
i have gone through about rebuilds
but i am still at the point where i dont have
the building process working.
i am using the earlier version of mandrake 9.2
i get the linuxant drivers to work.
i get vmware working great.
i also get all my favorite tools to work correclty
(source nav. and kdiff3 and off course subversion emacs)
ptxdist builds fine on gentoo box soo build
a gentoo chroot or even a debian chroot.
i a leaning to gentoo. because i can stabilize
to one target.
lets see.
instruction for building a gentoo chroot can be found at.
http://kapcoweb.com/p/static/docs/jc-gentoo-howto/jc-gentoo-howto.html
but i played with this in recent past and found that creation
of files in the temp directory was problematic.
here is what i did.
1. created the directory /home/gentoo
the /home directory is mounted to a partition with more than
enough space for what i need to do.
2. down loaded the stage1 tarball: stage1-x86-2004.2.tar.bz2
and untared it in /home/gentoo
3. created the simple script enterchroot:
--------------------------- begin ---------------------------
#!/bin/bash
mount -t proc proc /home/gentoo/proc
cp /etc/resolv.conf /home/gentoo/etc/
chroot /home/gentoo /bin/bash
---------------------------- end ------------------------------
in the saved this in the directory /home/gentoo.
4. ran the script and entered the chroot and
followed the aformentioned web pages instructions.
env-updatethis started the build process.
>>> Note: /etc/make.profile/make.defaults isn't available.
an 'emerge sync' will probably fix this.
>>> Regenerating /etc/ld.so.cache...
bash-2.05b# source /etc/profile
test / # emerge sync
i just pased the following to command line:
USE="-alsa -apm -arts berkdb -cjk crypt -cups -dvd emacs -esd
-flash gd -gnome -gtk -gtk2 guile -java -kde libwww -motif mysql
ncurses nls pam perl postgres python -qt -quicktime readline -samba
spell ssl tcpd -truetype -X -Xaw3d xml xml2 zlib"
CFLAGS="-march=pentium3 -O2 -pipe"
CXXFLAGS="${CFLAGS}"
# Remember, the suggested number for parallel makes (-j) is:
# number of CPUs + 1.
MAKEOPTS="-j3"
FEATURES="sandbox buildpkg distcc usersandbox notitles noclean noauto
cvs keeptemp keepwork"
echo'ed each define to see if the were as i defined
and they seemed to be.
then ran the following
test / # cd /usr/portage/
test portage # ./scripts/bootstrap.sh
ok what will i end up with.
it looks like the version of gcc is 3.3.4
i am concerned of spinning out of control
i want to get back to building ptxdist
and i dont know if this will get me to
this place. once more i have to jump
out into the void.
what i like about ptxdist is the fact
that i get a make file that defines
the orders of what is build.
using bash scripts dependecies
have to forced and not computed
via make. also make system give
the chance to make small rebuilds
without re-doing everything at once.
that isnt absolutely true but true
enough. also
this is an expensive process.
i could instead using the debian
chroot download see what happens.
the debian would be a well know
set of binaries and i dont have
go through the long compilation
process. if this doesnt work i may
try this next. but keep in mind
every thing worked in mandrake 10.x
it may be sufficient that i have
at least a certian verions of
gcc/glibc/automake/make so forth.
i tried some new tricks
i wrote a new script that changes the roots .bashrc script
here it is.
--------------------------- enterchroot.sh -------------------------
#write to .bashrc to set up build params.
cat >> /home/gentoo/root/.bashrc << EOF
env-update
source /etc/profile
USE="-alsa -apm -arts berkdb -cjk crypt -cups -dvd emacs -esd -flash gd -gnome -gtk -gtk2 guile -java -kde libwww -motif mysql ncurses nls pam perl postgres python -qt -quicktime readline -samba spell ssl tcpd -truetype -X -Xaw3d xml xml2 zlib"
CFLAGS="-march=pentium3 -O2 -pipe"
CXXFLAGS="${CFLAGS}"
# Remember, the suggested number for parallel makes (-j) is:
# number of CPUs + 1.
MAKEOPTS="-j3"
FEATURES="sandbox buildpkg distcc usersandbox notitles noclean noauto cvs keeptemp keepwork"
EOF
mount -t proc proc /home/gentoo/proc
cp /etc/resolv.conf /home/gentoo/etc/
chroot /home/gentoo /bin/bash
FEATURES="sandbox buildpkg distcc usersandbox notitles noclean noauto
cvs keeptemp keepwork"
---------------------- end enterchroot.sh ------------------------------