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]

Antwort: RE: Problems building PerlTK on cygwin


Hi List!

Thank you Charles for your hints. I've tried to do it like you with the 
older version but the only result I've got is another Error Message:

Tk.o(.text+0x187):Tk.c: undefined reference to `_XTranslateCoordinates'
Tk.o(.text+0x29fd):Tk.c: undefined reference to `_XSynchronize'
Tk.o(.text+0x5308):Tk.c: undefined reference to `_XTranslateCoordinates'
Tk.o(.text+0x5f77):Tk.c: undefined reference to `_XSendEvent'
Tk.o(.text+0x5f92):Tk.c: undefined reference to `_XSync'
Tk.o(.text+0x634d):Tk.c: undefined reference to `_XSync'
Tk.o(.text+0x9c65):Tk.c: undefined reference to `_XRaiseWindow'
tkGlue.o(.text+0x1405):tkGlue.c: undefined reference to `_XSync'
pTk/libpTk.a(tkFont.o)(.text+0x14f8):tkFont.c: undefined reference to 
`_XFillRectangle'
pTk/libpTk.a(tkFont.o)(.text+0x1ece):tkFont.c: undefined reference to 
`_XFillRectangle'
pTk/libpTk.a(tkUnixWm.o)(.text+0x2b8):tkUnixWm.c: undefined reference to 
`_XStringListToTextProperty'
pTk/libpTk.a(tkUnixWm.o)(.text+0x397):tkUnixWm.c: undefined reference to 
`_XMapWindow'
pTk/libpTk.a(tkUnixWm.o)(.text+0x3e7):tkUnixWm.c: undefined reference to 
`_XStringListToTextProperty'
pTk/libpTk.a(tkUnixWm.o)(.text+0x407):tkUnixWm.c: undefined reference to 
`_XSetWMClientMachine'
pTk/libpTk.a(tkUnixWm.o)(.text+0x412):tkUnixWm.c: undefined reference to 
`_XFree'
pTk/libpTk.a(tkUnixWm.o)(.text+0x444):tkUnixWm.c: undefined reference to 
`_XSetCommand'
pTk/libpTk.a(tkUnixWm.o)(.text+0x464):tkUnixWm.c: undefined reference to 
`_XSetTransientForHint'
pTk/libpTk.a(tkUnixWm.o)(.text+0x484):tkUnixWm.c: undefined reference to 
`_XSetIconName'
pTk/libpTk.a(tkUnixWm.o)(.text+0x4a4):tkUnixWm.c: undefined reference to 
`_XSetWMName'
pTk/libpTk.a(tkUnixWm.o)(.text+0x4af):tkUnixWm.c: undefined reference to 
`_XFree'
pTk/libpTk.a(tkUnixWm.o)(.text+0x4f2):tkUnixWm.c: undefined reference to 
`_XUnmapWindow'
pTk/libpTk.a(tkUnixWm.o)(.text+0x768):tkUnixWm.c: undefined reference to 
`_XUnmapWindow'
pTk/libpTk.a(tkUnixWm.o)(.text+0x779):tkUnixWm.c: undefined reference to 
`_XRootWindow'
pTk/libpTk.a(tkUnixWm.o)(.text+0x79a):tkUnixWm.c: undefined reference to 
`_XReparentWindow'
pTk/libpTk.a(tkUnixWm.o)(.text+0x8f1):tkUnixWm.c: undefined reference to 
`_XAllocClassHint'
pTk/libpTk.a(tkUnixWm.o)(.text+0x91c):tkUnixWm.c: undefined reference to 
`_XSetClassHint'
pTk/libpTk.a(tkUnixWm.o)(.text+0xbfc):tkUnixWm.c: undefined reference to 
`_XWithdrawWindow'
pTk/libpTk.a(tkUnixWm.o)(.text+0xe1c):tkUnixWm.c: undefined reference to 
`_XStringListToTextProperty'
pTk/libpTk.a(tkUnixWm.o)(.text+0xe48):tkUnixWm.c: undefined reference to 
`_XSetWMName'
pTk/libpTk.a(tkUnixWm.o)(.text+0xe56):tkUnixWm.c: undefined reference to 
`_XFree'
pTk/libpTk.a(tkUnixWm.o)(.text+0xfbb):tkUnixWm.c: undefined reference to 
`_XSetTransientForHint'
pTk/libpTk.a(tkUnixWm.o)(.text+0x25a4):tkUnixWm.c: undefined reference to 
`_XIconifyWindow'
pTk/libpTk.a(tkUnixWm.o)(.text+0x28f6):tkUnixWm.c: undefined reference to 
`_XSetIconName'
pTk/libpTk.a(tkUnixWm.o)(.text+0x2ce5):tkUnixWm.c: undefined reference to 
`_XWithdrawWindow'
.
.
.


Thats not the whole list of Errors. Is is very long! 
Whats now the missing thing or what did I wrong?

Thank you,
Markus





Charles Plager <cplager+cygwin@physics.ucla.edu> 
Gesendet von: cygwin-xfree-owner@cygwin.com
05.10.2004 14:43
Bitte antworten an
cygwin-xfree@cygwin.com


An
cygwin-xfree@cygwin.com
Kopie

Thema
RE: Problems building PerlTK on cygwin






Markus Jung wrote:
> Hi List!
> Please can anyone help me with the following error during the make of 
> PerlTK. I'm using cygwin/x-free on an windows XP box with WindowMaker.
> I've downloaded the PerlTK-Sources from CPAN. Is there a problem with 
this 
> sources on cygwin. Does anyone know about a cygwin package for PerlTK?
> 

I've built and use Tk 800.024 (I haven't tried 804.027, the latest) that 
uses X-windows.  I've never tried the windows-specific version.

Here's what I did:
* From http://search.cpan.org/~ni-s/Tk-800.024/ download and unzip 
Tk-800.024

* cygwin> perl Makefile.PL x
                            ^ tells it to use X-windows

You could try 'perl Makefile.PL' if you want to try without (all this is 
mentioned in the README.cygwin)

* cygwin> make

* cygwin> make install

* cygwin>

Since I had an older version of perl, I also need to:
cygwin> cd /usr/X11R6/lib
cygwin> ln -s libX11.dll.a libX11.a

BEFORE I built TK.  Gerrit P. Haase says that this issue has been fixed 
with perl-5.8.5 for Cygwin (I haven't checked).

                 Good luck,
                   Charles





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