[ocaml-platform] Centos 6 OPAM Make Madness

Michael Peters michael.peters at lazarusalliance.com
Thu Aug 14 17:04:42 BST 2014


# opam list google-drive-ocamlfuse --external
# Known external dependencies for google-drive-ocamlfuse.0.5.3
debian: libcurl4-gnutls-dev
ubuntu: libcurl4-gnutls-dev

Installing:
 gnutls-devel                                    x86_64
         2.8.5-10.el6_4.2                              updates
                 1.1 M
 gnutls-guile                                    x86_64
         2.8.5-10.el6_4.2                              updates
                  55 k
 gnutls-utils                                    x86_64
         2.8.5-10.el6_4.2                              updates
                 100 k
Installing for dependencies:
 guile                                           x86_64
         5:1.8.7-5.el6                                 base
                1.3 M
 libgcrypt-devel                                 x86_64
         1.4.5-9.el6_2.2                               base
                118 k
 libgpg-error-devel                              x86_64
         1.7-4.el6                                     base
                 14 k

Installed:
  gnutls-devel.x86_64 0:2.8.5-10.el6_4.2
gnutls-guile.x86_64 0:2.8.5-10.el6_4.2
gnutls-utils.x86_64 0:2.8.5-10.el6_4.2

Dependency Installed:
  guile.x86_64 5:1.8.7-5.el6                       libgcrypt-devel.x86_64
0:1.4.5-9.el6_2.2                       libgpg-error-devel.x86_64
0:1.7-4.el6

Complete!

Then I tried this again:

# opam install google-drive-ocamlfuse
The following actions will be performed:
 - install   sqlite3-ocaml.2.0.6                   [required by
google-drive-ocamlfuse]
 - install   google-drive-ocamlfuse.0.5.3
=== 2 to install ===
Do you want to continue ? [Y/n] y

=-=-=-=-=-=-=-=-=-=-=-=- Synchronizing package archives
-=-=-=-=-=-=-=-=-=-=-=-=

=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Installing packages
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Building sqlite3-ocaml.2.0.6:
  ocaml setup.ml -configure
  ocaml setup.ml -build
  ocaml setup.ml -install
[ERROR] The compilation of sqlite3-ocaml.2.0.6 failed.
Removing sqlite3-ocaml.2.0.6.
  ocamlfind remove sqlite3


#================= ERROR while installing sqlite3-ocaml.2.0.6
=================#
# opam-version 1.2.0~beta4
# os           linux
# command      ocaml setup.ml -build
# path         /root/.opam/system/build/sqlite3-ocaml.2.0.6
# compiler     system (4.01.0)
# exit-code    1
# env-file
/root/.opam/system/build/sqlite3-ocaml.2.0.6/sqlite3-ocaml-16206-05296d.env
# stdout-file
 /root/.opam/system/build/sqlite3-ocaml.2.0.6/sqlite3-ocaml-16206-05296d.out
# stderr-file
 /root/.opam/system/build/sqlite3-ocaml.2.0.6/sqlite3-ocaml-16206-05296d.err
### stdout ###
# ...[truncated]
# Turn ocaml profile flag on: .......................... false
# Compiler support generation of .cmxs.: ............... true
# OCamlbuild additional flags: .........................
# Strict compile-time checks: .......................... true
# Create documentations: ............................... true
# Compile tests executable and library and run them: ... false
# ocamldoc: ............................................
/usr/local/bin/ocamldoc
#
# /usr/local/bin/ocamlopt.opt unix.cmxa -I /usr/local/lib/ocaml/ocamlbuild
/usr/local/lib/ocaml/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml
/usr/local/lib/ocaml/ocamlbuild/ocamlbuild.cmx -o myocamlbuild
# Failure: pkg-config failed for cflags.
### stderr ###
# Package sqlite3 was not found in the pkg-config search path.
# Perhaps you should add the directory containing `sqlite3.pc'
# to the PKG_CONFIG_PATH environment variable
# No package 'sqlite3' found
# E: Failure("Command ''/usr/local/bin/ocamlbuild' lib/libsqlite3_stubs.a
lib/dllsqlite3_stubs.so lib/sqlite3.cma lib/sqlite3.cmxa lib/sqlite3.a
lib/sqlite3.cmxs -tag debug' terminated with error code 2")


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Error report
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
The following failed
 - install   sqlite3-ocaml.2.0.6
Due to the errors, the following have been cancelled
 - install   google-drive-ocamlfuse.0.5.3

Best regards,


*Michael D. Peters*eJD, MBA, C|CISO, CISSP, CRISC, CMBA, CISM, SCPA, CCE,
ISSA Hall of Fame
*CEO-Chief Security & Privacy Officer*
*Lazarus Alliance, LLC*M: 762-822-4174 | F: 480-272-8846
Bridge: 605-475-4700 Participant: 793693#

The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the material from any
computer.

[image: lazarus-alliance-logo-sm3] <http://lazarusalliance.com/>


On Thu, Aug 14, 2014 at 8:51 AM, Louis Gesbert <louis.gesbert at ocamlpro.com>
wrote:

>  We are still improving on handling of dependencies towards system
> packages, but in OPAM 1.2 you can get an overview of the documented system
> dependecies of a package with:
>
>
>
> $ opam list google-drive-ocamlfuse --external
>
>
>
>
>
> Or to get it recursively for all (OPAM) dependencies:
>
>
>
> $ opam list --required-by google-drive-ocamlfuse --rec --external
>
>
>
>
>
> See also the related section of the (new, unreleased) FAQ:
>
>
> http://opam.ocaml.org/1.2/doc/FAQ.html#Somepackagefailduringcompilationcomplainingaboutmissingdependenciesquotm4quotquotlibgtkquotetc
>
>
>
>
>
> Le jeudi 14 août 2014, 08:40:48 Michael Peters a écrit :
>
> > In installed fuse-devel-2.8.3-4.el6.x86_64.rpm which cleared
>
> > the ocamlfuse.2.7.1-cvs2 install error but not the other two.
>
> >
>
> > opam install google-drive-ocamlfuse
>
> > The following actions will be performed:
>
> > - install sqlite3-ocaml.2.0.6 [required by
>
> > google-drive-ocamlfuse]
>
> > - install ocamlfuse.2.7.1-cvs2 [required by
>
> > google-drive-ocamlfuse]
>
> > - install google-drive-ocamlfuse.0.5.3
>
> > === 3 to install ===
>
> > Do you want to continue ? [Y/n] y
>
> >
>
> > =-=-=-=-=-=-=-=-=-=-=-=- Synchronizing package archives
>
> > -=-=-=-=-=-=-=-=-=-=-=-=
>
> >
>
> > =-=-=-=-=-=-=-=-=-=-=-=-=-=-= Installing packages
>
> > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>
> > Building ocamlfuse.2.7.1-cvs2:
>
> > make -C lib INCDIRS=/root/.opam/system/lib/camlidl
>
> > make -C lib install
>
> > Installing ocamlfuse.2.7.1-cvs2.
>
> > Building sqlite3-ocaml.2.0.6:
>
> > ocaml setup.ml -configure
>
> > ocaml setup.ml -build
>
> > ocaml setup.ml -install
>
> > [ERROR] The compilation of sqlite3-ocaml.2.0.6 failed.
>
> > Removing sqlite3-ocaml.2.0.6.
>
> > ocamlfind remove sqlite3
>
> >
>
> >
>
> > #================= ERROR while installing sqlite3-ocaml.2.0.6
>
> > =================#
>
> > # opam-version 1.2.0~beta4
>
> > # os linux
>
> > # command ocaml setup.ml -build
>
> > # path /root/.opam/system/build/sqlite3-ocaml.2.0.6
>
> > # compiler system (4.01.0)
>
> > # exit-code 1
>
> > # env-file
>
> >
> /root/.opam/system/build/sqlite3-ocaml.2.0.6/sqlite3-ocaml-14544-d2c37b.env
>
> > # stdout-file
>
> >
> /root/.opam/system/build/sqlite3-ocaml.2.0.6/sqlite3-ocaml-14544-d2c37b.out
>
> > # stderr-file
>
> >
> /root/.opam/system/build/sqlite3-ocaml.2.0.6/sqlite3-ocaml-14544-d2c37b.err
>
> > ### stdout ###
>
> > # ...[truncated]
>
> > # Turn ocaml profile flag on: .......................... false
>
> > # Compiler support generation of .cmxs.: ............... true
>
> > # OCamlbuild additional flags: .........................
>
> > # Strict compile-time checks: .......................... true
>
> > # Create documentations: ............................... true
>
> > # Compile tests executable and library and run them: ... false
>
> > # ocamldoc: ............................................
>
> > /usr/local/bin/ocamldoc
>
> > #
>
> > # /usr/local/bin/ocamlopt.opt unix.cmxa -I
> /usr/local/lib/ocaml/ocamlbuild
>
> > /usr/local/lib/ocaml/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml
>
> > /usr/local/lib/ocaml/ocamlbuild/ocamlbuild.cmx -o myocamlbuild
>
> > # Failure: pkg-config failed for cflags.
>
> > ### stderr ###
>
> > # Package sqlite3 was not found in the pkg-config search path.
>
> > # Perhaps you should add the directory containing `sqlite3.pc'
>
> > # to the PKG_CONFIG_PATH environment variable
>
> > # No package 'sqlite3' found
>
> > # E: Failure("Command ''/usr/local/bin/ocamlbuild' lib/libsqlite3_stubs.a
>
> > lib/dllsqlite3_stubs.so lib/sqlite3.cma lib/sqlite3.cmxa lib/sqlite3.a
>
> > lib/sqlite3.cmxs -tag debug' terminated with error code 2")
>
> >
>
> >
>
> > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Error report
>
> > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>
> > These actions have been completed successfully
>
> > - install ocamlfuse.2.7.1-cvs2
>
> > The following failed
>
> > - install sqlite3-ocaml.2.0.6
>
> > Due to the errors, the following have been cancelled
>
> > - install google-drive-ocamlfuse.0.5.3
>
> >
>
> > The former state can be restored with opam switch import
>
> > "/root/.opam/system/backup/state-20140714153222.export"
>
> >
>
> >
>
> > Best regards,
>
> >
>
> >
>
> > *Michael D. Peters*eJD, MBA, C|CISO, CISSP, CRISC, CMBA, CISM, SCPA, CCE,
>
> > ISSA Hall of Fame
>
> > *CEO-Chief Security & Privacy Officer*
>
> > *Lazarus Alliance, LLC*M: 762-822-4174 | F: 480-272-8846
>
> > Bridge: 605-475-4700 Participant: 793693#
>
> >
>
> > The information transmitted is intended only for the person or entity to
>
> > which it is addressed and may contain confidential and/or privileged
>
> > material. Any review, retransmission, dissemination or other use of, or
>
> > taking of any action in reliance upon, this information by persons or
>
> > entities other than the intended recipient is prohibited. If you received
>
> > this in error, please contact the sender and delete the material from any
>
> > computer.
>
> >
>
> > [image: lazarus-alliance-logo-sm3] <http://lazarusalliance.com/>
>
> >
>
> >
>
> > On Thu, Aug 14, 2014 at 8:04 AM, Anil Madhavapeddy <anil at recoil.org>
> wrote:
>
> >
>
> > > On 14 Aug 2014, at 15:59, Michael Peters <
>
> > > michael.peters at lazarusalliance.com> wrote:
>
> > >
>
> > > > That worked like a champ! Thanks for working magic.
>
> > >
>
> > > Congratulations -- you get a "first user" badge :-)
>
> > >
>
> > > best,
>
> > > Anil
>
> > >
>
> > >
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ocaml.org/pipermail/platform/attachments/20140814/81dda83d/attachment-0001.html>


More information about the Platform mailing list