* [newbie] miscellaneous on installation and web site
@ 2010-03-01 13:07 Marco Maggi
2010-03-01 13:12 ` [Caml-list] " Mihamina Rakotomandimby
` (4 more replies)
0 siblings, 5 replies; 11+ messages in thread
From: Marco Maggi @ 2010-03-01 13:07 UTC (permalink / raw)
To: caml-list
Ciao,
I am a True Beginner taking a look at O'Caml; I hope not
to be abusing by posting here rather than the beginners
list.
I think I successfully compiled ocaml-3.11.2 on my
i686-pc-linux-gnu, but there seems to be no way to install
the package in a temporary location via the Linux de facto
standard DESTDIR environment variable; is there a way to do
it? (I am used to build custom packages.)
The web site[1] is beautiful (no irony) but a lot of
informations look outdated, 4/5 years old; I see many O'Caml
related sites on the Net. Is there one that I can take as
reference for the latest news, for example about still
maintained library packages?
TIA
[1] <http://caml.inria.fr/>
--
Marco Maggi
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Caml-list] [newbie] miscellaneous on installation and web site
2010-03-01 13:07 [newbie] miscellaneous on installation and web site Marco Maggi
@ 2010-03-01 13:12 ` Mihamina Rakotomandimby
2010-03-01 13:13 ` David Allsopp
` (3 subsequent siblings)
4 siblings, 0 replies; 11+ messages in thread
From: Mihamina Rakotomandimby @ 2010-03-01 13:12 UTC (permalink / raw)
To: caml-list
> Marco Maggi <marco.maggi-ipsu@poste.it> :
> I am a True Beginner taking a look at O'Caml; I hope not
> to be abusing by posting here rather than the beginners
> list.
You are a beginner (you told), you know there is a beginner list, and
you apoligize for not using it.
> I think I successfully compiled ocaml-3.11.2 on my
> i686-pc-linux-gnu,
what about installing from your system package management first?
Are you using Debian or Ubuntu?
"apt-get install ocaml" and you're done.
Are you using Fedora?
"yum install ocaml" and you're done.
--
Architecte Informatique chez Blueline/Gulfsat:
Administration Systeme, Recherche & Developpement
+261 34 29 155 34 / +261 33 11 207 36
^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: [Caml-list] [newbie] miscellaneous on installation and web site
2010-03-01 13:07 [newbie] miscellaneous on installation and web site Marco Maggi
2010-03-01 13:12 ` [Caml-list] " Mihamina Rakotomandimby
@ 2010-03-01 13:13 ` David Allsopp
2010-03-01 19:32 ` Marco Maggi
2010-03-01 13:28 ` [Caml-list] " Mark Shinwell
` (2 subsequent siblings)
4 siblings, 1 reply; 11+ messages in thread
From: David Allsopp @ 2010-03-01 13:13 UTC (permalink / raw)
To: 'Marco Maggi', caml-list
Marco Maggi wrote:
> Ciao,
>
> I am a True Beginner taking a look at O'Caml; I hope not to be
> abusing by posting here rather than the beginners list.
Building OCaml from source is definitely not a beginners' question! :o)
> I think I successfully compiled ocaml-3.11.2 on my
> i686-pc-linux-gnu, but there seems to be no way to install the package
> in a temporary location via the Linux de facto standard DESTDIR
> environment variable; is there a way to do it? (I am used to build
> custom packages.)
I've not come across that way before (by which I mean "you learn a new thing
every day"!), the more usual way, which will work with OCaml, is to specify
a different root for the -prefix option when you run configure. make install
will then install OCaml there. I used to use that when compiling uses OCaml
on a machine for which I didn't have root and I used it just the other day
to compile OCaml 3.12.0 on Maemo so the switch definitely works.
All that said, what distro are you using? Debian and Fedora (and *BSD) all
have native packages for OCaml.
> The web site[1] is beautiful (no irony) but a lot of
> informations look outdated, 4/5 years old; I see many O'Caml related
> sites on the Net. Is there one that I can take as reference for the
> latest news, for example about still maintained library packages?
The Caml Hump I believe has up-to-date information as long as it's
submitted. I'm quite lazy and tend only to look for updates to libraries I
use when either I hit a bug or am installing on a new machine ...
www.ocamlcore.org is a pretty good place to start, I think.
David
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Caml-list] [newbie] miscellaneous on installation and web site
2010-03-01 13:07 [newbie] miscellaneous on installation and web site Marco Maggi
2010-03-01 13:12 ` [Caml-list] " Mihamina Rakotomandimby
2010-03-01 13:13 ` David Allsopp
@ 2010-03-01 13:28 ` Mark Shinwell
2010-03-01 13:36 ` Sylvain Le Gall
2010-03-01 14:44 ` [Caml-list] " Peng Zang
4 siblings, 0 replies; 11+ messages in thread
From: Mark Shinwell @ 2010-03-01 13:28 UTC (permalink / raw)
To: Marco Maggi; +Cc: caml-list
On Mon, Mar 01, 2010 at 02:07:45PM +0100, Marco Maggi wrote:
> I think I successfully compiled ocaml-3.11.2 on my
> i686-pc-linux-gnu, but there seems to be no way to install
> the package in a temporary location via the Linux de facto
> standard DESTDIR environment variable; is there a way to do
> it? (I am used to build custom packages.)
If I understand correctly, in autoconf-style setups, the contents of
the DESTDIR variable are prepended to the configured prefix to obtain the
paths used for installation. Thus you might install to /tmp/usr/bin/ocamlopt
even though the compiler is configured for /usr.
Unfortunately I don't believe the Caml build system supports such a feature.
One possible way of doing it might be to run "make install" inside a chroot,
but you would likely need a lot of additional tools present inside the chroot
for that to work.
As another poster has said, it's probably best to use the distribution
packages if possible, or else just directly write into the installation
location (using ./configure -prefix /path/to/install/dir).
Mark
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [newbie] miscellaneous on installation and web site
2010-03-01 13:07 [newbie] miscellaneous on installation and web site Marco Maggi
` (2 preceding siblings ...)
2010-03-01 13:28 ` [Caml-list] " Mark Shinwell
@ 2010-03-01 13:36 ` Sylvain Le Gall
2010-03-01 14:44 ` [Caml-list] " Peng Zang
4 siblings, 0 replies; 11+ messages in thread
From: Sylvain Le Gall @ 2010-03-01 13:36 UTC (permalink / raw)
To: caml-list
Hello,
On 01-03-2010, Marco Maggi <marco.maggi-ipsu@poste.it> wrote:
> Ciao,
>
> I am a True Beginner taking a look at O'Caml; I hope not
> to be abusing by posting here rather than the beginners
> list.
>
> I think I successfully compiled ocaml-3.11.2 on my
> i686-pc-linux-gnu, but there seems to be no way to install
> the package in a temporary location via the Linux de facto
> standard DESTDIR environment variable; is there a way to do
> it? (I am used to build custom packages.)
>
If you are really a beginner, I will really recommend to you using your
distribution OCaml packages, no matter if its ocaml 3.10.2 or 3.11.2.
Debian and Fedora provide packages (apt-get install ocaml on Debian).
> The web site[1] is beautiful (no irony) but a lot of
> informations look outdated, 4/5 years old; I see many O'Caml
> related sites on the Net. Is there one that I can take as
> reference for the latest news, for example about still
> maintained library packages?
>
> [1] <http://caml.inria.fr/>
caml.inria.fr and the Hump is a pretty good place to start:
http://caml.inria.fr/cgi-bin/hump.fr.cgi
The site available here are also good points to start with:
http://caml.inria.fr/resources/index.fr.html
and especially
http://www.ocaml-tutorial.org/
Then you have ocamlcore.org related websites:
- http://www.ocamlcore.org: entry point of ocamlcore.org
- http://planet.ocamlcore.org: for the latest (general) news of the
OCaml community
- http://forge.ocamlcore.org: participate to various OCaml projects
or create your own
Regards,
Sylvain Le Gall
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Caml-list] [newbie] miscellaneous on installation and web site
2010-03-01 13:07 [newbie] miscellaneous on installation and web site Marco Maggi
` (3 preceding siblings ...)
2010-03-01 13:36 ` Sylvain Le Gall
@ 2010-03-01 14:44 ` Peng Zang
2010-03-02 6:04 ` Mihamina Rakotomandimby
4 siblings, 1 reply; 11+ messages in thread
From: Peng Zang @ 2010-03-01 14:44 UTC (permalink / raw)
To: Marco Maggi; +Cc: caml-list
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The best way to compile and install OCaml (in my opinion) is via GODI. The
GODI installation instructions are clear and allow you to specify where the
install should go. Once installed, it's also easy to get all the other
libraries you might want to use.
Peng
On Monday 01 March 2010 08:07:45 am Marco Maggi wrote:
> Ciao,
>
> I am a True Beginner taking a look at O'Caml; I hope not
> to be abusing by posting here rather than the beginners
> list.
>
> I think I successfully compiled ocaml-3.11.2 on my
> i686-pc-linux-gnu, but there seems to be no way to install
> the package in a temporary location via the Linux de facto
> standard DESTDIR environment variable; is there a way to do
> it? (I am used to build custom packages.)
>
> The web site[1] is beautiful (no irony) but a lot of
> informations look outdated, 4/5 years old; I see many O'Caml
> related sites on the Net. Is there one that I can take as
> reference for the latest news, for example about still
> maintained library packages?
>
> TIA
>
> [1] <http://caml.inria.fr/>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
iD8DBQFLi9K/fIRcEFL/JewRAhsaAKC5l7uyaA5gsKh4jTGoCbHkI6HcPQCghAgZ
WWUUzXQByW1Qx086C/sJ0vQ=
=CLMI
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Caml-list] [newbie] miscellaneous on installation and web site
2010-03-01 13:13 ` David Allsopp
@ 2010-03-01 19:32 ` Marco Maggi
2010-03-01 19:37 ` Marco Maggi
0 siblings, 1 reply; 11+ messages in thread
From: Marco Maggi @ 2010-03-01 19:32 UTC (permalink / raw)
To: David Allsopp; +Cc: caml-list
"David Allsopp" wrote:
> the more usual way, which will work with OCaml, is to
> specify a different root for the -prefix option when you
> run configure.
Yes. It worked (it seems) by doing:
$ ./configure -prefix "${prefix}" ...
$ make world
$ make bootstrap
$ make opt
$ ./configure -prefix "${DESTDIR}${prefix}"
$ make install
> All that said, what distro are you using? Debian and
> Fedora (and *BSD) all have native packages for OCaml.
Slackware.
> The Caml Hump I believe has up-to-date information as long
> as it's submitted. [...] www.ocamlcore.org is a pretty
> good place to start, I think.
Understood (IMHO submissions more than 3 years old should be
removed). So am I correct in saying that MLGMP is orphaned
and no maintained GMP/MPFR/... package exists?
--
Marco Maggi
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Caml-list] [newbie] miscellaneous on installation and web site
2010-03-01 19:32 ` Marco Maggi
@ 2010-03-01 19:37 ` Marco Maggi
2010-03-01 21:31 ` Sylvain Le Gall
0 siblings, 1 reply; 11+ messages in thread
From: Marco Maggi @ 2010-03-01 19:37 UTC (permalink / raw)
To: Marco Maggi; +Cc: David Allsopp, caml-list
"Marco Maggi" wrote:
> So am I correct in saying that MLGMP is orphaned and no
> maintained GMP/MPFR/... package exists?
Wait! Found something here:
<https://code.launchpad.net/~ubuntu-branches/ubuntu/lucid/mlgmp/lucid>
--
Marco Maggi
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [newbie] miscellaneous on installation and web site
2010-03-01 19:37 ` Marco Maggi
@ 2010-03-01 21:31 ` Sylvain Le Gall
0 siblings, 0 replies; 11+ messages in thread
From: Sylvain Le Gall @ 2010-03-01 21:31 UTC (permalink / raw)
To: caml-list
On 01-03-2010, Marco Maggi <marco.maggi-ipsu@poste.it> wrote:
> "Marco Maggi" wrote:
>> So am I correct in saying that MLGMP is orphaned and no
>> maintained GMP/MPFR/... package exists?
>
> Wait! Found something here:
>
><https://code.launchpad.net/~ubuntu-branches/ubuntu/lucid/mlgmp/lucid>
This is just Debian/Ubuntu people working on the packaging (not the
library). But even if there has been no release for a while, it doesn't
mean that it is orphaned or unmaintained...
Try it to see if it is working.
Regards,
Sylvain Le Gall
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Caml-list] [newbie] miscellaneous on installation and web site
2010-03-01 14:44 ` [Caml-list] " Peng Zang
@ 2010-03-02 6:04 ` Mihamina Rakotomandimby
2010-03-02 14:02 ` Ashish Agarwal
0 siblings, 1 reply; 11+ messages in thread
From: Mihamina Rakotomandimby @ 2010-03-02 6:04 UTC (permalink / raw)
To: caml-list
> Peng Zang <peng.zang@gmail.com> :
> The best way to compile and install OCaml (in my opinion) is via GODI.
Why?
How to install GODI?
--
Architecte Informatique chez Blueline/Gulfsat:
Administration Systeme, Recherche & Developpement
+261 34 29 155 34 / +261 33 11 207 36
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Caml-list] [newbie] miscellaneous on installation and web site
2010-03-02 6:04 ` Mihamina Rakotomandimby
@ 2010-03-02 14:02 ` Ashish Agarwal
0 siblings, 0 replies; 11+ messages in thread
From: Ashish Agarwal @ 2010-03-02 14:02 UTC (permalink / raw)
To: Mihamina Rakotomandimby; +Cc: caml-list
[-- Attachment #1: Type: text/plain, Size: 1334 bytes --]
> Why?
> How to install GODI?
GODI is a very nice package management system for OCaml, making it trivial
to install both OCaml and most OCaml libraries that are in common use. It
automatically downloads and installs libraries, and checks for
dependencies. I would recommend using it, unless perhaps if you are on one
of the previously mentioned OS's that already have good support for OCaml in
their native package management systems. Follow the link below, download
RocketBoost on the right, and follow the instructions. You can post to the
Beginner's List if you run into any trouble.
http://godi.camlcity.org/
On Tue, Mar 2, 2010 at 1:04 AM, Mihamina Rakotomandimby <mihamina@gulfsat.mg
> wrote:
> > Peng Zang <peng.zang@gmail.com> :
> > The best way to compile and install OCaml (in my opinion) is via GODI.
>
> Why?
> How to install GODI?
>
> --
> Architecte Informatique chez Blueline/Gulfsat:
> Administration Systeme, Recherche & Developpement
> +261 34 29 155 34 / +261 33 11 207 36
>
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
>
[-- Attachment #2: Type: text/html, Size: 2440 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2010-03-02 14:10 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-01 13:07 [newbie] miscellaneous on installation and web site Marco Maggi
2010-03-01 13:12 ` [Caml-list] " Mihamina Rakotomandimby
2010-03-01 13:13 ` David Allsopp
2010-03-01 19:32 ` Marco Maggi
2010-03-01 19:37 ` Marco Maggi
2010-03-01 21:31 ` Sylvain Le Gall
2010-03-01 13:28 ` [Caml-list] " Mark Shinwell
2010-03-01 13:36 ` Sylvain Le Gall
2010-03-01 14:44 ` [Caml-list] " Peng Zang
2010-03-02 6:04 ` Mihamina Rakotomandimby
2010-03-02 14:02 ` Ashish Agarwal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox