English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] Signal analysis
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-07-11 (21:05)
From: Alessandro Baretta <alex@b...>
Subject: Re: [Caml-list] Signal analysis

Christophe TROESTLER wrote:
> On Thu, 11 Jul 2002, Alessandro Baretta <alex@baretta.com> wrote:
>>Now, here I am building fft libraries and trying to get a grasp of
>>them. I have just typed "make" on my terminal, and I died horribly
>>because of a header it could not find.
> Do you mean the (r)fftw.h headers ?

Yes. That's it. I had to specify a -I option in the Makefile 
to allow gcc to find the headers.

>>ocamlc tells me it type Complex.t is undefined. Now this seems to be
>>a real impediment: I have grep'ed my ocaml distro and have found no
>>reference to module Complex.
> Sorry for your inconvenience.  It's going to be said more clearly that
> the FFTW interface requires complex number hence the OCaml CVS
> distribution (which explains the strange paths in my Makefile) --
> until the next Ocaml release at least.  Don't worry, compiling Ocaml
> from CVS is easy, just look at http://camlcvs.inria.fr/ to download
> the files and follow the instructions. 

Compiling the CVS version is no real problem, but it tends 
to be slightly less stable than the distro, so I tend to 
prefer to stick with the distro for production work. Well, I 
guess I'll have to update my source directory and bootstrap it.

> I recommend running
> ./configure with an option like -prefix /usr/local/stow/ocaml-cvs/ if
> you want to keep it alongside Ocaml 3.04 (if you do not know "stow",
> have a look to it, it is interesting).

Reading your Makefile I had thought that stow was some 
strange name or acronym for a project you might be working 
on. Now you teach it is a package manager. Ok, I'll try it out.

> The compile directory of the FFTW interface is where the library is
> expected to stay.  I may try to add a "make install" if you need it.

Of course, I would appreciate greatly. But I do not wish to 
hassle you more than I have already. I am already idebted to 
you for writing the fftw package.

> Do not hesitate to report further difficulties with the installation
> -- I will try to write a quick INSTALL file from your remarks.

This is definitely worth the effort. But, it is such a pity 
that nothing can be done to rendere the installation 
painless until the new release is out.

Thank you very much.


To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners