Mail Archives: djgpp/1999/08/11/12:13:50
David Christensen wrote in message <7opk1n$o0q$1 AT pollux DOT dnai DOT com>...
>Hey there,
>
>> ----- Original Message -----
>> From: David Christensen <dchrist AT dnai DOT com>
>> To: <nread AT hotpop DOT com>
>> Sent: Monday, August 09, 1999 3:24 PM
>> Subject: Fw: Perl/Tk or any other GUI for Win98
>>
>> Have you downloaded, compiled, installed, and run Perl/ Tk on Win98 and
>DJGPP?
>
>Yes, I do a lot of Perl stuff some using Tk. I've never really used Perl
>together with C, but you definately can though! You can also (with some
>drawbacks) compile Perl progams into C and do all kinds of other wonderous
>stuff.
>
>I would recommend compiling Perl yourself as it can be a hastle until you
>actually know a fair bit about Perl. Best to just download a binary from
>www.petes-place.com or www.activestate.com (The first is a "pure" build of
>Perl, while the second uses a more enhanced "Perl Object" written in C++,
>but it won't support threading).
>
>Best Regards,
>Nick Read
I downloaded Tk404.202.tar.gz from ftp://ftp.simtel.net/. The text files
have CR-LF (0x0D 0x0A) line endings. When I try to build it using Perl
5.004_02 inside Bash under the FSF distribution of DJGPP on my Win98 box:
c:/tk400.202$ perl Makefile.PL
c:/fsf/bin/perl.exe is installed in c:/djgpp/lib/perl5 okay
gcc.exe: 2: No such file or directory (ENOENT)
gcc.exe: 2: No such file or directory (ENOENT)
gcc.exe: 2: No such file or directory (ENOENT)
config/tod.c:24: conflicting types for `gettimeofday'
c:/fsf/include/time.h:80: previous declaration of `gettimeofday'
gcc.exe: 2: No such file or directory (ENOENT)
gcc.exe: 2: No such file or directory (ENOENT)
config/tod.c:14: conflicting types for `gettimeofday'
c:/fsf/include/time.h:80: previous declaration of `gettimeofday'
gcc.exe: 2: No such file or directory (ENOENT)
config/tod.c:22: conflicting types for `gettimeofday'
c:/fsf/include/time.h:80: previous declaration of `gettimeofday'
Problem gettimeofday()
Cannot find -lX11 anywhere at ./myConfig line 262.
BEGIN failed--compilation aborted at Makefile.PL line 8.
I've got to leave for work now, but it looks like the next step is to run
Makefile.PL in the Perl debugger and single-step it to find the gcc.exe
calls that produce the error messages. I tried it late last night, but
didn't get too far (I'm a newbie with the debugger).
Also note the line "Cannot find -lX11 anywhere at ./myConfig line 262." -- I
am wondering if -lX11 means "UNIX box with X Windows" (?)
--
David Christensen
dchrist AT dnai DOT com
- Raw text -