Ricou76
03/04/2011, 23h08
Salut tout le monde,
j'essaye de mettre en oeuvre la solution IAXModem + Hylafax sous Debian Squeeze.
J'ai pu recouper ce que j'ai réussi à faire jusqu'ici avec un tuto réalisé sur l'ancien forum (http://www.asterisk-france.net/showthread.php?t=8216) pour la mise en place de cette même solution, mais sous Ubuntu.
Premier souci que j'ai rencontré : un mauvais chemin vers les modules nécessaires à l'exécution durant la compilation des sources Hylafax (en supprimant "local" de chaque chemin /usr/local/sbin que le prompt demande de valider lors du ./configure).
Par contre, second souci qui aura sûrement conséquences par la suite, lorsque je souhaite exécuter la configuration d'HylaFax (via la commande faxsetup), j'ai les alertes suivantes :
Setup program for HylaFAX (tm) 5.4.0.
Created for x86_64-unknown-linux-gnu on Sun Apr 3 20:45:19 CEST 2011.
Found encoder: /usr/bin/base64
Looks like /usr/bin/base64 supports base64 encoding.
Checking system for proper client configuration.
Checking system for proper server configuration.
Warning: /bin/vgetty does not exist or is not an executable program!
The file:
/bin/vgetty
does not exist or this file is not an executable program. The
HylaFAX software optionally uses this program and the fact that
it does not exist on the system is not a fatal error. If the
program resides in a different location and you do not want to
install a symbolic link for /bin/vgetty that points to your program
then you must reconfigure and rebuild HylaFAX from source code.
Warning: /bin/egetty does not exist or is not an executable program!
The file:
/bin/egetty
does not exist or this file is not an executable program. The
HylaFAX software optionally uses this program and the fact that
it does not exist on the system is not a fatal error. If the
program resides in a different location and you do not want to
install a symbolic link for /bin/egetty that points to your program
then you must reconfigure and rebuild HylaFAX from source code.
Created our own Fontmap file in /var/spool/hylafax/etc.
Setting Ghostscript font path in /usr/lib/fax/hyla.conf.
Warning: /usr/share/ghostscript/fonts does not exist or is not a directory!
The directory /usr/share/ghostscript/fonts does not exist or this file is not a directory.
This is the directory where the HylaFAX client applications expect to
locate font metric information to use in formatting ASCII text for
submission as facsimile. Without this information HylaFAX may generate
illegible facsimile from ASCII text.
Warning: /usr/share/cups/fonts does not exist or is not a directory!
The directory /usr/share/cups/fonts does not exist or this file is not a directory.
This is the directory where the HylaFAX client applications expect to
locate font metric information to use in formatting ASCII text for
submission as facsimile. Without this information HylaFAX may generate
illegible facsimile from ASCII text.
Warning: /usr/share/ghostscript/fonts does not exist or is not a directory!
The directory /usr/share/ghostscript/fonts does not exist or this file is not a directory.
This is the directory where the HylaFAX client applications expect to
locate font metric information to use in formatting ASCII text for
submission as facsimile. Without this information HylaFAX may generate
illegible facsimile from ASCII text.
Warning: /usr/local/lib/ghostscript/fonts does not exist or is not a directory!
The directory /usr/local/lib/ghostscript/fonts does not exist or this file is not a directory.
This is the directory where the HylaFAX client applications expect to
locate font metric information to use in formatting ASCII text for
submission as facsimile. Without this information HylaFAX may generate
illegible facsimile from ASCII text.
Warning: /usr/share/ghostscript/fonts does not exist or is not a directory!
The directory /usr/share/ghostscript/fonts does not exist or this file is not a directory.
This is the directory where the HylaFAX client applications expect to
locate font metric information to use in formatting ASCII text for
submission as facsimile. Without this information HylaFAX may generate
illegible facsimile from ASCII text.
Warning: /usr/share/cups/fonts does not exist or is not a directory!
The directory /usr/share/cups/fonts does not exist or this file is not a directory.
This is the directory where the HylaFAX client applications expect to
locate font metric information to use in formatting ASCII text for
submission as facsimile. Without this information HylaFAX may generate
illegible facsimile from ASCII text.
Warning: /usr/share/ghostscript/fonts does not exist or is not a directory!
The directory /usr/share/ghostscript/fonts does not exist or this file is not a directory.
This is the directory where the HylaFAX client applications expect to
locate font metric information to use in formatting ASCII text for
submission as facsimile. Without this information HylaFAX may generate
illegible facsimile from ASCII text.
Warning: /usr/local/lib/ghostscript/fonts does not exist or is not a directory!
The directory /usr/local/lib/ghostscript/fonts does not exist or this file is not a directory.
This is the directory where the HylaFAX client applications expect to
locate font metric information to use in formatting ASCII text for
submission as facsimile. Without this information HylaFAX may generate
illegible facsimile from ASCII text.
Warning: Font metric information files were not found!
The font metric information file for the Courier font was not found in
the /usr/share/ghostscript/8.71/Resource/Init:/usr/share/ghostscript/8.71/lib:/usr/share/ghostscript/8.71/Resource/Font:/usr/share/ghostscript/fonts:/var/lib/ghostscript/fonts:/usr/share/cups/fonts:/usr/share/ghostscript/fonts:/usr/local/lib/ghostscript/fonts:/usr/share/fonts:/usr/share/ghostscript/8.71/Resource/Init:/usr/share/ghostscript/8.71/lib:/usr/share/ghostscript/8.71/Resource/Font:/usr/share/ghostscript/fonts:/var/lib/ghostscript/fonts:/usr/share/cups/fonts:/usr/share/ghostscript/fonts:/usr/local/lib/ghostscript/fonts:/usr/share/fonts path. This means that client HylaFAX applications
that use this information to format ASCII text for submission as fax will
use incorrect information and generate potentially illegible facsimile.
If font metric information is present on your system in a directory other
than /usr/share/ghostscript/8.71/Resource/Init:/usr/share/ghostscript/8.71/lib:/usr/share/ghostscript/8.71/Resource/Font:/usr/share/ghostscript/fonts:/var/lib/ghostscript/fonts:/usr/share/cups/fonts:/usr/share/ghostscript/fonts:/usr/local/lib/ghostscript/fonts:/usr/share/fonts:/usr/share/ghostscript/8.71/Resource/Init:/usr/share/ghostscript/8.71/lib:/usr/share/ghostscript/8.71/Resource/Font:/usr/share/ghostscript/fonts:/var/lib/ghostscript/fonts:/usr/share/cups/fonts:/usr/share/ghostscript/fonts:/usr/local/lib/ghostscript/fonts:/usr/share/fonts then you can setup a symbolic link to the appropriate
directory or you can specify the appropriate pathname in the configuration
file /usr/lib/fax/hyla.conf with a line of the form:
FontPath: someplace_unexpected
If you do not have the font metric information files loaded on your system
system you can obtain them by public FTP from the place where you obtained
the HylaFAX software or from the master FTP site at ftp.sgi.com.
Make /var/spool/hylafax/bin/ps2fax a link to /var/spool/hylafax/bin/ps2fax.gs.
Make /var/spool/hylafax/bin/pdf2fax a link to /var/spool/hylafax/bin/pdf2fax.gs.
Update /var/spool/hylafax/status/any.info.
HylaFAX configuration parameters are:
[1] Init script starts faxq: yes
[2] Init script starts hfaxd yes
[3] Start paging protocol: no
Are these ok [yes]?
Dans tout ce blabla, il semblerait donc manquer plusieurs références vers "font", d'autres vers "egetty" et "vgetty", du coup je n'ose pas aller plus loin (j'ai testé un peu plus loin 2 fois auparavant, je n'arrivais même pas à avoir mes FAX listés via "faxstat -s -a").
Avez-vous des retours ? Merci de votre retour.
Emeric.
j'essaye de mettre en oeuvre la solution IAXModem + Hylafax sous Debian Squeeze.
J'ai pu recouper ce que j'ai réussi à faire jusqu'ici avec un tuto réalisé sur l'ancien forum (http://www.asterisk-france.net/showthread.php?t=8216) pour la mise en place de cette même solution, mais sous Ubuntu.
Premier souci que j'ai rencontré : un mauvais chemin vers les modules nécessaires à l'exécution durant la compilation des sources Hylafax (en supprimant "local" de chaque chemin /usr/local/sbin que le prompt demande de valider lors du ./configure).
Par contre, second souci qui aura sûrement conséquences par la suite, lorsque je souhaite exécuter la configuration d'HylaFax (via la commande faxsetup), j'ai les alertes suivantes :
Setup program for HylaFAX (tm) 5.4.0.
Created for x86_64-unknown-linux-gnu on Sun Apr 3 20:45:19 CEST 2011.
Found encoder: /usr/bin/base64
Looks like /usr/bin/base64 supports base64 encoding.
Checking system for proper client configuration.
Checking system for proper server configuration.
Warning: /bin/vgetty does not exist or is not an executable program!
The file:
/bin/vgetty
does not exist or this file is not an executable program. The
HylaFAX software optionally uses this program and the fact that
it does not exist on the system is not a fatal error. If the
program resides in a different location and you do not want to
install a symbolic link for /bin/vgetty that points to your program
then you must reconfigure and rebuild HylaFAX from source code.
Warning: /bin/egetty does not exist or is not an executable program!
The file:
/bin/egetty
does not exist or this file is not an executable program. The
HylaFAX software optionally uses this program and the fact that
it does not exist on the system is not a fatal error. If the
program resides in a different location and you do not want to
install a symbolic link for /bin/egetty that points to your program
then you must reconfigure and rebuild HylaFAX from source code.
Created our own Fontmap file in /var/spool/hylafax/etc.
Setting Ghostscript font path in /usr/lib/fax/hyla.conf.
Warning: /usr/share/ghostscript/fonts does not exist or is not a directory!
The directory /usr/share/ghostscript/fonts does not exist or this file is not a directory.
This is the directory where the HylaFAX client applications expect to
locate font metric information to use in formatting ASCII text for
submission as facsimile. Without this information HylaFAX may generate
illegible facsimile from ASCII text.
Warning: /usr/share/cups/fonts does not exist or is not a directory!
The directory /usr/share/cups/fonts does not exist or this file is not a directory.
This is the directory where the HylaFAX client applications expect to
locate font metric information to use in formatting ASCII text for
submission as facsimile. Without this information HylaFAX may generate
illegible facsimile from ASCII text.
Warning: /usr/share/ghostscript/fonts does not exist or is not a directory!
The directory /usr/share/ghostscript/fonts does not exist or this file is not a directory.
This is the directory where the HylaFAX client applications expect to
locate font metric information to use in formatting ASCII text for
submission as facsimile. Without this information HylaFAX may generate
illegible facsimile from ASCII text.
Warning: /usr/local/lib/ghostscript/fonts does not exist or is not a directory!
The directory /usr/local/lib/ghostscript/fonts does not exist or this file is not a directory.
This is the directory where the HylaFAX client applications expect to
locate font metric information to use in formatting ASCII text for
submission as facsimile. Without this information HylaFAX may generate
illegible facsimile from ASCII text.
Warning: /usr/share/ghostscript/fonts does not exist or is not a directory!
The directory /usr/share/ghostscript/fonts does not exist or this file is not a directory.
This is the directory where the HylaFAX client applications expect to
locate font metric information to use in formatting ASCII text for
submission as facsimile. Without this information HylaFAX may generate
illegible facsimile from ASCII text.
Warning: /usr/share/cups/fonts does not exist or is not a directory!
The directory /usr/share/cups/fonts does not exist or this file is not a directory.
This is the directory where the HylaFAX client applications expect to
locate font metric information to use in formatting ASCII text for
submission as facsimile. Without this information HylaFAX may generate
illegible facsimile from ASCII text.
Warning: /usr/share/ghostscript/fonts does not exist or is not a directory!
The directory /usr/share/ghostscript/fonts does not exist or this file is not a directory.
This is the directory where the HylaFAX client applications expect to
locate font metric information to use in formatting ASCII text for
submission as facsimile. Without this information HylaFAX may generate
illegible facsimile from ASCII text.
Warning: /usr/local/lib/ghostscript/fonts does not exist or is not a directory!
The directory /usr/local/lib/ghostscript/fonts does not exist or this file is not a directory.
This is the directory where the HylaFAX client applications expect to
locate font metric information to use in formatting ASCII text for
submission as facsimile. Without this information HylaFAX may generate
illegible facsimile from ASCII text.
Warning: Font metric information files were not found!
The font metric information file for the Courier font was not found in
the /usr/share/ghostscript/8.71/Resource/Init:/usr/share/ghostscript/8.71/lib:/usr/share/ghostscript/8.71/Resource/Font:/usr/share/ghostscript/fonts:/var/lib/ghostscript/fonts:/usr/share/cups/fonts:/usr/share/ghostscript/fonts:/usr/local/lib/ghostscript/fonts:/usr/share/fonts:/usr/share/ghostscript/8.71/Resource/Init:/usr/share/ghostscript/8.71/lib:/usr/share/ghostscript/8.71/Resource/Font:/usr/share/ghostscript/fonts:/var/lib/ghostscript/fonts:/usr/share/cups/fonts:/usr/share/ghostscript/fonts:/usr/local/lib/ghostscript/fonts:/usr/share/fonts path. This means that client HylaFAX applications
that use this information to format ASCII text for submission as fax will
use incorrect information and generate potentially illegible facsimile.
If font metric information is present on your system in a directory other
than /usr/share/ghostscript/8.71/Resource/Init:/usr/share/ghostscript/8.71/lib:/usr/share/ghostscript/8.71/Resource/Font:/usr/share/ghostscript/fonts:/var/lib/ghostscript/fonts:/usr/share/cups/fonts:/usr/share/ghostscript/fonts:/usr/local/lib/ghostscript/fonts:/usr/share/fonts:/usr/share/ghostscript/8.71/Resource/Init:/usr/share/ghostscript/8.71/lib:/usr/share/ghostscript/8.71/Resource/Font:/usr/share/ghostscript/fonts:/var/lib/ghostscript/fonts:/usr/share/cups/fonts:/usr/share/ghostscript/fonts:/usr/local/lib/ghostscript/fonts:/usr/share/fonts then you can setup a symbolic link to the appropriate
directory or you can specify the appropriate pathname in the configuration
file /usr/lib/fax/hyla.conf with a line of the form:
FontPath: someplace_unexpected
If you do not have the font metric information files loaded on your system
system you can obtain them by public FTP from the place where you obtained
the HylaFAX software or from the master FTP site at ftp.sgi.com.
Make /var/spool/hylafax/bin/ps2fax a link to /var/spool/hylafax/bin/ps2fax.gs.
Make /var/spool/hylafax/bin/pdf2fax a link to /var/spool/hylafax/bin/pdf2fax.gs.
Update /var/spool/hylafax/status/any.info.
HylaFAX configuration parameters are:
[1] Init script starts faxq: yes
[2] Init script starts hfaxd yes
[3] Start paging protocol: no
Are these ok [yes]?
Dans tout ce blabla, il semblerait donc manquer plusieurs références vers "font", d'autres vers "egetty" et "vgetty", du coup je n'ose pas aller plus loin (j'ai testé un peu plus loin 2 fois auparavant, je n'arrivais même pas à avoir mes FAX listés via "faxstat -s -a").
Avez-vous des retours ? Merci de votre retour.
Emeric.