2.0rc2 / SVN HEAD Build system

View: New views
1 Messages — Rating Filter:   Alert me  

2.0rc2 / SVN HEAD Build system

by Christopher James Halse Rogers-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey list.

I'm trying to build some Tao 2.0rc2 packages for Debian.  The build
system in the release tarball seems to be broken in a couple of ways.
First, and easiest, none of the files have executable privileges, so
you need to "chmod +x source/*.sh source/other/Prebuild/prebuild"

Once I did that, I ran into some more serious problems.  The make.sh
script fails, with output as attached, presumably due to the strange
directories the autotools stuff goes in to
(src/Tao.Sdl/autotools/Tao.Sdl/, for example).  Fixing make.sh to look
in the right dirs doesn't fix it, it errors out with
"""
chris@Burninator:~/Packaging/Debian/tao-2.0.0RC2/source$ ./make.sh
--prefix=/usrPrebuild v2.0.1
Copyright (c) Matthew Holmes, Dan Moorehead and David Hudson
See 'prebuild /usage' for help

~/Packaging/Debian/tao-2.0.0RC2/source/src/Tao.DevIl/autotools/Tao.DevIl
~/Packaging/Debian/tao-2.0.0RC2/source/src
configure:1961: error: possibly undefined macro: AC_PACKAGE_TARNAME
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure:1962: error: possibly undefined macro: AC_PACKAGE_VERSION
autoreconf: /usr/bin/autoconf failed with exit status: 1
"""
Instead.

Finally, it doesn't seem possible to build with nant either, since
there is no tao.build file in the source/ directory, and the
nantfiles.sh does not build one either.

Additionally, SVN HEAD appears to have a buggy version of Prebuild
bundled with it - the autotools target gives the following error:
Prebuild v2.0.2
Copyright (c) Matthew Holmes, Dan Moorehead and David Hudson
See 'prebuild /usage' for help

Unhandled error:        Object reference not set to an instance of an object
  at System.Xml.XmlInputStream.Initialize (System.IO.Stream stream) [0x00000]
  at System.Xml.XmlInputStream..ctor (System.IO.Stream stream) [0x00000]
  at (wrapper remoting-invoke-with-check)
System.Xml.XmlInputStream:.ctor (System.IO.Stream)
  at System.Xml.XmlStreamReader..ctor (System.IO.Stream input) [0x00000]
  at (wrapper remoting-invoke-with-check)
System.Xml.XmlStreamReader:.ctor (System.IO.Stream)
  at System.Xml.XmlTextReader..ctor (System.IO.Stream input,
System.Xml.XmlNameTable nt) [0x00000]
  at System.Xml.XmlDocument.Load (System.IO.Stream inStream) [0x00000]
  at Prebuild.Core.Targets.AutotoolsTarget.Write (Prebuild.Core.Kernel
kern) [0x00000]
  at Prebuild.Core.Kernel.Process () [0x00000]
  at Prebuild.Prebuild.Main (System.String[] args) [0x00000]

This same behaviour is seen with Prebuild from sourceforge.net SVN HEAD.

Are these issues known, and would Tao be interested in a straight
autotools build system, if I made one?

Thanks
Chris

[makeoutput.log]

Prebuild v2.0.1
Copyright (c) Matthew Holmes, Dan Moorehead and David Hudson
See 'prebuild /usage' for help

cp: cannot stat `dist/bin/*.dll': No such file or directory
cp: cannot stat `examples/CgExamples/bin/Release/*.exe': No such file or directory
cp: cannot stat `examples/DevIlExamples/SimpleExample/bin/Release/*.exe': No such file or directory
cp: cannot stat `examples/FreeGlutExamples/One/bin/Release/*.exe': No such file or directory
cp: cannot stat `examples/GeWangExamples/bin/Release/*.exe': No such file or directory
cp: cannot stat `examples/GlfwExamples/bin/Release/*.exe': No such file or directory
cp: cannot stat `examples/LuaExamples/Functions/bin/Release/*.exe': No such file or directory
cp: cannot stat `examples/LuaExamples/Simple/bin/Release/*.exe': No such file or directory
cp: cannot stat `examples/NateRobins/bin/Release/*.exe': No such file or directory
cp: cannot stat `examples/NeHe/bin/Release/*.exe': No such file or directory
cp: cannot stat `examples/OdeExamples/Basic/bin/Release/*.exe': No such file or directory
cp: cannot stat `examples/OpenAlExamples/bin/Release/*.exe': No such file or directory
cp: cannot stat `examples/PhysFsExamples/Simple/bin/Release/*.exe': No such file or directory
cp: cannot stat `examples/Redbook/bin/Release/*.exe': No such file or directory
cp: cannot stat `examples/SdlExamples/bin/Release/*.exe': No such file or directory
cp: cannot stat `src/Tao.Cg/bin/Release/*.xml': No such file or directory
cp: cannot stat `src/Tao.DevIl/bin/Release/*.xml': No such file or directory
cp: cannot stat `src/Tao.FreeGlut/bin/Release/*.xml': No such file or directory
cp: cannot stat `src/Tao.Glfw/bin/Release/*.xml': No such file or directory
cp: cannot stat `src/Tao.Lua/bin/Release/*.xml': No such file or directory
cp: cannot stat `src/Tao.Ode/bin/Release/*.xml': No such file or directory
cp: cannot stat `src/Tao.OpenAl/bin/Release/*.xml': No such file or directory
cp: cannot stat `src/Tao.PhysFs/bin/Release/*.xml': No such file or directory
cp: cannot stat `src/Tao.Platform.Windows/bin/Release/*.xml': No such file or directory
cp: cannot stat `src/Tao.Sdl/bin/Release/*.xml': No such file or directory


_______________________________________________
Tao-list mailing list
Tao-list@...
http://galactus.ximian.com/mailman/listinfo/tao-list