Cezar's reflections

Friday, July 02, 2010

Building Zorba XQuery on OEL5

  1. Download Oracle Enterprise Linux Server 64bit and install the development packages.
  2. Install cmake rpm, I found one here.
  3. Uninstal default libicu rpm, and install the libicu and libicu-devel from here.
  4. Uninstall default xerces-c 2.7 and install xerces-c and xerces-c-devel 2.8.
  5. Get and build Zorba:
# to get the sources, 8583 is latest as of this writing but tested to work
svn co -r 8583 https://zorba.svn.sourceforge.net/svnroot/zorba/trunk/zorba zorba
cd zorba
mkdir build
cd build
# to generate Makefiles without schema support
cmake -D ZORBA_NO_XMLSCHEMA=ON ..
# to do a build
make
# to check Zorba
./bin/zorba -q 1+1
# to run internal tests
ctest

Labels: , ,

Thursday, May 13, 2010

Ubuntu Lucid Sleep

I like my fresh installation of Ubuntu 10.04 Lucid Lynx very much, I think the guys at Canonical are doing a wonderful job with Linux. I had a small problem with suspend to sleep/hibernate, the computer would simulate a sleep, even the monitor would close for a second but continued to stay running.
After a Google search I found this page that made me try adding the file:
/etc/pm/config.d/unload_module with SUSPEND_MODULES="xhci" in it. And I'm happy to report that solves the suspend problem, now I can leave my box running, actually sleeping, during the night and continue my work on Zorba the following morning.
Also if you're interested in adding applications to your Ubuntu Lucid take a look at this wiki page.

Labels: , , , , ,