What dependencies does it need ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, 
I made a findlib package from the altlinux src.rpm, in order to make a
ocamlnet package. ocamlnet depends on findlib.

You'll find at the bottom the specfile i used.
It builds without any errors.
But when I try to install the thing:

# rpm -i /usr/src/redhat/RPMS/i386/findlib-1.0.4-fc3.i386.rpm
error: Failed dependencies:
        libc.so.6(GLIBC_PRIVATE) is needed by findlib-1.0.4-fc3.i386
        perl(gtkdoc-common.pl) is needed by findlib-1.0.4-fc3.i386


What did I do wrong?
Here is the specfile:

======================== specfile ====================
%define ocamlver 3.08.3
Name: findlib
Version: 1.0.4
Release: fc3

Group: Development/ML
Summary: A module packaging tool for OCaml
License: GPL
Packager: Mihamina Rakotomandimby <mihamina.rakotomandimby@xxxxxxxxx
orleans.fr>
Url: http://www.ocaml-programming.de/packages/documentation/findlib/
Source: http://www.ocaml-programming.de/packages/%name-%version.tar.gz
Requires: ocaml = %ocamlver

# Automatically added by buildreq on Mon Oct 13 2003
BuildRequires: camlp4 labltk ncurses-devel 
# ocaml-runtime

BuildRequires: ocaml = %ocamlver

%package -n ocamlfind-mini
Summary: Minimal findlib script to be distributed with user libraries
Group: Development/ML
Requires: %name = %version-%release

%description

The "findlib" library provides a scheme to manage reusable software
components (packages), and includes tools that support this
scheme. Packages are collections of OCaml modules for which
metainformation can be stored. The packages are kept in the filesystem
hierarchy, but with strict directory structure. The library contains
functions to look the directory up that stores a package, to query
metainformation about a package, and to retrieve dependency
information about multiple packages. There is also a tool that allows
the user to enter queries on the command-line. In order to simplify
compilation and linkage, there are new frontends of the various OCaml
compilers that can directly deal with packages.

%description -n ocamlfind-mini

 ocamlfind-mini is an O'Caml script that implements a subset of the
full functionality of ocamlfind. It consists only of one file, so it
is easy to distribute it with any software.

The subset is normally sufficient to compile a library and to
install the library; but it is insufficient to link the library
into an executable. 



%prep
%setup -q

%build
./configure -mandir /usr/share/man -
config /usr/lib/ocaml/etc/findlib.conf -with-toolbox
make all opt

%install
%define _compress_method skip
make prefix=$RPM_BUILD_ROOT install

mkdir -p $RPM_BUILD_ROOT%_docdir/%name-%version
cp README INSTALL LICENSE $RPM_BUILD_ROOT%_docdir/%name-%version/

mkdir -p $RPM_BUILD_ROOT/usr/lib/ocaml/ocamlfind-mini/
cp mini/* $RPM_BUILD_ROOT/usr/lib/ocaml/ocamlfind-mini/

%files -n ocamlfind-mini
%_libdir/ocaml/ocamlfind-mini/*

%files
%_bindir/*
%_libdir/ocaml/etc/*
%_libdir/ocaml/topfind
%_libdir/ocaml/site-lib/*
%_mandir/man?/*

%doc README doc/ INSTALL LICENSE

%changelog

* Mon Apr 2 2005 Mihamina Rakotomandimby
<mihamina.rakotomandimby@xxxxxxxxxxxxxxxxxxx> 1.0.4-fc3
- Vitaly Lugovsky <vsl@xxxxxxxxxxx> package modification to suit it to
Fedora Core 3
- rebuild
===================================== end of spec ==================

-- 
Get a fully managed dedicated server for €200/month ($257/month)
No time limit for taking care of your server.
You keep the "root" acces if you want. Billing periods are 3 months.
See the conditions at http://aspo.rktmb.org/activities/managed_servers


-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux