I decided to start working on Freevo 2.0. I compiled and installed evas in a local space with the following commands:
./configure --enable-gl-x11 --prefix=~/workspace/usr/local
make
make install
Now I had to export the lib path using LD_LIBRARY_PATH. I prefer to run everything in a subshell with the proper environment variables set. So I write this small script called setup-subshell (modified it from project pigment's subshell):
#!/bin/bash -i
#
# Set up environment.
#
PROJECT='newvo'
LD_LIBRARY_PATH=/home/chandanp/workspace/usr/local/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
export LD_LIBRARY_PATH
# Common env vars
export PKG_CONFIG_PATH=/home/chandanp/workspace/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
export PYTHONPATH=/home/chandanp/workspace/python/kaa-lib/lib/python2.5/site-packages/:$PYTHONPATH
# If we got a command, run it and exit
if test ! -z "$1";
then
$@
exit $?
fi
# Set up a prompt helping us remember we're in a subshell
tmp=`mktemp -t bashrc.XXXXXXXX`
echo source $HOME/.bashrc >> $tmp
echo PS1=\'[$PROJECT] $PS1\' >> $tmp
SHELL_OPTIONS="--init-file $tmp"
# Start the shell
echo Entering interactive $PROJECT shell $SHELL.
$SHELL $SHELL_OPTIONS
# Remove temporary file
if test ! -z "$tmp"
then
rm $tmp
fi
echo Thank you for using $PROJECT.
Launched the subshell and installed kaa using the following command
python setup.py install --prefix=/home/chandanp/workspace/python/kaa-lib
However I found that beacon is not being installed because it thinks imlib2 is not installed. So I installed imlib2-dev and went one step further. Now the problem is that pysqlite2 is not installed. So I installed pysqlite2 and was able to install kaa.beacon but when I tried to run it, there was another problem. It could not find kaa.db. I have to find out why kaa.db failed to install. May be tomorrow :-)
./configure --enable-gl-x11 --prefix=~/workspace/usr/local
make
make install
Now I had to export the lib path using LD_LIBRARY_PATH. I prefer to run everything in a subshell with the proper environment variables set. So I write this small script called setup-subshell (modified it from project pigment's subshell):
#!/bin/bash -i
#
# Set up environment.
#
PROJECT='newvo'
LD_LIBRARY_PATH=/home/chandanp/workspace/usr/local/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
export LD_LIBRARY_PATH
# Common env vars
export PKG_CONFIG_PATH=/home/chandanp/workspace/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
export PYTHONPATH=/home/chandanp/workspace/python/kaa-lib/lib/python2.5/site-packages/:$PYTHONPATH
# If we got a command, run it and exit
if test ! -z "$1";
then
$@
exit $?
fi
# Set up a prompt helping us remember we're in a subshell
tmp=`mktemp -t bashrc.XXXXXXXX`
echo source $HOME/.bashrc >> $tmp
echo PS1=\'[$PROJECT] $PS1\' >> $tmp
SHELL_OPTIONS="--init-file $tmp"
# Start the shell
echo Entering interactive $PROJECT shell $SHELL.
$SHELL $SHELL_OPTIONS
# Remove temporary file
if test ! -z "$tmp"
then
rm $tmp
fi
echo Thank you for using $PROJECT.
Launched the subshell and installed kaa using the following command
python setup.py install --prefix=/home/chandanp/workspace/python/kaa-lib
However I found that beacon is not being installed because it thinks imlib2 is not installed. So I installed imlib2-dev and went one step further. Now the problem is that pysqlite2 is not installed. So I installed pysqlite2 and was able to install kaa.beacon but when I tried to run it, there was another problem. It could not find kaa.db. I have to find out why kaa.db failed to install. May be tomorrow :-)
Comments