Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* [Caml-list] fftw3 installation fails with opam 1.2.2 and ocaml 4.06.0
@ 2017-11-17  9:20 Jean-Marc Alliot
  2017-11-17  9:30 ` Gabriel Scherer
  0 siblings, 1 reply; 2+ messages in thread
From: Jean-Marc Alliot @ 2017-11-17  9:20 UTC (permalink / raw)
  To: caml-list

Well the subject says it all... Hope the following trace will help the 
developpers. After switching back to 4.05.0, installation runs without 
any problem.

Jean-Marc


#=== ERROR while installing fftw3.0.7.3 
=======================================#
# opam-version 1.2.2
# os           linux
# command      make
# path         /home/alliot/.opam/4.06.0/build/fftw3.0.7.3
# compiler     4.06.0
# exit-code    2
# env-file 
/home/alliot/.opam/4.06.0/build/fftw3.0.7.3/fftw3-13606-d2c37b.env
# stdout-file 
/home/alliot/.opam/4.06.0/build/fftw3.0.7.3/fftw3-13606-d2c37b.out
# stderr-file 
/home/alliot/.opam/4.06.0/build/fftw3.0.7.3/fftw3-13606-d2c37b.err
### stdout ###
# [...]
# /home/alliot/.opam/4.06.0/bin/ocamldep fftw3_geomC.ml > ._d/fftw3_geomC.d
# /home/alliot/.opam/4.06.0/bin/ocamldep fftw3_utils.ml > ._d/fftw3_utils.d
# /home/alliot/.opam/4.06.0/bin/ocamlc.opt -c -cc "cc" -ccopt "-fPIC -g 
-O2 -DFFTW3F_EXISTS -DHASH_EXISTS \
#             -DPIC   \
#                 -o fftw3_stubs.o " fftw3_stubs.c
# ../OCamlMakefile:1124 : la recette pour la cible « fftw3_stubs.o » a 
échouée
# make[2] : on quitte le répertoire 
« /home/alliot/.opam/4.06.0/build/fftw3.0.7.3/src »
# ../OCamlMakefile:784 : la recette pour la cible « byte-code-library » 
a échouée
# make[1] : on quitte le répertoire 
« /home/alliot/.opam/4.06.0/build/fftw3.0.7.3/src »
# Makefile:19 : la recette pour la cible « all » a échouée
### stderr ###
# [...]
# bigarray_stubs.c:21:16: error: static declaration of 
‘caml_ba_num_elts’ follows non-static declaration
#  static uintnat caml_ba_num_elts(struct caml_ba_array * b)
#                 ^~~~~~~~~~~~~~~~
# In file included from fftw3_stubs.c:32:0:
# /home/alliot/.opam/4.06.0/lib/ocaml/caml/bigarray.h:117:20: note: 
previous declaration of ‘caml_ba_num_elts’ was here
#  CAMLextern uintnat caml_ba_num_elts(struct caml_ba_array * b);
#                     ^~~~~~~~~~~~~~~~
# make[2]: *** [fftw3_stubs.o] Erreur 2
# make[1]: *** [byte-code-library] Erreur 2
# make: *** [all] Erreur 2


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-11-17  9:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-17  9:20 [Caml-list] fftw3 installation fails with opam 1.2.2 and ocaml 4.06.0 Jean-Marc Alliot
2017-11-17  9:30 ` Gabriel Scherer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox