Libbluray + XBMC configure error
#1
I am trying to build libbluray into the xbmc build. But unfortunately I am not succeeding.

I am using latest version of libbluray by:

git clone git://git.videolan.org/libbluray.git

After that:
Code:
./bootstrap
./configure
make
make install

Than after that xbmc svn:
Code:
./bootstrap
./configure
-> returns in an error:

Code:
checking for LIBBLURAY... yes
checking for libbluray soname... no
configure: error: Unable to determine soname of libbluray library

Does someone have a solution to my problem?
Reply
#2
configure to install into /usr instead of /usr/local
Reply
#3
davilla Wrote:configure to install into /usr instead of /usr/local

You mean for libbluray?

So that would become:
Code:
./bootstrap
./configure --prefix=/usr
make
make install

This will result in:

Code:
checking for CDIO... yes
checking for SAMPLERATE... yes
checking for MMS... yes
checking for FREETYPE2... yes
checking for OGG... yes
checking for VORBIS... yes
checking for VORBISENC... yes
[b]checking for LIBBLURAY... no[/b]
checking for mysql_config... yes
checking for main in -lmodplug... yes
checking for main in -lmysqlclient... yes
Reply
#4
are you doing this as root ?
Reply
#5
davilla Wrote:are you doing this as root ?

Correct.

Code:
./configure  --enable-libbluray

Gives:

Code:
checking for LIBBLURAY... no
configure: error: Could not find a required library. Please see the README for your platform.

Is it in /usr/bin?

Code:
/usr/include/libbluray
/usr/include/libbluray/bluray.h
/usr/include/libbluray/filesystem.h
/usr/include/libbluray/keys.h
/usr/include/libbluray/log_control.h
/usr/include/libbluray/overlay.h
/usr/lib/libbluray.a
/usr/lib/libbluray.la
/usr/lib/libbluray.so
/usr/lib/libbluray.so.0
/usr/lib/libbluray.so.0.0.0
/usr/lib/pkgconfig/libbluray.pc

Since it is more work to get it working:
- Opensuse 11.2 64 bit
Reply
#6
tudstudent Wrote:Correct.

Code:
./configure  --enable-libbluray

Gives:

Code:
checking for LIBBLURAY... no
configure: error: Could not find a required library. Please see the README for your platform.

Is it in /usr/bin?

Code:
/usr/include/libbluray
/usr/include/libbluray/bluray.h
/usr/include/libbluray/filesystem.h
/usr/include/libbluray/keys.h
/usr/include/libbluray/log_control.h
/usr/include/libbluray/overlay.h
/usr/lib/libbluray.a
/usr/lib/libbluray.la
/usr/lib/libbluray.so
/usr/lib/libbluray.so.0
/usr/lib/libbluray.so.0.0.0
/usr/lib/pkgconfig/libbluray.pc

Since it is more work to get it working:
- Opensuse 11.2 64 bit

"/usr/lib/libbluray..." that's the correct place.

pastebin config.log
Reply
#7
I have never done pastebin, but this is what I quickly found in config.log

Code:
configure:14114: checking for LIBBLURAY
configure:14121: $PKG_CONFIG --exists --print-errors "libbluray"
Package libbluray was not found in the pkg-config search path.
Perhaps you should add the directory containing `libbluray.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libbluray' found
configure:14124: $? = 1
configure:14137: $PKG_CONFIG --exists --print-errors "libbluray"
Package libbluray was not found in the pkg-config search path.
Perhaps you should add the directory containing `libbluray.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libbluray' found
configure:14140: $? = 1
No package 'libbluray' found
configure:14167: result: no
configure:14169: error: Could not find a required library. Please see the README for your platform.
Reply
#8
http://www.pastebin.com, copy/paste, post URL


sudo find / -name libbluray.pc
Reply
#9
tudstudent Wrote:
Code:
configure:14114: checking for LIBBLURAY
configure:14121: $PKG_CONFIG --exists --print-errors "libbluray"
Package libbluray was not found in the pkg-config search path.
Perhaps you should add the directory containing `libbluray.pc'
to the PKG_CONFIG_PATH environment variable

it seems pkgconfig dont find your libbluray.pc file for any reason...

Try
Code:
export PKG_CONFIG_PATH=/usr/lib/pkgconfig
./configure ...
greetings, Stephan

Image

Image
Reply
#10
davilla Wrote:http://www.pastebin.com, copy/paste, post URL


sudo find / -name libbluray.pc

http://pastebin.com/CSG7ziVE

Your hint delivered:
Code:
Hash:~/XBMC/pvr # find / -name libbluray.pc
/root/bluray/libbluray/src/libbluray.pc
/usr/lib/pkgconfig/libbluray.pc

The export tip:
Code:
export PKG_CONFIG_PATH=/usr/lib/pkgconfig
./configure  --enable-libbluray

Result is a configuring xbmc. Is it possibly to give a parameter during the configure which avoids doing the export?
And may be stupid question, but is this export only needed for build process or from this moment on every time I reboot?
(a little more info on the export thing pls)
Code:
checking for SAMPLERATE... yes
checking for MMS... yes
checking for FREETYPE2... yes
checking for OGG... yes
checking for VORBIS... yes
checking for VORBISENC... yes
checking for LIBBLURAY... yes
[b]checking for libbluray soname... libbluray.so.0[/b]
checking for mysql_config... yes
checking for main in -lmodplug... yes
checking for main in -lmysqlclient... yes
checking for main in -lfaad... yes
Reply
#11
tudstudent Wrote:[url]
The export tip:
Code:
export PKG_CONFIG_PATH=/usr/lib/pkgconfig
./configure  --enable-libbluray

Result is a configuring xbmc. Is it possibly to give a parameter during the configure which avoids doing the export?
And may be stupid question, but is this export only needed for build process or from this moment on every time I reboot?
(a little more info on the export thing pls)
Code:
checking for SAMPLERATE... yes
checking for MMS... yes
checking for FREETYPE2... yes
checking for OGG... yes
checking for VORBIS... yes
checking for VORBISENC... yes
checking for LIBBLURAY... yes
[b]checking for libbluray soname... libbluray.so.0[/b]
checking for mysql_config... yes
checking for main in -lmodplug... yes
checking for main in -lmysqlclient... yes
checking for main in -lfaad... yes

you need this only before you do an configure to tell the configure script where are your pkgconfig files. if this works for now with exporting PKG_CONFIG_PATH there is something wrong with your distro (not really xbmc related - maybe an wrong build of the pkg-config package). you can also try this in this way (but makes no difference):

Code:
PKG_CONFIG_PATH=/usr/lib/pkgconfig ./configure...

or (maybe)

Code:
./configure PKG_CONFIG_PATH=/usr/lib/pkgconfig ...
greetings, Stephan

Image

Image
Reply
#12
Build with most recent svn from bluray and xbmc succeeded and working great.
Too bad menus aren't working already.

Could not find any info on when they are supposed to work.
Reply
#13
Is libbluray included in the dharma beta builds on the svn ppa? If not, I might give compiling a go.
Reply
#14
lloydsmart Wrote:Is libbluray included in the dharma beta builds on the svn ppa? If not, I might give compiling a go.

Sorry I do not understand you?
Do you mean if Dharma supports, or if you only need to compile dharme without doring a seperate compile of libbluray!
Reply
#15
During the ./configure, I got:

Code:
checking for libbluray soname... no
configure: error: Unable to determine soname of libbluray library

The problem seems similar to yours but your solution does not work.

Any ideas ?
Reply

Logout Mark Read Team Forum Stats Members Help
Libbluray + XBMC configure error0
This forum uses Lukasz Tkacz MyBB addons.