From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/40894 Path: news.gmane.org!not-for-mail From: "Thomas A. Schmitz" Newsgroups: gmane.comp.tex.context Subject: Re: MetaPost 1.004 announcement Date: Sun, 4 May 2008 18:04:08 +0200 Message-ID: <7BF44AA2-8E00-4670-BCD0-DE4CD4F43E9A@uni-bonn.de> References: <48198C57.4000304@elvenkind.com> <38CDD53B-7378-4822-AC01-998C0DF2B595@uni-bonn.de> <481D7601.9000703@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v919.2) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1209917164 27416 80.91.229.12 (4 May 2008 16:06:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 4 May 2008 16:06:04 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun May 04 18:06:38 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1JsgjM-0007N6-Rm for gctc-ntg-context-518@m.gmane.org; Sun, 04 May 2008 18:06:28 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3A5741FC51; Sun, 4 May 2008 18:05:35 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07013-03-11; Sun, 4 May 2008 18:04:51 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3E9A31FC14; Sun, 4 May 2008 18:04:51 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BB1E41FC21 for ; Sun, 4 May 2008 18:04:49 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07905-02-4 for ; Sun, 4 May 2008 18:04:15 +0200 (CEST) Original-Received: from mailout02.t-online.de (mailout02.t-online.de [194.25.134.17]) by ronja.ntg.nl (Postfix) with ESMTP id 7E1D41FB60 for ; Sun, 4 May 2008 18:04:14 +0200 (CEST) Original-Received: from fwd29.aul.t-online.de by mailout02.sul.t-online.de with smtp id 1JsghB-00069H-02; Sun, 04 May 2008 18:04:13 +0200 Original-Received: from [192.168.0.2] (Xj9boyZJrhniTGFNlQiquhPTl-SKMS86cequI3wWquBt7xRJCeWwaAtHWbjjWDCQqU@[87.178.96.104]) by fwd29.aul.t-online.de with esmtp id 1Jsgh7-1odj6G0; Sun, 4 May 2008 18:04:09 +0200 In-Reply-To: <481D7601.9000703@elvenkind.com> X-Mailer: Apple Mail (2.919.2) X-ID: Xj9boyZJrhniTGFNlQiquhPTl-SKMS86cequI3wWquBt7xRJCeWwaAtHWbjjWDCQqU@t-dialin.net X-TOI-MSGID: 1cb7c233-b8de-4a11-8f44-e47a1a6a798e X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:40894 Archived-At: On May 4, 2008, at 10:38 AM, Taco Hoekwater wrote: > Thomas A. Schmitz wrote: >> >> I have two questions/problems with the new release: >> >> 1. for my linux box, I just grabbed the linux tarball, but the >> binaries in there still declare they're version 1.003. Is that an >> oversight, or are those indeed old binaries (and you forgot to pack >> the new ones? :-) > > Answered by Peter and Luigi. I 've fixed the repository versions > of texmfmp.c, and will probably update the tarballs tomorrow > (I also have to add that mpboxes.pdf) Thanks, Taco. > > >> 2. On OS X 10.5 (intel), compilation aborts with this message: > > This is the same problem Hans van der Meer ran into with MPlib > a while back. Somehow configure fails to notice that OS X 10.5 > has standard C headers just like any other Unix. > > If you look at the configure output, it will say somewhere in > the middle: > > checking for ANSI C header files... no > > The build error is a result of that. Hans van der Meer came up > with the following answer (but I have *no* idea how to implement): > >> Eureka! I think I found it (took a lot of experimentation). >> >> Playing with the optimizing options through CFLAGS and setting the >> architecture to the G4 status of my Mac Powerbook, miraculously >> Metafont1.002 did compile under MacOSX10.5. Experimentally I then >> established that the architecture should be specified on the gcc call >> in order to have the proper ANSI headers found; without these >> compilation will get stuck. >> >> The options that I think relevant are (both CFLAGS and CXXFLAGS >> should be set): >> >> 1. general architecture specification: CFLAGS -arch ppc (for >> powerpc) CFLAGS -arch ppc64 (for the new 64bit binaries on >> powerpc) CFLAGS -arch i386 (for intel) I did not check the ppc64 >> (not needed) and i386 (not having one) options. >> >> 2. more specific architecture specification affecting instruction set >> and scheduling if one wants to tune the generated code to ones >> processor: CFLAGS -mcpu=G4 (-mcpu=G5 etc. whichever ones machine has) >> >> >> It would be most natural, I think, if the -arch switch is added >> standard through the autoconf scripts. Taco could see to that for >> metapost and luatex, I trust. Can someone mail this experience to the >> maintainers of pdftex? (I could not ascertain why pdftex compiles >> without problems). >> >> Hans van der Meer > > Best wishes, > Taco Thanks again. I simply issued export CFLAGS="-arch i386" and could compile without problems. Thanks, and best wishes Thomas ___________________________________________________________________________________ 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 ___________________________________________________________________________________