Bonjour,
J'ai besoin d'installer une ancien version de cyrus 2.3.1.
J'ai téléchargé le fichier cyrus-imapd-2.3.1.tar.gz.
Comment l'installer ?

Je l'ai décompressé. Et après ?
Voici ce que contient l'archive :
fichiers :
.cvsignore
aclocal.m4
config.guess
config.h.in
config.sub
configure
configure.in
COPYRIGHT
install-sh
Makefile.in
README
README.andrew
SMakefile
dossiers :
tools
timsieved
syslog
snmp
sieve
ptclient
perl
notifyd
netnews
master
man
makedepend
lib
installsieve
imtest
imap
et
doc
depot
CVS
contrib
cmulocal
autom4te.cache
Merci d'avance..
La question que tu poses revient à dire: j'ai ouvert un paquet, qu'est ce que je dois faire avec le contenu ?

Il n'y a pas de réponse universelle à cette question. Un fichier tar.gz est une archive et seul celui qui l'a créée sait ce qu'il y a mis et ce qu'on doit en faire.

Et c'est aussi pour cette raison qu'il joint dans pratiquement tous les cas un fichier README dont le nom indique ce qu'il faut en faire. Le mieux est donc de commencer par là.
J'ai besoin d'installer une ancien version de cyrus 2.3.1.
Pourquoi ?
Il y a peut être des indications dans le fichier README contenu dans ton archive. Sinon je suis sur que la documentation de chez cyrus doit au moins aborder l'installation de leur programme.
Pikachu_2014 : j'ai un serveur ECS d'Alcatel qui tourne sous Fedora 10 avec cyrus 2.3.1. Pour certains tests, j'ai besoin de reproduire cet environnement.

nouvo09 : le fichier readme me renvois vers install.html qui contient différents liens :
[*] Upgrading From Previous Versions
Prerequisites
Authenticating Users
Compiling the IMAP Server
Configuring the IMAP Server
Testing the IMAP Server
Administering Mailboxes
Installing SIEVE
SNMP Monitoring
Cyrus and Netnews
Virtual Domains
Cyrus Replication
Cyrus Murder: The IMAP Aggregator
Operating System Specific Notes
Performance Notes[/*]

Dans Compiling the IMAP Server (que l'on peut voir ici :install-compil.html)
extrait :
Compiling the IMAP Server
Once you have unpacked the files by extracting the tar archive, "cd" to the "cyrus-imapd-NNNN" directory where NNNN is the version number. The configuration files and various subdirectories are stored there. In the directory that the configure file is in, type "./configure" to configure the software. Please continue to read this document as there are switches to ./configure that may apply to you.

configure Overview
The "configure" shell script attempts to guess correct values for various system-dependent variables used during compilation. It uses those values to create a "Makefile" in each directory of the package. Finally, it creates a shell script "config.status" that you can run in the future to recreate the current configuration, a file "config.cache" that saves the results of its tests to speed up reconfiguring, and a file "config.log" containing compiler output (useful mainly for debugging "configure").

Running "configure" takes awhile. While running, it prints some messages telling which features it is checking for.

You can compile the package in a different directory from the one containing the source code. Doing so allows you to compile it on more than one kind of computer at the same time. To do this, you must use a version of "make" that supports the "VPATH" variable, such as GNU "make". "cd" to the directory where you want the object files and executables to go and run the "configure" script. "configure" automatically checks for the source code in the directory that "configure" is in and in "..".

By default, "make install" will install files (other than server-specific programs) in "/usr/local/bin", "/usr/local/man", etc. You can specify an installation prefix other than "/usr/local" by giving "configure" the option "--prefix=PATH".

You can specify separate installation prefixes for architecture-specific files and architecture-independent files. If you give "configure" the option "--exec-prefix=PATH", the package will use PATH as the prefix for installing programs and libraries. Documentation and other data files will still use the regular prefix.

By default, "make install" will install the server-specific programs in "/usr/cyrus/bin". You can specify a server-specific installation prefix other than "/usr/cyrus" by giving "configure" the option "--with-cyrus-prefix=PATH".
J'ai exécuté "configure" et "make install" mais apparemment rien de concret ne s'est passé...
help please.
détails :
[liveuser@localhost ~]$ cd /home/liveuser/Desktop/cyrus-imapd-2.3.1
[liveuser@localhost cyrus-imapd-2.3.1]$ configure
Command not found. 
[liveuser@localhost cyrus-imapd-2.3.1]$ ./configure
checking build system type... i686-pc-linux-gnuoldld
checking host system type... i686-pc-linux-gnuoldld
checking for makedepend... /home/liveuser/Desktop/cyrus-imapd-2.3.1/tools/not-mkdep
configure: WARNING: Makedepend is not installed on this system.  You should compile and install the version from the makedepend subdirectory.
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
[liveuser@localhost cyrus-imapd-2.3.1]$ install-sh
Command not found. 
[liveuser@localhost cyrus-imapd-2.3.1]$ ./install-sh
install:    no input file specified
[liveuser@localhost cyrus-imapd-2.3.1]$ make install
make: *** No rule to make target `install'.  Stop.
Qu'est ce que cela signifie ?
WARNING: Makedepend is not installed on this system. You should compile and install the version from the makedepend subdirectory.
Aussi : quelle est la différence entre "configure" et "./configure" ?

Merci
la commande configure cherche configure dans ton PATH ce qui a peu de chances d'être le cas puisque celle ci est dans /home/liveuser/Desktop/cyrus-imapd-2.3.1.
./configure indique que le commande est dans le répertoire courant.

Concernant Makedepend, tu dois avoir un sous-répertoire dans lequel il faut se placer pour la compil.

Il serait peut être plus simple de repartir du srpm Fedora10 en adaptant le .spec
merci proxy, je pensais que le shell recherché en premier dans le dossier courant avant le PATH...

sinon y a effectivement un répertoire makedepend. celui-ci contient également un fichier configure et install-sh

quelques tentatives :
[liveuser@localhost cyrus-imapd-2.3.1]$ cd makedepend
[liveuser@localhost makedepend]$ ls
configure     cppsetup.c  ifparser.c  install-sh   mkdepend.man
configure.in  CVS         ifparser.h  main.c       parse.c
cpp.ed        def.h       include.c   Makefile.in  pr.c
[liveuser@localhost makedepend]$ ./configure
creating cache ./config.cache
checking for gcc... cc
checking whether we are using GNU C... no
checking for a BSD compatible install... /usr/bin/install -c
checking for ranlib... :
checking whether make sets ${MAKE}... yes
checking how to run the C preprocessor... /lib/cpp
checking for stdarg.h... no
updating cache ./config.cache
creating ./config.status
creating Makefile
[liveuser@localhost makedepend]$ ls
config.cache   configure.in  def.h       install-sh   mkdepend.man
config.log     cpp.ed        ifparser.c  main.c       parse.c
config.status  cppsetup.c    ifparser.h  Makefile     pr.c
configure      CVS           include.c   Makefile.in
[liveuser@localhost makedepend]$ ./Makefile
bash: ./Makefile: Permission denied
[liveuser@localhost makedepend]$ su -
[root@localhost ~]# ./Makefile
-bash: ./Makefile: No such file or directory
[root@localhost ~]# ./install-sh
-bash: ./install-sh: No such file or directory
Lorsque le makefile est généré par le ./configure, il faut lancer les commandes : make puis make install
pas facile tout ça... :-?
[root@localhost ~]# cd /home/liveuser/Desktop/cyrus-imapd-2.3.1/makedepend
[root@localhost makedepend]# make
cc -c -I. -I. -g cppsetup.c
make: cc: Command not found
make: *** [cppsetup.o] Error 127
[root@localhost makedepend]# make install
make: *** No rule to make target `install'. Stop.
[root@localhost makedepend]# cd ..
[root@localhost cyrus-imapd-2.3.1]# make
make: *** No targets specified and no makefile found. Stop.
[root@localhost cyrus-imapd-2.3.1]# make install
make: *** No rule to make target `install'. Stop.
il est le setup.exe ? :roll:
Faut installer gcc :
su -
yum install gcc
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
la réponse elle était là !
[root@localhost cyrus-imapd-2.3.1]# yum install gcc
Bus error (core dumped)
c'est vraiment la loose... :hammer:
Oula un bus error avec yum, qu'as tu fais pour en arriver là??
A ma connaissance rien... j'utilise pour le moment pour ce "futur test cyrus" un livecd fedora14 !
je boote dessus et fait les quelques manipulations précédemment citées...
Tu veux faire une installation sur un livecd, j'ai bien compris ?
oui... pour le moment mais si ça pose problème je vais trouver une machine pour l'installer réellement
tchup wrote:... j'ai un serveur ECS d'Alcatel qui tourne sous Fedora 10 avec cyrus 2.3.1. Pour certains tests, j'ai besoin de reproduire cet environnement.
Fais toi une machine virtuelle Fedora 10 : ça sera plus simple et plus fiable
Comment peut-on imaginer mettre à jour un système en lecture seule ? Ou alors il faut le placer intégralement en ram et faire un chroot avant le boot.
tchup wrote:
[root@localhost cyrus-imapd-2.3.1]# yum install gcc
Bus error (core dumped)
c'est vraiment la loose... :hammer:
Tu n'as pas un bout de DD pour installer Fedora en hard ?

Une vingtaine de Go suffisent, et là-dessus tu peux installer tous les paquets qui apparemment te manquent pour compiler, updater proprement et efficacement, etc...

Sous Linux, et spécialement avec Fedora/Debian/Slackware, c'est toi qui ajoutes les outils, donc les applis, dont tu as besoin.