Package Details: ocamlnet 4.1.5-1

Git Clone URL: https://aur.archlinux.org/ocamlnet.git (read-only)
Package Base: ocamlnet
Description: A library for Web and Internet programming in OCaml
Upstream URL: http://projects.camlcity.org/projects/ocamlnet.html
Licenses: GPL, LGPL
Submitter: guital
Maintainer: oriba
Last Packager: oriba
Votes: 51
Popularity: 0.632844
First Submitted: 2008-07-23 20:32
Last Updated: 2017-12-06 21:48

Latest Comments

oriba commented on 2018-01-27 21:59

@raulo.olapodrido: there is ocaml 4.06 now the current ocaml in Arch. You have to recompile ocamlnet, and before that, you have to recompile any ocaml-stuff that ocamlnet relies on. See "Dependencies" above.

(Should be sufficient, to first compile ocaml-pcre again and then ocamlnet.)

raulo.olapodrido commented on 2018-01-27 11:08

build fails:

File "netstring_pcre.mli", line 1:
Error: /usr/lib/ocaml/pcre/pcre.cmi
is not a compiled interface for this version of OCaml.
It seems to be for an older version of OCaml.
make[1]: *** [../../Makefile.rules:132: netstring_pcre.cmi] Fehler 2
make[1]: Verzeichnis „/tmp/trizen-huti/ocamlnet/src/ocamlnet-4.1.5/src/netstring-pcre“ wird verlassen
make: *** [Makefile:23: all] Fehler 2

pricechrispy commented on 2017-11-24 02:50

The following is based on the error reported by cuttooth87:

This package will not build with the latest version of the "nettle" package (3.4-1), required by the "gnutls" package.

I was able to build this package by downgrading the "nettle" package to 3.3-1.

cuttooth87 commented on 2017-11-23 23:15

Getting this error during build:

nettls_nettle_bindings_stubs.c: In function ‘net_nettle_hashes’:
nettls_nettle_bindings_stubs.c:373:25: error: subscripted value is neither array nor pointer nor vector
while (nettle_hashes[k] != NULL) k++;
^
nettls_nettle_bindings_stubs.c:374:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
*hashes = (net_nettle_hash_t *) nettle_hashes;
^
make[1]: *** [../../Makefile.rules:127: nettls_nettle_bindings_stubs.o] Error 2
make[1]: Leaving directory '/tmp/yaourt-tmp-michael/aur-ocamlnet/src/ocamlnet-4.1.4/src/nettls-gnutls'
make: *** [Makefile:23: all] Error 2

nerflad commented on 2017-11-20 22:13

Hi, please update to 4.1.4 when you have time. One of my packages depends on this newer version and I can't update until you do.

AeroSpike commented on 2017-11-12 19:55

Same error as ginoboy and tomatopeel.

I tried to replace the system's ncurses with ncurses-full as suggested by tomatopeel but it didn't work for me.

ginoboy commented on 2017-11-05 15:20

Same error:
Checking endianess... /usr/bin/ld: /usr/lib/ocaml/libcamlrun.a(terminfo.o): undefined reference to symbol 'tgetnum'
/usr/lib/libtinfo.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
File "t.ml", line 1:
Error: Error while building custom runtime system

tomatopeel commented on 2017-10-28 10:37

Looks like I just needed to replace my system's ncurses with ncurses-full(-git)

tomatopeel commented on 2017-10-28 10:07

I'm getting:

Checking endianess... /usr/bin/ld: /usr/lib/ocaml/libcamlrun.a(terminfo.o): undefined reference to symbol 'tgetnum'
/usr/lib/libtinfo.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
File "t.ml", line 1:
Error: Error while building custom runtime system
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build ocamlnet.

radek_r commented on 2017-09-30 12:16

Please add achitecture "armv7h" to the PKGBUILD.

All comments