[Fluxus] plt-zscheme or Racket?
Carlos Alegría
ccristoo at gmail.com
Fri May 11 10:11:59 PDT 2012
Hi gabor,
These are the patches that the package applies:
This was called by the package maintainer the 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.11/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"]]
----------------------------------------------------------------------------
-
This is indeed, the racket 1.5.2 fix
----------------------------------------------------------------------------
-
diff --git a/modules/scheme/fluxus.ss b/modules/scheme/fluxus.ss
index 3ca01da..f7d8c8c 100644
--- a/modules/scheme/fluxus.ss
+++ b/modules/scheme/fluxus.ss
@@ -7,7 +7,7 @@
"help.ss"
"camera.ss"
"building-blocks.ss"
- "collada-import.ss"
+ ;"collada-import.ss"
"randomness.ss"
"poly-tools.ss"
"pixels-tools.ss"
@@ -25,7 +25,7 @@
(all-from-out "help.ss")
(all-from-out "camera.ss")
(all-from-out "building-blocks.ss")
- (all-from-out "collada-import.ss")
+ ;(all-from-out "collada-import.ss")
(all-from-out "randomness.ss")
(all-from-out "poly-tools.ss")
(all-from-out "pixels-tools.ss")
diff --git a/src/Interpreter.cpp b/src/Interpreter.cpp
index 6424a09..c207c35 100644
--- a/src/Interpreter.cpp
+++ b/src/Interpreter.cpp
@@ -81,6 +81,7 @@ void Interpreter::Initialise()
MZ_GC_REG();
m_Scheme=scheme_basic_env();
+ Interpreter::Register();
scheme_pipe(&m_OutReadPort,&m_OutWritePort);
scheme_pipe(&m_ErrReadPort,&m_ErrWritePort);
diff --git a/src/main.cpp b/src/main.cpp
index 6c37dca..2075568 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -266,7 +266,7 @@ int run(void *data)
char **argv = myargs->argv;
// we create our own Scheme_Env in here, as we need
// to be able to reset it with F6. Seems to be ok to ignore se...
- Interpreter::Register();
+ //Interpreter::Register();
Interpreter::Initialise();
srand(time(NULL));
----------------------------------------------------------------------------
-
I read on the git repo history that the racket fix was already applied to
git, so I tried the compilation by disabling it but I still had some issues.
Will try again and post my results here.
Thanks a lot for your help!
-----Original Message-----
From: gabor papp [mailto:gabor.lists at mndl.hu]
Sent: viernes, 11 de mayo de 2012 10:08
To: Carlos Alegria
Cc: fluxus at lists.pawfal.org
Subject: Re: [Fluxus] plt-zscheme or Racket?
hi Carlos,
> I am trying to get fluxus working on Arch 64 bits. I first tried to
> use the packages from AUR, but none of them seems to be working for me:
as far as i know there are users running fluxus on Arch 64 bits as there
were questions mentioning this.
> - The package fluxus-git retrieves the latest code from the
> git repository and uses racket instead of zscheme, but there is an
> error while applying some patches for a segfault error.
>
i suggest that you install racket and fluxus git version.
what kind of patches are applied? isn't it the racket 5.1.2+ fix? it was
applied to git recently. maybe that's why the patch fails if applied to the
latest git.
best,
gabor
More information about the Fluxus
mailing list