Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Xavier Leroy <xavier.leroy@inria.fr>
To: David Guaspari <davidg@oracorp.com>
Cc: "'Dmitry Bely'" <dbely@mail.ru>, caml-list@inria.fr
Subject: Re: [Caml-list] Trouble building ocaml3.04
Date: Wed, 20 Feb 2002 19:48:30 +0100	[thread overview]
Message-ID: <20020220194830.C16383@pauillac.inria.fr> (raw)
In-Reply-To: <60D45469A1AAD311A04C009027B6BF683FF80D@server20.inside.oracorp.com>; from davidg@oracorp.com on Wed, Feb 20, 2002 at 01:34:36PM -0500

>     ../boot/ocamlrun ../ocamlc -I ../boot -linkall -I ../otherlibs/unix -o 
>         ocamldebug.exe <object files>
> 
> with precisely the same error message:
> 
> 	gcc: FilesObjective: No such file or directory
> 	gcc: Camllib: No such file or directory
> 	gcc: FilesObjective: No such file or directory
> 	gcc: Camllib: No such file or directory
> 	Error while building custom runtime system

One possibility is that you have the OCAMLLIB or CAMLLIB environment
variable set to something like \Program Files\Objective Caml\lib,
e.g. because of a previous installation of the "pure Win32" version of
OCaml.  Try to do

        unset OCAMLLIB
        unset CAMLLIB

in the Bash shell before proceeding with the compilation.

If it still doesn't work, try sticking a "-verbose" option in the
offending command line:

>     ../boot/ocamlrun ../ocamlc -verbose -I ../boot -linkall \
>         -I ../otherlibs/unix -o ocamldebug.exe <object files>

This causes ocamlc to print the exact invocation of gcc -- very useful
to track down problems like this.

The current release of OCaml definitely mis-handles spaces in
the path to the standard library directory, and also fails to ignore
completely previous installations of OCaml while compiling itself.
Damien Doligez has fixed the latter problem recently, and we promise
to do something about the former before the next release.

Keep us (caml@inria.fr) informed.

- Xavier Leroy
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


  reply	other threads:[~2002-02-20 18:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-20 18:34 David Guaspari
2002-02-20 18:48 ` Xavier Leroy [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-02-20 20:10 David Guaspari
2002-02-19 20:44 David Guaspari
2002-02-20  8:43 ` Dmitry Bely

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=20020220194830.C16383@pauillac.inria.fr \
    --to=xavier.leroy@inria.fr \
    --cc=caml-list@inria.fr \
    --cc=davidg@oracorp.com \
    --cc=dbely@mail.ru \
    /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