You are not logged in.
Hello,
Today I spend some time on creating a PKGBUILD for the Directshowserver from the CoreAVC-for-linux-project. In the end, I can build package, but if I test it like described on the Homepage, it says me
dshowserver -c CoreAVCDecoder.ax
Starting wine dshowserver.exe
err:module:attach_process_dlls "rpcrt4.dll" failed to initialize, aborting
err:module:LdrInitializeThunk Main exe initialization for L"Z:\\home\\alvaro\\Downloads\\dshowserver\\pkg\\share\\dshowserver\\dshowserver.exe" failed, status c0000005
It must has something to do with the changing path on packaging and installing the package, but I dont know how to fix it.
The MAKEPKG looks like this:
#Constributor
pkgname=dshowserver
pkgver=r101
pkgrel=1
pkgdesc="CoreAVC interface for Linux"
arch=('x86_64')
url="http://code.google.com/p/coreavc-for-linux/"
license=('GPL')
groups=('multimedia')
depends=('bin32-wine')
makedepebds=()
optdepends=()
provides=('dshowserver')
conflicts=()
replaces=()
backup=()
options=()
#install=
build() {
cd $srcdir
cd precompiled
make install PREFIX=$pkgdir || return 1
echo " "
echo " It is necesarry to copy the CoreAVCDecoder.ax from the installpath (~.wine/drive_c/Programme/CoreCodec/CoreAVC/"
echo "to the /src/precompiled folder"
echo " ************ Otherwise you will get an error now ************ "
mkdir -p $pkgdir/usr/local/share/dshowserver
cp CoreAVCDecoder.ax $pkgdir/usr/local/share/dshowserver/CoreAVCDecoder.ax
}
Therea re also several other modules needed in the tarball, you can fint it here.
There is a proprietary file needed, which you can get by bying the CoreAVC-Codepack, the "CoreAVCDecoder.ax". I replaced it with a dummy file, so the package can be installed but will produce a lot of errors more, hope you can find the problem anyway
Excuse me If I ask you stupid questions or if I have overseen a manual, it's not my intention to waste your time ;-)
Last edited by Magus (2010-01-08 22:51:55)
Offline