www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/01/06:14:45

From: ericj AT navicom DOT com (Eric L. Jennings)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DJGPP Can't find header files.
Date: Sun, 01 Jun 1997 05:45:26 GMT
Organization: All USENET -- http://www.Supernews.com
Lines: 201
Message-ID: <3390fbf0.44100331@news.navicom.com>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 970529111553 DOT 17046I-100000 AT is> <338D917C DOT 815 AT navicom DOT com>
Reply-To: ericj AT navicom DOT com
NNTP-Posting-Host: ppp108pm1.navicom.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

This is making me crazy. I started over to simplify the installation.
I deleted everything in the djgpp directory, and installed only these
packages:
djdev201.zip
gcc2721b.zip
bnu27b.zip
csdpmi3b.zip
vrfy033a.zip
All archives were extracted into c:\djgpp with Winzip 6.2 with
directory structure preserved.
My computer is a 486DX66 with 32 megs of RAM running Win95
In the widows registry the item
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\FileSystem\NameNumericTail
has a value of '0'.
Here is my autoexec.bat

rem ---------------------- MTM ATAPI CD-ROM ----------------------
rem - By Windows Setup - C:\WINDOWS\COMMAND\MSCDEX.EXE /D:MTMIDE01
/M:10
rem ---------------------- MTM ATAPI CD-ROM ----------------------

@ECHO OFF
set blaster=A220 I5 D1 H5 T4
PATH C:\WINDOWS;C:\WINDOWS\COMMAND;C:\DOS;c:\jazz;c:\tc\bin;c:\helppc
set DJGPP=C:\DJGPP\DJGPP.ENV	
set PATH=C:\DJGPP\BIN;%PATH%
SET TEMP=C:\temp 
SET HLP=C:\HELPPC  
prompt $p$g
LH /L:2,29712 C:\WINDOWS\COMMAND\mode lpt1:,,p


rem C:\WINDOWS\COMMAND\doskey /insert
rem C:\LBL\net8
rem C:\LBL\com_link com1 int12
rem C:\LBL\net21

Here is my config.sys

DEVICE=C:\WINDOWS\HIMEM.SYS
DEVICE=C:\WINDOWS\EMM386.EXE RAM HIGHSCAN I=B000-B7FF
BUFFERS=60,0
FILES=60
DOS=UMB
LASTDRIVE=Z
FCBS=4,0
shell=C:\COMMAND.COM C:\ /e:1000 /p
rem ---------------------- MTM ATAPI CD-ROM ----------------------
DEVICEHIGH /L:1,13216 =C:\MTM\MTMCDAI.SYS /D:MTMIDE01
rem ---------------------- MTM ATAPI CD-ROM ----------------------
rem DEVICE=C:\WINDOWS\SETVER.EXE
rem device=c:\dos\emm386.exe noems i=b000-b7ff
DOS=HIGH
DEVICEHIGH /L:1,5088 =C:\JAZZ\JAZZ.SYS P220 I5 D1 E5
rem DEVICE=C:\LBL\netbshar.sys lpt1 lpt1 on:0 off
rem DEVICE=C:\LBL\netbshar.sys LPT2 LPT1 on:2
rem DEVICE=C:\LBL\netunits.sys
rem DEVICE=C:\LBL\net00000.sys #1 "Mike"

Here is djgpp.env which is located in c:\djgpp

#= Don't edit this line unless you move djgpp.env outside
#= of the djgpp installation directory.  If you do move
#= it, set DJDIR to the directory you installed DJGPP in.
#=
DJDIR=%:/>DJGPP%

+USER=dosuser
+TMPDIR=%DJDIR%/tmp
+EMU387=%DJDIR%/bin/emu387.dxe
+LFN=n

[bison]
BISON_HAIRY=%DJDIR%/lib/bison.hai
BISON_SIMPLE=%DJDIR%/lib/bison.sim

[cpp]
CPLUS_INCLUDE_PATH=%/>;CPLUS_INCLUDE_PATH%%DJDIR%/lang/cxx;%DJDIR%/include;%DJDIR%/contrib/grx20/include
C_INCLUDE_PATH=%/>;C_INCLUDE_PATH%%DJDIR%/include;%DJDIR%/contrib/grx20/include
OBJCPLUS_INCLUDE_PATH=%/>;OBJCPLUS_INCLUDE_PATH%%DJDIR%/include;%DJDIR%/lang/objc
OBJC_INCLUDE_PATH=%/>;OBJC_INCLUDE_PATH%%DJDIR%/include;%DJDIR%/lang/objc

[gcc]
COMPILER_PATH=%/>;COMPILER_PATH%%DJDIR%/bin
LIBRARY_PATH=%/>;LIBRARY_PATH%%DJDIR%/lib;%DJDIR%/contrib/grx20/lib

[info]
INFOPATH=%/>;INFOPATH%%DJDIR%/info;%DJDIR%/gnu/emacs/info
INFO_COLORS=0x1f.0x31

[emacs]
INFOPATH=%/>;INFOPATH%%DJDIR%/info;%DJDIR%/gnu/emacs/info

[less]
LESSBINFMT=*k<%X>
LESSCHARDEF=8bcccbcc12bc5b95.b127.b
LESS=%LESS% -h5$y5$Dd2.0$Du14.0$Ds4.7$Dk9.0$

[locate]
+LOCATE_PATH=%DJDIR%/lib/locatedb.dat

[ls]
+LS_COLORS=no=00:fi=00:di=36:lb=37;07:cd=40;33;01:ex=32:*.cmd=32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.deb=01;31:*.jpg=01;34:*.gif=01;34:*.bmp=01;34:*.ppm=01;34:*.tga=01;34:*.xbm=01;34:*.xpm=01;34:*.tif=01;34:*.mpg=01;37:*.avi=01;37:*.gl=01;37:*.dl=01;37:*~=08:*.bak=08:
[dir]
+LS_COLORS=no=00:fi=00:di=36:lb=37;07:cd=40;33;01:ex=32:*.cmd=32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.deb=01;31:*.jpg=01;34:*.gif=01;34:*.bmp=01;34:*.ppm=01;34:*.tga=01;34:*.xbm=01;34:*.xpm=01;34:*.tif=01;34:*.mpg=01;37:*.avi=01;37:*.gl=01;37:*.dl=01;37:*~=08:*.bak=08:
[vdir]
+LS_COLORS=no=00:fi=00:di=36:lb=37;07:cd=40;33;01:ex=32:*.cmd=32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.deb=01;31:*.jpg=01;34:*.gif=01;34:*.bmp=01;34:*.ppm=01;34:*.tga=01;34:*.xbm=01;34:*.xpm=01;34:*.tif=01;34:*.mpg=01;37:*.avi=01;37:*.gl=01;37:*.dl=01;37:*~=08:*.bak=08:

This is the output from the command set > env.lst typed in a dos box
cwd is c:\djgpp

TMP=C:\WINDOWS\TEMP
winbootdir=C:\WINDOWS
COMSPEC=C:\COMMAND.COM
DJGPP=C:\DJGPP\DJGPP.ENV	
PATH=C:\DJGPP\BIN;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\DOS;C:\JAZZ;C:\TC\BIN;C:\HELPPC
xxxxxxxxxxxxx
HLP=C:\HELPPC  
PROMPT=$p$g
windir=C:\WINDOWS
BLASTER=A220 I5 D1 H5

This is the output from djverify

    DJVERIFY -- DJGPP Installation Verification Utility -- version
0.33a

		       *** Interactive Mode ***

Initializing...
Report filename = 'djvrfy02.log'
Examining environment...
Location of DJGPP.ENV = C:\DJGPP\DJGPP.ENV	
DJDIR environment variable not found.
Guessing location of DGJPP files = C:\DJGPP\bin/

Examining configuration...done.

PATH  environment variable:                    Correct
DJGPP environment variable:                    Incorrect setting
Location of DJGPP.ENV:                         c:/djgpp/DJGPP.ENV	
Location of DJGPP BIN directory:               Unknown

--Required files status--
          Name                                 Location
          gcc.exe                              c:/djgpp/bin/
          go32-v2.exe                          c:/djgpp/bin/
          go32.exe                             Not found
          as.exe                               c:/djgpp/bin/



 ** [033] DJGPP environment variable not set.

For DJGPP programs to run, the 'DJGPP' environment variable must be
set and
must specify the location of the file 'djgpp.env' which is included
with the
djdevXXX.zip distribution.  This file contains all of the special
environment
settings that the DJGPP programs need to run.

See the 'readme.1st' file for the proper setting of the DJGPP
variable; we
recommend that you put it in your AUTOEXEC.BAT.  Also, be very careful
to
exactly follow the required syntax, spacing, and punctuation.

Relevant FAQ sections:  8.1 and others

Generating system report to sysrpt01.log...
C:\DJGPP\DJGPP.ENV	: No such file or directory (ENOENT)
Attempting to compile test program 'temp0000.c'.
C:\DJGPP\bin/redir -o temp0000.out -eo C:\DJGPP\bin/gcc -v -Wall -g -O
-o temp0000.exe temp0000.c
Finished generating system report.
 
And here's the output from redir -o gcc.log -eo gcc -v hello.c

gcc version 2.7.2.1
 cpp -lang-c -v -undef -D__GNUC__=2 -D__GNUC_MINOR__=7 -Dunix -Di386
-DGO32 -DMSDOS -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__ -D__unix
-D__i386 -D__GO32 -D__MSDOS -Asystem(unix) -Asystem(msdos) -Acpu(i386)
-Amachine(i386) hello.c C:\WINDOWS\TEMP\ccbaaaaa
GNU CPP version 2.7.2.1 (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include
 /usr/local/go32/include
 /usr/local/lib/gcc-lib/go32/2.7.2.1/include
 /usr/include
End of search list.
hello.c:1: stdio.h: No such file or directory (ENOENT)

Yes I've read readme.1st and everything I could find relevant in the
FAQ. And the file specs is present in c:\djgpp\lib.
I can post a recursive directory listing if it will help.

Eric L. Jennings           
ericj AT bytor DOT chemek DOT cc DOT or DOT us                "Just an Invitation to the Blues"
Crossroads http://bytor.chemek.cc.or.us/~ericj/

- Raw text -


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