delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/11/12:13:50

From: "David Christensen" <dchrist AT dnai DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Perl/Tk or any other GUI for Win98
Date: Tue, 10 Aug 1999 09:30:25 -0700
Organization: DNAI ( Direct Network Access )
Message-ID: <7opktg$o3b$1@pollux.dnai.com>
References: <37a9fbae AT news5 DOT newsfeeds DOT com> <00ea01bee135$3c1862e0$3ddbfea9 AT main> <7ol3m2$cp6$1 AT pollux DOT dnai DOT com> <7opk1n$o0q$1 AT pollux DOT dnai DOT com>
NNTP-Posting-Host: dnai-207-181-210-22.dialup.dnai.com
X-Newsreader: Microsoft Outlook Express 4.72.3110.1
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Lines: 65
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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 -


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