This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problem with X headers on cygwin-xfree?


I downloaded the Tk perl module via cpan and run make. After quite a long run, I
get a fatal error that looks like it is from one or more missing headers in the X library.


Builds fine on my linux system.

Error text:
/bin/perl.exe /usr/lib/perl5/5.8.2/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.
2/ExtUtils/typemap -typemap //ishtar/share/CPAN/build-win/Tk-804.025_beta14/Tk/t
ypemap Xlib.xs > Xlib.xsc && mv Xlib.xsc Xlib.c
gcc -c -I.. -I../pTk/mTk/xlib -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -DUSE
IMPORTLIB -O2 -DVERSION=\"804.025\" -DXS_VERSION=\"804.025\" "-I/usr/lib/perl
5/5.8.2/cygwin-thread-multi-64int/CORE" -D__WIN32__ -D_WIN32 -Wall -Wno-implici
t-int -Wno-comment -Wno-unused -D__USE_FIXED_PROTOTYPES__ Xlib.c
Xlib.xs:13: error: syntax error before '*' token
Xlib.xs:13: warning: data definition has no type or storage class
Xlib.xs: In function `boot_Tk__Xlib':
Xlib.xs:378: warning: cast to pointer from integer of different size
Xlib.xs:378: warning: cast to pointer from integer of different size
Xlib.xs:378: warning: cast to pointer from integer of different size
Xlib.xs:378: warning: cast to pointer from integer of different size
Xlib.xs:378: warning: cast to pointer from integer of different size
Xlib.xs:378: warning: cast to pointer from integer of different size
Xlib.xs:378: warning: cast to pointer from integer of different size
Xlib.xs:378: warning: cast to pointer from integer of different size
Xlib.xs:378: warning: cast to pointer from integer of different size
Xlib.xs:378: error: `XlibVtab' undeclared (first use in this function)
Xlib.xs:378: error: (Each undeclared identifier is reported only once
Xlib.xs:378: error: for each function it appears in.)
Xlib.xs:378: error: syntax error before ')' token
make[1]: *** [Xlib.o] Error 1
make[1]: Leaving directory `//ishtar/share/CPAN/build-win/Tk-804.025_beta14/Xlib
'
make: *** [subdirs] Error 2
/usr/bin/make -- NOT OK
---------


I asked on main list if anyone had successfully built Tk under
Cygwin...no responses.

I also ran it by the perl-modules list, but since it builds ok
on non-cygwin platforms, that wasn't helpful either.

If someone else has perl/cpan configed under cygwin, could you
try dnloading Tk and doing a make and see if it works?

Thanks much for any help...
Linda

   In the marketplace of "Real goods", capitalism is limited by safety
   regulations, consumer protection laws, and product liability.  In
   the computer industry, what protects the consumer?



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