Re: [gtk-osx-users] Module Not Found?




On May 9, 2017, at 6:05 PM, David Lowe <doctorjlowe twc com> wrote:

So, i’m taking my first baby steps - i have a modules file with just boilerplate xml

[gtk@Daves-i7:~]$ more freeciv.modules
<?xml version="1.0"?>
<!DOCTYPE moduleset SYSTEM "moduleset.dtd">
<?xml-stylesheet type="text/xsl" href="moduleset.xsl"?>
<moduleset>
   <include href="http://git.gnome.org/browse/gtk-osx/plain/modulesets-stable/gtk-osx.modules"/>

</moduleset>

and a boilerplate configuration

[gtk@Daves-i7:~]$ more .jhbuildrc-custom
moduleset=os.environ['HOME'] + '/freeciv.modules’

This is more of a python nit: It's better to use moduleset = os.path.join(os.environ['HOME'], 
'freeciv.modules')

yet jhbuild doesn’t like something…

[gtk@Daves-i7:~]$ echo $PATH
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/Users/gtk/.local/bin
[gtk@Daves-i7:~]$ jhbuild build freeciv
jhbuild build: A module called ''freeciv'' could not be found.
Usage: jhbuild [ -f config ] command [ options … ]

I did a web search for "jhbuild build: A module called '''' could not be found.” and got nothing useful.  
What am i doing wrong?

You went for two babysteps instead of one, and fell over as babies so often do. You didn't define a module 
with id="freeciv", so jhbuild doesn't know wha to do.
Have you run `jhbuild bootstrap` and `jhbuild build meta-gtk-osx-bootstrap` yet? The first uses a special 
moduleset, but the second is universally required and will work with only the 'include' directive in your 
skeletal moduleset.

Regards,
John Ralls






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]