compiling on 4.4
Matthew Seaman
m.seaman at infracaninophile.co.uk
Mon Aug 18 13:17:37 PDT 2003
On Mon, Aug 18, 2003 at 01:30:15PM -0400, Joe Smith wrote:
> I'm trying to compile gdal 1.1.9 (www.remotesensing.org/gdal/) on FreeBSD
> 4.4. I get this:
>
> make: no target to make.
>
> There is no "Makefile" file, but there is a "GNUmakefile". It's just not
> sensing it I guess. I don't think the GNU compiler was installed on the
> system from the start, so I installed GNU Make 3.80 and it still won't
> compile with a simple "make" command. Anyone know what I can do to get GDAL
> compiled?
gdal is in ports. All you need to do is update your ports tree, and then:
# cd /usr/ports/graphics/gdal
# make install
although FreeBSD 4.4 is rather elderly, and not guarranteed to work
with the latest ports.
As for whether the "GNU compiler" was intalled: most of the compiler
tool chain uses GNU programs (gcc, gas etc). One thing that isn't
GNU-ish is the make program (as you might expect, we use Berkeley
make), but make isn't itself a compiler, although it will run any
number of them for you...
If you've installed GNU make from ports, the binary will be called
'gmake'. If you installed it by compiling manually, it's probably
ended up called /usr/local/bin/make. Type:
% which make
to find out which one you are running and adjust your $PATH if it's
not the one you want.
Cheers,
Matthew
--
Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks
Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614 Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030818/98e1c10b/attachment.bin
More information about the freebsd-questions
mailing list