LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-15-2013, 04:10 AM   #1
lordadamson
Member
 
Registered: Nov 2013
Location: Egypt
Distribution: Xubuntu
Posts: 33

Rep: Reputation: Disabled
problem compiling mypaint source code using scons


I am trying to contribute to mypaint, when attempting to compile the source code

i issue $scons command

result:
Code:
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
Enabling i18n for brushlib in full application build
swig -Wall -o mypaintlib_wrap.cpp -noproxydel -python -c++ mypaintlib.i
rm -f _mypaintlib.so
Package gtk+-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-3.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-3.0' found
OSError: 'pkg-config --cflags --libs gtk+-3.0' exited 1:
  File "/home/adam/workspace/mypaint/SConstruct", line 204:
    application = SConscript('./SConscript')
  File "/usr/lib/scons/SCons/Script/SConscript.py", line 609:
    return method(*args, **kw)
  File "/usr/lib/scons/SCons/Script/SConscript.py", line 546:
    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/adam/workspace/mypaint/SConscript", line 10:
    mypaintlib = SConscript('lib/SConscript')
  File "/usr/lib/scons/SCons/Script/SConscript.py", line 609:
    return method(*args, **kw)
  File "/usr/lib/scons/SCons/Script/SConscript.py", line 546:
    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/adam/workspace/mypaint/lib/SConscript", line 55:
    env.ParseConfig('pkg-config --cflags --libs gtk+-3.0')
  File "/usr/lib/scons/SCons/Environment.py", line 1554:
    return function(self, self.backtick(command))
  File "/usr/lib/scons/SCons/Environment.py", line 596:
    raise OSError("'%s' exited %d" % (command, status))
any ideas?

thanks in advance
 
Old 11-15-2013, 04:29 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Have you solved this:
Code:
Package gtk+-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-3.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-3.0' found
It seems that gtk3+ is missing on your system, install it and try again.
 
Old 11-15-2013, 05:21 AM   #3
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
Hi
and the pc file normally comes from the dev package

depending on your distro that means
libgtk-3-dev
libgtk-3

are debian names YMMV
 
1 members found this post helpful.
Old 11-15-2013, 05:18 PM   #4
lordadamson
Member
 
Registered: Nov 2013
Location: Egypt
Distribution: Xubuntu
Posts: 33

Original Poster
Rep: Reputation: Disabled
thank you both for answering my question, I really appreciate it.

Quote:
the pc file normally comes from the dev package
that basically solved my problem, I ran into dependencies hell but in the end was able to solve it.

I am using ubuntu and I had to install libgtk-3-dev python-gi-dev python-gobject-2-dev liblcms2-2 liblcms2-dev libjson0-dev

and hopefully I didn't forget any.

thanks again
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Open Source painting with MyPaint LXer Syndicated Linux News 0 04-02-2010 05:30 PM
Problem with compiling source code under Ubuntu Wormboy Linux - Software 4 05-01-2009 11:26 AM
Compiling from source code umamaheshmunez Linux - Software 9 10-24-2008 03:05 AM
compiling source code BoredStudent Linux - Desktop 1 10-26-2006 08:09 AM
Problem in compiling source code JIV Linux - Software 1 02-14-2004 03:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration