Re: [NTG-context] luatex not compiling
I looked somewhat further and found out the curious fact that on MacOSX 10.5.x both /usr/include/signal.h and /usr/include/sys/signal.h exist! The first one does not include the second one, neither does one of the includes: #ifndef _USER_SIGNAL_H #define _USER_SIGNAL_H #include sys/cdefs.h #include _types.h As for changing the discussion to the luatex developer list as suggested by some: my capacity for subscribing list is limited -- capacity in the sense of what I can manage. Putting my observations on the compiler problem with luatex on this list was purely to help others. I hope one will permit me to keep doing so. Hans van der Meer On 21 dec 2007, at 11:50, Martin Schröder wrote: 2007/12/20, Hans van der Meer [EMAIL PROTECTED]: Probably changing the code into: #include signal.h #ifndef _SIGNAL_H_ #include sys/signal.h #endif might help, but I have not tested this (some of the pie should be left for Taco c.s. ;-) Just curious: What does the man page of signal.h say how to include it on OSX? On linux it's signal.h ... Best Martin ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] luatex not compiling
Hans van der Meer wrote: I looked somewhat further and found out the curious fact that on MacOSX 10.5.x both /usr/include/signal.h and /usr/include/sys/signal.h exist! That is normal, signals have a portable interface, as defined in ISO C99. That is the interface provided in /usr/include/signal.h. It is also possible to have a system-dependant interface, and that is in /usr/include/sys/signal.h. On linux, this is a stub that simply includes /usr/include/signal.h. So the question is: does /usr/include/sys/signal.h include something important on Mac OS X 10.5 that it didn't in previous versions, or is something else changed? The only macbook I have runs 10.2, so I have no way of testing any of this myself. Best wishes, Taco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] luatex not compiling
2007/12/20, Hans van der Meer [EMAIL PROTECTED]: Probably changing the code into: #include signal.h #ifndef _SIGNAL_H_ #include sys/signal.h #endif might help, but I have not tested this (some of the pie should be left for Taco c.s. ;-) Just curious: What does the man page of signal.h say how to include it on OSX? On linux it's signal.h ... Best Martin ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] luatex not compiling
Hi guys, On Fri, 21 Dec 2007 03:50:04 -0700, Martin Schröder [EMAIL PROTECTED] wrote: 2007/12/20, Hans van der Meer [EMAIL PROTECTED]: Probably changing the code into: #include signal.h #ifndef _SIGNAL_H_ #include sys/signal.h #endif might help, but I have not tested this (some of the pie should be left for Taco c.s. ;-) Just curious: What does the man page of signal.h say how to include it on OSX? On linux it's signal.h ... Should'nt this discssion go to the dev-luatex list? :-) Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] luatex not compiling
Idris Samawi Hamid wrote: Hi guys, On Fri, 21 Dec 2007 03:50:04 -0700, Martin Schröder [EMAIL PROTECTED] wrote: 2007/12/20, Hans van der Meer [EMAIL PROTECTED]: Probably changing the code into: #include signal.h #ifndef _SIGNAL_H_ #include sys/signal.h #endif might help, but I have not tested this (some of the pie should be left for Taco c.s. ;-) Just curious: What does the man page of signal.h say how to include it on OSX? On linux it's signal.h ... Should'nt this discssion go to the dev-luatex list? :-) But did not CC the list himself. :-) This: http://www.hmug.org/man/2/sigaltstack.php looks like a Mac OS X manual page. However, Thomas reported that using stack_t (as the man page says) did not actually help either. I do not have a recent Macintosh, so I can not test this. If this issue can not be resolved, I will simply remove the signal trapping code in the next beta. Best wishes, Taco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] luatex not compiling
Should'nt this discssion go to the dev-luatex list? :-) I think no, at least not now. Luatex is actually very 'tangled' with context mkiv and context users . -- luigi http://wiki.contextgarden.net/User:Luigi.scarso/Merry_Christmas_2007 it's new . it's powerful . it's luatex . http://www.luatex.org ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] luatex not compiling
There appears to be a problem with the compilation of luatex on MacOSX 10.5.x, but I might have found (at least one of) the cause. On my system (MacOSX10.5.1) complation halted with: luatexextra.c:408 error: storage size of 'sigstk' isn't known. Further exploring showed the cause of this: SIGSTKSZ is not defined. As it turns out SIGSTKSZ is defined in signal.h and in luatexextra.c read with #include signal.h, assuming signal.h resides in /usr/include/signal.h. That however, is not the case on this version of MacOSX: it sits in / usr/include/sys/signal.h. Probably changing the code into: #include signal.h #ifndef _SIGNAL_H_ #include sys/signal.h #endif might help, but I have not tested this (some of the pie should be left for Taco c.s. ;-) Hans van der Meer ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___