Error in archlinux on step 4.

theotherhiveking

31-10-2008 19:45:12

10-31 20:05 PythonOgre.BuildModule INFO Build Command tar zxf /home/fran/development/downloads/CEGUI-0.6.1.tar.gz --overwrite
10-31 20:05 PythonOgre.BuildModule DEBUG Spawning 'tar zxf /home/fran/development/downloads/CEGUI-0.6.1.tar.gz --overwrite' in '/home/fran/development'
10-31 20:05 PythonOgre.BuildModule WARNING Task Failed
10-31 20:05 PythonOgre.BuildModule DEBUG
10-31 20:05 PythonOgre.BuildModule DEBUG tar: CEGUI-0.6.1/makefiles/premake/premake.exe: Cannot open: Permission denied
tar: Error exit delayed from previous errors

10-31 20:05 PythonOgre.BuildModule INFO Build Command echo 'EMPTY' >>./INSTALL
10-31 20:05 PythonOgre.BuildModule DEBUG Spawning 'echo 'EMPTY' >>./INSTALL' in '/home/fran/development/CEGUI-0.6.1'
10-31 20:05 PythonOgre.BuildModule INFO Build Command echo 'EMPTY' >>./NEWS
10-31 20:05 PythonOgre.BuildModule DEBUG Spawning 'echo 'EMPTY' >>./NEWS' in '/home/fran/development/CEGUI-0.6.1'
10-31 20:05 PythonOgre.BuildModule INFO Build Command aclocal
10-31 20:05 PythonOgre.BuildModule DEBUG Spawning 'aclocal' in '/home/fran/development/CEGUI-0.6.1'
10-31 20:05 PythonOgre.BuildModule INFO Build Command automake
10-31 20:05 PythonOgre.BuildModule DEBUG Spawning 'automake' in '/home/fran/development/CEGUI-0.6.1'
10-31 20:05 PythonOgre.BuildModule INFO Build Command ./configure --prefix=/home/fran/development/root/usr --enable-freeimage=yes --with-default-xml-parser=TinyXMLParser --disable-samples --without-ogre-renderer --includedir=/home/fran/development/root/usr/include
10-31 20:05 PythonOgre.BuildModule DEBUG Spawning './configure --prefix=/home/fran/development/root/usr --enable-freeimage=yes --with-default-xml-parser=TinyXMLParser --disable-samples --without-ogre-renderer --includedir=/home/fran/development/root/usr/include' in '/home/fran/development/CEGUI-0.6.1'
10-31 20:06 PythonOgre.BuildModule INFO Build Command make
10-31 20:06 PythonOgre.BuildModule DEBUG Spawning 'make' in '/home/fran/development/CEGUI-0.6.1'
10-31 20:06 PythonOgre.BuildModule WARNING Task Failed
10-31 20:06 PythonOgre.BuildModule DEBUG cd . && /bin/sh /home/fran/development/CEGUI-0.6.1/missing --run autoconf
/bin/sh ./config.status --recheck
running CONFIG_SHELL=/bin/sh /bin/sh ./configure --prefix=/home/fran/development/root/usr --enable-freeimage=yes --with-default-xml-parser=TinyXMLParser --disable-samples --without-ogre-renderer --includedir=/home/fran/development/root/usr/include CXXFLAGS= -I/home/fran/development/root/usr/include -L/home/fran/development/root/usr/lib LDFLAGS=-Wl,-rpath='$$ORIGIN/../../lib' -Wl,-rpath='$$ORIGIN' -Wl,-z,origin CFLAGS= -I/home/fran/development/root/usr/include -L/home/fran/development/root/usr/lib --no-create --no-recursion
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 805306365
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for dlopen in -ldl... yes
checking for pthread_create in -lpthread... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for freetype2... yes
checking for pcre... yes
checking for libxml... yes
checking for main in -lxerces-c... no
checking for XML_ParserCreate in -lexpat... yes
checking for main in -ltinyxml... no
configure: Default XML Parser will be: TinyXMLParser
checking for ANSI C header files... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working volatile... yes
checking for ptrdiff_t... yes
checking for error_at_line... yes
checking for working memcmp... yes
checking whether time.h and sys/time.h may both be included... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for alarm... yes
checking for working mktime... yes
checking for working strcoll... yes
checking for strftime... yes
checking for atexit... yes
checking for floor... no
checking for memchr... yes
checking for memmove... yes
checking for memset... yes
checking for pow... no
checking for regcomp... yes
checking for setlocale... yes
checking for sqrt... no
checking for strchr... yes
checking for strcspn... yes
checking for strerror... yes
checking for strpbrk... yes
checking for strtoul... yes
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for library containing glInterleavedArrays... -lGL
checking for library containing gluOrtho2D... -lGLU
checking for library containing glutInit... -lglut
checking for glewInit in -lGLEW... yes
configure: OpenGL renderer enabled
checking for ilLoadL in -lIL... yes
checking for iluFlipImage in -lILU... yes
configure: Image loading via DevIL by OpenGL renderer enabled
checking for library containing FreeImage_GetVersion... -lfreeimage
checking FreeImage.h usability... yes
checking FreeImage.h presence... yes
checking for FreeImage.h... yes
configure: Image loading via FreeImage by OpenGL renderer enabled
checking for SILLY... no
configure: Image loading via SILLY by OpenGL renderer disabled
checking for corona-config... no
checking for corona - version >= 1.2.0... no
configure: Use of OpenGL in Samples is enabled
configure: Default ImageCodec will be: DevILImageCodec
checking for CEGUIOGRE... yes
checking for CEGUI_NULL... yes
checking for OIS... yes
configure: Use of Ogre3D in Samples is disabled
checking for main in -lIrrlicht... no
checking for XF86VidModeQueryVersion in -lXxf86vm... yes
configure: Irrlicht renderer disabled
checking for GTK... yes
configure: GTK2 renderer selection dialog in samples is disabled
configure: Samples framework and applications are disabled.
checking for Lua... yes
checking for tolua_endmodule in -ltolua++... no
configure: Building of Lua scripting module is enabled
configure: Building of tolua++cegui generator tool is disabled.
configure: creating ./config.status

********************************************************************************
* Crazy Eddie's GUI System - Configuration Results Summary
********************************************************************************
* Library Release Version: 0.6.1
*
* Code options:
* Building CEGUI in debug mode: no
*
* Renderer Modules:
* Building OpenGL Renderer: yes
* Using external GLEW library: yes
* Building Irrlicht Renderer: no
*
* Image Loading Codec Modules (currently for OpenGL Renderer only):
* Building Corona Image Codec: no
* Building DevIL Image Codec: yes
* Building FreeImage Image Codec: yes
* Building SILLY Image Codec: no
* Building TGA Image Codec: yes
*
* Default Image Codec will be: DevILImageCodec
*
* XML Parser Modules:
* Building TinyXMLParser: yes
* Using external TinyXML library: no
* Building ExpatParser: yes
* Building LibXMLParser: yes
* Building XercesParser: no
*
* Default XML Parser is: TinyXMLParser
*
* Scripting:
* Building Lua scripting module: yes
* Building tolua++cegui generator: no
* Using external tolua++ library: no
*
* Samples Framework:
* Building Samples: no
* GTK2 based dialog for renderer selection: no
* OpenGL Renderer available in samples: yes
* Irrlicht Renderer available in samples: no
* Ogre3D Renderer available in samples: no
********************************************************************************

Now you can do make && make install. Good Luck!

/bin/sh ./config.status
config.status: creating Makefile
config.status: creating ImageCodecModules/Makefile
config.status: creating ImageCodecModules/CoronaImageCodec/Makefile
config.status: creating ImageCodecModules/DevILImageCodec/Makefile
config.status: creating ImageCodecModules/FreeImageImageCodec/Makefile
config.status: creating ImageCodecModules/SILLYImageCodec/Makefile
config.status: creating ImageCodecModules/TGAImageCodec/Makefile
config.status: creating RendererModules/directx81GUIRenderer/Makefile
config.status: creating RendererModules/directx9GUIRenderer/Makefile
config.status: creating RendererModules/directx10GUIRenderer/Makefile
config.status: creating RendererModules/IrrlichtRenderer/Makefile
config.status: creating RendererModules/Makefile
config.status: creating RendererModules/OpenGLGUIRenderer/Makefile
config.status: creating Samples/Demo6/Makefile
config.status: creating Samples/Demo6/src/Makefile
config.status: creating Samples/Demo7/Makefile
config.status: creating Samples/Demo7/src/Makefile
config.status: creating Samples/Demo8/Makefile
config.status: creating Samples/Demo8/src/Makefile
config.status: creating Samples/DragDropDemo/Makefile
config.status: creating Samples/FalagardDemo1/Makefile
config.status: creating Samples/FalagardDemo1/include/Makefile
config.status: creating Samples/FalagardDemo1/src/Makefile
config.status: creating Samples/FirstWindow/Makefile
config.status: creating Samples/FirstWindow/include/Makefile
config.status: creating Samples/FirstWindow/src/Makefile
config.status: creating Samples/FontDemo/Makefile
config.status: creating Samples/FontDemo/src/Makefile
config.status: creating Samples/InstancedWindows/Makefile
config.status: creating Samples/InstancedWindows/include/Makefile
config.status: creating Samples/InstancedWindows/src/Makefile
config.status: creating Samples/Minesweeper/Makefile
config.status: creating Samples/Minesweeper/src/Makefile
config.status: creating Samples/ScrollablePaneDemo/Makefile
config.status: creating Samples/ScrollablePaneDemo/src/Makefile
config.status: creating Samples/TabControlDemo/Makefile
config.status: creating Samples/TabControlDemo/src/Makefile
config.status: creating Samples/TextDemo/Makefile
config.status: creating Samples/TextDemo/src/Makefile
config.status: creating Samples/TreeDemo/Makefile
config.status: creating Samples/TreeDemo/include/Makefile
config.status: creating Samples/TreeDemo/src/Makefile
config.status: creating Samples/Makefile
config.status: creating Samples/common/Makefile
config.status: creating Samples/common/include/Makefile
config.status: creating Samples/common/src/Makefile
config.status: creating Samples/datafiles/Makefile
config.status: creating ScriptingModules/CEGUILua/LuaScriptModule/Makefile
config.status: creating ScriptingModules/CEGUILua/LuaScriptModule/include/Makefile
config.status: creating ScriptingModules/CEGUILua/LuaScriptModule/package/Makefile
config.status: creating ScriptingModules/CEGUILua/LuaScriptModule/src/Makefile
config.status: creating ScriptingModules/CEGUILua/Makefile
config.status: creating ScriptingModules/CEGUILua/tolua++/Makefile
config.status: creating ScriptingModules/CEGUILua/tolua++bin/Makefile
config.status: creating ScriptingModules/Makefile
config.status: creating WindowRendererSets/Makefile
config.status: creating WindowRendererSets/Falagard/Makefile
config.status: creating WindowRendererSets/Falagard/include/Makefile
config.status: creating WindowRendererSets/Falagard/src/Makefile
config.status: creating XMLParserModules/Makefile
config.status: creating XMLParserModules/TinyXMLParser/Makefile
config.status: creating XMLParserModules/XercesParser/Makefile
config.status: creating XMLParserModules/expatParser/Makefile
config.status: creating XMLParserModules/libxmlParser/Makefile
config.status: creating include/Makefile
config.status: creating include/elements/Makefile
config.status: creating include/falagard/Makefile
config.status: creating makefiles/Makefile
config.status: creating src/Makefile
config.status: creating CEGUI.pc
config.status: creating CEGUI-OPENGL.pc
config.status: creating CEGUI.spec
config.status: creating include/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
Making all in .
make[1]: Entering directory `/home/fran/development/CEGUI-0.6.1'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/home/fran/development/CEGUI-0.6.1'
Making all in src
make[1]: Entering directory `/home/fran/development/CEGUI-0.6.1/src'
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../include -I../include -I.. -I/usr/include/freetype2 -I/home/fran/development/root/usr/include -L/home/fran/development/root/usr/lib -MT libCEGUIBase_la-CEGUIBase.lo -MD -MP -MF .deps/libCEGUIBase_la-CEGUIBase.Tpo -c -o libCEGUIBase_la-CEGUIBase.lo `test -f 'CEGUIBase.cpp' || echo './'`CEGUIBase.cpp
make[1]: Leaving directory `/home/fran/development/CEGUI-0.6.1/src'

10-31 20:06 PythonOgre.BuildModule DEBUG ../libtool: line 861: X--tag=CXX: command not found
../libtool: line 894: libtool: ignoring unknown tag : command not found
../libtool: line 861: X--mode=compile: command not found
../libtool: line 1028: *** Warning: inferring the mode of operation is deprecated.: command not found
../libtool: line 1029: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
../libtool: line 1172: Xg++: command not found
../libtool: line 1172: X-DHAVE_CONFIG_H: command not found
../libtool: line 1172: X-I.: command not found
../libtool: line 1172: X-I../include: No such file or directory
../libtool: line 1172: X-I../include: No such file or directory
../libtool: line 1172: X-I..: command not found
../libtool: line 1172: X-I/usr/include/freetype2: No such file or directory
../libtool: line 1172: X-I/home/fran/development/root/usr/include: No such file or directory
../libtool: line 1172: X-L/home/fran/development/root/usr/lib: No such file or directory
../libtool: line 1172: X-MT: command not found
../libtool: line 1172: XlibCEGUIBase_la-CEGUIBase.lo: command not found
../libtool: line 1172: X-MD: command not found
../libtool: line 1172: X-MP: command not found
../libtool: line 1172: X-MF: command not found
../libtool: line 1172: X.deps/libCEGUIBase_la-CEGUIBase.Tpo: No such file or directory
../libtool: line 1172: X-c: command not found
../libtool: line 1225: XlibCEGUIBase_la-CEGUIBase.lo: command not found
../libtool: line 1230: libtool: compile: cannot determine name of library object from `': command not found
make[1]: *** [libCEGUIBase_la-CEGUIBase.lo] Error 1
make: *** [all-recursive] Error 1

10-31 20:06 PythonOgre.BuildModule INFO Build Command make install
10-31 20:06 PythonOgre.BuildModule DEBUG Spawning 'make install' in '/home/fran/development/CEGUI-0.6.1'
10-31 20:06 PythonOgre.BuildModule WARNING Task Failed
10-31 20:06 PythonOgre.BuildModule DEBUG Making install in .
make[1]: Entering directory `/home/fran/development/CEGUI-0.6.1'
make[2]: Entering directory `/home/fran/development/CEGUI-0.6.1'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/home/fran/development/root/usr/share/CEGUI" || /bin/mkdir -p "/home/fran/development/root/usr/share/CEGUI"
/bin/sh /home/fran/development/CEGUI-0.6.1/install-sh -c -m 644 'XMLRefSchema/CEGUIConfig.xsd' '/home/fran/development/root/usr/share/CEGUI/XMLRefSchema/CEGUIConfig.xsd'
/bin/sh /home/fran/development/CEGUI-0.6.1/install-sh -c -m 644 'XMLRefSchema/Falagard.xsd' '/home/fran/development/root/usr/share/CEGUI/XMLRefSchema/Falagard.xsd'
/bin/sh /home/fran/development/CEGUI-0.6.1/install-sh -c -m 644 'XMLRefSchema/Font.xsd' '/home/fran/development/root/usr/share/CEGUI/XMLRefSchema/Font.xsd'
/bin/sh /home/fran/development/CEGUI-0.6.1/install-sh -c -m 644 'XMLRefSchema/GUILayout.xsd' '/home/fran/development/root/usr/share/CEGUI/XMLRefSchema/GUILayout.xsd'
/bin/sh /home/fran/development/CEGUI-0.6.1/install-sh -c -m 644 'XMLRefSchema/GUIScheme.xsd' '/home/fran/development/root/usr/share/CEGUI/XMLRefSchema/GUIScheme.xsd'
/bin/sh /home/fran/development/CEGUI-0.6.1/install-sh -c -m 644 'XMLRefSchema/Imageset.xsd' '/home/fran/development/root/usr/share/CEGUI/XMLRefSchema/Imageset.xsd'
/bin/sh /home/fran/development/CEGUI-0.6.1/install-sh -c -m 644 'XMLRefSchema/Readme.txt' '/home/fran/development/root/usr/share/CEGUI/XMLRefSchema/Readme.txt'
test -z "/home/fran/development/root/usr/lib/pkgconfig" || /bin/mkdir -p "/home/fran/development/root/usr/lib/pkgconfig"
/bin/install -c -m 644 'CEGUI.pc' '/home/fran/development/root/usr/lib/pkgconfig/CEGUI.pc'
/bin/install -c -m 644 'CEGUI-OPENGL.pc' '/home/fran/development/root/usr/lib/pkgconfig/CEGUI-OPENGL.pc'
make[2]: Leaving directory `/home/fran/development/CEGUI-0.6.1'
make[1]: Leaving directory `/home/fran/development/CEGUI-0.6.1'
Making install in src
make[1]: Entering directory `/home/fran/development/CEGUI-0.6.1/src'
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../include -I../include -I.. -I/usr/include/freetype2 -I/home/fran/development/root/usr/include -L/home/fran/development/root/usr/lib -MT libCEGUIBase_la-CEGUIBase.lo -MD -MP -MF .deps/libCEGUIBase_la-CEGUIBase.Tpo -c -o libCEGUIBase_la-CEGUIBase.lo `test -f 'CEGUIBase.cpp' || echo './'`CEGUIBase.cpp
make[1]: Leaving directory `/home/fran/development/CEGUI-0.6.1/src'

10-31 20:06 PythonOgre.BuildModule DEBUG ../libtool: line 861: X--tag=CXX: command not found
../libtool: line 894: libtool: ignoring unknown tag : command not found
../libtool: line 861: X--mode=compile: command not found
../libtool: line 1028: *** Warning: inferring the mode of operation is deprecated.: command not found
../libtool: line 1029: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
../libtool: line 1172: Xg++: command not found
../libtool: line 1172: X-DHAVE_CONFIG_H: command not found
../libtool: line 1172: X-I.: command not found
../libtool: line 1172: X-I../include: No such file or directory
../libtool: line 1172: X-I../include: No such file or directory
../libtool: line 1172: X-I..: command not found
../libtool: line 1172: X-I/usr/include/freetype2: No such file or directory
../libtool: line 1172: X-I/home/fran/development/root/usr/include: No such file or directory
../libtool: line 1172: X-L/home/fran/development/root/usr/lib: No such file or directory
../libtool: line 1172: X-MT: command not found
../libtool: line 1172: XlibCEGUIBase_la-CEGUIBase.lo: command not found
../libtool: line 1172: X-MD: command not found
../libtool: line 1172: X-MP: command not found
../libtool: line 1172: X-MF: command not found
../libtool: line 1172: X.deps/libCEGUIBase_la-CEGUIBase.Tpo: No such file or directory
../libtool: line 1172: X-c: command not found
../libtool: line 1225: XlibCEGUIBase_la-CEGUIBase.lo: command not found
../libtool: line 1230: libtool: compile: cannot determine name of library object from `': command not found
make[1]: *** [libCEGUIBase_la-CEGUIBase.lo] Error 1
make: *** [install-recursive] Error 1




Tons of libtool errors, and i cant continue. My libtool version is 2.2.6a-1, I think it has been updated recently.

Any way to fix it? Thanks.

theotherhiveking

02-11-2008 18:55:00

Found the problem, I had to run 'libtoolize' on Cegui's source. now it is compiling fine.

andy

03-11-2008 01:50:54

Can you send through the command line you ran -- I'll see if it impacts ubuntu etc and look to make it part of the standard build procedure..

Andy

theotherhiveking

03-11-2008 14:49:59

Can you send through the command line you ran -- I'll see if it impacts ubuntu etc and look to make it part of the standard build procedure..

Andy


Sorry but i don't remember, anyway the seconds time i tried it did not work, basically all i did was modifying the bootstrap of ogre, ois and cegui to look for libtool 2.2.8a-1 instead of a version in the 1.* range. After that it worked fine.

But I had to it manually using the commands from the script, for some reason the script would fail to run or complete ./bootstrap, I dont know why.

Also i think that it will happen too with ubuntu 8.10 because afaik they updated the libtool version.

theotherhiveking

03-11-2008 20:02:26

11-03 20:02 PythonOgre.BuildModule INFO Building Source code for ogre
11-03 20:02 PythonOgre.BuildModule DEBUG Spawning 'python generate_code.py' in '/home/fran/development/python-ogre/code_generators/ogre'
11-03 20:07 PythonOgre.BuildModule INFO Compiling Source code for ogre
11-03 20:07 PythonOgre.BuildModule DEBUG Spawning 'scons PROJECTS=ogre' in '/home/fran/development/python-ogre'
11-03 20:07 PythonOgre.BuildModule WARNING Task Failed
11-03 20:07 PythonOgre.BuildModule DEBUG [?1034hscons: Reading SConscript files ...
Building ogre
WARNING: Over-Writing /home/fran/development/python-ogre/generated/ogre_1.6.0RC1/SConscript as it already exists
scons: done reading SConscript files.
scons: Building targets ...
g++ -o build_dir_2.6/ogre_1.6.0RC1/AliasTextureIterator.pypp.os -c " " ` p k g - c o n f i g " " - - c f l a g s " " O G R E ` " " " " - I " " - O 3 " " - I . / " " " " " " - D B O O S T _ P Y T H O N _ M A X _ A R I T Y = 1 9 " " " " - I / h o m e / f r a n / d e v e l o p m e n t / r o o t / u s r / i n c l u d e " " - L / h o m e / f r a n / d e v e l o p m e n t / r o o t / u s r / l i b -fPIC -I/home/fran/development/root/usr/include/boost-1_36 -I/home/fran/development/root/usr/include/OGRE -I/usr/include/python2.6 -I/home/fran/development/root/usr/include/boost-1_36 generated/ogre_1.6.0RC1/AliasTextureIterator.pypp.cpp
scons: building terminated because of errors.

11-03 20:07 PythonOgre.BuildModule DEBUG /home/fran/development/root/usr/lib/scons-1.0.1/SCons/Platform/posix.py:38: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module.
import popen2
/home/fran/development/root/usr/lib/scons-1.0.1/SCons/Tool/msvs.py:37: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import md5
sh: p: command not found
g++: : No such file or directory
g++: : No such file or directory
g++: : No such file or directory
g++: I: No such file or directory
g++: : No such file or directory
g++: O: No such file or directory
g++: 3: No such file or directory
g++: : No such file or directory
g++: I: No such file or directory
g++: : No such file or directory
g++: : No such file or directory
g++: : No such file or directory
g++: D: No such file or directory
g++: B: No such file or directory
g++: O: No such file or directory
g++: O: No such file or directory
g++: S: No such file or directory
g++: T: No such file or directory
g++: _: No such file or directory
g++: P: No such file or directory
g++: Y: No such file or directory
g++: T: No such file or directory
g++: H: No such file or directory
g++: O: No such file or directory
g++: N: No such file or directory
g++: _: No such file or directory
g++: M: No such file or directory
g++: A: No such file or directory
g++: X: No such file or directory
g++: _: No such file or directory
g++: A: No such file or directory
g++: R: No such file or directory
g++: I: No such file or directory
g++: T: No such file or directory
g++: Y: No such file or directory
g++: =: No such file or directory
g++: 1: No such file or directory
g++: 9: No such file or directory
g++: : No such file or directory
g++: : No such file or directory
g++: I: No such file or directory
g++: h: No such file or directory
g++: o: No such file or directory
g++: m: No such file or directory
g++: e: No such file or directory
g++: f: No such file or directory
g++: r: No such file or directory
g++: a: No such file or directory
g++: n: No such file or directory
g++: d: No such file or directory
g++: e: No such file or directory
g++: v: No such file or directory
g++: e: No such file or directory
g++: l: No such file or directory
g++: o: No such file or directory
g++: p: No such file or directory
g++: m: No such file or directory
g++: e: No such file or directory
g++: n: No such file or directory
g++: t: No such file or directory
g++: r: No such file or directory
g++: o: No such file or directory
g++: o: No such file or directory
g++: t: No such file or directory
g++: u: No such file or directory
g++: s: No such file or directory
g++: r: No such file or directory
g++: i: No such file or directory
g++: n: No such file or directory
g++: c: No such file or directory
g++: l: No such file or directory
g++: u: No such file or directory
g++: d: No such file or directory
g++: e: No such file or directory
g++: : No such file or directory
g++: L: No such file or directory
g++: h: No such file or directory
g++: o: No such file or directory
g++: m: No such file or directory
g++: e: No such file or directory
g++: f: No such file or directory
g++: r: No such file or directory
g++: a: No such file or directory
g++: n: No such file or directory
g++: d: No such file or directory
g++: e: No such file or directory
g++: v: No such file or directory
g++: e: No such file or directory
g++: l: No such file or directory
g++: o: No such file or directory
g++: p: No such file or directory
g++: m: No such file or directory
g++: e: No such file or directory
g++: n: No such file or directory
g++: t: No such file or directory
g++: r: No such file or directory
g++: o: No such file or directory
g++: o: No such file or directory
g++: t: No such file or directory
g++: u: No such file or directory
g++: s: No such file or directory
g++: r: No such file or directory
g++: l: No such file or directory
g++: i: No such file or directory
g++: b: No such file or directory
g++: cannot specify -o with -c or -S with multiple files
scons: *** [build_dir_2.6/ogre_1.6.0RC1/AliasTextureIterator.pypp.os] Error 1

11-03 20:07 PythonOgre.BuildModule INFO Building Source code for ois
11-03 20:07 PythonOgre.BuildModule DEBUG Spawning 'python generate_code.py' in '/home/fran/development/python-ogre/code_generators/ois'
11-03 20:07 PythonOgre.BuildModule WARNING Task Failed
11-03 20:07 PythonOgre.BuildModule DEBUG Var Checker called without location: OIS::Effect::force [variable]

11-03 20:07 PythonOgre.BuildModule DEBUG /usr/lib/python2.6/site-packages/pygccxml/parser/declarations_cache.py:8: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import md5
INFO Parsing xml file "/home/fran/development/python-ogre/code_generators/cache/ois_1.2_cache.xml" ...
INFO GCCXML version - 0.9
/usr/lib/python2.6/site-packages/pygccxml/parser/scanner.py:337: UserWarning: unable to find out array size from expression ""
warnings.warn( msg )
Traceback (most recent call last):
File "generate_code.py", line 304, in <module>
generate_code()
File "generate_code.py", line 241, in generate_code
common_utils.AutoExclude ( mb, MAIN_NAMESPACE )
File "../common_utils/__init__.py", line 468, in AutoExclude
Remove_Static_Consts ( main_ns )
File "../common_utils/__init__.py", line 528, in Remove_Static_Consts
if checker( var ):
File "../common_utils/var_checker.py", line 29, in __call__
varline = self.source[declaration.location.line-1]
TypeError: 'NoneType' object is unsubscriptable

11-03 20:07 PythonOgre.BuildModule INFO Compiling Source code for ois
11-03 20:07 PythonOgre.BuildModule DEBUG Spawning 'scons PROJECTS=ois' in '/home/fran/development/python-ogre'
11-03 20:07 PythonOgre.BuildModule WARNING Task Failed
11-03 20:07 PythonOgre.BuildModule DEBUG [?1034hscons: Reading SConscript files ...
Building ois
WARNING: Generate the sources in this directory: "/home/fran/development/python-ogre/generated/ois_1.2"

11-03 20:07 PythonOgre.BuildModule DEBUG /home/fran/development/root/usr/lib/scons-1.0.1/SCons/Platform/posix.py:38: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module.
import popen2
/home/fran/development/root/usr/lib/scons-1.0.1/SCons/Tool/msvs.py:37: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import md5
OSError: [Errno 2] No such file or directory: '/home/fran/development/python-ogre/generated/ois_1.2':
File "/home/fran/development/python-ogre/SConstruct", line 191:
sourcefiles = get_source_files(cls, cls._source, usepch)
File "/home/fran/development/python-ogre/SConstruct", line 87:
raise e



O_o.

andy

04-11-2008 00:19:17

I can't even begin to guess why scons would add all these extra spaces on your system..

I suggest you move your questions/issues to the google mailing list as this is where the Linux guys hang out :)

Check out http://www.ogre3d.org/phpBB2addons/viewtopic.php?t=5558 for info...

Andy

mithro

16-05-2009 20:27:43

The extra spaces is caused by Python2.6 and an old version of Scons interacting badly.

Please use the trunk branch which has been updated to use a new version of Scons.