Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

Trouble Installing Ogre 1.4.6 in Ubuntu


  • Please log in to reply

#1
Titan8990

Titan8990

    Member

  • Member
  • PipPipPipPipPip
  • 2,189 posts
I am a Linux newb. I was checking out some of the games on the Ubuntu forums. I came across one that I found myself trying to install for hours. It told me I didn't have library after library. I am stuck trying to install one in particular now called ogre. My problems seem to be with "aclocal". In the readme that came with the source code it said that you may have to point it at a different directory. After a few failures I tried typing exactly what the readme said but it was just an example did not work.

So here are the results when I try to configure/compile the source code:

When I run ./bootstrap I get the following outcome:

Samples/Common/Makefile.am:1: required directory Samples/Common/bin does not exist
Samples/Makefile.am:4: required directory Samples/SkeletalAnimation does not exist
Samples/Makefile.am:4: required directory Samples/BezierPatch does not exist
Samples/Makefile.am:4: required directory Samples/EnvMapping does not exist
Samples/Makefile.am:4: required directory Samples/Transpacency does not exist
Samples/Makefile.am:4: required directory Samples/Lighting does not exist
Samples/Makefile.am:4: required directory Samples/ParticleFX does not exist
Samples/Makefile.am:4: required directory Samples/TextureFX does not exist
Samples/Makefile.am:4: required directory Samples/SkyDome does not exist
Samples/Makefile.am:4: required directory Samples/BSP does not exist
Samples/Makefile.am:4: required directory Samples/SkyPlane does not exist
Samples/Makefile.am:4: required directory Samples/SkyBox does not exist
Samples/Makefile.am:4: required directory Samples/CameraTrack does not exist
Samples/Makefile.am:4: required directory Samples/Terrain does not exist
Samples/Makefile.am:4: required directory Samples/RenderToTexture does not exist
Samples/Makefile.am:4: required directory Samples/Water does not exist
Samples/Makefile.am:4: required directory Samples/CubeMapping does not exist
Samples/Makefile.am:4: required directory Samples/Dot3Bump does not exist
Samples/Makefile.am:4: required directory Samples/Smoke does not exist
Samples/Makefile.am:4: required directory Samples/CelShading does not exist
Samples/Makefile.am:4: required directory Samples/Fresnel does not exist
Samples/Makefile.am:4: required directory Samples/DynTex does not exist
Samples/Makefile.am:4: required directory Samples/VolumeTex does not exist
Samples/Makefile.am:4: required directory Samples/Grass does not exist
Samples/Makefile.am:4: required directory Samples/DeferredShading does not exist
Samples/Makefile.am:10: required directory Samples/Gui does not exist
Samples/Makefile.am:10: required directory Samples/FacialAnimation does not exist
Samples/Makefile.am:10: required directory Samples/OceanDemo does not exist
Samples/Makefile.am:10: required directory Samples/Compositor does not exist
Samples/Makefile.am:10: required directory Samples/Shadows does not exist
Samples/Makefile.am:10: required directory Samples/Instancing does not exist
configure.in:110: required file `Samples/Gui/Makefile.in' not found
configure.in:110: required file `Samples/Gui/src/Makefile.in' not found
configure.in:122: required file `Samples/Common/include/Makefile.in' not found
configure.in:122: required file `Samples/Common/bin/Makefile.in' not found
configure.in:122: required file `Samples/BezierPatch/Makefile.in' not found
configure.in:122: required file `Samples/BezierPatch/src/Makefile.in' not found
configure.in:122: required file `Samples/BezierPatch/include/Makefile.in' not found
configure.in:122: required file `Samples/CameraTrack/Makefile.in' not found
configure.in:122: required file `Samples/CameraTrack/src/Makefile.in' not found
configure.in:122: required file `Samples/CelShading/Makefile.in' not found
configure.in:122: required file `Samples/CelShading/src/Makefile.in' not found
configure.in:122: required file `Samples/Compositor/Makefile.in' not found
configure.in:122: required file `Samples/Compositor/src/Makefile.in' not found
configure.in:122: required file `Samples/Compositor/include/Makefile.in' not found
configure.in:122: required file `Samples/CubeMapping/Makefile.in' not found
configure.in:122: required file `Samples/CubeMapping/src/Makefile.in' not found
configure.in:122: required file `Samples/CubeMapping/include/Makefile.in' not found
configure.in:122: required file `Samples/DeferredShading/Makefile.in' not found
configure.in:122: required file `Samples/DeferredShading/src/Makefile.in' not found
configure.in:122: required file `Samples/DeferredShading/include/Makefile.in' not found
configure.in:122: required file `Samples/Dot3Bump/Makefile.in' not found
configure.in:122: required file `Samples/Dot3Bump/src/Makefile.in' not found
configure.in:122: required file `Samples/EnvMapping/Makefile.in' not found
configure.in:122: required file `Samples/EnvMapping/src/Makefile.in' not found
configure.in:122: required file `Samples/EnvMapping/include/Makefile.in' not found
configure.in:122: required file `Samples/FacialAnimation/Makefile.in' not found
configure.in:122: required file `Samples/FacialAnimation/src/Makefile.in' not found
configure.in:122: required file `Samples/Fresnel/Makefile.in' not found
configure.in:122: required file `Samples/Fresnel/src/Makefile.in' not found
configure.in:122: required file `Samples/Grass/Makefile.in' not found
configure.in:122: required file `Samples/Grass/src/Makefile.in' not found
configure.in:122: required file `Samples/Transpacency/Makefile.in' not found
configure.in:122: required file `Samples/Transpacency/src/Makefile.in' not found
configure.in:122: required file `Samples/Transpacency/include/Makefile.in' not found
configure.in:122: required file `Samples/Lighting/Makefile.in' not found
configure.in:122: required file `Samples/Lighting/src/Makefile.in' not found
configure.in:122: required file `Samples/Lighting/include/Makefile.in' not found
configure.in:122: required file `Samples/OceanDemo/Makefile.in' not found
configure.in:122: required file `Samples/OceanDemo/src/Makefile.in' not found
configure.in:122: required file `Samples/OceanDemo/include/Makefile.in' not found
configure.in:122: required file `Samples/ParticleFX/Makefile.in' not found
configure.in:122: required file `Samples/ParticleFX/src/Makefile.in' not found
configure.in:122: required file `Samples/ParticleFX/include/Makefile.in' not found
configure.in:122: required file `Samples/RenderToTexture/Makefile.in' not found
configure.in:122: required file `Samples/RenderToTexture/src/Makefile.in' not found
configure.in:122: required file `Samples/TextureFX/Makefile.in' not found
configure.in:122: required file `Samples/TextureFX/src/Makefile.in' not found
configure.in:122: required file `Samples/TextureFX/include/Makefile.in' not found
configure.in:122: required file `Samples/Shadows/Makefile.in' not found
configure.in:122: required file `Samples/Shadows/src/Makefile.in' not found
configure.in:122: required file `Samples/SkyBox/Makefile.in' not found
configure.in:122: required file `Samples/SkyBox/src/Makefile.in' not found
configure.in:122: required file `Samples/SkyBox/include/Makefile.in' not found
configure.in:122: required file `Samples/SkyDome/Makefile.in' not found
configure.in:122: required file `Samples/SkyDome/src/Makefile.in' not found
configure.in:122: required file `Samples/SkyDome/include/Makefile.in' not found
configure.in:122: required file `Samples/SkyPlane/Makefile.in' not found
configure.in:122: required file `Samples/SkyPlane/src/Makefile.in' not found
configure.in:122: required file `Samples/SkyPlane/include/Makefile.in' not found
configure.in:122: required file `Samples/Smoke/Makefile.in' not found
configure.in:122: required file `Samples/Smoke/src/Makefile.in' not found
configure.in:122: required file `Samples/Smoke/include/Makefile.in' not found
configure.in:122: required file `Samples/BSP/Makefile.in' not found
configure.in:122: required file `Samples/BSP/src/Makefile.in' not found
configure.in:122: required file `Samples/SkeletalAnimation/Makefile.in' not found
configure.in:122: required file `Samples/SkeletalAnimation/src/Makefile.in' not found
configure.in:122: required file `Samples/SkeletalAnimation/include/Makefile.in' not found
configure.in:122: required file `Samples/Terrain/Makefile.in' not found
configure.in:122: required file `Samples/Terrain/src/Makefile.in' not found
configure.in:122: required file `Samples/Terrain/include/Makefile.in' not found
configure.in:122: required file `Samples/Water/Makefile.in' not found
configure.in:122: required file `Samples/Water/src/Makefile.in' not found
configure.in:122: required file `Samples/Water/include/Makefile.in' not found
configure.in:122: required file `Samples/DynTex/Makefile.in' not found
configure.in:122: required file `Samples/DynTex/src/Makefile.in' not found
configure.in:122: required file `Samples/DynTex/include/Makefile.in' not found
configure.in:122: required file `Samples/VolumeTex/Makefile.in' not found
configure.in:122: required file `Samples/VolumeTex/src/Makefile.in' not found
configure.in:122: required file `Samples/VolumeTex/include/Makefile.in' not found
configure.in:122: required file `Samples/Instancing/Makefile.in' not found
configure.in:122: required file `Samples/Instancing/src/Makefile.in' not found
configure.in:122: required file `Samples/Instancing/include/Makefile.in' not found

When I try to run aclocal it gives me this:

aclocal:acinclude.m4:352: warning: macro `AM_PATH_CPPUNIT' not found in aclocal:acinclude.m4


./configure fails at this:

./configure: line 23976: syntax error near unexpected token `1.10.0,'
./configure: line 23976: `AM_PATH_CPPUNIT(1.10.0, build_unit_tests=true)'


Anyone have any ideas?
  • 0

Advertisements


#2
silverbeard

silverbeard

    Trusted Tech

  • Member
  • PipPipPip
  • 791 posts
Looks like your missing some dependencies. Reading about the package it tlooks like you need development liberaries for the package to install and function once installed. Welcome to dependency H3ll.:-) It's one of the best teaching tools in Linux.

Are you running from su(root) shell?
Did you check the repositories for a pre- compiled Package?
  • 0

#3
Titan8990

Titan8990

    Member

  • Topic Starter
  • Member
  • PipPipPipPipPip
  • 2,189 posts
Thanks for the reply. Yes, I am running with sudo/su command. I went and double checked the libraries needed and it turned out there were seperate instructions and dependencies for Ubuntu. I am failing to configure/make install one the of the dependencies. It is CEGUI. I have installed the two required libraries listed.

Anyways here are the results:

jordan@UB1:~/Desktop/Downloads/CEGUI-0.5.0$ sudo make
Making all in .
make[1]: Entering directory `/home/jordan/Desktop/Downloads/CEGUI-0.5.0'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/home/jordan/Desktop/Downloads/CEGUI-0.5.0'
Making all in src
make[1]: Entering directory `/home/jordan/Desktop/Downloads/CEGUI-0.5.0/src'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/jordan/Desktop/Downloads/CEGUI-0.5.0/src'
Making all in include
make[1]: Entering directory `/home/jordan/Desktop/Downloads/CEGUI-0.5.0/include'
make  all-recursive
make[2]: Entering directory `/home/jordan/Desktop/Downloads/CEGUI-0.5.0/include'
Making all in .
make[3]: Entering directory `/home/jordan/Desktop/Downloads/CEGUI-0.5.0/include'
make[3]: Leaving directory `/home/jordan/Desktop/Downloads/CEGUI-0.5.0/include'
Making all in elements
make[3]: Entering directory `/home/jordan/Desktop/Downloads/CEGUI-0.5.0/include/elements'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/jordan/Desktop/Downloads/CEGUI-0.5.0/include/elements'
Making all in falagard
make[3]: Entering directory `/home/jordan/Desktop/Downloads/CEGUI-0.5.0/include/falagard'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/jordan/Desktop/Downloads/CEGUI-0.5.0/include/falagard'
make[2]: Leaving directory `/home/jordan/Desktop/Downloads/CEGUI-0.5.0/include'
make[1]: Leaving directory `/home/jordan/Desktop/Downloads/CEGUI-0.5.0/include'
Making all in XMLParserModules
make[1]: Entering directory `/home/jordan/Desktop/Downloads/CEGUI-0.5.0/XMLParserModules'
Making all in .
make[2]: Entering directory `/home/jordan/Desktop/Downloads/CEGUI-0.5.0/XMLParserModules'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/jordan/Desktop/Downloads/CEGUI-0.5.0/XMLParserModules'
Making all in expatParser
make[2]: Entering directory `/home/jordan/Desktop/Downloads/CEGUI-0.5.0/XMLParserModules/expatParser'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/jordan/Desktop/Downloads/CEGUI-0.5.0/XMLParserModules/expatParser'
Making all in TinyXMLParser
make[2]: Entering directory `/home/jordan/Desktop/Downloads/CEGUI-0.5.0/XMLParserModules/TinyXMLParser'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/jordan/Desktop/Downloads/CEGUI-0.5.0/XMLParserModules/TinyXMLParser'
make[1]: Leaving directory `/home/jordan/Desktop/Downloads/CEGUI-0.5.0/XMLParserModules'
Making all in ImageCodecModules
make[1]: Entering directory `/home/jordan/Desktop/Downloads/CEGUI-0.5.0/ImageCodecModules'
Making all in .
make[2]: Entering directory `/home/jordan/Desktop/Downloads/CEGUI-0.5.0/ImageCodecModules'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/jordan/Desktop/Downloads/CEGUI-0.5.0/ImageCodecModules'
Making all in DevILImageCodec
make[2]: Entering directory `/home/jordan/Desktop/Downloads/CEGUI-0.5.0/ImageCodecModules/DevILImageCodec'
/bin/bash ../../libtool --mode=link g++  -g -O2   -o libCEGUIDevILImageCodec.la -rpath /usr/local/lib  CEGUIDevILImageCodec.lo CEGUIDevILImageCodecModule.lo -LIL -lILU  -lfreeimage  -lpthread -ldl 
../../libtool: line 1920: cd: IL: No such file or directory
libtool: link: cannot determine absolute directory name of `IL'
grep: /usr/lib/libtiff.la: No such file or directory
/bin/sed: can't read /usr/lib/libtiff.la: No such file or directory
libtool: link: `/usr/lib/libtiff.la' is not a valid libtool archive
make[2]: *** [libCEGUIDevILImageCodec.la] Error 1
make[2]: Leaving directory `/home/jordan/Desktop/Downloads/CEGUI-0.5.0/ImageCodecModules/DevILImageCodec'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jordan/Desktop/Downloads/CEGUI-0.5.0/ImageCodecModules'
make: *** [all-recursive] Error 1

I have the only version of libtool from the synaptic package manager. Also I am not sure if FreeImage is installing correctly. It does not give any errors but it also does not appear to do much:

jordan@UB1:~/Desktop/Downloads/FreeImage$ sudo make install
make -f Makefile.gnu install 
make[1]: Entering directory `/home/jordan/Desktop/Downloads/FreeImage'
install -m 644 -o root -g root Source/FreeImage.h /usr/include
install -m 644 -o root -g root libfreeimage.a /usr/lib
install -m 755 -o root -g root libfreeimage-3.10.0.so /usr/lib
ln -sf libfreeimage-3.10.0.so /usr/lib/libfreeimage.so.3
ln -sf libfreeimage.so.3 /usr/lib/libfreeimage.so
ldconfig
make[1]: Leaving directory `/home/jordan/Desktop/Downloads/FreeImage'

Edited by Titan8990, 11 March 2008 - 04:50 PM.

  • 0

#4
silverbeard

silverbeard

    Trusted Tech

  • Member
  • PipPipPip
  • 791 posts

../../libtool: line 1920: cd: IL: No such file or directory
libtool: link: cannot determine absolute directory name of `IL'


Indicates that the liberary is not the one you need. Make didn't create the IL directory. If it exists you probably need libtool-dev or a newer version you may have to compile from source.
  • 0

#5
Titan8990

Titan8990

    Member

  • Topic Starter
  • Member
  • PipPipPipPipPip
  • 2,189 posts
Alright, when I get home I will check for libtool-dev and if I still have problems I will try the source code instead of the .deb.
  • 0

#6
Titan8990

Titan8990

    Member

  • Topic Starter
  • Member
  • PipPipPipPipPip
  • 2,189 posts
Moving right along, this is the error I am getting now:

../../../OgreMain/include/OgreException.h: In destructor 'virtual Ogre::InvalidParametersException::~InvalidParametersException()':
../../../OgreMain/include/OgreException.h:214: internal compiler error: in bitmap_insert_into_set, at tree-ssa-pre.c:506
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>.
The bug is not reproducible, so it is likely a hardware or OS problem.
make[4]: *** [OgreGLFrameBufferObject.lo] Error 1
make[4]: Leaving directory `/home/jordan/Desktop/Downloads/ogrenew/RenderSystems/GL/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/jordan/Desktop/Downloads/ogrenew/RenderSystems/GL/src'
make[2]: *** [all-recursive] Error 1

It is now spending approx. 3min in the make process (above) and it passes the ./configure and ./bootstrap. Previously the make was failing in under 1min.

Edited by Titan8990, 20 March 2008 - 08:49 PM.

  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP