From: David Guaspari <davidg@oracorp.com>
To: "'Xavier Leroy'" <xavier.leroy@inria.fr>
Cc: "'Dmitry Bely'" <dbely@mail.ru>, caml-list@inria.fr
Subject: RE: [Caml-list] Trouble building ocaml3.04
Date: Wed, 20 Feb 2002 15:10:29 -0500 [thread overview]
Message-ID: <60D45469A1AAD311A04C009027B6BF683FF80E@server20.inside.oracorp.com> (raw)
Yes, thanks. That was the problem. (I had previously installed the "pure
win32" version, and had done "uninstall" -- but those environment variables
were still set to the wrong values.)
At least, I think all problems are solved. I tried "make bootstrap" a few
times and it didn't converge to a fixed point. I'll ignore that for now.
-----Original Message-----
From: Xavier Leroy [mailto:xavier.leroy@inria.fr]
Sent: Wednesday, February 20, 2002 1:49 PM
To: David Guaspari
Cc: 'Dmitry Bely'; caml-list@inria.fr
Subject: Re: [Caml-list] Trouble building ocaml3.04
> ../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
next reply other threads:[~2002-02-20 20:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-20 20:10 David Guaspari [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-02-20 18:34 David Guaspari
2002-02-20 18:48 ` Xavier Leroy
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=60D45469A1AAD311A04C009027B6BF683FF80E@server20.inside.oracorp.com \
--to=davidg@oracorp.com \
--cc=caml-list@inria.fr \
--cc=dbely@mail.ru \
--cc=xavier.leroy@inria.fr \
/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