Package Details: opa-git 4308.r80.g63f1cda-1

Package Base: opa-git
Description: A new generation of open source web development framework for JavaScript
Upstream URL: https://github.com/MLstate/opalang/
Category: devel
Licenses: AGPL3 MIT
Submitter: Franek
Maintainer: dseg
Last Packager: None
Votes: 4
First Submitted: 2011-07-31 11:00
Last Updated: 2014-04-25 15:03

Required by (0)

Sources

Latest Comments

Comment by dseg

2014-03-28 02:47

@tuusjr Hi,
>gcc: error: /usr/lib/ocaml/ulex/ulexing.a: No such file or directory
>gcc: error: /usr/lib/ocaml/camlzip/zip.a: No such file or directory
>gcc: error: /usr/lib/ocaml/ocamlgraph/graph.a: No such file or directory
Could you check these files really exists?
Since Mar 2013, pacman's default packaging policy has changed, maybe you don't have any of above static libraries on your system.
# Please see following url and thread:
# https://mailman.archlinux.org/pipermail/arch-dev-public/2013-May/025002.html

To install the static libraries required by opa-git, please follow these steps for example.

$ echo 'OPTIONS=(staticlibs)' >> ~/.makepkg.conf
$ yaourt -S --noconfirm ocaml-zip ocaml-ocamlgraph ocaml-ulex

Comment by tuusjr

2014-02-07 18:26

Cannot compile:


Checking for ulex... ocamlfind:/usr/lib/ocaml/ulex, could not compile
----------
+ /usr/bin/ocamlopt.opt unix.cmxa -g -I /usr/lib/ocaml/ulex ulexing.cmxa check_ulexing.cmx -o check_ulexing.native
gcc: error: /usr/lib/ocaml/ulex/ulexing.a: No such file or directory
File "caml_startup", line 1:
Error: Error during linking
Command exited with code 2.
----------
The installation of ulexing seems broken, please fix it (did it come with a different ocaml compiler ?)
Checking for camlzip... ocamlfind:/usr/lib/ocaml/camlzip, could not compile
----------
+ /usr/bin/ocamlopt.opt unix.cmxa -g -I /usr/lib/ocaml/camlzip zip.cmxa check_zip.cmx -o check_zip.native
gcc: error: /usr/lib/ocaml/camlzip/zip.a: No such file or directory
File "caml_startup", line 1:
Error: Error during linking
Command exited with code 2.
----------
The installation of zip seems broken, please fix it (did it come with a different ocaml compiler ?)
Checking for ocamlgraph... ocamlfind:/usr/lib/ocaml/ocamlgraph, could not compile
----------
+ /usr/bin/ocamlopt.opt unix.cmxa -g -I /usr/lib/ocaml/ocamlgraph graph.cmxa check_graph.cmx -o check_graph.native
gcc: error: /usr/lib/ocaml/ocamlgraph/graph.a: No such file or directory
File "caml_startup", line 1:
Error: Error during linking
Command exited with code 2.
----------
The installation of graph seems broken, please fix it (did it come with a different ocaml compiler ?)

Not configured. You need the following libraries installed:
- ulex (might be found in package ocaml-ulex)
- camlzip (might be found in package libzip-ocaml-dev)
- ocamlgraph (might be found in package libocamlgraph-ocaml-dev)

Comment by dseg

2013-01-01 07:28

@tdy Thank you, updated the pkgbuild.

Comment by tdy

2013-01-01 04:11

opa actually uses these licenses:
license=('AGPL3' 'MIT')

and the MIT license should be installed:
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"

Comment by exterm

2012-08-02 10:34

error: the env var "MLSTATELIBS" is not defined

Comment by exterm

2012-08-01 17:50

I have created an opa-bin package that seems to work for x64. I suspect I forgot some dependencies, please report.

https://aur.archlinux.org/packages.php?ID=61389

Comment by Franek

2012-08-01 12:26

exterm, you seem to be right about the nodejs dependency. Fixed.

However, I am now getting a build error different from yours, suggesting that I should build with "--parser js-like". However, I have not been able to figure out where to put this option (does not work with configure or make), and as I am not using Opa at the moment, I am unwilling to pursue this issue further.

I am orphaning this package for now. Anyone, feel free to take over.

Comment by exterm

2012-07-31 09:20

build fails with
cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro tools/maxmem.c -o tools/maxmem
tools/maxmem.c: In function ‘main’:
tools/maxmem.c:18:17: error: storage size of ‘rus’ isn’t known
make: *** [tools/maxmem] Error

Comment by exterm

2012-07-29 06:46

apparently nodejs is now a build dependency. Please add that to the PKGBUILD.

Comment by Franek

2012-06-22 23:41

Whoever flagged this "out of date", probably saw the "1.0 is out" announcement on opalang.org. Apparently though, this does not refer to the source code but only to a Windows executable; that is why the git version is still only version 0.9.4. I am un-flagging the package.

Comment by losinggeneration

2012-02-01 16:40

I think that's probably fine. I only said /usr/share/opa because that's where it's located in the documentation here http://doc.opalang.org/#!/manual/Getting-Opa/Setting-up-your-editor

Comment by Franek

2012-01-31 20:59

Thank you for your comments, losinggeneration, I agree in every way. Except I am just copying all of the utils/ folder to /usr/share/opa, as the few additional scripts do not take much disc space. The way I am doing it now, these files and folders will be located in /usr/share/opa/utils/, instead of being directly in /usr/share/opa/ as you suggested. This seems clearer to me at the moment, however I do not have a strong opinion about this – if anyone objects to the utils/ subdirectory, I will remove it.

Doing a last test-makepkg now, the uploaded PKGBUILD should be online within the hour.

Comment by losinggeneration

2012-01-31 17:02

Another change I'd suggest would be in package:
make DESTDIR="$pkgdir/" install-all
cp -r utils/{bash,emacs,pygments,vim,zsh} "$pkgdir/usr/share/opa/"

I'm not sure if you'd want to also include plotmem, plotpipe, ppdebug-opa.pl, & ppdebug.pl but the above I know will be useful to people.

Comment by losinggeneration

2012-01-30 21:26

ulex is now ocaml-ulex
Additionally, it should be installed to /usr not /usr/local (use -prefix /usr)

Comment by Franek

2011-10-18 15:05

Done. Thanks for letting me know that it works on x86_64.

Comment by imrehg

2011-10-18 04:35

Could you add x86_64 to the arch section? That way people can actually build the package without editing the PKGBUILD....

Comment by Franek

2011-08-27 12:58

I successfully built opa-git on two 32-bit systems. What does not work for you?

java-environment is a virtual dependency referencing either opendjk6 or jdk, see https://wiki.archlinux.org/index.php/Java_Package_Guidelines#Dependencies .

Comment by jfsantos

2011-08-26 21:26

Also, opa from git does not build under 32-bit systems. You should change the ARCH section to x86_64.

Comment by jfsantos

2011-08-26 21:18

There is no package called java-environment, neither in the official repos nor in AUR. Do you mean JDK?