Trouble compiling Gargoyle 2011.1

50 views
Skip to first unread message

Karl Ove Hufthammer

unread,
Nov 10, 2011, 6:37:31 AM11/10/11
to garglk-dev
Hi!

I’m having some trouble compiling Gargoyle 2011.1 on openSUSE 11.4.
The ‘jam’ command ends with:

Cc build/linux.release/garglk/babeldata.o
garglk/babeldata.c:32:20: fatal error: treaty.h: No such file or
directory
compilation terminated.

cc -c `pkg-config freetype2 gtk+-x11-2.0 gdk-x11-2.0 gobject-2.0
glib-2.0 fontconfig --cflags` -fPIC -I/usr/include/SDL -DGARGLKINI=\"/
etc/garglk.ini\" -DGARGLKPRE=\"\" -DBABEL_HANDLER -DBUNDLED_FONTS -O2 -
march=native -O2 -pipe -Igarglk -Igarglk -I. -Isupport -Isdl -I. -
Isupport -Isdl_sound -I. -Isupport -Ibabel -o build/linux.release/
garglk/babeldata.o garglk/babeldata.c

...failed Cc build/linux.release/garglk/babeldata.o...
...skipped libgarglk.so for lack of <garglk>babeldata.o...
...skipped gargoyle for lack of libgarglk.so...
...skipped advsys for lack of libgarglk.so...
[… and a bunch of similar lines …]

So it looks like the ‘treaty.h’ file can’t be found, even if it *is*
located in ‘support/babel/treaty.h’. Any ideas how to fix this?

--
Karl Ove Hufthammer

Ben Cressey

unread,
Nov 10, 2011, 12:30:56 PM11/10/11
to ka...@huftis.org, garglk-dev
Hi Karl,

Can you let me know which version of jam you are using to build? I've only tested in ftjam; perhaps bjam or  regular jam processes the build file differently.

Regards,
Ben


--
You received this message because you are subscribed to the Google Groups "garglk-dev" group.
To post to this group, send email to gargl...@googlegroups.com.
To unsubscribe from this group, send email to garglk-dev+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/garglk-dev?hl=en.


Karl Ove Hufthammer

unread,
Nov 10, 2011, 3:37:45 PM11/10/11
to gargl...@googlegroups.com, bcre...@gmail.com
Torsdag 10. november 2011 skreiv Ben Cressey:
>Hi Karl,
>
>Can you let me know which version of jam you are using to build? I've only
>tested in ftjam; perhaps bjam or regular jam processes the build file
>differently.

I use Boost Jam, and get the same problem on both a 32-bit and a 64-bit system.

$ rpm -qi boost-jam
Name : boost-jam Relocations: (not relocatable)
Version : 3.1.18 Vendor: openSUSE
Release : 4.1 Build Date: fr. 18. feb. 2011 kl. 22.29 +0100
Install Date: la. 03. sep. 2011 kl. 10.15 +0200 Build Host: build31
Group : Development/Tools/Building Source RPM: boost-jam-3.1.18-4.1.src.rpm
Size : 203769 License: BSD3c
Signature : RSA/8, fr. 18. feb. 2011 kl. 22.29 +0100, Key ID b88b2fd43dbdc284
Packager : http://bugs.opensuse.org
URL : http://www.boost.org/
Summary : An Enhanced Make Replacement
Description :
Boost Jam is a build tool based on FTJam, which in turn is based on
Perforce Jam. It contains significant improvements made to facilitate
its use in the Boost Build System, but should be backward compatible
with Perforce Jam.

Authors:
--------
Perforce Jam : Cristopher Seiwald
FT Jam : David Turner
Boost Jam : David Abrahams
Distribution: openSUSE 11.4


--
Karl Ove Hufthammer

Ben Cressey

unread,
Nov 10, 2011, 3:55:46 PM11/10/11
to Karl Ove Hufthammer, gargl...@googlegroups.com
Can you try it with Perforce jam or ftjam?

Karl Ove Hufthammer

unread,
Nov 10, 2011, 4:01:48 PM11/10/11
to gargl...@googlegroups.com, bcre...@gmail.com
Torsdag 10. november 2011 skreiv Ben Cressey:
> Can you try it with Perforce jam or ftjam?

OK. I’ll try. (Might take some time, though, as there aren’t any openSUSE
packages for these jam version.)

--
Karl

Karl Ove Hufthammer

unread,
Nov 10, 2011, 4:19:44 PM11/10/11
to gargl...@googlegroups.com, bcre...@gmail.com

Turned out it was quite easy to compile and install ftjam (using Boost Jam).
ftjam *did* work, with no error messages, and the Treaty of Babel support
seems to work, as the game metadata is displayed in the title bar.

--
Karl Ove Hufthammer
http://huftis.org/
Jabber: ka...@huftis.org

Ben Cressey

unread,
Nov 10, 2011, 4:23:48 PM11/10/11
to Karl Ove Hufthammer, gargl...@googlegroups.com
Great! I will add a note to the issue tracker to investigate the bjam behavior.

I can't seem to get the latest Boost Build package in Ubuntu to do much of anything, so perhaps they've changed it in a way that breaks backwards compatibility.

Karl Ove Hufthammer

unread,
Nov 10, 2011, 4:33:21 PM11/10/11
to gargl...@googlegroups.com, bcre...@gmail.com
Torsdag 10. november 2011 skreiv Ben Cressey:
> Great! I will add a note to the issue tracker to investigate the bjam
>behavior.
>
>I can't seem to get the latest Boost Build package in Ubuntu to do much of
>anything, so perhaps they've changed it in a way that breaks backwards
>compatibility.

The version in openSUSE mostly works, and does compile *almost* all of
Gargoyle. It only stops on the ‘missing’ treaty.h file,

Ben Cressey

unread,
Nov 10, 2011, 4:42:52 PM11/10/11
to Karl Ove Hufthammer, gargl...@googlegroups.com
It's worked seamlessly for me in the past, but now `bjam` just spits out a couple errors.

error: Could not find parent for project at '.'
error: Did not find Jamfile.jam or Jamroot.jam in any parent directory.

Karl Ove Hufthammer

unread,
Nov 10, 2011, 5:18:43 PM11/10/11
to gargl...@googlegroups.com
On Thu, 10 Nov 2011 13:42:52 -0800, Ben Cressey wrote:
> It's worked seamlessly for me in the past, but now `bjam` just spits
> out a couple errors.
>
>> error: Could not find parent for project at '.'
>> error: Did not find Jamfile.jam or Jamroot.jam in any parent
>> directory.

I also get an error message when running bjam:

Unable to load Boost.Build: could not find "boost-build.jam"
---------------------------------------------------------------
Attempted search from /home/huftis/utvikling/gargoyle up to the root
and in these directories from BOOST_BUILD_PATH and BOOST_ROOT:
/usr/share/boost-build.
Please consult the documentation at 'http://www.boost.org'.

But running jam (which is symlinked to *the same* file as bjam) works.
Strange.

--
Karl Ove Hufthammer

Reply all
Reply to author
Forward
0 new messages