delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/20/00:47:21

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: a few problems compiling allegro 2.2
Date: Fri, 21 Nov 1997 00:03:07 +0000
Organization: Two pounds of chaos and a pinch of salt
Lines: 51
Message-ID: <3474CFBB.2813@cs.com>
References: <3473A13C DOT 2D76319B AT abonados DOT cplus DOT es>
Reply-To: fighteer AT cs DOT com
NNTP-Posting-Host: ppp205.cs.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Sergi Marsal wrote:
> 
> I am trying to install correctly DJGPP with all the last versions, I am
> getting them from the simtel server directly and I can compile with RHIDE,
> but cannot compile the allegro library for DOS.
> 
> I don't know if the file djgpp.env is enough for setting all the
> environment variables

You must set the DJGPP environment variable to point to the djgpp.env
file.  Apart from that, no modifications should be necessary to
djgpp.env, unless you want to permanently enable long filename support,
or add environment variables for additional DJGPP programs.  In the
latter case, the documentation should tell you exactly what you need to
add.

Modifying djgpp.env should always be left as a last resort.

> when I run make I get an error in the line
> 
> install : $(LIBDEST) $(INCDEST)

Exactly what error did you see?  We need to see the actual messages, not
just, "there was an error."  You can redirect the output of make to a
file with the 'redir' utility that comes with v2/djdev201.zip.  The
syntax would look something like this:

    redir -o err.log -eo make

> I had to set 2 environment variables
>     DJDIR = d:/djgpp      don't know if the '/' char should be a '\'

You should not need to manually set DJDIR; djgpp.env should set it
properly in nearly all cases.  See below.

>     DJGPP = d:/djgpp/djgpp.env

This looks like an error.  You must not put spaces around the '='
character in an environment variable.  What you are setting here is the
variable "DJGPP ", not "DJGPP".  This is critically important.  Try to
fix it and see if things work better.

hth

-- 
---------------------------------------------------------------------
|      John M. Aldrich       | "Democracy is based on the assumption|
|       aka Fighteer I       | that a million men are wiser than one|
|   mailto:fighteer AT cs DOT com   | man.  How's that again?  I missed    |
| http://www.cs.com/fighteer | something."    - Lazarus Long        |
---------------------------------------------------------------------

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019