[Mypaint-discuss] Build test No package 'json' found/mypaint: No such file or directory

2014-07-17 Thread thadeusz l
Hi there,

I just followed this instruction

https://github.com/mypaint/mypaint#build--install-linux

on how to clone and run the MyPaint project. It works until I got to the
point Build  test:. These are the results after I typed in the commands:

pad@ubuntu:~/mypaint$ scons
scons: Reading SConscript files ...
building for 'python2.7' (use scons python_binary=xxx to change)
using 'python2.7-config' (use scons python_config=xxx to change)
rm -f libmypaint-tests.so libmypaint.so libmypaintlib.so
rm -f libmypaint.a libmypaint-tests.a
Enabling i18n for brushlib in full application build
Could not find 'json-c' pkg-config, trying legacy 'json' instead
Package json was not found in the pkg-config search path.
Perhaps you should add the directory containing `json.pc'
to the PKG_CONFIG_PATH environment variable
No package 'json' found
OSError: 'pkg-config --cflags --libs json' exited 1:
  File /home/pad/mypaint/SConstruct, line 203:
brushlib = SConscript('./brushlib/SConscript')
  File /usr/lib/scons/SCons/Script/SConscript.py, line 614:
return method(*args, **kw)
  File /usr/lib/scons/SCons/Script/SConscript.py, line 551:
return _SConscript(self.fs, *files, **subst_kw)
  File /usr/lib/scons/SCons/Script/SConscript.py, line 260:
exec _file_ in call_stack[-1].globals
  File /home/pad/mypaint/brushlib/SConscript, line 128:
env.ParseConfig('pkg-config --cflags --libs %s' % ' '.join(pkg_deps))
  File /usr/lib/scons/SCons/Environment.py, line 1551:
return function(self, self.backtick(command))
  File /usr/lib/scons/SCons/Environment.py, line 593:
raise OSError('%s' exited %d % (command, status))
pad@ubuntu:~/mypaint$ ./mypaint -c /tmp/mypaint_cfgtmp_$$
bash: ./mypaint: No such file or directory
---

Does anyone know how to solve this? Thanks in advance.
___
Mypaint-discuss mailing list
Mypaint-discuss@gna.org
https://mail.gna.org/listinfo/mypaint-discuss


Re: [Mypaint-discuss] Build test No package 'json' found/mypaint: No such file or directory

2014-07-17 Thread Jon Nordby
Are you sure you installed all the dependencies?
In particular, package libjson0-dev or the equivalent on your distro?


On 17 July 2014 08:30, thadeusz l thadeusz...@gmail.com wrote:

 Hi there,

 I just followed this instruction

 https://github.com/mypaint/mypaint#build--install-linux

 on how to clone and run the MyPaint project. It works until I got to the
 point Build  test:. These are the results after I typed in the commands:

 pad@ubuntu:~/mypaint$ scons
 scons: Reading SConscript files ...
 building for 'python2.7' (use scons python_binary=xxx to change)
 using 'python2.7-config' (use scons python_config=xxx to change)
 rm -f libmypaint-tests.so libmypaint.so libmypaintlib.so
 rm -f libmypaint.a libmypaint-tests.a
 Enabling i18n for brushlib in full application build
 Could not find 'json-c' pkg-config, trying legacy 'json' instead
 Package json was not found in the pkg-config search path.
 Perhaps you should add the directory containing `json.pc'
 to the PKG_CONFIG_PATH environment variable
 No package 'json' found
 OSError: 'pkg-config --cflags --libs json' exited 1:
   File /home/pad/mypaint/SConstruct, line 203:
 brushlib = SConscript('./brushlib/SConscript')
   File /usr/lib/scons/SCons/Script/SConscript.py, line 614:
 return method(*args, **kw)
   File /usr/lib/scons/SCons/Script/SConscript.py, line 551:
 return _SConscript(self.fs, *files, **subst_kw)
   File /usr/lib/scons/SCons/Script/SConscript.py, line 260:
 exec _file_ in call_stack[-1].globals
   File /home/pad/mypaint/brushlib/SConscript, line 128:
 env.ParseConfig('pkg-config --cflags --libs %s' % ' '.join(pkg_deps))
   File /usr/lib/scons/SCons/Environment.py, line 1551:
 return function(self, self.backtick(command))
   File /usr/lib/scons/SCons/Environment.py, line 593:
 raise OSError('%s' exited %d % (command, status))
 pad@ubuntu:~/mypaint$ ./mypaint -c /tmp/mypaint_cfgtmp_$$
 bash: ./mypaint: No such file or directory
 ---

 Does anyone know how to solve this? Thanks in advance.

 ___
 Mypaint-discuss mailing list
 Mypaint-discuss@gna.org
 https://mail.gna.org/listinfo/mypaint-discuss




-- 
Jon Nordby - www.jonnor.com
___
Mypaint-discuss mailing list
Mypaint-discuss@gna.org
https://mail.gna.org/listinfo/mypaint-discuss