Bonjour,
je suis en train d'essayer de voir pour faire un rpm pour packmol mais je tombe sur un problème que je ne comprends pas pour l'instant...
Fichier spec:
Merci
je suis en train d'essayer de voir pour faire un rpm pour packmol mais je tombe sur un problème que je ne comprends pas pour l'instant...
Fichier spec:
Summary: Packing Optimization for Molecular Dynamics Simulations
Name: packmol
Version: 02Sep09
Release: 1%{?dist}
License: GPLv3
Group: Applications/Education
Source0: http://packmol.googlecode.com/files/%{name}.%{version}.tar.gz
URL: http://www.ime.unicamp.br/~martinez/packmol/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
#BuildRequires:
#Requires:
%description
Packmol creates an initial point for molecular dynamics simulations by packing m
olecules in defined regions of space. The packing guarantees that short range re
pulsive interactions do not disrupt the simulations.
The great variety of types of spatial constraints that can be attributed to the
molecules, or atoms within the molecules, makes it easy to create ordered system
s, such as lamellar, spherical or tubular lipid layers.
The user must provide only the coordinates of one molecule of each type, the num
ber of molecules of each type and the spatial constraints that each type of mole
cule must satisfy.
The package is compatible with input files of PDB, TINKER, XYZ and MOLDY formats
.
%prep
%setup -q -n %{name}
%build
%configure
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
%clean
rm -rf %{buildroot}
%changelog
* Wed Oct 14 2009 Fabien A. <marbolangos@gmail.com> - 02Sep09-1
-Creation of package
$ rpmbuild -bp packmol.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.sr5NoX
+ umask 022
+ cd /home/builder/rpmbuild/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /home/builder/rpmbuild/BUILD
+ rm -rf packmol
+ /usr/bin/gzip -dc /home/builder/rpmbuild/SOURCES/packmol.02Sep09.tar.gz
+ /bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd packmol
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
$ rpmbuild -bc --short-circuit packmol.spec
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.aokyuJ
+ umask 022
+ cd /home/builder/rpmbuild/BUILD
+ cd packmol
+ LANG=C
+ export LANG
+ unset DISPLAY
+ CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ ./configure --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu --target=x86_64-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info
which: unrecognized option '--build=x86_64-unknown-linux-gnu'
Usage: which [options] [--] COMMAND [...]
Write the full path of COMMAND(s) to standard output.
--version, -[vV] Print version and exit successfully.
--help, Print this help and exit successfully.
--skip-dot Skip directories in PATH that start with a dot.
--skip-tilde Skip directories in PATH that start with a tilde.
--show-dot Don't expand a dot to current directory in output.
--show-tilde Output a tilde for HOME directory for non-root.
--tty-only Stop processing options on the right if not on tty.
--all, -a Print all matches in PATH, not just the first
--read-alias, -i Read list of aliases from stdin.
--skip-alias Ignore option --read-alias; don't read stdin.
--read-functions Read shell functions from stdin.
--skip-functions Ignore option --read-functions; don't read stdin.
Recommended use is to write the output of (alias; declare -f) to standard
input, so that which can show aliases and shell functions. See which(1) for
examples.
If the options --read-alias and/or --read-functions are specified then the
output can be a full alias or function definition, optionally followed by
the full path of each command used inside of those.
Report bugs to <which-bugs@gnu.org>.
Setting compiler to /usr/bin/gfortran
+ make -j3
------------------------------------------------------
Compiling packmol with /usr/bin/gfortran
Flags: -O3 -ffast-math
------------------------------------------------------
Packmol succesfully built.
------------------------------------------------------
+ exit 0
Il semblerait y avoir un problème avec le configure mais je vois pas quoi à part ce qui est dit mais je vois pas pourquoi...Merci