Package Details: ocamlnet 4.1.7-1

Git Clone URL: https://aur.archlinux.org/ocamlnet.git (read-only, click to copy)
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: 57
Popularity: 0.000338
First Submitted: 2008-07-23 20:32 (UTC)
Last Updated: 2020-06-05 12:58 (UTC)

Latest Comments

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

pricechrispy commented on 2022-10-16 07:18 (UTC)

@Technetium1

It's an issue with ocaml-pcre, I've posted a fix in that AUR, see: https://aur.archlinux.org/packages/ocaml-pcre#comment-885365

Technetium1 commented on 2022-10-05 18:42 (UTC) (edited on 2022-10-05 18:52 (UTC) by Technetium1)

Seems to be unable to find the ocaml-pcre in makedepends.

Checking for PCRE... not found
Sorry, PCRE was requested.
Get the PCRE-OCaml library from:
http://www.ocaml.info/home/ocaml_sources.html,
or disable the build against PCRE-Ocaml (not recommended).
==> ERROR: A failure occurred in build().

pychuang commented on 2018-04-10 20:13 (UTC)

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 (UTC)

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 (UTC) (edited on 2018-04-10 09:41 (UTC) by welovelain)

==> 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 (UTC) (edited on 2018-01-27 22:08 (UTC) by oriba)

@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 (UTC) (edited on 2018-01-27 11:09 (UTC) by raulo.olapodrido)

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 (UTC)

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 (UTC)

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