Re: [Fluxus] Need help in compiling Fluxus

2019-10-16 Thread Javier Candeira

Hi Walter,


On 16/10/19 17:25, Hong Yang wrote:> hi Javier
>
> Its look good to me, please fill a pull request at Dave's repository.

Thanks!

There is already a MR at Dave's upstream repo:

https://gitlab.com/nebogeo/fluxus/merge_requests/7

Unless there is another, better repo that I'm missing?

Also: I think I'm close to making it compile and work with the ODE and 
Racket from Ubuntu 18.04. If so, I'll provide a subsequent merge request, 
because the easier it is to compile and install, the better.


J

On 16/10/19 17:25, Hong Yang wrote:

hi Javier

Its look good to me, please fill a pull request at Dave's repository.

Thanks
Walter

On Tue, Oct 8, 2019 at 2:41 PM Javier Candeira > wrote:


On 8/10/19 14:17, Hong Yang wrote:

 >      > I think we need add this line to scons to make sure helpmap.scm
 >     presents, or
 >      > just have a default one in the repo. I'll check it later.


It's done as an added commit in my current MR updating ubuntu18.04 install
instructions. Please let me know if you want a separate MR, or anything
handled differently.

Cheers,
J



Re: [Fluxus] Need help in compiling Fluxus

2019-10-16 Thread Hong Yang
hi Javier

Its look good to me, please fill a pull request at Dave's repository.

Thanks
Walter

On Tue, Oct 8, 2019 at 2:41 PM Javier Candeira  wrote:

> On 8/10/19 14:17, Hong Yang wrote:
>
> >  > I think we need add this line to scons to make sure helpmap.scm
> > presents, or
> >  > just have a default one in the repo. I'll check it later.
>
>
> It's done as an added commit in my current MR updating ubuntu18.04 install
> instructions. Please let me know if you want a separate MR, or anything
> handled differently.
>
> Cheers,
> J
>


Re: [Fluxus] Need help in compiling Fluxus

2019-10-07 Thread Hong Yang
Hi Janis

Congrats, and good catch.

Hi Dave

I think we need add this line to scons to make sure helpmap.scm presents,
or just have a default one in the repo. I'll check it later.

Thanks
Walter

On Mon, Oct 7, 2019 at 6:23 PM Janis Geiger  wrote:

> Thanks Javier!! Fluxus is working now :-)
> One thing to correct:
>
> cd doc*s*/helpmap && ./makehelpmap.scm & cd ../..
>
> Greetings & thanks,
>
> Janis
>
> Am Montag, 7. Oktober 2019, 00:32:36 MESZ hat Javier Candeira <
> jav...@candeira.com> Folgendes geschrieben:
>
>
> Hi Janis,
>
> This one I can help you with:
>
> On 7/10/19 05:20, Janis Geiger wrote:
> > Thanks, scons succeeded, but not sudo scons install...
> >
> > scons: *** [/usr/local/lib/fluxus-019/fluxus/helpmap.scm] Source
> > `docs/helpmap/helpmap.scm' not found, needed by target
> > `/usr/local/lib/fluxus-019/fluxus/helpmap.scm'.
> > scons: building terminated because of errors.
>
>
> Before running `sudo scons install`, run the following:
>
> cd doc/helpmap && ./makehelpmap.scm & cd ../..
>
> Cheers, Javier
>
>
>
>


Re: [Fluxus] Need help in compiling Fluxus

2019-10-07 Thread Janis Geiger
Thanks Javier!! Fluxus is working now :-)One thing to correct: 

cd docs/helpmap && ./makehelpmap.scm & cd ../..
Greetings & thanks,
Janis

Am Montag, 7. Oktober 2019, 00:32:36 MESZ hat Javier Candeira 
 Folgendes geschrieben:  
 
 Hi Janis,

This one I can help you with:

On 7/10/19 05:20, Janis Geiger wrote:
> Thanks, scons succeeded, but not sudo scons install...
> 
> scons: *** [/usr/local/lib/fluxus-019/fluxus/helpmap.scm] Source 
> `docs/helpmap/helpmap.scm' not found, needed by target 
> `/usr/local/lib/fluxus-019/fluxus/helpmap.scm'.
> scons: building terminated because of errors.

Before running `sudo scons install`, run the following:

cd doc/helpmap && ./makehelpmap.scm & cd ../..

Cheers, Javier


  

Re: [Fluxus] Need help in compiling Fluxus

2019-10-06 Thread Javier Candeira

Hi Janis,

This one I can help you with:

On 7/10/19 05:20, Janis Geiger wrote:

Thanks, scons succeeded, but not sudo scons install...

scons: *** [/usr/local/lib/fluxus-019/fluxus/helpmap.scm] Source 
`docs/helpmap/helpmap.scm' not found, needed by target 
`/usr/local/lib/fluxus-019/fluxus/helpmap.scm'.

scons: building terminated because of errors.


Before running `sudo scons install`, run the following:

cd doc/helpmap && ./makehelpmap.scm & cd ../..

Cheers, Javier




Re: [Fluxus] Need help in compiling Fluxus

2019-10-06 Thread Janis Geiger
 Thanks, scons succeeded, but not sudo scons install...
scons: *** [/usr/local/lib/fluxus-019/fluxus/helpmap.scm] Source 
`docs/helpmap/helpmap.scm' not found, needed by target 
`/usr/local/lib/fluxus-019/fluxus/helpmap.scm'.
scons: building terminated because of errors.

Greetings, J

Am Sonntag, 6. Oktober 2019, 20:45:41 MESZ hat dave  
Folgendes geschrieben:  
 
 Hi Janis, (added the list again, for others getting the same problem)

No - I think that just means they are available but not actually
installed... perhaps the "i" in front of the "libfftw3-double3" and
"libfftw3-single3" means these are what is installed on your system -
but there are no -dev packages installed that you'd need for building
fluxus (I think).

If you built it from source, what we are seeing would make more sense,
and the fix would be to rebuilt it with:

./configure --enable-shared
sudo make CFLAGS=-fPIC
sudo make install

That's according to SO, anyway! :)
https://stackoverflow.com/questions/45321342/how-to-build-fftw-in-ubuntu

cheers,

dave

On 06/10/2019 19:11, Janis Geiger wrote:
> Hello Dave,
> 
> I have to admit I'm very surprised my terminal output shows me I'm
> running with 32 bit version?
> 
> Here it is:
> 
> janis@ratiu-g:~$ apt search libfftw3
> p   libfftw3-3  - Bibliothek für Schnelle
> Fourier-Transforma
> p   libfftw3-3:i386 - Bibliothek für Schnelle
> Fourier-Transforma
> p   libfftw3-bin    - Bibliothek zur Berechnung
> Schneller Fourie
> p   libfftw3-bin:i386   - Bibliothek zur Berechnung
> Schneller Fourie
> p   libfftw3-dbg    - Library for computing Fast Fourier
> Transfo
> p   libfftw3-dbg:i386   - Library for computing Fast Fourier
> Transfo
> p   libfftw3-dev    - Bibliothek für schnelle
> Fourier-Transforma
> p   libfftw3-dev:i386   - Bibliothek für schnelle
> Fourier-Transforma
> p   libfftw3-doc    - Dokumentation für fftw, Version
> 3     
> v   libfftw3-doc:i386  
> -   
> i   libfftw3-double3    - Bibliothek zur Berechnung
> Schneller Fourie
> p   libfftw3-double3:i386   - Bibliothek zur Berechnung
> Schneller Fourie
> p   libfftw3-long3  - Library for computing Fast Fourier
> Transfo
> p   libfftw3-long3:i386 - Library for computing Fast Fourier
> Transfo
> p   libfftw3-mpi-dev    - MPI Library for computing Fast
> Fourier Tra
> p   libfftw3-mpi-dev:i386   - MPI Library for computing Fast
> Fourier Tra
> p   libfftw3-mpi3   - MPI Library for computing Fast
> Fourier Tra
> p   libfftw3-mpi3:i386  - MPI Library for computing Fast
> Fourier Tra
> p   libfftw3-quad3  - Library for computing Fast Fourier
> Transfo
> p   libfftw3-quad3:i386 - Library for computing Fast Fourier
> Transfo
> i   libfftw3-single3    - Library for computing Fast Fourier
> Transfo
> p   libfftw3-single3:i386   - Library for computing Fast Fourier
> Transfo
> janis@ratiu-g:~$
> 
> Shall I try installing it in 64bit?
> 
> Greetings, Janis
> Am Sonntag, 6. Oktober 2019, 09:54:20 MESZ hat dave 
> Folgendes geschrieben:
> 
> 
> Hi Janis,
> 
> I've not come across this one before, but it won't allow you to build a
> dynamic linked library of a fluxus component due to the way libfftw
> (used for the sound analysis) has been built in the package you are using...
> 
> Seems there are loads of versions of this package - if I run:
> 
> $ apt search libfftw3
> 
> I get:
> 
> Sorting... Done
> Full Text Search... Done
> libfftw3-3/bionic 3.3.7-1 amd64
>   Library for computing Fast Fourier Transforms
> 
> libfftw3-bin/bionic,now 3.3.7-1 amd64 [installed,automatic]
>   Library for computing Fast Fourier Transforms - Tools
> 
> libfftw3-dbg/bionic 3.3.7-1 amd64
>   Library for computing Fast Fourier Transforms - debug symbols
> 
> libfftw3-dev/bionic,now 3.3.7-1 amd64 [installed]
>   Library for computing Fast Fourier Transforms - development
> 
> libfftw3-doc/bionic,bionic 3.3.7-1 all
>   Documentation for fftw version 3
> 
> libfftw3-double3/bionic,now 3.3.7-1 amd64 [installed]
>   Library for computing Fast Fourier Transforms - Double precision
> 
> libfftw3-long3/bionic,now 3.3.7-1 amd64 [installed,automatic]
>   Library for computing Fast Fourier Transforms - Long precision
> 
> libfftw3-mpi-dev/bionic 3.3.7-1 amd64
>   MPI Library for computing Fast Fourier Transforms - development
> 
> libfftw3-mpi3/bionic 3.3.7-1 amd64
>   MPI Library for computing Fast Fourier Transforms
> 
> libfftw3-quad3/bionic,now 3.3.7-1 amd64 [installed,automatic]
>   Library for computing Fast Fourier Transforms - Quad precision
> 
> libfftw3-single3/bionic,now 3.3.7-1 amd64 [installed]
>   Library for computing Fast Fourier Transforms - Single precision
> 
> libgnuradio-fft3.7.11/bionic 3.7.11-10 amd64
>   gnuradio fast 

Re: [Fluxus] Need help in compiling Fluxus

2019-10-06 Thread dave
Hi Janis, (added the list again, for others getting the same problem)

No - I think that just means they are available but not actually
installed... perhaps the "i" in front of the "libfftw3-double3" and
"libfftw3-single3" means these are what is installed on your system -
but there are no -dev packages installed that you'd need for building
fluxus (I think).

If you built it from source, what we are seeing would make more sense,
and the fix would be to rebuilt it with:

./configure --enable-shared
sudo make CFLAGS=-fPIC
sudo make install

That's according to SO, anyway! :)
https://stackoverflow.com/questions/45321342/how-to-build-fftw-in-ubuntu

cheers,

dave

On 06/10/2019 19:11, Janis Geiger wrote:
> Hello Dave,
> 
> I have to admit I'm very surprised my terminal output shows me I'm
> running with 32 bit version?
> 
> Here it is:
> 
> janis@ratiu-g:~$ apt search libfftw3
> p   libfftw3-3  - Bibliothek für Schnelle
> Fourier-Transforma
> p   libfftw3-3:i386 - Bibliothek für Schnelle
> Fourier-Transforma
> p   libfftw3-bin    - Bibliothek zur Berechnung
> Schneller Fourie
> p   libfftw3-bin:i386   - Bibliothek zur Berechnung
> Schneller Fourie
> p   libfftw3-dbg    - Library for computing Fast Fourier
> Transfo
> p   libfftw3-dbg:i386   - Library for computing Fast Fourier
> Transfo
> p   libfftw3-dev    - Bibliothek für schnelle
> Fourier-Transforma
> p   libfftw3-dev:i386   - Bibliothek für schnelle
> Fourier-Transforma
> p   libfftw3-doc    - Dokumentation für fftw, Version
> 3     
> v   libfftw3-doc:i386  
> -   
> i   libfftw3-double3    - Bibliothek zur Berechnung
> Schneller Fourie
> p   libfftw3-double3:i386   - Bibliothek zur Berechnung
> Schneller Fourie
> p   libfftw3-long3  - Library for computing Fast Fourier
> Transfo
> p   libfftw3-long3:i386 - Library for computing Fast Fourier
> Transfo
> p   libfftw3-mpi-dev    - MPI Library for computing Fast
> Fourier Tra
> p   libfftw3-mpi-dev:i386   - MPI Library for computing Fast
> Fourier Tra
> p   libfftw3-mpi3   - MPI Library for computing Fast
> Fourier Tra
> p   libfftw3-mpi3:i386  - MPI Library for computing Fast
> Fourier Tra
> p   libfftw3-quad3  - Library for computing Fast Fourier
> Transfo
> p   libfftw3-quad3:i386 - Library for computing Fast Fourier
> Transfo
> i   libfftw3-single3    - Library for computing Fast Fourier
> Transfo
> p   libfftw3-single3:i386   - Library for computing Fast Fourier
> Transfo
> janis@ratiu-g:~$
> 
> Shall I try installing it in 64bit?
> 
> Greetings, Janis
> Am Sonntag, 6. Oktober 2019, 09:54:20 MESZ hat dave 
> Folgendes geschrieben:
> 
> 
> Hi Janis,
> 
> I've not come across this one before, but it won't allow you to build a
> dynamic linked library of a fluxus component due to the way libfftw
> (used for the sound analysis) has been built in the package you are using...
> 
> Seems there are loads of versions of this package - if I run:
> 
> $ apt search libfftw3
> 
> I get:
> 
> Sorting... Done
> Full Text Search... Done
> libfftw3-3/bionic 3.3.7-1 amd64
>   Library for computing Fast Fourier Transforms
> 
> libfftw3-bin/bionic,now 3.3.7-1 amd64 [installed,automatic]
>   Library for computing Fast Fourier Transforms - Tools
> 
> libfftw3-dbg/bionic 3.3.7-1 amd64
>   Library for computing Fast Fourier Transforms - debug symbols
> 
> libfftw3-dev/bionic,now 3.3.7-1 amd64 [installed]
>   Library for computing Fast Fourier Transforms - development
> 
> libfftw3-doc/bionic,bionic 3.3.7-1 all
>   Documentation for fftw version 3
> 
> libfftw3-double3/bionic,now 3.3.7-1 amd64 [installed]
>   Library for computing Fast Fourier Transforms - Double precision
> 
> libfftw3-long3/bionic,now 3.3.7-1 amd64 [installed,automatic]
>   Library for computing Fast Fourier Transforms - Long precision
> 
> libfftw3-mpi-dev/bionic 3.3.7-1 amd64
>   MPI Library for computing Fast Fourier Transforms - development
> 
> libfftw3-mpi3/bionic 3.3.7-1 amd64
>   MPI Library for computing Fast Fourier Transforms
> 
> libfftw3-quad3/bionic,now 3.3.7-1 amd64 [installed,automatic]
>   Library for computing Fast Fourier Transforms - Quad precision
> 
> libfftw3-single3/bionic,now 3.3.7-1 amd64 [installed]
>   Library for computing Fast Fourier Transforms - Single precision
> 
> libgnuradio-fft3.7.11/bionic 3.7.11-10 amd64
>   gnuradio fast Fourier transform functions
> 
> How does that compare to your machine?
> 
> cheers,
> 
> dave
> 
> On 05/10/2019 17:34, Janis Geiger wrote:
>> Hello,
>>
>> I fiddled around all day to get Fluxus running on my VM and now on a
>> full desktop install.
>>
>> I'm running Linux Mint 19.1 x64.
>>
>> Here's the lines of my terminal when I try to do "sudo scons install" in
>> 

Re: [Fluxus] Need help in compiling Fluxus

2019-10-06 Thread dave
Hi Janis,

I've not come across this one before, but it won't allow you to build a
dynamic linked library of a fluxus component due to the way libfftw
(used for the sound analysis) has been built in the package you are using...

Seems there are loads of versions of this package - if I run:

$ apt search libfftw3

I get:

Sorting... Done
Full Text Search... Done
libfftw3-3/bionic 3.3.7-1 amd64
  Library for computing Fast Fourier Transforms

libfftw3-bin/bionic,now 3.3.7-1 amd64 [installed,automatic]
  Library for computing Fast Fourier Transforms - Tools

libfftw3-dbg/bionic 3.3.7-1 amd64
  Library for computing Fast Fourier Transforms - debug symbols

libfftw3-dev/bionic,now 3.3.7-1 amd64 [installed]
  Library for computing Fast Fourier Transforms - development

libfftw3-doc/bionic,bionic 3.3.7-1 all
  Documentation for fftw version 3

libfftw3-double3/bionic,now 3.3.7-1 amd64 [installed]
  Library for computing Fast Fourier Transforms - Double precision

libfftw3-long3/bionic,now 3.3.7-1 amd64 [installed,automatic]
  Library for computing Fast Fourier Transforms - Long precision

libfftw3-mpi-dev/bionic 3.3.7-1 amd64
  MPI Library for computing Fast Fourier Transforms - development

libfftw3-mpi3/bionic 3.3.7-1 amd64
  MPI Library for computing Fast Fourier Transforms

libfftw3-quad3/bionic,now 3.3.7-1 amd64 [installed,automatic]
  Library for computing Fast Fourier Transforms - Quad precision

libfftw3-single3/bionic,now 3.3.7-1 amd64 [installed]
  Library for computing Fast Fourier Transforms - Single precision

libgnuradio-fft3.7.11/bionic 3.7.11-10 amd64
  gnuradio fast Fourier transform functions

How does that compare to your machine?

cheers,

dave

On 05/10/2019 17:34, Janis Geiger wrote:
> Hello,
> 
> I fiddled around all day to get Fluxus running on my VM and now on a
> full desktop install.
> 
> I'm running Linux Mint 19.1 x64.
> 
> Here's the lines of my terminal when I try to do "sudo scons install" in
> the fluxus directory. (all dependencies fulfilled, what a day it's been!
> ;-))
> 
> sudo scons install
> 
> scons: Reading SConscript files ...
> 
> Fluxus: Configuring Build Environment
> 
> Checking for C library m... (cached) yes
> Checking for C library racket3m... (cached) yes
> Checking for C library pthread... (cached) yes
> Checking for C library dl... (cached) yes
> Checking for C library jpeg... (cached) yes
> Checking for C library tiff... (cached) yes
> Checking for C library freetype... (cached) yes
> Checking for C library z... (cached) yes
> Checking for C library bz2... (cached) yes
> Checking for C library png... (cached) yes
> Checking for C library ode... (cached) yes
> Checking for C library sndfile... (cached) yes
> Checking for C library fftw3... (cached) yes
> Checking for C library lo... (cached) yes
> Checking for C library GLEW... (cached) yes
> Checking for C library jack... (cached) yes
> Checking for C library GL... (cached) yes
> Checking for C library GLU... (cached) yes
> Checking for C library glut... (cached) yes
> Checking for C library asound... (cached) yes
> Checking for C library openal... (cached) yes
> Checking for C function dInitODE2()... (cached) yes
> Checking for C++ function lo_arg_size_check()... (cached) no
> raco make: file does not exist: /usr/local/lib/fluxus-019/fluxus/fluxus.rkt
>   context...:
>   
> /usr/local/share/racket/pkgs/compiler-lib/compiler/commands/make.rkt:81:8:
> for-loop
>   
> "/usr/local/share/racket/pkgs/compiler-lib/compiler/commands/make.rkt":
> [running body]
>    temp37_0
>    for-loop
>    run-module-instance!125
>    "/usr/local/share/racket/collects/raco/raco.rkt": [running body]
>    temp37_0
>    for-loop
>    run-module-instance!125
>    "/usr/local/share/racket/collects/raco/main.rkt": [running body]
>    temp37_0
>    for-loop
>    run-module-instance!125
>    perform-require!78
> scons: done reading SConscript files.
> scons: Building targets ...
> g++ -o modules/fluxus-audio/fluxus-audio_ss.so -rdynamic -shared
> modules/fluxus-audio/src/FluxusAudio.os
> modules/fluxus-audio/src/AudioCollector.os
> modules/fluxus-audio/src/JackClient.os /usr/local/lib/racket/mzdyn3m.o
> -L/usr/local/lib/racket -L/usr/local/lib -L/usr/lib -Llibfluxus
> -L/usr/lib/x86_64-linux-gnu -ljack -lfftw3 -lsndfile
> /usr/bin/ld: /usr/local/lib/libfftw3.a(assert.o): relocation
> R_X86_64_PC32 against symbol `stdout@@GLIBC_2.2.5' can not be used when
> making a shared object; recompile with -fPIC
> /usr/bin/ld: final link failed: Bad value
> collect2: error: ld returned 1 exit status
> scons: *** [modules/fluxus-audio/fluxus-audio_ss.so] Error 1
> scons: building terminated because of errors.
> 
> Any thoughts?
> 
> Greetings, Janis
> 
>