r887 - trunk

tushar at linuxfromscratch.org tushar at linuxfromscratch.org
Fri Sep 3 23:35:47 PDT 2004


Author: tushar
Date: 2004-09-04 00:35:44 -0600 (Sat, 04 Sep 2004)
New Revision: 887

Modified:
   trunk/mgetty.txt
Log:
Updated Hint: mgetty

Modified: trunk/mgetty.txt
===================================================================
--- trunk/mgetty.txt	2004-09-04 06:34:33 UTC (rev 886)
+++ trunk/mgetty.txt	2004-09-04 06:35:44 UTC (rev 887)
@@ -1,58 +1,58 @@
-AUTHOR:			Dr. Edgar Alwers  <edgaralwers at gmx.de>
+AUTHOR:		Dr. Edgar Alwers  <edgaralwers at gmx.de>
 
-DATE:			2003-10-13
+DATE:			2004-08-24
 
-LICENSE:			GNU Free Documentation License  Version 1.2
+LICENSE:		GNU Free Documentation License  Version 1.2
 
 SYNOPSIS:		How to install mgetty+sendfax from sources
 
 DESCRIPTION:
 
 Compilation and Installation of mgetty+sendfax from the sources.
-Faxes may be send direct from the PC running  first "faxspool" and then
+Faxes may be send direct from the PC by running  first "faxspool" and then
 "faxrunq".  Documents may be queed  from the editor (e.g. StarOffice ) to the
-fax-queue  and then send with "faxrunq"
+fax-queue  and then sent with "faxrunq"
 
 PREREQUISITES:
 
-Basic knowledge in compiling programs. Should run on all LFS versions, but was 
-tested with LFS 4.1. Needs libjpeg, libpng , libtiff and libz installed. For 
-messages ( i.g. fax sent succesfully ) sendmail is needed, but for sending faxes 
-it is not necessary.
+Basic knowledge in compiling programs. Should run on all LFS versions, but was tested with LFS 5.1.1 Needs libjpeg, libpng , libtiff and  libz installed. Sendmail is needed  for status messages ( i.g. fax sent successfully ), but  not for sending faxes.
 
 HINT:
 
 Download:
 
-	mgetty1.1.30-Dec16.tar.gz
+	mgetty1.1.31-Jul24.tar.gz
 	ftp://alpha.greenie.net/pub/mgetty/source/1.1
-
+	
 	Netpbm (image manipulation/conversion graphics utilities ) netpbm-10.17.tgz
-	July 05th 2003
+	July 05th 2003. ( netpbm-10.24.tgz 11.Aug.2004 is already available. However, 	this version crashes with parse errors in file pm.h during compilation )
 	http://download.sourceforge.net/netpbm
 
-	ESPG Ghostscript  espgs-7.05.6-source.tar.bz2
-	http://telia.del.sourceforge.net/sourceforge
+	ESPG Ghostscript  espgs-7.07.1-source.tar.bz2
+	http://prdownloads.sourceforge.net/espgs-7.07.1-source.tar.gz
 
 
 Installing espgs:
 
+( see also BLFS Book version 5.1 chapter 41, printing )
+
 Untar
-	tar xvjf espgs-7.05.6-source.tar.bz2
-and change to the espgs-7.05.6 directory
-	cd espgs-7.05.6
-Read the INSTALL file and run configure accordingly:
-	./configure --disable-OMNI
+	tar xvjf espgs-7.07.1-source.tar.bz2
+and change to the espgs-7.07.1 directory
+	cd espgs-7.07.1
+Read the INSTALL file and run configure:
+	./configure --prefix=/usr --withouth-gimp-print --withouth-omni
 Then run
 	make
 	make install.
 
 You  may also need to download the ghostscript fonts. Get them from
-	http://download.sourceforge.net/gs-fonts
-and download ghostscript-fonts-std-6.0.tar.gz to the directory
-/usr/X11R6/lib/X11/fonts/ghostscript
+	ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/fonts/
+and download "ghostscript-fonts-std-8.11.tar.gz" to the directory
+/usr/X11R6/lib/X11/fonts/ghostscript. espgs looks in /usr/share/ghostscript for the fonts. So you will need in /usr/share/ghostscript a link:
+	ln -s /usr/X11R6/lib/X11/fonts/ghostscript/fonts fonts
 Untar
-	tar xvzf ghostscript-fonts-std-6.0.tar.gz
+	tar xvzf ghostscript-fonts-std-8.11tar.gz
 
 Installing netpbm:
 
@@ -71,7 +71,7 @@
 	platform:			gnu
 	regular or merge build	merge
 	libnetpbm			static
-	JPEG library			libjpeg.a
+	JPEG library			libjpeg.so
 	JPEG header directory	/usr/include
 	TIFF library			libtiff.so
 	TIFF header directory	/usr/include
@@ -79,7 +79,7 @@
 	PNG header directory	/usr/include
 	Z library			libz.so
 	Z header directory		/usr/include
-	Doku URL			Default
+	Documentation URL		http://netpbm.sourceforge.net/doc
 
 You may change the resulting Makefile.config, if necessary. Now run
 	make
@@ -88,79 +88,81 @@
 	./installnetpbm
 and answer the questions as follows:
 	package directory		/tmp/netpbm
-	install prefix			/usr/local/netpbm
-	program directory		/usr/local/netpbm/bin
-	static library directory	/usr/local/netpbm/lib
-	Data files			/usr/local/netpbm/lib
-	header directory		/usr/local/netpbm/include
-	man pages			/usr/local/netpbm/man
+	install prefix			/usr/netpbm
+	program directory		/usr/netpbm/bin
+	static library directory	/usr/netpbm/lib
+	Data files			/usr/netpbm/lib
+	header directory		/usr/netpbm/include
+	man pages			/usr/netpbm/man
 	create /etc/manweb.conf	yes
-Accept the creation of the Symlink /usr/man/web -> /usr/local/netpbm/man/web
-	ln -s /usr/local/netpbm/man/web/netpbm.url /usr/man/web/netpbm.url
-You will need to include the new directory /usr/local/netpbm/bin in your path:
-(e.g. /.bash_profile )
-	export PATH=$PATH:/usr/local/netpbm/bin
+Accept the creation of the Symlink /usr/man/web -> /usr/netpbm/man/web
+	ln -s /usr/netpbm/man/web/netpbm.url /usr/man/web/netpbm.url
+You will need to include the new directory /usr/netpbm/bin in your path:
+(e.g. etc/profile )
+	export PATH=$PATH:/usr/netpbm/bin
 
 Installing mgetty:
 
 Untar
-	tar xvzf mgetty1.1.30-Dec16.tar.gz
-and change to the directory  mgetty-1.1.30:
-	cd mgetty-1.1.30
-Copy the file ¯policy.h-dist® to ¯policy.h®:
+	tar xvzf mgetty1.1.31-Jul24.tar.gz
+and change to the directory  mgetty-1.1.31:
+	cd mgetty-1.1.31
+Copy the file "policy.h-dist" to "policy.h":
 	cp policy.h.dist policy.h
-Edit the Makefile and change line 172 from
+Edit the Makefile and change line 167 from
 	INSTALL=install -c -o bin -g bin
 to
 	INSTALL=install -c -o root -g root
-edit the next lines according to your needs or accept the Makefile propositions
-and then run make and make install.
+Change line 176 to "prefix=/usr"
+edit the next lines according to your needs or accept the suggestions in the Makefile.
+mgetty needs a user "fax". So, if "fax" does not exist, create it with
+	useradd -D 
+Run make and make install.
 
-Change to the directory  /usr/local/etc/mgetty+sendfax:
-	cd /usr/local/etc/mgetty+sendfax
+Change to the directory  /usr/etc/mgetty+sendfax:
+	cd /usr/etc/mgetty+sendfax
 and edit the file sendfax.config. Change the line 'which devices to use for
 outgoing faxes' from
 'fax-devices tty4c:tty4d' to
 'fax-devices ttyS0:ttyS2'
 and the line 'which fax number to transmit to the receiving station' from
-'fax-id 49 115 xxxxxxxx' into your own fax line number. Edit the Dial-prefix
+'fax-id 49 115 xxxxxxxx' into your own fax line number. Edit the dial-prefix
 line  e.g. in
 	dial-prefix ATDT.
 
 Uncomment the line 'port ttyS0', if this is the port of your modem.
 You might need also a modem initialisation string. I inserted
 	modem-init ATS7=255
-You might edit the file ¯faxheader® in the same directory.
+You might edit the file "faxheader" in the same directory.
 
-Finally, you should create and edit a file fax.allow or fax.deny in the same
-directory, in order to allow access control to other users than root.
+Finally, you should create and edit a file "fax.allow" or "fax.deny" in the same
+directory, to define access control for users other than root.
 
 Testing faxspool:
 
-You are now ready to run a first test with faxspool. Write with your prefered
-editor    ( vi ?) a file 'test.txt' and then run ( as user )
+You are now ready to run a first test with faxspool. With your prefered
+editor    ( vi ?), create  a file 'test.txt' and then run ( as user )
 
 	faxspool    123456 /your/directory/test.txt
 
-where 123456 stands for the telefon number of a fax receiver.
+where "123456" stands for the telefon number of a fax receiver.
 You can have a look at the fax file in the converted g3 format with the fax
-viewer Kfax of the kde system. The fax image is stored in
-/var/spool/fax/outgoing
+viewer Kfax of the kde system. The fax image is stored in /var/spool/fax/outgoing
 
 Fax spooling from StarOffice:
 
 Open 'printer setup' in StarOffice's main frame, choose 'generic printer' from
 the printer drivers list and add it as a new printer. Rename it to 'fax printer'
-and connect it to the fax_queue=FAX, which is one of the StarOffice existing
+and connect it to the fax_queue=FAX, which is one of StarOffice's existing
 queues
 
 You don't need to configure, as the fax command format is exactly the one needed
-by faxspool. Print a job to the fax printer, and a pop window will come up,
+by faxspool. Print a job to the fax printer, and a window will pop up,
 asking for the fax number. That's all.
 
 Sending Faxes:
 
-run -as root - faxrunq
+run -as root - "faxrunq"
 
 
 
@@ -172,6 +174,10 @@
 
 [2003-10-13]
 
-	* Changed hint to new format. Some minor adjustments. Change of versions of
-	mgetty, netpbm and ESPG Ghostscript
+Changed hint to new format. Some minor adjustments. Changed versions of mgetty, netpbm and ESPG Ghostscript
 
+[2004-08-24]
+
+Changed versions of mgetty and ESPG Ghostscript. Programs placed under /usr and not under /usr/local. Changed download-URL's.Changed configuration commands.
+
+	
\ No newline at end of file




More information about the hints mailing list