You are not logged in.
Pages: 1
Trying to install kdenlive and I run into a problem with mlt. I checked the PKGBUILD, but I don't have enough experience to understand the problem. I have also tried installing from source but that failed. thanks for any help, here is the problem:
==> Making package: mlt 0.2.4-4 (Thu May 22 07:30:12 CEST 2008)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Found mlt-0.2.4.tar.gz in build dir
-> Found gcc4.3.patch in build dir
-> Found configure.patch in build dir
-> Found producer_avformat.c.patch in build dir
==> Validating source files with md5sums...
mlt-0.2.4.tar.gz ... Passed
gcc4.3.patch ... Passed
configure.patch ... Passed
producer_avformat.c.patch ... Passed
==> Extracting Sources...
-> bsdtar -x -f mlt-0.2.4.tar.gz
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
PKGBUILD: line 21: patch: command not found
==> ERROR: Build Failed.
Aborting...
and the PKGBUILD
# Contributor: funkyou <spamopfer@nickname.berlin.de>
# Contributor: tardo <tardo@nagi-fanboi.net>
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=mlt
pkgver=0.2.4
pkgrel=4
pkgdesc="An open source multimedia framework, designed and developed for television broadcasting."
arch=('i686' 'x86_64')
url="http://www.dennedy.org/mlt/twiki/bin/view/MLT/WebHome"
license=('GPL')
depends=('sdl_image' 'libsamplerate' 'libdv' 'ffmpeg' 'kdelibs')
makedepends=('pkgconfig')
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz \
gcc4.3.patch configure.patch producer_avformat.c.patch)
md5sums=('6606d8be848a10efef929e2b6de3cf61' '85252753bd9e392963912ac15d83c9cd'\
'495f852f3d7af511155b2449fac91457' 'bca4b1ac7424d4a03708135c83f3d4e6')
build() {
cd $startdir/src/$pkgname-$pkgver
patch -Np1 -i $startdir/src/configure.patch || return 1
patch -Np0 -i $startdir/src/producer_avformat.c.patch || return 1
. /etc/profile.d/kde.sh
./configure --prefix=/usr --enable-gpl --enable-shared --enable-theora \
--enable-vorbis --enable-libogg --enable-mp3lame --enable-pp \
--enable-shared-pp --enable-motion-est --disable-gtk2 --disable-mmx \
--avformat-swscale
patch -Np1 < ../gcc4.3.patch || return 1
make || return 1
make DESTDIR=$startdir/pkg install || return 1
}
Last edited by alleyoopster (2008-05-22 21:26:56)
Offline
No sooner had I posted this, I looked at the error patch "command not found" and wondered if a <code>pacman -S patch</code> may help and indeed it does. DOH! Problem solved.
However, I now have this problem.
jack_rack.c:32:20: error: ladspa.h: No such file or directory
In file included from plugin.h:33,
from jack_rack.h:32,
from jack_rack.c:35:
process.h:51: error: expected specifier-qualifier-list before 'LADSPA_Data'
process.h:70: error: expected declaration specifiers or '...' before 'LADSPA_Data'
process.h:70: error: expected declaration specifiers or '...' before 'LADSPA_Data'
In file included from plugin.h:34,
from jack_rack.h:32,
from jack_rack.c:35:
plugin_desc.h:40: error: expected specifier-qualifier-list before 'LADSPA_Properties'
plugin_desc.h:65: warning: type defaults to 'int' in declaration of 'LADSPA_Descriptor'
plugin_desc.h:65: error: expected ';', ',' or ')' before '*' token
plugin_desc.h:72: error: expected declaration specifiers or '...' before 'LADSPA_Properties'
plugin_desc.h:76: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'plugin_desc_get_default_control_value'
plugin_desc.h:77: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'plugin_desc_change_control_value'
In file included from jack_rack.h:32,
from jack_rack.c:35:
plugin.h:41: error: expected specifier-qualifier-list before 'LADSPA_Handle'
plugin.h:55: error: expected specifier-qualifier-list before 'LADSPA_Data'
plugin.h:85: error: expected declaration specifiers or '...' before 'LADSPA_Data'
In file included from jack_rack.h:34,
from jack_rack.c:35:
plugin_settings.h:42: error: expected specifier-qualifier-list before 'LADSPA_Data'
plugin_settings.h:56: error: expected declaration specifiers or '...' before 'LADSPA_Data'
plugin_settings.h:62: error: expected declaration specifiers or '...' before 'LADSPA_Data'
plugin_settings.h:64: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'settings_get_control_value'
plugin_settings.h:72: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'settings_get_wet_dry_value'
jack_rack.c: In function 'jack_rack_instantiate_plugin':
jack_rack.c:79: warning: implicit declaration of function 'LADSPA_IS_HARD_RT_CAPABLE'
jack_rack.c:79: error: 'plugin_desc_t' has no member named 'properties'
jack_rack.c: In function 'jack_rack_add_plugin':
jack_rack.c:114: error: 'LADSPA_Data' undeclared (first use in this function)
jack_rack.c:114: error: (Each undeclared identifier is reported only once
jack_rack.c:114: error: for each function it appears in.)
jack_rack.c:114: error: expected ';' before 'value'
jack_rack.c:133: error: 'plugin_t' has no member named 'wet_dry_enabled'
jack_rack.c:135: error: 'plugin_desc_t' has no member named 'control_port_count'
jack_rack.c:138: error: 'value' undeclared (first use in this function)
jack_rack.c:138: warning: implicit declaration of function 'settings_get_control_value'
jack_rack.c:139: error: 'ladspa_holder_t' has no member named 'control_memory'
jack_rack.c:143: error: 'plugin_t' has no member named 'wet_dry_enabled'
jack_rack.c:146: warning: implicit declaration of function 'settings_get_wet_dry_value'
jack_rack.c:147: error: 'plugin_t' has no member named 'wet_dry_values'
jack_rack.c: In function 'saved_rack_parse_plugin':
and later
jack_rack.c: In function 'jack_rack_open_file':
jack_rack.c:330: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
jack_rack.c:330: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
jack_rack.c:330: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
jack_rack.c:330: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
jack_rack.c:330: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
jack_rack.c:330: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
make[2]: *** [jack_rack.o] Error 1
make[2]: Leaving directory `/home/dan/package/mlt/src/mlt-0.2.4/src/modules/jackrack'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/dan/package/mlt/src/mlt-0.2.4/src/modules'
make: *** [all] Error 1
==> ERROR: Build Failed.
Aborting...
Last edited by alleyoopster (2008-05-22 05:55:33)
Offline
jack_rack.c:32:20: error: ladspa.h: No such file or directory
...
Do you have the ladspa package installed?
Offline
you should install base-devel, it contains patch as well as other tools you'll need when building some pkgs,
that header file is a pat of the ladspa pkg, install that and add it as a (make)depends
Offline
Thanks guys, installed sucessfully after installing ladspa plg.
I now have kdenlive running which was my goal so I am happy.
BTW I could not install 9base-devel, I got this error.
==> Validating source files with md5sums...
config.mk ... Passed
plan9.sh ... Passed
==> Extracting Sources...
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
==> Downloading sourcecode...
abort: HTTP Error 404: Not Found
./PKGBUILD: line 21: destination: command not found
./PKGBUILD: line 22: cd: 9base: No such file or directory
cp: `../config.mk' and `./config.mk' are the same file
make: *** No targets specified and no makefile found. Stop.
==> ERROR: Build Failed.
Aborting...
Error: Makepkg was unable to build 9base-devel package.
Last edited by alleyoopster (2008-05-22 21:26:10)
Offline
Not "9base-devel", just "base-devel", which is a "meta-package" actually installing a bunch of other packages like gcc,flex,patch and so on.
$> yaourt -Ss base-devel
core/autoconf 2.62-1 [installed]
A GNU tool for automatically configuring source code
core/automake 1.10.1-2 [installed]
A GNU tool for automatically creating Makefiles
core/bin86 0.16.17-3
A complete 8086 assembler and loader
core/bison 2.3-4 [installed]
The GNU general-purpose parser generator
core/csup 20060318-5 [installed]
csup - cvsup rewritten in C
core/diffutils 2.8.1-5 [installed]
Utility programs used for creating patch files
core/ed 0.9-1 [installed]
A POSIX-compliant line editor
core/fakeroot 1.9.3-1 [installed]
Gives a fake root environment, useful for building packages as a non-privileged user
core/flex 2.5.33-4 [installed]
A tool for generating text-scanning programs
core/gcc 4.3.0-1 [installed]
The GNU Compiler Collection
core/libtool 2.2.4-1 [installed]
A generic library support script
core/m4 1.4.11-1 [installed]
m4 macro processor
core/make 3.81-3 [installed]
GNU make utility to maintain groups of programs
core/patch 2.5.9-1 [installed]
A utility to apply patch files to original sources
core/pkgconfig 0.23-1 [installed]
A system for managing library compile/link flags
core/texinfo 4.12-2 [installed]
Utilities to work with and produce manuals, ASCII text, and on-line documentation from a single source file
aur/9base-devel 20051116-1
Port of various original plan9 tools. This will checkout and build the latest version
The above core-packages are the ones belonging to "base-devel", the 9base-devel is something different.
Last edited by Asgaroth (2008-05-22 22:57:56)
Offline
OK I went astray a bit as all I got was this
yaourt -Ss base-devel
aur/9base-devel 20051116-1
Port of various original plan9 tools. This will checkout and build the latest version
installed it now, thanks for clearing that up
Last edited by alleyoopster (2008-05-24 22:26:43)
Offline
Pages: 1