Tuhopuu2 build help

When i bootstrap, this is the output:

[nallworth@dittoBox tuhopuu2]$ ./bootstrap
Running aclocal …
aclocal: configure.ac: 198: macro AM_PATH_PYTHON' not found in library aclocal: configure.ac: 212: macroAM_PATH_SDL’ not found in library
Running autoheader …
/usr/bin/m4: configure.in: No such file or directory
Running automake --gnu --add-missing…
Makefile.am:16: BlenderGAME does not appear in AM_CONDITIONAL
Makefile.am:24: BlenderPLUGIN does not appear in AM_CONDITIONAL
Makefile.am:44: BlenderQUICKTIME does not appear in AM_CONDITIONAL
configure.ac: 222: required file ./[config.h].in' not found automake: Makefile.am: warning: automake does not support libbrowserplugin_la_LDFLAGS being defined conditionally intern/SoundSystem/Makefile.am:3: BlenderFMOD does not appear in AM_CONDITIONAL automake: intern/SoundSystem/Makefile.am: not supported: source filedummy/SND_DummyDevice.cpp’ is in subdirectory
automake: intern/SoundSystem/Makefile.am: not supported: source file dummy/SND_DummyDevice.h' is in subdirectory automake: intern/SoundSystem/Makefile.am: not supported: source fileintern/SND_AudioDevice.cpp’ is in subdirectory
automake: intern/SoundSystem/Makefile.am: not supported: source file intern/SND_AudioDevice.h' is in subdirectory automake: intern/SoundSystem/Makefile.am: not supported: source fileintern/SND_C-api.cpp’ is in subdirectory
automake: intern/SoundSystem/Makefile.am: not supported: source file intern/SND_CDObject.cpp' is in subdirectory automake: intern/SoundSystem/Makefile.am: not supported: source fileintern/SND_DeviceManager.cpp’ is in subdirectory
automake: intern/SoundSystem/Makefile.am: not supported: source file intern/SND_IdObject.cpp' is in subdirectory automake: intern/SoundSystem/Makefile.am: not supported: source fileintern/SND_IdObject.h’ is in subdirectory
automake: intern/SoundSystem/Makefile.am: not supported: source file intern/SND_Scene.cpp' is in subdirectory automake: intern/SoundSystem/Makefile.am: not supported: source fileintern/SND_SoundListener.cpp’ is in subdirectory
automake: intern/SoundSystem/Makefile.am: not supported: source file intern/SND_SoundObject.cpp' is in subdirectory automake: intern/SoundSystem/Makefile.am: not supported: source fileintern/SND_Utils.cpp’ is in subdirectory
automake: intern/SoundSystem/Makefile.am: not supported: source file intern/SND_WaveCache.cpp' is in subdirectory automake: intern/SoundSystem/Makefile.am: not supported: source fileintern/SND_WaveSlot.cpp’ is in subdirectory
automake: intern/SoundSystem/Makefile.am: not supported: source file openal/SND_OpenALDevice.cpp' is in subdirectory automake: intern/SoundSystem/Makefile.am: not supported: source fileopenal/SND_OpenALDevice.h’ is in subdirectory
automake: intern/SoundSystem/Makefile.am: not supported: source file openal/pthread_cancel.cpp' is in subdirectory automake: intern/SoundSystem/Makefile.am: not supported: source filedummy/SND_DummyDevice.cpp’ is in subdirectory
automake: intern/SoundSystem/Makefile.am: not supported: source file dummy/SND_DummyDevice.h' is in subdirectory automake: intern/SoundSystem/Makefile.am: not supported: source filefmod/SND_FmodDevice.cpp’ is in subdirectory

source/gameengine/GamePlayer/Makefile.am:9: BlenderPLUGIN does not appear in AM_CONDITIONAL
automake: source/gameengine/GamePlayer/Makefile.am: not supported: source file common/windows/GPW_Canvas.cpp' is in subdirectory automake: source/gameengine/GamePlayer/Makefile.am: not supported: source filecommon/windows/GPW_Engine.cpp’ is in subdirectory
automake: source/gameengine/GamePlayer/Makefile.am: not supported: source file common/windows/GPW_KeyboardDevice.cpp' is in subdirectory automake: source/gameengine/GamePlayer/Makefile.am: not supported: source filecommon/windows/GPW_System.cpp’ is in subdirectory
automake: source/gameengine/GamePlayer/Makefile.am: not supported: source file common/unix/GPU_Canvas.cpp' is in subdirectory automake: source/gameengine/GamePlayer/Makefile.am: not supported: source filecommon/unix/GPU_Engine.cpp’ is in subdirectory
automake: source/gameengine/GamePlayer/Makefile.am: not supported: source file common/unix/GPU_KeyboardDevice.cpp' is in subdirectory automake: source/gameengine/GamePlayer/Makefile.am: not supported: source filecommon/unix/GPU_System.cpp’ is in subdirectory
automake: source/gameengine/GamePlayer/Makefile.am: not supported: source file common/GPC_Canvas.cpp' is in subdirectory automake: source/gameengine/GamePlayer/Makefile.am: not supported: source filecommon/GPC_Engine.cpp’ is in subdirectory
automake: source/gameengine/GamePlayer/Makefile.am: not supported: source file common/GPC_KeyboardDevice.cpp' is in subdirectory automake: source/gameengine/GamePlayer/Makefile.am: not supported: source filecommon/GPC_MouseDevice.cpp’ is in subdirectory
automake: source/gameengine/GamePlayer/Makefile.am: not supported: source file common/GPC_PolygonMaterial.cpp' is in subdirectory automake: source/gameengine/GamePlayer/Makefile.am: not supported: source filecommon/GPC_RawImage.cpp’ is in subdirectory
automake: source/gameengine/GamePlayer/Makefile.am: not supported: source file common/GPC_RawLoadDotBlendArray.cpp' is in subdirectory automake: source/gameengine/GamePlayer/Makefile.am: not supported: source filecommon/GPC_RawLogoArrays.cpp’ is in subdirectory
automake: source/gameengine/GamePlayer/Makefile.am: not supported: source file common/GPC_RenderTools.cpp' is in subdirectory automake: source/gameengine/GamePlayer/Makefile.am: not supported: source filecommon/GPC_System.cpp’ is in subdirectory
automake: source/gameengine/GamePlayer/Makefile.am: not supported: source file `common/bmfont.cpp’ is in subdirectory

Dummy/DummyPhysicsEnvironment.cpp' is in subdirectory automake: source/gameengine/Physics/Makefile.am: not supported: source fileDummy/DummyPhysicsEnvironment.h’ is in subdirectory
automake: source/gameengine/Rasterizer/Makefile.am: not supported: source file RAS_OpenGLRasterizer/RAS_CheckVertexArrays.cpp' is in subdirectory automake: source/gameengine/Rasterizer/Makefile.am: not supported: source fileRAS_OpenGLRasterizer/RAS_CheckVertexArrays.h’ is in subdirectory
automake: source/gameengine/Rasterizer/Makefile.am: not supported: source file RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.cpp' is in subdirectory automake: source/gameengine/Rasterizer/Makefile.am: not supported: source fileRAS_OpenGLRasterizer/RAS_OpenGLRasterizer.h’ is in subdirectory
automake: source/gameengine/Rasterizer/Makefile.am: not supported: source file RAS_OpenGLRasterizer/RAS_VAOpenGLRasterizer.cpp' is in subdirectory automake: source/gameengine/Rasterizer/Makefile.am: not supported: source fileRAS_OpenGLRasterizer/RAS_VAOpenGLRasterizer.h’ is in subdirectory
source/gameengine/Makefile.am:1: BlenderGAME does not appear in AM_CONDITIONAL
source/Makefile.am:1: BlenderGAME does not appear in AM_CONDITIONAL
source/Makefile.am:11: BlenderPLUGIN does not appear in AM_CONDITIONAL
source/Makefile.am:23: BlenderQUICKTIME does not appear in AM_CONDITIONAL
Running autoconf …
autoconf: configure.in: No such file or directory


any ideas?

running mandrake 9.1.

anyone?

Yikes - my first guess would be that you need to update automake, autoconf libtool. However, Mandrake 9.1 is fairly recent, and should have new enough versions installed.

My next suggestion is to install SDL-devel & Python-devel.

I too have been having build issues with the latest CVS cut of tuhopuu2, however they are completely unrelated to yours.

Strange, as I’ve been able to build blender just fine.

Anyways, thanks for the binary, it was nice to check out.

If you have any suggestions for this one I’d appreciate it…

gcc -g -O2 -funsigned-char -I/usr/include/SDL -D_REENTRANT -o blender -Wl,-export-dynamic -Wl,-rpath -Wl,/usr/lib -L/usr/lib/python2.2/config source/.libs/libblender_source.al intern/bsp/.libs/libblender_BSP.al intern/decimation/.libs/libblender_LOD.al intern/ghost/.libs/libblender_GHOST.al intern/string/.libs/libblender_STR.al intern/guardedalloc/.libs/libblender_guardedalloc.al intern/bmfont/.libs/libblender_BMF.al intern/container/.libs/libblender_CTR.al intern/memutil/.libs/libblender_MEM.al intern/iksolver/.libs/libblender_IK.al intern/moto/.libs/libblender_MT.al intern/SoundSystem/.libs/libsoundsystem.al -lutil -L/usr/X11R6/lib -lutil -lpthread -L/usr/lib -lpthread -lpython2.2 -lGLU -lGL -lopenal -lvorbisfile -lvorbis -logg -lesd -lutil -lutil /usr/lib/libjpeg.so -lpng -lpthread -lstdc++ -lz /usr/lib/libSDL.so -lm -ldl -lX11 -lXext -lpthread
/usr/lib/python2.2/config/libpython2.2.a(posixmodule.o)(.text+0x3977): In function posix_tmpnam': : the use oftmpnam_r’ is dangerous, better use mkstemp' /usr/lib/python2.2/config/libpython2.2.a(posixmodule.o)(.text+0x385e): In functionposix_tempnam’:
: the use of tempnam' is dangerous, better usemkstemp’
source/.libs/libblender_source.al(buttons.lo)(.text+0x1521b): In function save_settings_pic': /home/mshannon/tuhopuu/tuhopuu/tuhopuu2/source/blender/src/buttons.c:6061: undefined reference tosave_rendersettings’
source/.libs/libblender_source.al(buttons.lo)(.text+0x1525f): In function load_settings_pic': /home/mshannon/tuhopuu/tuhopuu/tuhopuu2/source/blender/src/buttons.c:6068: undefined reference toload_rendersettings’
collect2: ld returned 1 exit status
make: *** [blender] Error 1

Redhat 9 mostly, with some rawhide thrown in for extra love. :wink:

./bootstrap worked fine
./configure worked fine.

make -j3…errored

ditto, I agree with alien-xmp, I would go and check your automake, autoconf and libtool.

h

hazmat: cvs -z3 update -PCd
or make clean.

Python-devel and SDL-devel are installed.

My versions of Automake and Autoconf respectivly are: 1.4-21.p6.mdk | 2.13-16mdk

Autoconf rpm info says this:

– PLEASE NOTICE —> this version is meant to coexist with autoconf-2.5x; to that end, the various binaries are actually linked to a script which decides which version to execute. It tries to be clever and will execute 2.5x if configure.ac' is present, or ifconfigure.in’ contains AC_PREREQ and the value’s 3 first letters are stringwise greater than ‘2.1’. If anything fails, you can manually select 2.13 by providing the environment variable WANT_AUTOCONF_2_1 set to `1’ (use WANT_AUTOCONF_2_5 if you want the 2.5x version).

Automake doesn’t say anything like this.

What should I do?

EDIT: libtool’s Version: 1.4.3-1mdk

Try:
export WANT_AUTOCONF_2_5=1
./bootstrap

Also check /usr/share/aclocal for the files sdl.m4 and python.m4. Those files define AM_PATH_SDL & AM_PATH_PYTHON.

It also pays to do the actual build in a different directory than the source directory - that way the generated Makefiles don’t overwrite the NAN build system Makefiles, ie
…/blender/configure

Still no go.

[nallworth@dittoBox aclocal]$ dir
aalib.m4      glib-gettext.m4  imlib.m4         lib-link.m4    sigc++.m4
alsa.m4       glib.m4          intdiv0.m4       lib-prefix.m4  stdint_h.m4
codeset.m4    gtk-2.0.m4       inttypes_h.m4    libtool.m4     uintmax_t.m4
freetype2.m4  gtkgl.m4         inttypes.m4      libxml.m4      ulonglong.m4
gettext.m4    gtk--.m4         inttypes-pri.m4  parted.m4      xmms.m4
gimpprint.m4  gtk.m4           isc-posix.m4     pkg.m4
glib-2.0.m4   g-wrap.m4        lcmessage.m4     progtest.m4
glibc21.m4    iconv.m4         lib-ld.m4        sdl.m4

As you can see we have sdl.m4, but no python.m4. I searched for it, still no go.

and after “export WANT_AUTOCONF_2_5=1
./bootstrap”

it still does what it did earlier.

Thanks, after a quick update with cvs I got the build to complete.

Interesting splash screen, plus now that I’m rolling the latest NVIDIA drivers I’m feeling much better stability.

Let me see if I can duplicate your problem ditto…

h

I guess you are going to have to do it the hard way:

Instead of ./bootstrap, run:
aclocal
autoheader
automake --gnu --add-missing
autoconf

if you have multiple automake etc installed, they will be named eg:
automake
automake-1.7
etc.
Use the latest version.

From your log, it looks like aclocal and autoheader are the ones you are having trouble with.

If all else fails, grab automake, autoconf and libtool from gnu.org.

You should be able to find the rpm with python.m4 with Mandrake’s installer (rpmdrake)

Hmmm, I searched with rpmdrake to see if any files had python.m4 located in them, non did.

Everything fails to work, because of python.

Something I assume with mdk. :-?

Oh well, thanks for the help.

Maybe once i get debian in here in the next 6 monthes.

Hmmmm,

I’m on Mandrake (8.1) and python.m4 is in automake-1.6.3-1mdk.

You can grab python.m4 from automake cvs:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/automake/m4/python.m4?cvsroot=automake

You can try: version 1.4 - goes with automake-1.4
version 1.9.2.2 - goes with automake-1.7.3 (what I use)
or the latest version.

On my Redhat box, there is no python.m4 in automake-1.4 either, but there is in 1.5 & 1.6. You might be able to get a new automake from Mandrake.