Home » Uncategorized » udev configuration ubuntu 13.04 / AMD64

udev configuration ubuntu 13.04 / AMD64

https://launchpad.net/ubuntu/raring/+source/udev

./configure –build=x86_64-linux-gnu –enable-gtk-doc –enable-introspection \
CFLAGS=”-Wall -g -fstack-protector -fPIE” LDFLAGS=”-Wl,-z,relro -Wl,-z,now -pie” \
–prefix=/usr \
–sysconfdir=/etc \
–sbindir=/sbin \
–libdir=/usr/lib/x86_64-linux-gnu \
–with-rootlibdir=/lib/x86_64-linux-gnu \
–libexecdir=/lib/udev \
–with-systemdsystemunitdir=/lib/systemd/system \
–with-pci-ids-path=/usr/share/misc/pci.ids \
–with-selinux \
–enable-static \
–enable-rule_generator \
–enable-udev_acl


xserver
https://launchpad.net/ubuntu/raring/+source/xorg-server


qt4
https://launchpad.net/ubuntu/raring/amd64/libqt4-dev/
https://launchpad.net/ubuntu/+source/qt4-x11/4:4.8.4+dfsg-0ubuntu7/+build/4328742
orginal configuration file sucks, just this WFM.

git clone git://gitorious.org/qt/qt.git
http://www.linuxfromscratch.org/blfs/view/svn/x/qt.html

./configure -prefix /usr \
-release \
-nomake examples \
-nomake demos \
-system-sqlite \
-no-nis \
-opensource \
-confirm-license &&
make


pulseaudio
https://launchpad.net/ubuntu/+source/pulseaudio/1:3.0-0ubuntu4/+build/4336790
need json http://www.linuxfromscratch.org/blfs/view/svn/general/json-c.html
need libsndfile http://www.linuxfromscratch.org/blfs/view/svn/multimedia/libsndfile.html

git clone git://anongit.freedesktop.org/pulseaudio/pulseaudio
CFLAGS=”-g -O2 -fstack-protector –param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall” CXXFLAGS=”-g -O2 -fstack-protector –param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall” CPPFLAGS=”-D_FORTIFY_SOURCE=2″ LDFLAGS=”-Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,–no-as-needed” ./configure –build=x86_64-linux-gnu –prefix=/usr –includedir=/usr/include –mandir=/usr/share/man –infodir=/usr/share/info –sysconfdir=/etc –localstatedir=/var –libexecdir=/usr/lib/pulseaudio –srcdir=. –disable-maintainer-mode –disable-dependency-tracking –disable-silent-rules –enable-x11 –disable-hal-compat –libdir=/usr/lib/x86_64-linux-gnu –with-module-dir=/usr/lib/pulse-3.0/modules


virtualbox
https://www.virtualbox.org/wiki/Linux%20build%20instructions

svn co http://www.virtualbox.org/svn/vbox/trunk vbox
./configure –disable-java –disable-docs

vi LocalConfig.kmk
VBOX_WITH_WEBSERVICE=
VBOX_WITH_WARNINGS_AS_ERRORS :=
VBOX_WITH_TESTCASES :=
VBOX_WITH_TESTSUITE :=
VBOX_WITH_DOCS_TRANSLATIONS :=
VBOX_PATH_APP_PRIVATE_ARCH := /usr/lib/virtualbox
VBOX_PATH_SHARED_LIBS := $(VBOX_PATH_APP_PRIVATE_ARCH)
VBOX_WITH_ORIGIN :=
VBOX_WITH_RUNPATH := $(VBOX_PATH_APP_PRIVATE_ARCH)
VBOX_PATH_APP_PRIVATE := /usr/share/virtualbox

cd out/linux.amd64/release/bin/src
make
sudo make install
cd ..

sudo mkdir /usr/lib/virtualbox
sudo chown root.root /usr/lib/virtualbox
sudo cp -Ra * /usr/lib/virtualbox/additions/
sudo cp -Ra components/ /usr/lib/virtualbox/
sudo cp -Ra dtrace/ /usr/lib/virtualbox/
sudo cp -Ra helpers/ /usr/lib/virtualbox/
sudo cp -Ra icons /usr/lib/virtualbox/
sudo cp -Ra nls /usr/lib/virtualbox/
sudo cp -Ra scripts/ /usr/lib/virtualbox/
sudo cp -Ra sdk /usr/lib/virtualbox/
sudo cp -Ra src /usr/lib/virtualbox/
sudo cp -Ra testcase/ /usr/lib/virtualbox/

cd /usr/lib/virtualbox/
sudo chmod 4711 VirtualBox
sudo chown root.root components
sudo chmod 755 components/
cd components/
sudo chown root.root *

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s