Re: build problems with beast-0.7.2 svn on Fedora 7



On Mon, 2 Jul 2007, Martin Gansser wrote:

hi,

i tried to compile beast svn snapshot from 2th June 07, but this makes
a lot of problems on Fedora 7.


1. fedora7 comes with python-2.5 not with version 2.4
  i had to change the python version in autogen.sh to get i built.
perl -pi -e 's|AUTOMAKE_MAXVERSION=1.9|AUTOMAKE_MAXVERSION=1.10|g'
autogen.sh

do not use automake 1.10, it is known to be broken and can't build many
projects including the beast sources.

and in the doxer files
doxer/changelog2doxi.py
doxer/Code2Doxi.py
doxer/Config.py
doxer/Data.py
doxer/doxer.py
doxer/DoxiParser.py
doxer/HtmlGenerator.py
doxer/linkdict.py
doxer/ManGenerator.py
doxer/qcomment.py
doxer/qdoxygen.py
doxer/qxmlparser.py
doxer/ScadParser.py
doxer/Utils.py

why are you building from SVN? that is known to be unstable code, see
the disclaimer on our website:

  Building from SVN requires additional tools than building the release
  tarballs. This is due to documentation build rules and code generation
  rules for which the results are simply included in release tarballs.
  And unlike release tarballs, the SVN version of BEAST has to be build
  in place with srcdir==builddir.
  Beware that SVN versions may behave way less stable than release tarballs,
  and they may produce invalid or incompatible .bse files. So please do not
  distribute non-release packages of BEAST/BSE, that would mean putting the
  enduser's data at risk and produces much unneccessary work for us.

you should be using relese tarballs.
however, depending on your fedora version you might also need these patches:
  http://bugzilla.gnome.org/show_bug.cgi?id=364464 # guile-1.8 support
  http://bugzilla.gnome.org/show_bug.cgi?id=452604 # fix fedora buffer overflow


2. then beast fails with the following error message:

gcc -DHAVE_CONFIG_H -DGTK_DISABLE_COMPAT_H -DGXK_COMPILATION
-DG_LOG_DOMAIN=\"GXK\" -I. -I../.. -I../.. -I../.. -I../../beast-gtk
-I../../beast-gtk -I. -I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include   -I/usr/include/libart-2.0
-I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0
-I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gtk-2.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-D_BIRNET_SOURCE_EXTENSIONS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32
-march=i386 -mtune=generic -fasynchronous-unwind-tables -g
-DG_ENABLE_DEBUG -ggdb3 -fno-cond-mismatch -Wmissing-prototypes
-Wmissing-declarations -Wno-cast-qual -Wno-pointer-sign -Wpointer-arith
-Wredundant-decls -Wmissing-noreturn -ftracer -finline-functions
-fno-keep-static-consts -MT gxktest.o -MD -MP -MF .deps/gxktest.Tpo -c
-o gxktest.o gxktest.c
In file included from ../../beast-gtk/gxk/gxkaction.h:20,
                from ../../beast-gtk/gxk/gxk.h:24,
                from gxktest.c:17:
../../beast-gtk/gxk/gxkutils.h:26:29: error: gxk/gxkgentypes.h: No such
file or directory
make[4]: *** [gxktest.o] Error 1

that looks like you miss generated files. the release tarballs have
all these prebuilt.

any hints ?
Martin

---
ciaoTJ



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