Monday, 26 November 2012

Re: [gccsdk] Building the libraries

In article <52f49912b9chrisg@care4free.net>,
Chris Gransden <chrisg@care4free.net> wrote:
> In article <52f3aec75dgcc-sub@aconet.nl>,
> Frank de Bruijn <gcc-sub@aconet.nl> wrote:
> > libgnomeprint2.2-0 package libgnomecups1.0 not in autobuilder
> > libgnomeprintui2.2-0 depends on libgnomeprint2.2-0

> This is caused by having 'libcups2-dev' installed on the host so this
> needs uninstalling.

Purged libcups2-dev and building succeeded. Thanks.

> > tremor syntax error in configure
> > libsdl-mixer1.2 depends on tremor

> tremor builds fine here on both Ubuntu 12.10 and Linux Mint Debian
> edition. Something may be different on your setup.

Probably. As the config.log shows, running configure fails because bash
encounters a piece of code which isn't syntactically valid. I haven't
been able to trace where this piece of code comes from.
The most annoying part of this is the malformed part of the code isn't
even executed.

> > netsurf-libraries depends on the item(s) below
> > libsvgtiny depends on netsurf-libraries
> > libnsgif depends on netsurf-libraries
> > libnsbmp depends on netsurf-libraries
> > libwapcaplet depends on netsurf-libraries
> > libparserutils depends on netsurf-libraries
> > libcss depends on netsurf-libraries
> > libhubbub depends on netsurf-libraries
> > libdom depends on netsurf-libraries
> > rufl depends on netsurf-libraries
> > pencil depends on rufl

> Building 'netsurf-libraries' should build all the depenencies in the
> correct order. The crucial one to look at 'buildsystem'. Sounds like
> 'buildsystem' didn't install correctly for some reason.

As far as I can tell, installing buildsystem is part of building
netsurf-libraries (somewhere near the end of the build, I assume). Which
fails because none of the dependencies will build, because buildsystem
isn't there yet (building them separately fails with the same reason
for all of them).
Circular. Once it's there, there's no problem. On a completely new
setup, i.e. a new, clean copy of the autobuilder *and* GCCSDK (4.1.2),
it just doesn't work.

> > As I mentioned earlier, I hacked the libgtk->libcairo->librsvg mess
> > out of the way. Perhaps adding a note to the webpage about how to
> > handle that would be helpful for others who start with a clean
> > setup.

> This works ok on my setup. It may be caused by other depenencies not
> building which could have broken the dependency chain.

Same thing as the netsurf-libraries problem. A completely new setup
simply doesn't have certain items that need to be there. In this case
building librsvg without gtk-theme first fixed that. I actually found
this solution because someone else had almost exactly the same problem
while building gtk natively.

Regards,
Frank


_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK

No comments:

Post a Comment