From: "Seunghawn Ji" Newsgroups: comp.os.msdos.djgpp Subject: Help! Allegro3.928 install problem. Date: Tue, 30 Nov 1999 16:56:12 +0900 Organization: Korea Telecom Lines: 57 Message-ID: <81vvhu$e0o$1@news2.kornet.net> NNTP-Posting-Host: 210.113.55.118 X-Newsreader: Microsoft Outlook Express 4.72.3610.0100 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3610.0100 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I downloaded the newest allegro 3.928(work in progress version) and tried to install it by unzipping and running "make"... The first problem I met was.. "Your DJGPP environment variable is not set correctly! It should point to the djgpp.env file: see the djgpp readme.1st for details." I found "DJDIR" definition in "makefile.dj" file.. My djgpp have been working fine without "DJDIR" variable.. I only set "DJGPP=C:\DJGPP\DJGPP.ENV".. it works also with allegro 3.12 version.. there was no trouble in making and installing allegro 3.12.. So.. I typed "set DJGPP=C:\DJGPP\" and try to "make" again.. and I met another error message.. "Compiling Allegro for djgpp, optimised. Please wait... gcc -DALLEGRO_SRC -Wall -Wno-unused -m486 -O3 -ffastmath -fomit-frame-pointer -I. -I./include -o obj/djgpp/allegro/allegro.o -c src/allegro.c gcc.exe: sr: No such file or directory (ENOENT) gcc.exe: No input files MAKE.EXE: *** [obj/djgpp/allegro/allegro.o] Error 0x1" I found the clue in "gcc.exe: sr: No such file..." that "sr" is the first two characters of "src/allegro.c"... the long line might be cut at right after "sr".. So.. I edited "makefile.dj" as #ifdef WARNMODE #WFLAGS = -Wall -W -Werror -Wno-unused #else #WFLAGS = -Wall -Wno-unused #endif WFLAGS = in order to shorten the gcc command line with the error.. and then I tried again.. It looked working well for a while.. I met a helpless trouble again... "ar rs lib/djgpp/liballeg.a obj/djgpp/alleg/allegro.o obj/djgpp/alleg/blit.o ...... (long long list of *.o's).... obj/djgpp/alleg/djirqs.o d:/djgpp/bin/ar.exe: obj/d: No such file or directory (ENOENT) MAKE.EXE: *** [lib/djgpp/liballeg.a] Error 0x1 MAKE.EXE: *** Deleting file 'lib/djgpp/liballeg.a'" The "ar" command line must be cut at somewhere after "obj/d"... I could not make it in that case... It looks like the command line has some limitation in character number.. Is there a way to extend the command line limitation? Seunghwan Ji..