Dependencies error on Ubuntu Raring

Support for running, installing or compiling OpenMW

Before you submit a bug report for the first time, please read: Bug reporting guidelines
Locked
User avatar
ap0
Posts: 290
Joined: 11 Aug 2011, 18:47
Contact:

Dependencies error on Ubuntu Raring

Post by ap0 » 11 Apr 2013, 16:08

Code: Select all

~ # apt-get install git libois-dev libopenal-dev libpng-dev libogre-dev libmpg123-dev libsndfile1-dev\
 libblkid-dev libfreeimage-dev libboost-filesystem-dev libboost-thread-dev libboost-chrono-dev\
 libboost-program-options-dev libboost-system-dev libboost-wave-dev uuid-dev libqt4-opengl libqt4-dev \
 libavcodec-dev libavformat-dev libavdevice-dev libavutil-dev libswscale-dev libpostproc-dev ffmpeg \
 libbullet-dev libmygui-static-dev cmake build-essential
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'libpng12-dev' instead of 'libpng-dev'
build-essential is already the newest version.
cmake is already the newest version.
ffmpeg is already the newest version.
git is already the newest version.
libavcodec-dev is already the newest version.
libavdevice-dev is already the newest version.
libavformat-dev is already the newest version.
libavutil-dev is already the newest version.
libblkid-dev is already the newest version.
libboost-filesystem-dev is already the newest version.
libboost-program-options-dev is already the newest version.
libboost-system-dev is already the newest version.
libboost-thread-dev is already the newest version.
libpng12-dev is already the newest version.
libpostproc-dev is already the newest version.
libqt4-dev is already the newest version.
libqt4-opengl is already the newest version.
libsndfile1-dev is already the newest version.
libswscale-dev is already the newest version.
uuid-dev is already the newest version.
libboost-chrono-dev is already the newest version.
libboost-wave-dev is already the newest version.
libbullet-dev is already the newest version.
libfreeimage-dev is already the newest version.
libmpg123-dev is already the newest version.
libois-dev is already the newest version.
libopenal-dev is already the newest version.
The following extra packages will be installed:
  libogre-1.7.4 libogre-static-dev libxaw7-dev libxmu-dev libxmu-headers libxpm-dev libxt-dev libzzip-0-13 libzzip-dev
Suggested packages:
  ogre-doc libxaw-doc libxt-doc
The following NEW packages will be installed:
  libmygui-static-dev libogre-1.7.4 libogre-dev libogre-static-dev libxaw7-dev libxmu-dev libxmu-headers libxpm-dev libxt-dev libzzip-0-13 libzzip-dev
0 upgraded, 11 newly installed, 0 to remove and 50 not upgraded.
Need to get 4 312 kB/6 799 kB of archives.
After this operation, 25,2 MB of additional disk space will be used.
Do you want to continue [Y/n]? 
Get:1 http://fr.archive.ubuntu.com/ubuntu/ raring/universe libogre-1.7.4 i386 1.7.4+dfsg1-7 [3 234 kB]
Get:2 http://fr.archive.ubuntu.com/ubuntu/ raring/universe libzzip-dev i386 0.13.56-1.1 [116 kB]
Get:3 http://fr.archive.ubuntu.com/ubuntu/ raring/main libxt-dev i386 1:1.1.3-1 [473 kB]
Get:4 http://fr.archive.ubuntu.com/ubuntu/ raring/main libxmu-headers all 2:1.1.1-1 [62,0 kB]
Get:5 http://fr.archive.ubuntu.com/ubuntu/ raring/main libxmu-dev i386 2:1.1.1-1 [55,5 kB]
Get:6 http://fr.archive.ubuntu.com/ubuntu/ raring/main libxpm-dev i386 1:3.5.10-1 [91,0 kB]
Get:7 http://fr.archive.ubuntu.com/ubuntu/ raring/main libxaw7-dev i386 2:1.0.10-2 [281 kB]
Fetched 1 408 kB in 3s (393 kB/s)
Selecting previously unselected package libzzip-0-13.
(Reading database ... 260534 files and directories currently installed.)
Unpacking libzzip-0-13 (from .../libzzip-0-13_0.13.56-1.1_i386.deb) ...
Selecting previously unselected package libogre-1.7.4:i386.
Unpacking libogre-1.7.4:i386 (from .../libogre-1.7.4_1.7.4+dfsg1-7_i386.deb) ...
Selecting previously unselected package libzzip-dev.
Unpacking libzzip-dev (from .../libzzip-dev_0.13.56-1.1_i386.deb) ...
Selecting previously unselected package libxt-dev:i386.
Unpacking libxt-dev:i386 (from .../libxt-dev_1%3a1.1.3-1_i386.deb) ...
Selecting previously unselected package libxmu-headers.
Unpacking libxmu-headers (from .../libxmu-headers_2%3a1.1.1-1_all.deb) ...
Selecting previously unselected package libxmu-dev:i386.
Unpacking libxmu-dev:i386 (from .../libxmu-dev_2%3a1.1.1-1_i386.deb) ...
Selecting previously unselected package libxpm-dev:i386.
Unpacking libxpm-dev:i386 (from .../libxpm-dev_1%3a3.5.10-1_i386.deb) ...
Selecting previously unselected package libxaw7-dev:i386.
Unpacking libxaw7-dev:i386 (from .../libxaw7-dev_2%3a1.0.10-2_i386.deb) ...
Unpacking libogre-dev (from .../libogre-dev_1.7.4+dfsg1-7_i386.deb) ...
Selecting previously unselected package libogre-static-dev.
Unpacking libogre-static-dev (from .../libogre-static-dev_1.8.1-openmw1~raring2_all.deb) ...
dpkg: error processing /var/cache/apt/archives/libogre-static-dev_1.8.1-openmw1~raring2_all.deb (--unpack):
 trying to overwrite '/usr/include/OGRE/OgreGpuProgram.h', which is also in package libogre-dev 1.7.4+dfsg1-7
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Selecting previously unselected package libmygui-static-dev.
Unpacking libmygui-static-dev (from .../libmygui-static-dev_3.2.0-openmw1~raring3_i386.deb) ...
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/libogre-static-dev_1.8.1-openmw1~raring2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
~ #
Seems like libogre-dev and libogre-static-dev are incompatible :/

User avatar
nopoe
Posts: 112
Joined: 23 Dec 2012, 03:42
Location: CA, United States (UTC-8)

Re: Dependencies error on Ubuntu Raring

Post by nopoe » 11 Apr 2013, 23:24

IIRC, what I did is use the libogre-1.8-dev package instead of the libogre-dev package. This seemed to work on Quantal but somebody else more familiar with the packages could probably tell you what to do. I feel like what I did was a bit of a hack.

User avatar
ap0
Posts: 290
Joined: 11 Aug 2011, 18:47
Contact:

Re: Dependencies error on Ubuntu Raring

Post by ap0 » 12 Apr 2013, 07:28

I tried a lot of combinations, but it seems that libogre-static-dev is definitively incompatible with libogre-* non-static.

User avatar
psi29a
Posts: 4807
Joined: 29 Sep 2011, 10:13
Location: Belgium
Gitlab profile: https://gitlab.com/psi29a/
Contact:

Re: Dependencies error on Ubuntu Raring

Post by psi29a » 12 Apr 2013, 11:53

We were aware of the problems with raring 2 weeks ago... I've been on holiday. ;) I'll take a look at it when I have time.

The big problem is -ldl needs to be added to linked libraries because dlopen and dlclose (and friends) have been moved around.

This is reported by me in the openmw-0.22.0 thread.

Locked