Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
diana:windows:building:udunits [2010-01-18 17:44:56] dages created |
diana:windows:building:udunits [2022-05-31 09:29:31] (current) |
||
---|---|---|---|
Line 5: | Line 5: | ||
First, get the latest source (1.12.9) from http:// | First, get the latest source (1.12.9) from http:// | ||
- | Building UDUNITS is not straightforward. | + | Building UDUNITS is not straightforward. |
- | + | ||
- | The '' | + | |
$ cd src | $ cd src | ||
- | $ LD_YACC=-ly | + | $ LDFLAGS=-L/c/met.no/lib CPPFLAGS=' |
+ | |||
+ | UDUNITS includes Perl modules and man pages which require additional tools to build, so we'll just manually build and install the parts we need: | ||
- | UDUNITS includes Perl modules and man pages which require additional tools to build, so we'll just manually build and install | + | $ make -C lib installed_library installed_headers installed_etcfiles |
+ | $ make -C port install | ||
+ | $ make -C udunits installed_program | ||
+ | $ cp COPYRIGHT / | ||
- | $ cd lib | + | **XXX** do we actually need the program? |
- | $ make installed_library installed_headers | + | |
- | $ cd ../udunits | + | |
- | $ make installed_program | + |