From: An Thi-Nguyen Le Newsgroups: comp.lang.perl.moderated,comp.os.msdos.djgpp Subject: Installing perl modules: almost Date: Thu, 23 Jul 1998 21:25:45 -0500 Organization: University of Illinois at Urbana-Champaign Lines: 55 Sender: mjd-clpm-admin AT plover DOT com Approved: mjd-clpm-admin AT plover DOT com Message-ID: NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk (Just a reminder to check out the cross-postings here. If this is more appropriate in one group or another I'm sorry, but I couldn't decide which group. :-( ) I almost made it through the installation. :-( Maybe I should just give up and install Linux. :-7 I am on a Windows 95 machine, which doesn't matter, since I'm basically on MS-DOS, on DJGPP. Anyways.... I am trying to install the GD module. This is the first module I'm installing, ever. I've searched the newsgroups archives, read both readme files, the install file, perldoc'd MakeMaker, LibList, read through both Makefiles and Makefile.aperl. I went through the FAQ's. The paths are all correct, as well as linker options, the commands all exist in the current $PATH, I'm using bash. The libgd.a file does get created. However, when it makes the new statically linked perl executable, this happens: (formatted for 78 columns): Viper 110> make perl d:/BIN/make.exe -f Makefile.aperl perl make.exe[1]: Entering directory `c:/windows/desktop/gdinstall/gd-1.18' Writing perlmain.c cd . && gcc -c -Id:/lib/perl5/CORE -O2 -fomit-frame-pointer \ -malign-loops=2 -malign-jumps=2 -malign-functions=2 \ -DVERSION=\"1.18\" \ -DXS_VERSION=\"1.18\" -Id:/lib/perl5/CORE perlmain.c gcc -s -o perl -O2 -fomit-frame-pointer -malign-loops=2 -malign-jumps=2\ -malign-functions=2 ./perlmain.o d:/lib/perl5/CORE/libperl.a \ d:/lib/perl5/site/auto/gd/GD.a d:/lib/perl5/auto/io/IO.a \ d:/lib/perl5/auto/SDBM_File/SDBM_File.a \ d:/lib/perl5/auto/Opcode/Opcode.a d:/lib/perl5/auto/Fcntl/Fcntl.a \ d:/lib/perl5/auto/DynaLoader/DynaLoader.a \ c:/windows/desktop/gdinstall/gd-1.18/blib/arch/auto/gd/GD.a \ ./blib/arch/auto/GD/GD.a `cat ./blib/arch/auto/GD/extralibs.all` -lm \ -lc ./perlmain.o(.text+0x132):perlmain.c: undefined reference to `boot_gd' ./perlmain.o(.text+0x146):perlmain.c: undefined reference to `boot_io' make.exe[1]: *** [perl] Error 1 make.exe[1]: Leaving directory `c:/windows/desktop/gdinstall/gd-1.18' make.exe: *** [perl] Error 2 Yes... all those files in the gcc -s etc. line exist. My version of perl is 5.004_2, my version of djgpp is version 2. If anyone can help, I'd be very happy. In the readme, I think there was mentioned that for lower patch levels of perl (5.003 I think) there might be a problem with IO (no perlio.h), but since that problem didn't crop up and I have a 4th level patch.... but I'm so confused. I guess I'll be making Linux partitions sooner or later.... An Thi-Nguyen Le