www.delorie.com/gnu/docs/hp2xx/hp2xxinf_25.html   search  
 
Buy GNU books!


HP2XX, A HP-GL Converter

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

4.1.2 Source-level installation

NOTE: I am tempted to switch to GNU autoconf , i.e. have a configure script generate the necessary Makefile automagically. This will probably not be welcomed by those not on Unix-like platforms, however. Currently, installation depends too much on manual work yet. Here is a description how to proceed:

After unbundling all sources, go to subdirectory `./makes'. Select a makefile most closely resembling your system's needs from the samples given, copy it to `./sources/makefile', adapt it manually (if necessary), and run make all. (The source package as distributed through ftp.gnu.org usually contains a file `sources/Makefile'. This is what i use myself on Linux systems, so you could try using that one first, if you are trying to build hp2xx on this or a similar platform. If everything is set correctly, this results directly in a valid executable file which you may install at any convenient place on your search path.

There are two types of makefile adaptation: First, let's assume there is a makefile template available for your system. You then have the option to add a few non-default modes. (These are typically platform-specific modes, or modes requiring third-party libraries like PNG,JPEG,TIFF or PDF that are not usually part of a default system installation - particularly on commercial operating systems ). Do so by un-commenting the appropriate lines near the beginning of the makefile, and by commenting out the corresponding standard lines.

The second type of course applies to systems with special needs which are not yet covered by any makefile template. Currently, you are on your own when it comes to supplying alternate paths, renaming or adding system libraries and alike. Most probably you might have to tell the makefile where to look for the X11 stuff, and where to find the png library, if at all.

Note: Don't feel alarmed if your makefile seems to neglect many source files. Any single installation will make use of only one previewer (two on SUNs with activated SunView support), and there are platform-dependent sources for some output formats which are not always used.

Users wishing to compile hp2xx on MS Windows systems will find a step-by-step procedure in the file `hp2xx_nt' in the documentation directory.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

  webmaster   donations   bookstore     delorie software   privacy  
  Copyright © 2003   by The Free Software Foundation     Updated Jun 2003