Search
j0ke.net Open Build Service
>
Projects
>
home:jg
:
playground
:
opennebula
>
opennebula
> build_opennebula.sh
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File build_opennebula.sh of Package opennebula
#!/bin/bash -ex BUILD_DIR=$PWD if [ -f "xmlrpc-c.tar.gz" ]; then ( tar xzvf xmlrpc-c.tar.gz mv xmlrpc-c .. ) fi # Compile xmlrpc-c cd ../xmlrpc-c export CXXFLAGS="-fPIC" export CFLAGS="-Wno-error=format-security" ./configure --prefix=$PWD/install make make install # Delete dynamic libraries rm -f install/{lib,lib64}/*.so install/{lib,lib64}/*.so.* # Add xmlrpc-c libraries bin dir to the path export PATH=$PWD/install/bin:$PATH # Compile OpenNebula cd $BUILD_DIR scons -j2 mysql=yes xmlrpc=$BUILD_DIR/../xmlrpc-c/install new_xmlrpc=yes $@ # syslog=yes