You are not logged in.

#1 2008-07-16 18:28:03

jelly
Administrator
From: /dev/null
Registered: 2008-06-10
Posts: 714

Miro 1.2.4 Installation from source

I downloaded miro 1.2.4 from source because the package in pacman doesnt work. I have followed the installation instructions and chmod +x  run.sh (miro) then i run ./run.sh in the terminal and got this error:

Attempting to detect your system information
32bit x86 system detected
Linux operating system detected
Libraries mt
Package config error:
pkg-config --list-all outputted the following error:
Package qt-mt was not found in the pkg-config search path.
Perhaps you should add the directory containing `qt-mt.pc'
to the PKG_CONFIG_PATH environment variable
Package 'qt-mt', required by 'avahi-qt3', not found

Does somebody now this error/problem or should i post this at the miro forums?

Offline

#2 2008-07-16 21:32:24

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: Miro 1.2.4 Installation from source

There's two things you should do:
- file a bug upstream that they shouldn't use pkg-config --list-all
- install qt3 to fix your problem for now

Offline

#3 2008-07-16 21:59:37

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: Miro 1.2.4 Installation from source

Another thing you should do is getting miro from svn trunk (http://repos.archlinux.org/). I committed changes to make it work with xulrunner 1.9 for sure now.

Offline

#4 2008-07-17 07:57:12

Peterix
Member
Registered: 2008-05-05
Posts: 30

Re: Miro 1.2.4 Installation from source

It still didn't work.

You'll need the pkgbuilds - and the other files - of xulrunner 1.9.0.1 and miro 1.2.4 from svn:
http://repos.archlinux.org/viewvc.cgi/xulrunner/trunk/
http://repos.archlinux.org/viewvc.cgi/miro/trunk/
Put them into separate folders somewhere and compile with pkgbuild. Xulrunner first.
Install with

pacman -U package_filename

Then install qt3 with pacman and add this line to the build section of the PKGBUILD of miro:

export PKG_CONFIG_PATH=/opt/qt/lib/pkgconfig/

It works now big_smile

Offline

#5 2008-07-17 13:47:24

jelly
Administrator
From: /dev/null
Registered: 2008-06-10
Posts: 714

Re: Miro 1.2.4 Installation from source

Peterix wrote:

It still didn't work.

You'll need the pkgbuilds - and the other files - of xulrunner 1.9.0.1 and miro 1.2.4 from svn:
http://repos.archlinux.org/viewvc.cgi/xulrunner/trunk/
http://repos.archlinux.org/viewvc.cgi/miro/trunk/
Put them into separate folders somewhere and compile with pkgbuild. Xulrunner first.
Install with

pacman -U package_filename

Then install qt3 with pacman and add this line to the build section of the PKGBUILD of miro:

export PKG_CONFIG_PATH=/opt/qt/lib/pkgconfig/

It works now big_smile

how do you get those pkgbuilds? I am have no knowledge of svn, could you write a simple howto for me,

thanks in advance

Offline

#6 2008-07-17 14:57:05

Peterix
Member
Registered: 2008-05-05
Posts: 30

Re: Miro 1.2.4 Installation from source

miroscreen.png
Those links I posted point to lists of files ... just download them one by one into some folders - one for the miro files and one for xulrunner files. Normally, this could be done with the 'svn checkout repo_url' command, but I can't find a link to the actual svn repo anywhere.

* Run 'makepkg' in the xulrunner folder.
* Run 'pacman -U  xulrunner-1.9.0.1-1-i686.pkg.tar.gz'
* Install 'qt3' if you don't have it yet - 'pacman -S qt3'
* Go to the miro folder, open the PKGBUILD and add a line to the build section like this:

build() {
  export PKG_CONFIG_PATH=/opt/qt/lib/pkgconfig/ # add this here
  cd ${srcdir}/Miro-${pkgver}
  patch -Np1 -i ${srcdir}/missing-headers.patch || return 1
  patch -Np1 -i ${srcdir}/Miro-xulrunner.patch || return 1

  cd platform/gtk-x11
  python setup.py install --root=${pkgdir} || return 1
}

* Run 'pkgbuild' just like with xulrunner
* And run 'pacman -U miro-1.2.4-1-i686.pkg.tar.gz'
* Start miro

You might have to pull some more dependencies besides qt3 from the repository with pacman.
Compiling these two packages takes some time... you can leave the broken version of miro running and let it to download your shows while the new one compiles.

Alternatively you can just wait and update like always when the packages get into extra.

Last edited by Peterix (2008-07-17 14:58:53)

Offline

#7 2008-07-21 10:24:57

jelly
Administrator
From: /dev/null
Registered: 2008-06-10
Posts: 714

Re: Miro 1.2.4 Installation from source

The update is out en it works!

Offline

Board footer

Powered by FluxBB