home *** CD-ROM | disk | FTP | other *** search
- To compile:
-
- At this point, you have the archive unpacked, or you will never see this
- message.
-
- So, since this message is in the unpost directory, all you have to do
- is make a copy of one of the makefiles in the makefils directory,
- renaming it to makefile and moving it to this directory, and type make.
-
- Be aware that you may need to convert the source files (CR<->CR/LF) to
- make them acceptable to your compiler.
-
- Example:
- cp makefils/makefile.dos makefile
- make
-
- There are five makefiles:
-
- makefile.aix - Contains the makefile that someone ELSE told me worked
- on his RS6000 running AIX.
-
- makefile.dos - Contains the makefile that I used to compile UNPOST
- on an MS-DOS machine. I used Borland's C++ compiler,
- version 3.1.
-
- makefile.hp - This is a makefile that should compile UNPOST on
- the HP Apollo 700 machines, and maybe some of the
- other HP Apollo machines.
-
- makefile.gcc - Makefile for compiling UNPOST using the gcc (GNU C
- compiler) compiler. This has the correct switch settings
- for the gcc compiler that I used (Vers. 2.1). This
- makefile was what I used to compile UNPOST on a Sun.
-
- If your system has sys_errlist already defined,
- Add -DNO_SYS_ERR_LIST to the compiler flags in the
- makefile.
-
- makefile.os2 - Makefile for compiling UNPOST using the EMX/gcc (GNU C
- compiler) compiler on OS/2. This has the define for
- removing the sys_errlist declarations.
-
- Be aware that UNPOST requires an ANSI C compatible compiler, as it uses
- the ANSI C function headers for full type checking and maximum portability.
- (If it ain't ANSI C, it ain't portable in the long run).
-
- If you have any problems, edit the compiler.h file and uncomment the
- variable UNPOST_DEBUG. Then run unpost on your input file, capture
- the output sent to standard out and email it to me. Save the input
- file, as I will probably email back asking you to send me one or
- more article headers out of it.
-
- If you have compilation problems, send me as much information as
- possible and I will do my best to help you.
-
- Simplest way to use UNPOST:
-
- Capture all articles in a file called source.uue (How is system and
- news access method dependent, see unpost.doc for an rn example), then
- run unpost by doing:
-
- unpost -e errors -t text -i incomp source.uue
-
- That's it. All complete and correct binary postings that were in
- file source.uue will be in the directory that you ran the above
- command in. The file 'errors' will have a summary of warnings,
- errors, the binary postings, parts and byte offsets into the source
- file. The 'text' file will contain text only articles, and the
- 'incomp' file will contain any incomplete or incorrect postings.
-
- Please read the unpost.doc and changes.doc files. They are the result
- of a lot of work on my part, and I will feel slighted if you don't at
- least take a few seconds to scan them. . . :-)
-
- jstevens@csn.org
-