You are not logged in.

#1 2009-05-27 13:24:16

lollipopsichord
Member
Registered: 2009-05-27
Posts: 13

Much woe installing Jahshaka

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...

http://pastebin.com/f190895e9

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

#2 2009-05-27 15:46:56

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: Much woe installing Jahshaka

Try CC=gcc-3.3 in the PKGBUILD.

Offline

#3 2009-05-29 04:28:28

lollipopsichord
Member
Registered: 2009-05-27
Posts: 13

Re: Much woe installing Jahshaka

Stefan Husmann wrote:

Try CC=gcc-3.3 in the PKGBUILD.

Still no good...

http://pastebin.com/f2415213b

^^ Here is the way I modified the PKGBUILD, did I do it right?


Transmorphisized Bubblegum.

Offline

#4 2009-05-29 12:32:49

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Much woe installing Jahshaka

It's not really my business, but what do you need Jashaka for? Maybe you could try another app?

Offline

#5 2009-05-29 12:34:45

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,651
Website

Re: Much woe installing Jahshaka

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

#6 2009-06-21 02:08:13

lollipopsichord
Member
Registered: 2009-05-27
Posts: 13

Re: Much woe installing Jahshaka

karol wrote:

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

#7 2009-06-21 02:16:09

lollipopsichord
Member
Registered: 2009-05-27
Posts: 13

Re: Much woe installing Jahshaka

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

#8 2009-06-21 04:16:32

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Much woe installing Jahshaka

A good start is to remove the extra 'b' from bbuild().

Offline

#9 2009-06-21 04:45:54

lollipopsichord
Member
Registered: 2009-05-27
Posts: 13

Re: Much woe installing Jahshaka

skottish wrote:

A good start is to remove the extra 'b' from bbuild().

Good pointer! Still no go though...


Transmorphisized Bubblegum.

Offline

#10 2009-06-24 05:34:23

lollipopsichord
Member
Registered: 2009-05-27
Posts: 13

Re: Much woe installing Jahshaka

Bump!


Transmorphisized Bubblegum.

Offline

#11 2009-06-24 09:05:58

lollipopsichord
Member
Registered: 2009-05-27
Posts: 13

Re: Much woe installing Jahshaka

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

Board footer

Powered by FluxBB