You are not logged in.

#1 2004-06-07 00:41:39

mig
Member
From: Richmond, VA
Registered: 2004-04-18
Posts: 33

Request: dvdauthor

Anyone tried getting dvdauthor to compile?  I am having a hell of a time with it.  Anyone want to help?

gcc -Wall -march=i686 -O2 -pipe -I/usr/include/libxml2  -I/usr/include/freetype2  -MD -DSYSCONFDIR=""/usr/etc""  -c -o src/dvdvob.o src/dvdvob.c
src/dvdvob.c: In function `FindVobus':
src/dvdvob.c:1152: error: label at end of compound statement
make: *** [src/dvdvob.o] Error 1
==> ERROR: Build Failed.  Aborting...

Offline

#2 2004-06-07 06:32:14

mig
Member
From: Richmond, VA
Registered: 2004-04-18
Posts: 33

Re: Request: dvdauthor

I was able to make a package of dvdauthor-0.6.7, it was the newest that would compile.  However, not the newest available.  I'll post it if anyone cares.

Offline

#3 2004-06-09 08:27:15

mig
Member
From: Richmond, VA
Registered: 2004-04-18
Posts: 33

Re: Request: dvdauthor

Ok, here is the latest dvdauthor (0.6.10) needed a little hack to get it to compile.

dvdauthor PKGBUILD:

pkgname=dvdauthor
pkgver=0.6.10
pkgrel=1
pkgdesc="A simple set of tools to help you author a DVD"
depends=('libdvdread' 'fribidi' 'libxml2' 'libpng' 'freetype2' 'bash')
source=(http://unc.dl.sourceforge.net/sourceforge/dvdauthor/$pkgname-$pkgver.tar.gz)

build() {
  cd $startdir/src
  tar -xzf $pkgname-$pkgver.tar.gz

  cd $pkgname-$pkgver

  ./configure --prefix=/usr

  # a little hack to get this mother to compile
  sed /noshow:/a'0;' $startdir/src/$pkgname-$pkgver/src/dvdvob.c >  $startdir/src/$pkgname-$pkgver/src/dvdvob.c.new
  mv $startdir/src/$pkgname-$pkgver/src/dvdvob.c.new $startdir/src/$pkgname-$pkgver/src/dvdvob.c

  make || return 1
  make DESTDIR=$startdir/pkg install
}

Offline

#4 2004-07-09 19:31:49

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: Request: dvdauthor

the error you first posted is a an issue with the code and gcc 3.4.x if you do a search on the forum i believe there is an explanation of what you need to do.  btw your sed command seems to be a be more than it needs to be. you should be able to run one sed command and then continue with the build.


AKA uknowme

I am not your friend

Offline

Board footer

Powered by FluxBB