This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Perl/Tk


Good afternoon,

While I am not a novice programmer and am not new to cygwin, I am not very
familiar with poking around an OS.  I write code to do stuff with DNA.  That
being said, are there any hints I could get before trying hard to install
the Perl/Tk module under Cygwin?  Initial attempts failed with a bunch of
headers not being found, and before I roll up my sleeves, is there something
obvious I am missing?  

perl Makefile.PL worked fine.
The failure message from "make" is pasted at the end of the email.

But I think it's more than a missing header file. I think 'Makefile' thinks
it's in a Windows environment, not X.  As I said, I'm a bit out of my depth,
being more used to command-line Unix as a programming environment.

I have the latest Cygwin, cygipc, Charles Wilson's Perl port, and have
Cygwin's X package installed (and working).

I have checked the FAQs both here and on comp.lang.perl.tk.

cheers,
John

<- snip

gcc -c -I.. -I/usr/X11R6/include -I. -Ibitmaps -I/usr/X11R6/include
-fno-strict-
aliasing -I/usr/local/include -DUSEIMPORTLIB -O     -DVERSION=\"800.022\"
-DXS_V
ERSION=\"800.022\"  -I/usr/local/lib/perl5/5.6.0/cygwin/CORE  -Wall
-Wno-implici
t-int -Wno-comment -Wno-unused -D__USE_FIXED_PROTOTYPES__ Xlib_f.c
In file included from Xlib_f.c:1:
tkPort.h:28: tkWinPort.h: No such file or directory
make[1]: *** [Xlib_f.o] Error 1
make[1]: Leaving directory `/opt/to_install/perl_modules/Tk800.022/pTk'
make: *** [pTk/libpTk.a] Error 2


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]