This README.gentoo file is meant to describe the Gentoo system and how it was built so that CinelerraGG could be compiled to run on it. It includes the names of the libraries and software that was installed for Cinelerra so that you can ensure that you have the appropriate libraries on your system. If you already have a Gentoo system, you can probably start Step 9 to ensure that you have the core window system and Step 10 for the actual cinelerra build. === last gentoo attempt 20200202, gentoo - base release 2.6 1) download stage4.tar http://distfiles.gentoo.org/releases/amd64/autobuilds/ current-stage4-amd64-systemd/stage4-amd64-systemd-20200128.tar.xz 2) format media (usb 32G) # fdisk /dev/sdg > g > n size: +250M size: +28G (== /dev/sdg2) size: > t 1 4=Bios > t 3 19=swap > w # mkfs.ext4 /dev/sdg2 # mount /dev/sdg2 /mnt8 3) untar stage4 to media # tar -C /mnt8 -xf /stage4-amd64-systemd-20200128.tar.xz 4) change root passwd, config grub # chroot /mnt8 /bin/bash # passwd > > === still in chroot === use UUID of /mnt8 (ls -l /dev/disk/by-uuid | grep sdg2) # cat > /boot/grub/grub.cfg terminal_output console insmod gzio insmod part_msdos insmod part_gpt insmod ext2 set timeout=5 set default="0" menuentry 'Gentoo' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-79bb26af-046c-422b-99a1-d8231367d0e2' { set root='hd0,gpt2' search --no-floppy --fs-uuid --set=root 329551aa-c03c-4b32-b5b5-2ad09eb6970a linux /boot/vmlinuz-4.19.97-gentoo-openstack-x86_64 root=UUID=329551aa-c03c-4b32-b5b5-2ad09eb6970a 3 initrd /boot/initramfs-4.19.97-gentoo-openstack-x86_64.img } ^D === still in chroot === set uuid in /etc/fstab vi /etc/fstab UUID=329551aa-c03c-4b32-b5b5-2ad09eb6970a / ext4 defaults 0 0 === still in chroot === install grub on usb media # grub-install /dev/sdg --boot-directory=/mnt8/boot == exit chroot == # exit # umount /mnt8 5) ** boot usb key ** == login as root 6) configure network == if you have 128GB mem, probaby a good idea to: # mount -t tmpfs none /var/tmp # ifconfig eth0 192.168.1.3/27 # echo nameserver > /etc/resolv.conf # ip r a default via 192.168.1.30 7) emerge-webrsync 8) enable used features: # euse -E alsa X gtk user-session 9) for core window system # emerge -j --ask --deep --newuse --update \ --autounmask=y --autounmask-write=y \ xorg-server xinit twm xclock xterm \ mesa xf86-video-vesa xf86-input-synaptics \ gnome gnome-extra-apps gnome-tweaks \ nasm yasm cmake gdb udev pulseaudio \ alsa-lib alsa-tools(failed) alsa-utils alsa-plugins \ libxml2 dvdauthor udftools \ vim xrandr dev-libs/libusb libtool == takes several hours == for kde add: kde libdv, instead of gnome stuff == for nvidia: xf86-video-nouveau 10) for cinelerra build # emerge -j --ask --deep --newuse --update \ --autounmask=y --autounmask-write=y \ atk bzip2 cairo dejavu expat fftw flac fontconfig \ freetype fribidi gdk-pixbuf glib glibc \ glu graphite2 gtk inkscape harfbuzz libavc1394 \ libdv libffi libiec61883 libjpeg-turbo \ libogg libpng libraw1394 libsndfile libwebp libaom \ libtheora tiff libvdpau libvorbis \ libvpx libX11 libXau libxcb libXcomposite libXcursor \ libXdamage libXdmcp libXext libXfixes libXft libXi \ libXinerama libXrandr libXrender libXv numactl opus \ pango libpcre pixman pxz zlib libva == takes several hours ======= for amd64 kernels: (ugly) # emerge --ask sys-kernel/gentoo-sources sys-kernel/genkernel # genkernel all --makeopts=-j24 == takes several hours ======== config files modified for emerge: ======== == these files show up after emerge fails demanding changes. == they are hidden files matching: /etc/portage/package.use/._c* == and have to be merged into /etc/portage/package.use/util.linux == and then deleted. start ==/etc/portage/package.use/util.linux== sys-apps/util-linux static-libs >=media-plugins/alsa-plugins-1.2.1 pulseaudio >=x11-libs/cairo-1.16.0-r3 X >=x11-libs/libxkbcommon-0.9.1 X >=dev-libs/libxml2-2.9.9-r3 python >=x11-libs/libxcb-1.13.1 xkb >=gnome-base/gnome-control-center-3.32.2 networkmanager >=net-print/cups-2.2.13 dbus >=net-fs/samba-4.8.6-r2 client >=dev-libs/glib-2.60.7-r1 dbus >=app-crypt/gcr-3.34.0-r1 gtk >=app-text/ghostscript-gpl-9.50 cups >=media-libs/harfbuzz-2.6.4 icu >=app-text/xmlto-0.0.28-r1 text >=app-crypt/pinentry-1.1.0-r2 gnome-keyring >=net-wireless/wpa_supplicant-2.9-r1 dbus >=sys-apps/systemd-244 policykit >=media-plugins/grilo-plugins-0.3.9 tracker >=media-libs/gegl-0.4.18 cairo raw >=dev-libs/libgdata-0.17.11 gnome-online-accounts >=app-text/poppler-0.82.0 cairo >=dev-libs/libgudev-233-r1 introspection >=sys-apps/dbus-1.12.16 user-session >=gnome-base/gvfs-1.40.2 cdda udisks >=x11-libs/gdk-pixbuf-2.40.0 jpeg >=media-libs/gst-plugins-base-1.14.5-r1 theora >=media-libs/clutter-1.26.2-r2 gtk >=dev-libs/folks-0.12.1 eds >=gnome-extra/evolution-data-server-3.32.5 vala eof ==/etc/portage/package.use/util.linux==