Sorry, I'm referring to the quick setup script on the wiki which allows
other users to test out the git version. However every time I run it, I'm
getting an error about it missing libraries.


#!/bin/bash
# Installs MyPaint's dependencies.
echo "Enter password to install dependencies..."
if [ -f /etc/debian_version ]; then
  sudo apt-get update && sudo apt-get install git scons python-numpy
swig libglib2.0-dev python-dev python-gtk2-dev python-cairo-dev
libpng12-dev g++ gettext liblcms2-dev libjson0-dev
else
  sudo yum install git scons numpy swig glib2-devel python-devel
pycairo-devel libpng-devel gcc-c++ gettext liblcms2-devel
libjson0-devel
fi

# Makes two folders, one to store GIT clones, and one in which MyPaint
will be installed.
mkdir ~/mypaintdev
git clone git://gitorious.org/mypaint/mypaint.git ~/mypaint-src
cd ~/mypaint-src
scons prefix=~/mypaintdev/ install

ln -s ~/mypaintdev/lib/libmypaint-brushlib.so
~/mypaintdev/lib/mypaint/libmypaint-brushlib.so  # see next comment

scons prefix=~/mypaintdev/ install  # not ideal, but making a symlink
for a 'missing' lib, then running scons again

# Just lets you know that you've installed MyPaint into this folder.
echo "MyPaint is now installed in the mypaintdev folder in your home directory."


# wait three seconds so the user can see the above message
sleep 3

# Launches the MyPaint installation.
~/mypaintdev/bin/mypaint

In file included from lib/mypaintlib.hpp:13:0,
                 from lib/mypaintlib_wrap.cpp:3086:
lib/mapping.hpp:20:21: fatal error: mapping.h: No such file or directory
 #include "mapping.h"
                     ^
compilation terminated.
scons: *** [lib/mypaintlib_wrap.os] Error 1
scons: building terminated because of errors.

So how would I modify the script so it can build the the mypaintlib into
MyPaint itself?


On Tue, Apr 8, 2014 at 5:34 PM, Jon Nordby <[email protected]> wrote:

> On 9 April 2014 01:10, Albert Westra <[email protected]> wrote:
> > So how will this effect the build script provided on the wiki? I tried to
> > build the master, only to get an error.
> Which build script and what error?
> I've updated the README with the additional command that needs to be
> ran, "git submodule update --init"
>
> --
> Jon Nordby - www.jonnor.com
>
_______________________________________________
Mypaint-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-discuss

Reply via email to