Bitstring 2.0.3 is available

42 views
Skip to first unread message

Richard W.M. Jones

unread,
Jan 17, 2012, 8:31:55 AM1/17/12
to bits...@googlegroups.com

It's on the website now ...

Rich.

--
Richard Jones
Red Hat

Matej Kosik

unread,
Jan 17, 2012, 9:05:44 AM1/17/12
to bitstring
I have tried to compile this version and the prior one.
I always run to the same problem.
I have installed every software that ./configure tries to check.

------------------------------------------------------------
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for function prototypes... yes
checking whether gcc and cc understand -c and -o together... yes
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking byteswap.h usability... yes
checking byteswap.h presence... yes
checking for byteswap.h... yes
checking for ocamlc... ocamlc
OCaml version is 3.12.0
OCaml library path is /usr/lib64/ocaml
checking for ocamlopt... ocamlopt
checking for ocamlc.opt... ocamlc.opt
checking for ocamlopt.opt... ocamlopt.opt
checking for ocaml... ocaml
checking for ocamldep... ocamldep
checking for ocamlmktop... ocamlmktop
checking for ocamlmklib... ocamlmklib
checking for ocamldoc... ocamldoc
checking for ocamlbuild... ocamlbuild
checking for ocamlfind... ocamlfind
checking for camlp4of.opt... camlp4of.opt
checking for OCaml findlib package extlib... found
checking for OCaml findlib package cil... found
checking for time... /usr/bin/time
checking for diff... /usr/bin/diff
checking for gprof... gprof
checking for bisect-report... bisect-report
configure: creating ./config.status
config.status: creating Makefile
config.status: creating META
config.status: creating bitstring_config.ml
config.status: creating cil-tools/Makefile
config.status: creating config.h
------------------------------------------------------------

Now when I try to build the library, this happens:

------------------------------------------------------------
make[1]: Entering directory `/home/mkosik/tmp/ocaml-bitstring-2.0.3/
cil-tools'
ocamlfind ocamlc -g -package dynlink,unix,str,extlib,cil -I +camlp4 -
I .. -c bitstring_import_c.ml
ocamlfind ocamlc -g -package dynlink,unix,str,extlib,cil -I +camlp4 -
I .. camlp4lib.cma -linkpkg ../bitstring.cma ../
bitstring_persistent.cma bitstring_import_c.cmo -o bitstring-import-c
/usr/bin/ld: cannot find -lperfcount
collect2: ld returned 1 exit status
File "_none_", line 1, characters 0-1:
Error: Error while building custom runtime system
make[1]: *** [bitstring-import-c] Error 2
make[1]: Leaving directory `/home/mkosik/tmp/ocaml-bitstring-2.0.3/cil-
tools'
make: *** [all] Error 2
------------------------------------------------------------

I am not sure what causes the problem.
Previously, I tried have tried to look and see if it is possible to
compile natively compiled version of the bitstring library (i.e.
*.cmxa). Currently, it is provided only in a form of byte-compiled
library (*.cma).

Richard W.M. Jones

unread,
Jan 17, 2012, 5:48:37 PM1/17/12
to bits...@googlegroups.com

I don't know what causes this, but don't compile the CIL tools.
They are no longer supported and I think we should remove them.

Reply all
Reply to author
Forward
0 new messages