سؤال

لقد جمعت TCL / TK في طلبي.عندما أفتح طلبي، أحصل على نافذة (بسبب TK_INIT) التي يمكنني التعامل معها: giveacodicetagpre.

ولكن عندما أحاول زر أو أي من الحاجيات الأخرى هو Segfaults giveacodicetagpre.

قمت بتحميل هذا في GDB وركض تتبع الظهر giveacodicetagpre.

أعتقد أن هناك بعض المشاكل في الخطوط.أي فكرة لإصلاح هذا؟

تحرير 1 (apr 01 2011): giveacodicetagpre.

تحرير 2 (04 أبريل 2011) giveacodicetagpre.

هل كانت مفيدة؟

المحلول

You asked this question on comp.lang.tcl, and the workaround is to specify --disable-xft when configuring Tk.

I suspect that the real cause is a failure to link an XML parser, which was reported as being a potential issue on some recent versions of Linux due to a system change to the way that transitive dependencies are processed. (I forget which vendor is responsible; I wasn't paying that much attention to the developer discussion where this was thrashed out recently.) Can you report what ldd reports for the Tk library (without the workaround) and what exact OS you're building on? Also, exactly which version of Tk are you trying to build against? Also note that it is enormously more helpful to use the --enable-symbols configure option to Tcl and Tk when tracing down a problem, as that lets you get better information in stack traces.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top