Package Details: ocamlnet 4.1.6-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: 54
Popularity: 0.246061
First Submitted: 2008-07-23 20:32
Last Updated: 2018-07-02 00:11

Latest Comments

1 2 3 4 5 6 ... Next › Last »

pychuang commented on 2018-04-10 20:13

Seems "download.camlcity.org" is down now. If anyone is eager to use this package right now, use another mirror site to download the tarball: change "download.camlcity.org" to "download2.camlcity.org" in the PKGBUILD.

Reference: https://github.com/ocaml/opam-repository/pull/11761

oriba commented on 2018-04-10 11:10

Firefox says, when I want to view http://projects.camlcity.org/projects/ocamlnet.html:

"The site could be temporarily unavailable or too busy. Try again in a few moments."

So, this is not a package issue.

Would be nice if people would check such things before writing a comment here.

welovelain commented on 2018-04-10 09:41

==> Building and installing package

==> Making package: ocamlnet 4.1.5-1 (Tue Apr 10 11:41:01 EET 2018)

==> Checking runtime dependencies...

==> Checking buildtime dependencies...

==> Retrieving sources...

0curl: (7) Failed to connect to download.camlcity.org port 80: No route to host ==> ERROR: Failure while downloading http://download.camlcity.org/download/ocamlnet-4.1.5.tar.gz

Aborting...

==> ERROR: Makepkg was unable to build ocamlnet.

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