You are not logged in.

#1 2006-12-26 17:58:59

kamagurka
Member
From: Munich, Germany
Registered: 2006-02-20
Posts: 150
Website

Installing a pkg from unsupported

I'm having a little trouble installing a package from the AUR (I'm doing this for the first time, but I'm strictly adhering to the instructions in this document).
Firstly, makepkg fails if I try it as a normal user, even though the howto suggests that it should work since I have fakeroot installed and enabled. I get a number of "Permission Denied" errors and stuff.
Doing it as root seems to work, except I can't find the hallowed tar.gz file anywhere. The last thing makepkg tells me is that I'm missing runtime dependencies. Am I actually expected to install those before I build the packages?


I always roll 20s on my disbelieve checks.
You better believe it.

Offline

#2 2006-12-26 18:01:49

STiAT
Member
From: Vienna, Austria
Registered: 2004-12-23
Posts: 606

Re: Installing a pkg from unsupported

which package are you talking about?

Could be that the packager made a mistake...


Ability is nothing without opportunity.

Offline

#3 2006-12-26 18:15:20

detto
Member
Registered: 2006-01-23
Posts: 510

Re: Installing a pkg from unsupported

check the manpage from makepkg, you got a parameter like "-S" that will isntall missind dependencies for you during your build. (you need sudo configured for your current user though, check wiki for it too).

Offline

#4 2006-12-26 18:15:43

kamagurka
Member
From: Munich, Germany
Registered: 2006-02-20
Posts: 150
Website

Re: Installing a pkg from unsupported

I'm trying to install devede. I'm looking for a simple way to make a video DVD out of an mpg I downloaded.
EDIT: I installed aacgain from AUR, and it worked fine (even as a normal user). I reckon either the devede package is broken or more complex.
I tried installing devede again with "makepkg -b" which is supposed to pull in the dependencies during build, but it quit with

==> Building missing dependencies...
==> ERROR: Could not find "vcdimager" under /var/abs

Yay. This is more complicated than I thought.


I always roll 20s on my disbelieve checks.
You better believe it.

Offline

#5 2006-12-26 18:41:43

STiAT
Member
From: Vienna, Austria
Registered: 2004-12-23
Posts: 606

Re: Installing a pkg from unsupported

no problems at all while building the 2.8 package found in the comments.

The 2.6 file disappeared from the mirrors, no way to get this one installed.

I'll request to orphan the package, making it posisble that the out-of-date package being adobted by somebody.

# Maintainer: Javier "Phrodo_00" Aravena
# Contributor: linfan
#
pkgname=devede
pkgver=2.8
pkgrel=1
pkgdesc="A program to create video DVDs and CDs from any number of video files, in any of the
 formats supported by Mplayer"
 url="http://www.rastersoft.com/programas/devede.html"
 depends=('mplayer' 'dvdauthor' 'vcdimager' 'cdrtools' 'python' 'pygtk' 'glade' 'vcdimager')
 conflicts=()
 install=()
 source=('http://www.rastersoft.com/descargas/devede28.tar.bz2')
 md5sums=('ae1d583b4735846599b5a25d428d7834')
 build() {
         mkdir -p $startdir/pkg/usr/bin/devede/
         mkdir -p $startdir/pkg/usr/share/devede
         mkdir -p $startdir/pkg/usr/lib/devede
         mkdir -p $startdir/pkg/usr/share/doc/devede/html
         mkdir -p $startdir/pkg/usr/share/locale/es/LC_MESSAGES
         mkdir -p $startdir/pkg/usr/share/locale/gl/LC_MESSAGES
         mkdir -p $startdir/pkg/usr/share/locale/cs/LC_MESSAGES
         mkdir -p $startdir/pkg/usr/share/locale/pt_BR/LC_MESSAGES
         mkdir -p $startdir/pkg/usr/share/applications
         mkdir -p $startdir/pkg/usr/share/pixmaps
         cd $startdir/src/devede28
         cp --preserve=mode devede.py $startdir/pkg/usr/bin/
         chmod 755 $startdir/pkg/usr/bin/devede/
         cp --preserve=mode po/es.mo $startdir/pkg/usr/share/locale/es/LC_MESSAGES/devede.mo
         cp --preserve=mode po/gl.mo $startdir/pkg/usr/share/locale/gl/LC_MESSAGES/devede.mo
         cp --preserve=mode po/cs_CZ.mo $startdir/pkg/usr/share/locale/cs/LC_MESSAGES/devede.mo
         cp --preserve=mode po/pt_BR.mo $startdir/pkg/usr/share/locale/pt_BR/LC_MESSAGES/devede.mo
         cp --preserve=mode devede.glade $startdir/pkg/usr/share/devede/devede.glade
         cp --preserve=mode devede.png $startdir/pkg/usr/share/pixmaps/
         cp --preserve=mode devede.desktop $startdir/pkg/usr/share/applications/devede.desktop
         cp --preserve=mode docs/* $startdir/pkg/usr/share/doc/devede/html
         cp --preserve=mode devede_*.py $startdir/pkg/usr/lib/devede
         cp --preserve=mode pixmaps/* $startdir/pkg/usr/share/devede
         cp --preserve=mode devedesans.ttf $startdir/pkg/usr/share/devede
 }

run in the directory of the PKGBUILD:

makepkg
sudo pacman -A ./devede-2.8-1.pkg.tar.gz

edit: To install vcdimager just do as root

pacman -S vcdimager

to be able to build-and-install on demand, run the command abs as root.

Georg // STi


Ability is nothing without opportunity.

Offline

#6 2006-12-26 18:53:39

kamagurka
Member
From: Munich, Germany
Registered: 2006-02-20
Posts: 150
Website

Re: Installing a pkg from unsupported

Well, I tried the 2.8 file as you said, but I have the same exact problem with dependencies as I did before. I'll try installing them by pacman before building, even though that feels like a dirty, dirty hack.


I always roll 20s on my disbelieve checks.
You better believe it.

Offline

#7 2006-12-26 18:56:50

STiAT
Member
From: Vienna, Austria
Registered: 2004-12-23
Posts: 606

Re: Installing a pkg from unsupported

hmh, the hack itself is not dirty at all. Python programs often get installed by just copying necessary files, since they often have their own install / setup routines, which don't support the archlinux structure.

Just depends are missing as it seems, i don't know exactly which ones, i never used this dvd authoring software.

Georg // STi


Ability is nothing without opportunity.

Offline

#8 2006-12-26 23:02:17

kamagurka
Member
From: Munich, Germany
Registered: 2006-02-20
Posts: 150
Website

Re: Installing a pkg from unsupported

I see as a dirty hack since I want the package manager (in this case pacman) to be aware of which packages are only on my system because another package needs it, and which are installed by me because I want to use them. This is important for running cleanup routines (I haven't found out how to do that in Arch yet). Also, I installed Arch specifically because I read that pacman could do this kind of stuff for me. Oh well, it's not perfect (yet) I guess.


I always roll 20s on my disbelieve checks.
You better believe it.

Offline

Board footer

Powered by FluxBB