You are not logged in.
I started by using yoart. Jahshaka depends on openlibraries, which depends on mlt++=4.0, which depends on mlt=0.3.8, unfortunately, mlt=4.0 is what AUR has to offer. So I slowly worked my way up the food chain. I got the old tar.gz for mlt, and made a package, installed it, then compiled mlt++ with yoart with little trouble, but OH, then openlibraries gave me these compiletime errors...
I asked around in IRC, and tried a number of things. I was told that this kind of failure to build is because of an issue that gcc4 has with some packages, and proceded to try this patch: http://openlibraries.org/ticket/4
This patch failed me after modfying the PKGBUILD for it.
So from there, I thought hey, maybe I can just compile it flat out with gcc3.3. The thing is, I don't really know the proper steps for editing this http://aur.archlinux.org/packages/openl … s/PKGBUILD properly for the job. So after tinkering around for a while, I thought maybe I could change the symlinks for gcc3.3 to gcc, and see if make would call upon it to do its job that way, with an unhindered gcc4 out of the way. This too, failed.
So im not really sure why, but openlibraries is failing to compile....
And jahshaka sure does look pretty:
http://jahshaka.org/gallery/p17_section … imageid/29
Does anyone have any ideas? It would be much appreciated!
Last edited by lollipopsichord (2009-05-27 13:32:30)
Transmorphisized Bubblegum.
Offline
Try CC=gcc-3.3 in the PKGBUILD.
Offline
Try CC=gcc-3.3 in the PKGBUILD.
Still no good...
^^ Here is the way I modified the PKGBUILD, did I do it right?
Transmorphisized Bubblegum.
Offline
It's not really my business, but what do you need Jashaka for? Maybe you could try another app?
Offline
checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables
See `config.log' for more details.What does config.log say?
Offline
It's not really my business, but what do you need Jashaka for? Maybe you could try another app?
Because I want to try jahshaka. It seems really nice. Got another app suggestion though?
Cinelerra always crashes, Kino means well, but is useless, OpenMovieEditor is largely non-functional, avidmeux isn't really suitable. I've yet to try kdenlive though...might try that as well.
Transmorphisized Bubblegum.
Offline
Ok, after doing some more messing around, I've discovered that openlibraries indeed will not compile because of some restrictions due to gcc4, but also because of generally bad Cpp coding.
lib/plugins\" -DOPENASSETLIB_PLUGINS=\"/usr/lib/openlibraries-0.4.0/openassetlib/plugins\" -march=i686 -mtune=generic -O2 -pipe -MT libopenpluginlib_pl_la-content_handler_libxml.lo -MD -MP -MF ".deps/libopenpluginlib_pl_la-content_handler_libxml.Tpo" -c -o libopenpluginlib_pl_la-content_handler_libxml.lo `test -f 'content_handler_libxml.cpp' || echo './'`content_handler_libxml.cpp; \
then mv -f ".deps/libopenpluginlib_pl_la-content_handler_libxml.Tpo" ".deps/libopenpluginlib_pl_la-content_handler_libxml.Plo"; else rm -f ".deps/libopenpluginlib_pl_la-content_handler_libxml.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src -march=i686 -mtune=generic -O2 -pipe -I/usr/include/libxml2 -DOPENEFFECTSLIB_SHADERS=\"/usr/share/openlibraries-0.4.0/shaders/\" -DOPENIMAGELIB_PLUGINS=\"/usr/lib/openlibraries-0.4.0/openimagelib/plugins\" -DOPENMEDIALIB_PLUGINS=\"/usr/lib/openlibraries-0.4.0/openmedialib/plugins\" -DOPENOBJECTLIB_PLUGINS=\"/usr/lib/openlibraries-0.4.0/openobjectlib/plugins\" -DOPENASSETLIB_PLUGINS=\"/usr/lib/openlibraries-0.4.0/openassetlib/plugins\" -march=i686 -mtune=generic -O2 -pipe -MT libopenpluginlib_pl_la-content_handler_libxml.lo -MD -MP -MF .deps/libopenpluginlib_pl_la-content_handler_libxml.Tpo -c content_handler_libxml.cpp -fPIC -DPIC -o .libs/libopenpluginlib_pl_la-content_handler_libxml.o
content_handler_libxml.cpp: In constructor 'olib::openpluginlib::content_handler_libxml::content_handler_libxml()':
content_handler_libxml.cpp:48: error: 'memset' was not declared in this scope
make[4]: *** [libopenpluginlib_pl_la-content_handler_libxml.lo] Error 1
make[4]: Leaving directory `/tmp/yaourt-tmp-sirjoshimus/aur-openlibraries/openlibraries/src/openlibraries-0.4.0/src/openpluginlib/pl'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/yaourt-tmp-sirjoshimus/aur-openlibraries/openlibraries/src/openlibraries-0.4.0/src/openpluginlib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/yaourt-tmp-sirjoshimus/aur-openlibraries/openlibraries/src/openlibraries-0.4.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-sirjoshimus/aur-openlibraries/openlibraries/src/openlibraries-0.4.0'
make: *** [all] Error 2
==> ERROR: Build Failed.
Aborting...
Error: Makepkg was unable to build openlibraries package.As you see there, "# include <cstring>" is missing from the beginning of content_handler_libxml.cpp, which I added. This is just a slight fix for apparently a number of issues in the 0.4.0 release of openlibraries. By suggestion in #slackware on IRC, someone recommended I try out the svn of openlibraries (http://openlibraries.org/wiki/StableRepositories). I'm currently at this stage, but I'm not exactly what the PKGBUILD for this would look like. Currently, it looks like:
# Maintainer:
# Contributor: Ali H. Caliskan <ali.h.caliskan@gmail.com>
# Contributor: Darwin Bautista <djclue917@gmail.com>
pkgname=openlibraries
pkgver=1475
pkgrel=1
pkgdesc="Powerful and cross-platform set of libraries for easily creating, testing, and deploying rich media applications"
arch=('i686' 'x86_64')
url="http://www.openlibraries.org/"
license=('GPL')
depends=('boost' 'glew' 'freeglut' 'libgl' 'mlt++' 'openal' 'openexr' 'sqlite3')
makedepends=('subversion')
source=()
md5sums=()
options=(!libtool)
_svntrunk=svn://openlibraries.svn.sourceforge.net/svnroot/openlibraries/trunk/
_svnmod=openlibraries
build() {
cd ${srcdir}
if [ -d $_svnmod/.svn ]; then
(cd $_svnmod && svn up -r $pkgver)
else
svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
fi
msg "SVN checkout done or server timeout"
msg "Starting make..."
cp -r $_svnmod $_svnmod-build
cd $_svnmod-build
./autogen.sh
# fix for crap fb issue
mkdir data
cp ../$_svnmod/data/keys\ data/
./configure --prefix=/usr --disable-debug --disable-cg --disable-gelato \
--disable-quicktime --enable-sqlite3 --enable-openal --enable-gpl \
--with-x --with-boostthreadruntime=mt --with-pythonversion=2.5 --disable-libavformat
make || return 1
make DESTDIR=${pkgdir} install || return 1
}As you can see, its not right. But I don't really know how to write a PKGBUILD that incorporates SVN, even though I used the arch wiki for it as a rough guideline. I have a optimistic hunch that just maybe the SVN version of openlibraries will build correctly with gcc4. Can anyone help me out?
Last edited by lollipopsichord (2009-06-21 04:45:02)
Transmorphisized Bubblegum.
Offline
A good start is to remove the extra 'b' from bbuild().
Offline
A good start is to remove the extra 'b' from bbuild().
Good pointer! Still no go though...
Transmorphisized Bubblegum.
Offline
Bump!
Transmorphisized Bubblegum.
Offline
OK, jahshaka has been forked into "Cinefx". A new project altogether. I don't anticipate this app will become any more installable, as no one is working on the code to be compliant for gcc4. I'll try that in a year maybe, when its done....
Also! I installed Kdenlive, and I've gotta say, its AWESOME. I'm very satisfied with Kdenlive for now, it was just what I was looking for.
Transmorphisized Bubblegum.
Offline