tce-load -i itstool intltool gobject-introspection-dev accountsservice-dev libcanberra-dev linux-pam-dev glib2-python cd gdm-3.10.0.1 Edit configure X_PATH="/usr/local/bin" X_SERVER_PATH="/usrlocal/bin" X_SERVER="/usr/local/bin/X" CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --disable-static --localstatedir=/var --libexecdir=/usr/local/lib/gdm --without-systemd --with-user=tc --with-group=staff --without-console-kit --with-authentication-agent-directory=/usr/local/lib/polkit-1 copy linux-pam headers to /usr/local/include/security find . -name Makefile -type f -exec sed -i 's/-O2/ /g' {} \; make sudo make install checking for pam_start in -lpam... no configure: error: "PAM libraries not found"