From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id DC5747EE25 for ; Wed, 6 Nov 2013 17:09:41 +0100 (CET) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of robert.soule@gmail.com) identity=pra; client-ip=209.85.128.42; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="robert.soule@gmail.com"; x-sender="robert.soule@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of robert.soule@gmail.com designates 209.85.128.42 as permitted sender) identity=mailfrom; client-ip=209.85.128.42; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="robert.soule@gmail.com"; x-sender="robert.soule@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-qe0-f42.google.com) identity=helo; client-ip=209.85.128.42; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="robert.soule@gmail.com"; x-sender="postmaster@mail-qe0-f42.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArgJAD1pelLRVYAqlWdsb2JhbABagz9TrF+TcwgWDgEBAQEHDQkJEiqCbAE5Aw0FED0gEgEFAQY3h2cDD51DgwSPYIRJJw1XiQ4BBQyPaoQaA4lAhm6HXoEvjm8YKYFkgwse X-IPAS-Result: ArgJAD1pelLRVYAqlWdsb2JhbABagz9TrF+TcwgWDgEBAQEHDQkJEiqCbAE5Aw0FED0gEgEFAQY3h2cDD51DgwSPYIRJJw1XiQ4BBQyPaoQaA4lAhm6HXoEvjm8YKYFkgwse X-IronPort-AV: E=Sophos;i="4.93,647,1378850400"; d="scan'208";a="34050791" Received: from mail-qe0-f42.google.com ([209.85.128.42]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 06 Nov 2013 17:09:41 +0100 Received: by mail-qe0-f42.google.com with SMTP id gc15so6431756qeb.15 for ; Wed, 06 Nov 2013 08:09:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=kKO6Zee4v4iYmjCNCE/dYN+UPmQgic926CSXFzaoEKs=; b=qpW4KCCopCe5RTHzlnXb7bNfIUJBq9AOjwXBKPbZ0puxwR1wb6LBdEc21CztvsQVnr PTbb8GHgrMVW2QxRQoqCrl238nBvlrX2PeJvpY5wbsSq8Za5DrRs324fRxcwkIl/hB0J bptmaq6ilG4L7IjaqOaVkkBMo6n/4RNdXyIJCDIia00ttjgjHj58gK4aV635rZqjL35l QC7SeQIkIQ8f5mfWxor6o1LWRSPf3zg5bEG/Pva8O+MLk/rDjdpZeYETjzLKvdGtfdjS R/QyXuutUfuDQoyoJHqJ8klS3IagNtzUXWctEKv96Tfc5RyWkHhJLdsgUqv7vVdjTF+t J4jQ== MIME-Version: 1.0 X-Received: by 10.224.120.6 with SMTP id b6mr7063112qar.11.1383754180066; Wed, 06 Nov 2013 08:09:40 -0800 (PST) Sender: robert.soule@gmail.com Received: by 10.96.217.8 with HTTP; Wed, 6 Nov 2013 08:09:39 -0800 (PST) Date: Wed, 6 Nov 2013 11:09:39 -0500 X-Google-Sender-Auth: _yFNVONNcwbzTS86O7rh07xk-UI Message-ID: From: =?ISO-8859-1?Q?Robert_Soul=E9?= To: caml-list@inria.fr Content-Type: multipart/mixed; boundary=001a11c2f8b65c13b804ea84601f X-Validation-by: soule@cs.cornell.edu Subject: [Caml-list] OASIS help --001a11c2f8b65c13b804ea84601f Content-Type: text/plain; charset=ISO-8859-1 Hello, I am trying to create an _oasis file with a Test section. My test will call an executable that is built in an Executable section. The test executable links agains links against my project library, which uses some c code. My oasis file is attached. When I run "oasis setup" and then "make", everything works fine. I see Test.native in my directory, as I would expect. However, I run into problems when I run "make test": $ ocaml setup.ml -test W: Tests are turned off, consider enabling with 'ocaml setup.ml -configure --enable-tests' $ ocaml setup.ml -configure --enable-tests ocamlfind: Package `with-c' not found W: Field 'pkg_with_c' is not set: Command ''/Users/soule/.opam/4.00.1/bin/ocamlfind' query -format %d with-c > '/var/folders/q1/hc432vx951b6dlfrvybzm4d40000gn/T/oasis-c91777.txt'' terminated with error code 2 E: Cannot find findlib package with-c E: Failure("1 configuration error") Is there an extra Field I need to add in the Test section if I am running an executable that links against C code? thank you, Robert --001a11c2f8b65c13b804ea84601f Content-Type: application/octet-stream; name=_oasis Content-Disposition: attachment; filename=_oasis Content-Transfer-Encoding: base64 X-Attachment-Id: f_hnorbsgz0 RXhlY3V0YWJsZSB0ZXN0CiBJbnN0YWxsOiBmYWxzZQogQnVpbGQkOiBmbGFn KGlzX25hdGl2ZSkKIFBhdGg6ICAgICAgIHRlc3QKIE1haW5JczogICAgIFRl c3QubWwKIENvbXBpbGVkT2JqZWN0OiBuYXRpdmUKIEJ1aWxkRGVwZW5kczoK ICAgb1VuaXQsCiAgIHBhX291bml0LAogICBwYV9vdW5pdC5zeW50YXgsCiAg IG15bGlid2l0aGMKClRlc3QgYWxsX3Rlc3RzCiAgVHlwZTogQ3VzdG9tICgw LjAuMSkKICBDb21tYW5kOiAkdGVzdAogIFJ1bjogdHJ1ZQogIFRlc3RUb29s czogdGVzdAoKCgo= --001a11c2f8b65c13b804ea84601f--