caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Joel Reymont <joelr1@gmail.com>
To: "Stéphane Glondu" <steph@glondu.net>
Cc: caml-list <caml-list@inria.fr>
Subject: Re: [Caml-list] cvs ocaml build failing
Date: Thu, 16 Apr 2009 18:14:57 +0100	[thread overview]
Message-ID: <22CE143A-2D8A-446B-95B0-AC5776C3E925@gmail.com> (raw)
In-Reply-To: <49E761F3.9030004@glondu.net>


On Apr 16, 2009, at 5:50 PM, Stéphane Glondu wrote:

> Add initgroups.o and setgroups.o in otherlibs/unix/libunix.clib, then
> launch again the compilation.

Seems to help but still bombs out.

./build/fastworld.sh
...
+ boot/ocamlyacc -v ocamldoc/odoc_text_parser.mly
5 shift/reduce conflicts.
Solver failed:
   Ocamlbuild knows of no rules that apply to a target named ocamldoc/ 
odoc_opt.mlast. This can happen if you ask Ocamlbuild to build a  
target with the wrong extension (e.g. .opt instead of .native) or if  
the source files live in directories that have not been specified as  
include directories.
Backtrace:
   - Failed to build the target ocamldoc/ocamldoc.opt
       - Building ocamldoc/ocamldoc.opt:
           - Building ocamldoc/odoc_opt.native:
               - Building ocamldoc/odoc_opt.cmx:
                   - Failed to build all of these:
                       - Building ocamldoc/odoc_opt.ml:
                           - Failed to build all of these:
                               - Building ocamldoc/odoc_opt.mlast
                               - Building ocamldoc/odoc_opt.ml4
                               - Building ocamldoc/odoc_opt.mlbuild
                               - Building ocamldoc/odoc_opt.mly
                               - Building ocamldoc/odoc_opt.mll
                       - Building ocamldoc/odoc_opt.mlpack
Compilation unsuccessful after building 2136 targets (681 cached) in  
00:00:49.

> It seems that -lm is missing in BYTECCLIBS and/or NATIVECCLIBS (see
> config/Makefile). However, the ./configure script should have done  
> this
> for you. This might be worth a bugreport.

BYTECCLIBS=   -lcurses -lpthread
NATIVECCLIBS=

This was all working fine before, ocamlbuild and make.

> Please pay attention and don't mix both build systems: either use make
> or ocamlbuild, but don't run make after having used ocamlbuild nor
> vice-versa. To be sure, start from a fresh CVS checkout.


I don't mix and I always do 'make clean', 'make distclean' and './ 
build/distclean.sh'.

	Thanks, Joel

---
Mac hacker with a performance bent
http://linkedin.com/in/joelreymont




      reply	other threads:[~2009-04-16 17:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-16 13:04 Joel Reymont
2009-04-16 16:16 ` [Caml-list] " Stéphane Glondu
     [not found]   ` <be68c3dc0904160930g106490b6r44b2dbff8e551daf@mail.gmail.com>
2009-04-16 16:50     ` Stéphane Glondu
2009-04-16 17:14       ` Joel Reymont [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=22CE143A-2D8A-446B-95B0-AC5776C3E925@gmail.com \
    --to=joelr1@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=steph@glondu.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).