Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
65 lines (44 sloc) 2.26 KB
# NOTE THIS WAS DONE ON A DIRTY QUETZL QUARTL QUIZZL
Building debug version qt-5 from open source:
./configure -prefix /usr/local/Qt5 -developer-build -debug -nomake tests \
-nomake examples -confirm-license \
-opensource
# use -j(processors times 2)
# the docs say that -jN works, but there are in fact raceconditions!
make module-qtbase module-qtsvg module-qtimageformats \
module-qtgraphicaleffects module-qtdoc \
install
Building debug version ruby-1.9.3:
apt-get install libyaml-dev libreadline6-dev
optflags=-O0 debugflags='-DDEBUG -g' ./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --program-suffix=1.9.1 \
--enable-shared --enable-debug-env --with-out-ext=sdbm,syck
# sdbm and syck do not compile
make -j4 all install
Building debug version ruby-2.0.0:
# Note it needs gdbm1.9 current Ubuntu version is 1.8. So fails.
# sdbm still fails
apt-get install libyaml-dev libreadline6-dev libgdbm-dev libffi-dev \
libncurses5-dev libtokyocabinet-dev libqdbm-dev
optflags=-O0 debugflags='-DDEBUG -g' \
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --program-suffix=2.0.0 \
--enable-shared --enable-debug-env \
--with-out-ext=sdbm
make -j4 all install
-----------------------------------------------------------------------------------------
=========================================================================================
*****************************************************************************************
DEPRECATED
requirements for alsa+DEPRECATED stuff:
- ruby1.9.2 or higher, including rdoc, gem etc.
- libasound2-dev (on Ubuntu at least), alsa development headers
- rspec, testing machinery (sudo gem install rspec)
- darkfish-rdoc, for documentation (optional)
- the GNU 'make' program, cmake and qt4-qmake
- the environment variable $RUBYLIB should contain the 'lib' dir, for example:
export RUBYLIB=/home/eugene/Midibox/lib:/usr/local/lib/site_ruby/1.9.1:/usr/local/lib/site_ruby/1.9.1/x86_64-linux
Hm.. qtruby4.6.3.1 contains a bug. A simple 'Qt::Variant::new(0.0)' immediately fails!
To fix patch it:
sudo patch -p0 -E < qtruby4631.patch
INSTALL: cannot be done yet. But isn't really required at the moment.
Something went wrong with that request. Please try again.