You are not logged in.

#1 2012-01-21 15:20:07

Plobzik
Member
Registered: 2011-02-19
Posts: 10

[SOLVED] Fluxus

Hi. I've got a problem installing fluxus.

ffi is installed but arch doesn't think so

--------------------------------------------------------
Fluxus: Configuring Build Environment
--------------------------------------------------------
Checking for C library m... yes
Checking for C library pthread... yes
Checking for C library dl... yes
Checking for C library jpeg... yes
Checking for C library tiff... yes
Checking for C library freetype... yes
Checking for C library z... yes
Checking for C library bz2... yes
Checking for C library png... yes
Checking for C library ode... yes
Checking for C library sndfile... yes
Checking for C library fftw3... yes
Checking for C library lo... yes
Checking for C library GLEW... yes
Checking for C library racket3m... yes
Checking for C library jack... yes
Checking for C library GL... yes
Checking for C library GLU... yes
Checking for C library glut... yes
Checking for C library ffi... no
ERROR: 'ffi' must be installed!

Last edited by Plobzik (2012-01-22 10:37:15)

Offline

#2 2012-01-21 15:46:09

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,517
Website

Re: [SOLVED] Fluxus

Are you using fluxus, or fluxus-git?

The former has been flagged out of date - which could explain this behavior if that's the one you're trying.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2012-01-21 15:53:09

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

Re: [SOLVED] Fluxus

fluxus-git has libffi.patch:

[karol@black fluxus-git]$ cat libffi.patch 
diff -aur fluxus/SConstruct fluxus-build/SConstruct
--- fluxus/SConstruct	2011-06-10 10:54:46.000000000 +0200
+++ fluxus-build/SConstruct	2011-06-10 11:59:49.000000000 +0200
@@ -83,6 +83,7 @@
         "/usr/include",
         "/usr/local/include/freetype2",  # arg - freetype needs to be
         "/usr/include/freetype2",        # on the include path :(
+        "/usr/lib/libffi-3.0.9/include", # libffi include path
         RacketInclude,
         "../../libfluxus/src"]
 
@@ -207,6 +208,7 @@
         LibList += [["GL", "GL/gl.h"],
                     ["GLU", "GL/glu.h"],
                     ["glut", "GL/glut.h"],
+                    ["ffi", "ffi.h"],
                     ["asound", "alsa/asoundlib.h"],
                     ["openal", "AL/al.h"]]

Offline

#4 2012-01-21 15:55:16

Plobzik
Member
Registered: 2011-02-19
Posts: 10

Re: [SOLVED] Fluxus

I've tried both of them. Fluxus says that there's problem with drscheme and I can't install it. fluxus-git says that thing above.
I changed libffi path in libffi.patch. But there is an error.

g++ -o addons/video/fluxus-video_ss.so -rdynamic -pthread -shared addons/video/src/Video.os addons/video/src/FluxusVideo.os addons/video/src/ofVideoPlayer.os addons/video/src/ofVideoGrabber.os /usr/lib/racket/mzdyn3m.o addons/video/src/ofUCUtils.os -L/usr/lib/racket -L/usr/lib -L/usr/lib -Llibfluxus -lm -lpthread -ldl -ljpeg -ltiff -lfreetype -lz -lbz2 -lpng -lode -lsndfile -lfftw3 -llo -lGLEW -lracket3m -ljack -lGL -lGLU -lglut -lffi -lasound -lopenal -lgstvideo-0.10 -lunicap -lavformat -lswscale -lgstapp-0.10 -lgstbase-0.10 -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lxml2 -lgthread-2.0 -lrt -lglib-2.0
/usr/bin/ld: /usr/lib/libracket3m.a(salloc.o): relocation R_X86_64_TPOFF32 against `scheme_thread_locals' can not be used when making a shared object; recompile with -fPIC
/usr/lib/libracket3m.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
scons: *** [addons/video/fluxus-video_ss.so] Error 1
scons: building terminated because of errors.

Last edited by Plobzik (2012-01-21 16:13:44)

Offline

#5 2012-01-22 01:01:25

Plobzik
Member
Registered: 2011-02-19
Posts: 10

Re: [SOLVED] Fluxus

Oh. I isntalled drscheme from old repo and compiled fluxus and changed some cpp files. Now it works.
Thank you for your help.

Offline

Board footer

Powered by FluxBB