public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* compiling Tk800.023-1 onto a windows 2000 system with cygwin
@ 2002-08-22  6:29 Rob Philips
  2002-08-22  7:43 ` Gerrit P. Haase
  2002-08-22 12:48 ` Soren A
  0 siblings, 2 replies; 10+ messages in thread
From: Rob Philips @ 2002-08-22  6:29 UTC (permalink / raw)
  To: cygwin

Hello,


while compiling Tk800.023-1 onto cygwin all seems to go fantastic but when
i try to do a make install
this is what i get :

[Rophy]/cygdrive/c/cygwin/Tk800.023-1#make install
cd pTk && make
make[1]: Entering directory `/cygdrive/c/cygwin/Tk800.023-1/pTk'
gcc -c -I.. -I../pTk/mTk/xlib -I. -Ibitmaps -I../pTk/mTk/xlib
-DPERL_USE_SAFE_P
TENV -fno-strict-aliasing -I/usr/local/include -DUSEIMPORTLIB -O2
-DVERSION=\
800.023\" -DXS_VERSION=\"800.023\"
-I/usr/lib/perl5/5.6.1/cygwin-multi/CORE -D
_WIN32__ -D_WIN32 -DWIN32 -Wall -Wno-implicit-int -Wno-comment -Wno-unused
-D__
SE_FIXED_PROTOTYPES__ imgBMP.c
In file included from tkPort.h:28,
                 from tk.h:71,
                 from imgBMP.c:11:
tkWinPort.h:54: warning: `OPEN_MAX' redefined
/usr/include/limits.h:143: warning: this is the location of the previous
defini
ion
In file included from imgInt.h:14,
                 from imgBMP.c:13:
img.h:21: windows.h: No such file or directory
make[1]: *** [imgBMP.o] Error 1
make[1]: Leaving directory `/cygdrive/c/cygwin/Tk800.023-1/pTk'
make: *** [pTk/libpTk.a] Error 2


Dus anybody know how i can solve this problem???

Met vriendelijke groet / With kind regards

Robby  J. Philips
ISMS/ Software Fee Services
IBM Nederland N.V.
Johan Huizingalaan 765, 1066 VH AMSTERDAM

Mobile : 031651595244
Office : 020-5132195
E-mail: robby_philips@nl.ibm.com





--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: compiling Tk800.023-1 onto a windows 2000 system with cygwin
  2002-08-22  6:29 compiling Tk800.023-1 onto a windows 2000 system with cygwin Rob Philips
@ 2002-08-22  7:43 ` Gerrit P. Haase
  2002-08-22 12:48 ` Soren A
  1 sibling, 0 replies; 10+ messages in thread
From: Gerrit P. Haase @ 2002-08-22  7:43 UTC (permalink / raw)
  To: Rob Philips; +Cc: cygwin

Hallo Rob,

Am Donnerstag, 22. August 2002 um 12:15 schriebst du:

> Hello,


> while compiling Tk800.023-1 onto cygwin all seems to go fantastic but
> when i try to do a make install this is what i get :

Which version of perl do you use?
Where do you fetched the source?

> [Rophy]/cygdrive/c/cygwin/Tk800.023-1#make install
> cd pTk && make
> make[1]: Entering directory `/cygdrive/c/cygwin/Tk800.023-1/pTk'
> gcc -c -I.. -I../pTk/mTk/xlib -I. -Ibitmaps -I../pTk/mTk/xlib
> -DPERL_USE_SAFE_P TENV -fno-strict-aliasing -I/usr/local/include
> -DUSEIMPORTLIB -O2 -DVERSION=\800.023\" -DXS_VERSION=\"800.023\"
> -I/usr/lib/perl5/5.6.1/cygwin-multi/CORE -D_WIN32__ -D_WIN32 -DWIN32 -Wall
> -Wno-implicit-int -Wno-comment -Wno-unused -D__ SE_FIXED_PROTOTYPES__
> imgBMP.c
> In file included from tkPort.h:28,
>                  from tk.h:71,
>                  from imgBMP.c:11:
> tkWinPort.h:54: warning: `OPEN_MAX' redefined
> /usr/include/limits.h:143: warning: this is the location of the previous
> defini ion
> In file included from imgInt.h:14,
>                  from imgBMP.c:13:
> img.h:21: windows.h: No such file or directory
> make[1]: *** [imgBMP.o] Error 1
> make[1]: Leaving directory `/cygdrive/c/cygwin/Tk800.023-1/pTk'
> make: *** [pTk/libpTk.a] Error 2


> Dus anybody know how i can solve this problem???

Why don't you use the binary if using perl-5.6.1?
ftp://ftp.uni-erlangen.de/pub/pc/gnuwin32/cygwin/porters/Haase_Gerrit/1.3/perl/

and read the Tk800.023.README, thanks.


Gerrit
-- 
=^..^=


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: compiling Tk800.023-1 onto a windows 2000 system with cygwin
  2002-08-22  6:29 compiling Tk800.023-1 onto a windows 2000 system with cygwin Rob Philips
  2002-08-22  7:43 ` Gerrit P. Haase
@ 2002-08-22 12:48 ` Soren A
  2002-08-22 13:54   ` Soren A
  2002-08-22 13:59   ` Gerrit P. Haase
  1 sibling, 2 replies; 10+ messages in thread
From: Soren A @ 2002-08-22 12:48 UTC (permalink / raw)
  To: cygwin

"Rob Philips" <robby_philips@nl.ibm.com> wrote around 22 Aug 2002
news:OF1C167FDB.3428639C-ON41256C1D.0037F082@benelux.ibm.com about %s: 

> Hello,
> 
> 
> while compiling Tk800.023-1 onto cygwin all seems to go fantastic but
> when i try to do a make install
> this is what i get :
> 
> [Rophy]/cygdrive/c/cygwin/Tk800.023-1#make install
> cd pTk && make
> make[1]: Entering directory `/cygdrive/c/cygwin/Tk800.023-1/pTk'
> gcc -c -I.. -I../pTk/mTk/xlib -I. -Ibitmaps -I../pTk/mTk/xlib
> -DPERL_USE_SAFE_P
> TENV -fno-strict-aliasing -I/usr/local/include -DUSEIMPORTLIB -O2
> -DVERSION=\
> 800.023\" -DXS_VERSION=\"800.023\"
> -I/usr/lib/perl5/5.6.1/cygwin-multi/CORE -D
> _WIN32__ -D_WIN32 -DWIN32 -Wall -Wno-implicit-int -Wno-comment
> -Wno-unused -D__
> SE_FIXED_PROTOTYPES__ imgBMP.c
> In file included from tkPort.h:28,
>                  from tk.h:71,
>                  from imgBMP.c:11:
> tkWinPort.h:54: warning: `OPEN_MAX' redefined
> /usr/include/limits.h:143: warning: this is the location of the
> previous defini
> ion
> In file included from imgInt.h:14,
>                  from imgBMP.c:13:
> img.h:21: windows.h: No such file or directory
> make[1]: *** [imgBMP.o] Error 1
> make[1]: Leaving directory `/cygdrive/c/cygwin/Tk800.023-1/pTk'
> make: *** [pTk/libpTk.a] Error 2
> 
> 
> Dus anybody know how i can solve this problem???

No. If you want to build pTk from source, no quick fix or magic pill is
available. The only solution will come from slogging through, if you
have the fortitude and the time. 

The first thing to do if you are wanting to answer your own question is
to correctly describe the nature of the build error that's taken place.
You say that the build has gone fine until `make install' but what
you've dumped above clearly belies that. The warnings and error above
are not messages about an installation procedure failing but about
compilation failing. Specifically, "windows.h: no such file or
directory" is the show-stopper. So whatever it is you think you've
accomplished on previous invocations of `make <sometarget>', clearly the
'make' program doesn't think you have built the required targets and is
trying to satisfy dependencies by compiling things, and fails with an
error to find the basic <windows.h> header. 

That's a very fundamental trouble in your build configuration and until
you correct it you'll get no further; but beyond that, I think that if
you couldn't interpret the output of the process clearly enough to see
that for yourself, you are probably in way over your head and need to
back off and learn to port very simple software packages first before
attempting something as complex as the Perl extension to Tk. If you
decide to learn the old fashioned-way -- by actually learning instead of
asking for magic pills -- I have a piece of hard-won wisdom to convey to
you: *document* every step you take all along the way, carefully (learn
the 'patch' and 'diff' and 'cvs' programs and the customs of the trade
with regards to discussing the porting of software packages, take notes
and keep logs of screen dumps, etc), and decisively determine that
you'll try to present and share (in a clear and rigorous manner) the
results of your work with others when you are done (whether the results
are fully successful or not). Not only will this sort of effort provide
you with a better foundation for future projects you will undertake, but
you'll get more satisfaction out of it all at the end of the day, too.
And, I'll hazard to mention too that it will earn you 'timeslice merit'
with the busy and highly skilled experts that otherwise might not be
motivated to give you some of their valuable time -- after all, you have
to remember that you are asking help of people who are not paid to give
it or under any other sort of obligation to do so. 

I myself tried to build pTk not long ago and was also unsuccessful. 
Interested readers can view 'logs' and build configuration data in the form 
of generated Makefiles, etc. at the location:
   http://home.att.net/~perlspinr/browse_site.html
-- scroll down towards the bottom of the list of documents to see where the 
pTk stuff begins.

On a final note, one of the best ways to learn is to join a mailing
List that exists to support and discuss a certain software package and
lurk there for an extended period of time. Pay close attention to the
differing styles with which people post and notice which styles get the
most responsive feedback. The Cygwin List is *not* such a list (that
exists to support all phases of porting, using and extending a specific
discrete multiplatform software package like pTk); as a matter of fact,
surprise, pTk *does* have such a list. Maybe that would be a good place
to start. 

Good Luck,
    Soren A



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: compiling Tk800.023-1 onto a windows 2000 system with cygwin
  2002-08-22 12:48 ` Soren A
@ 2002-08-22 13:54   ` Soren A
  2002-08-22 18:42     ` Gerrit P. Haase
  2002-08-22 13:59   ` Gerrit P. Haase
  1 sibling, 1 reply; 10+ messages in thread
From: Soren A @ 2002-08-22 13:54 UTC (permalink / raw)
  To: cygwin

*I* Soren A <soren_andersen=97jfqw80gc6171pxa8y+qA@public.gmane.org> wrote
around 22 Aug 2002 (in news:Xns92728FDE965BAsoren1Gmane@80.91.224.249): 

> I myself tried to build pTk not long ago and was also unsuccessful.

Actually, I was successful. On a different machine at a different location. 
But was successful, got pTk built and installed.

> Interested readers can view 'logs' and build configuration data in the
> form of generated Makefiles, etc. at the location:
>    http://home.att.net/~perlspinr/browse_site.html
> -- scroll down towards the bottom of the list of documents to see
> where the pTk stuff begins.

Specifically you can view:
  http://home.att.net/~perlspinr/perlproj/pTk/index.html

  Regards,
    Soren



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: compiling Tk800.023-1 onto a windows 2000 system with cygwin
  2002-08-22 12:48 ` Soren A
  2002-08-22 13:54   ` Soren A
@ 2002-08-22 13:59   ` Gerrit P. Haase
  2002-08-22 15:25     ` Soren A
  1 sibling, 1 reply; 10+ messages in thread
From: Gerrit P. Haase @ 2002-08-22 13:59 UTC (permalink / raw)
  To: cygwin

Hallo Soren,

> I myself tried to build pTk not long ago and was also unsuccessful.

Copied from your website:
=========================
 All tests successful, 1 test skipped.
1047  Files=25, Tests=886, 246 wallclock secs (136.64 cusr + 66.28 csys = 202.92 CPU)


What is successful then in your terms?


Gerrit
-- 
perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: compiling Tk800.023-1 onto a windows 2000 system with cygwin
  2002-08-22 13:59   ` Gerrit P. Haase
@ 2002-08-22 15:25     ` Soren A
  0 siblings, 0 replies; 10+ messages in thread
From: Soren A @ 2002-08-22 15:25 UTC (permalink / raw)
  To: cygwin

"Gerrit P. Haase" <gp@familiehaase.de> wrote around 22 Aug 2002
news:155537404667.20020822222545@familiehaase.de: 

> Hallo Soren,
> 
>> I myself tried to build pTk not long ago and was also unsuccessful.
> 
> Copied from your website:
> =========================
>  All tests successful, 1 test skipped.
> 1047  Files=25, Tests=886, 246 wallclock secs (136.64 cusr + 66.28
> csys = 202.92 CPU) 
> 
> 
> What is successful then in your terms?

World Peace ;-).

Sorry for the mistake, Gerrit, I had just a few minutes ago posted a
self-correction. I haven't been able to build pTK successfuly on *this*
Win98 cygwin installation where I am today, but did using cygwin on
WinNT as documented on the site url we're looking at. I should always
read my own notes instead of relying on memory -- that's what they are
there for... ;-) 

   Soren A



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: compiling Tk800.023-1 onto a windows 2000 system with cygwin
  2002-08-22 13:54   ` Soren A
@ 2002-08-22 18:42     ` Gerrit P. Haase
  2002-08-22 19:25       ` Soren A
  0 siblings, 1 reply; 10+ messages in thread
From: Gerrit P. Haase @ 2002-08-22 18:42 UTC (permalink / raw)
  To: cygwin

Hallo Soren,

Am Donnerstag, 22. August 2002 um 22:13 schriebst du:

> *I* Soren A <soren_andersen=97jfqw80gc6171pxa8y+qA@public.gmane.org> wrote
> around 22 Aug 2002 (in news:Xns92728FDE965BAsoren1Gmane@80.91.224.249): 

>> I myself tried to build pTk not long ago and was also unsuccessful.

> Actually, I was successful. On a different machine at a different location. 
> But was successful, got pTk built and installed.

>> Interested readers can view 'logs' and build configuration data in the
>> form of generated Makefiles, etc. at the location:
>>    http://home.att.net/~perlspinr/browse_site.html
>> -- scroll down towards the bottom of the list of documents to see
>> where the pTk stuff begins.

> Specifically you can view:
>   http://home.att.net/~perlspinr/perlproj/pTk/index.html

I see.  Would you mind to share a copy of the patch you mentioned
there?


Gerrit
-- 
=^..^=


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: compiling Tk800.023-1 onto a windows 2000 system with cygwin
  2002-08-22 18:42     ` Gerrit P. Haase
@ 2002-08-22 19:25       ` Soren A
  2002-08-26 12:03         ` Soren A
  0 siblings, 1 reply; 10+ messages in thread
From: Soren A @ 2002-08-22 19:25 UTC (permalink / raw)
  To: cygwin

"Gerrit P. Haase" <gp@familiehaase.de> wrote around 22 Aug 2002 
news:180539467353.20020822230008@familiehaase.de:

>> Specifically you can view:
>>   http://home.att.net/~perlspinr/perlproj/pTk/index.html
> 
> I see.  Would you mind to share a copy of the patch you mentioned
> there?

Ahhhahh. Good catch Gerrit. Looking at it now, I find myself thinking
"why wouldn't the patch be there somewhere?" I know that it's because I
basically ran out of steam and figured I would come back and do it
sometimes later. BTW, I think I CC: you back then on my build problems. 

The story is that most of the diff between my sources and pristine are
work of another hacker and I found it on-line, in one of the more
obvious places (a perlTk mailing list archive or a ng -- no, it was the
perltK newsgroup, def.). A smaller part is additional alterations that I
found good to add to make the build happen or happen more
conveniently. It's a case of 3-way diff and I didn't have it set up to
do a diff generation right then on the spot. (and no I don't remember
the name of the "other hacker", sorry. it was something very Slavic I
believe).  

Unfortunately I cannot honor your request immediately because I find
(I've just been searching) that I don't have my sources here to generate
a patch from. At this time I don't have the financial fortune to own a
nice laptop or a dedicated line into the remote system where I do some
of my most productive work (at my girlfriend's apartment in another city
;-). The good news? is that I'll be down there in a couple of days and
then I can make the patch and upload. I'll get back to you on this at
that time. 

   Best Regards,
     Soren A



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: compiling Tk800.023-1 onto a windows 2000 system with cygwin
  2002-08-22 19:25       ` Soren A
@ 2002-08-26 12:03         ` Soren A
  2002-08-27 12:50           ` Gerrit P. Haase
  0 siblings, 1 reply; 10+ messages in thread
From: Soren A @ 2002-08-26 12:03 UTC (permalink / raw)
  To: cygwin

Soren A <soren_andersen=97jfqw80gc6171pxa8y+qA@public.gmane.org> wrote in 
news: Xns9272B8E26475Csoren1Gmane@80.91.224.249 :

> Unfortunately I cannot honor your request immediately because I find
> (I've just been searching) that I don't have my sources here to generate
> a patch from. I'll get back to you on this at that time.

Getting back to you now. Sorry for the delay -- did you have an
exceptionally nice weekend? :-) I did. Hope you weren't feeling
frustrated. I have made a patch for Tk-800.024 and it is now available
on my site: 

  http://home.att.net/~perlspinr/perlproj/pTk/

(directly at:)
  http://home.att.net/~perlspinr/diffs/Tk800_024_unofficial-patch.zip
(but I'd like people to use the Web page since I've bothered to provide
disclaimers and helpful explanation there ;-). 

  Best Regards,
      Soren A



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: compiling Tk800.023-1 onto a windows 2000 system with cygwin
  2002-08-26 12:03         ` Soren A
@ 2002-08-27 12:50           ` Gerrit P. Haase
  0 siblings, 0 replies; 10+ messages in thread
From: Gerrit P. Haase @ 2002-08-27 12:50 UTC (permalink / raw)
  To: cygwin; +Cc: Soren A

Hallo Soren,

> I have made a patch for Tk-800.024 and it is now available
> on my site: 

>   http://home.att.net/~perlspinr/perlproj/pTk/

> (directly at:)
>   http://home.att.net/~perlspinr/diffs/Tk800_024_unofficial-patch.zip
> (but I'd like people to use the Web page since I've bothered to provide
> disclaimers and helpful explanation there ;-). 

Hmm, looks good.  Your patch is ok for inclusion.  If I succeed to build
and the tests run ok I'll ask N-IS to include it in pTk.


Gerrit
-- 
=^..^=


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2002-08-27 12:50 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-22  6:29 compiling Tk800.023-1 onto a windows 2000 system with cygwin Rob Philips
2002-08-22  7:43 ` Gerrit P. Haase
2002-08-22 12:48 ` Soren A
2002-08-22 13:54   ` Soren A
2002-08-22 18:42     ` Gerrit P. Haase
2002-08-22 19:25       ` Soren A
2002-08-26 12:03         ` Soren A
2002-08-27 12:50           ` Gerrit P. Haase
2002-08-22 13:59   ` Gerrit P. Haase
2002-08-22 15:25     ` Soren A

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).