Skip to main content

Compiled HTK and Cxterm on Mac OS X 10.3 (Panther)

HTK:

Follow http://htk.eng.cam.ac.uk/docs/faq.shtml "How can I compile HTK 3.2 on Mac OS X". One trick missing:

in the HTKLib folder, open the strarr.c source and change
 #include <malloc.h> 
into
 #include <malloc/malloc.h> 
Cause in Panther (also FreeBSD?), malloc.h is in /usr/include/malloc/.

Cxterm:

Change
 int initgroups(const char *, gid_t) 
into
 int initgroups(const char *, int) 
cause that's the prototype in Panther(also FreeBSD?).

Feels good.

Comments

Popular posts from this blog

天国之秋

Book review: “Autumn in the Heavenly Kingdom: China, the West, and the Epic Story of the Taiping Civil War" by Stephen R. Platt 秋天有两种:一种是丰收喜悦之秋,一种是伤感可悲之秋。太平天国之秋,毫无疑问是第二种。 《天国之秋》改变了很多我对于太平天国的认识和评价。作者一上来就对太平天国运动的性质作了一个中肯的评价,认为西方史学界长期以来称之为“太平叛乱”,以及中国史学界以太平天国为原始共产主义而称之为“太平革命”或“太平起义”,都失之偏颇。唯一恰当的称谓,当为“太平内战”。 ("The Taiping were indeed rebels, but to call the entire war the Taiping Rebellion is to cast the rebels forever in the wrong, and to blame on them for defying their legitimate rulers and destroying what one might surmise was otherwise a peaceful and stable empire." "...just as it is unfair to suggest that the Taiping were solely responsible for the devastation of the war, it is likewise an exaggeration to claim they were building some kind of peasant utopia.") 作为西方人写中国史,作者不可避免地更关心西方历史与这段中国历史的联系。全书令人信服地论证了,发生在十九世纪中国的太平内战,已经不再是一个孤立的事件,而是跟欧洲和美国历史有实质性的联系。简而言之,因为美国内战导致大英帝国在美国的贸易锐减,英国害怕同时因为中国内战而失去另一个巨大的贸易伙伴,而违背一贯的中立政策,干预了中国内战。虽然直接干预并不多,而且政策还有反复,却鬼使神差地影响了

Jacky Cheung Rocked Atlantic City, Again: Photos

As promised, I gave you some photos from my concert-going Atlantic City trip. Jacky Cheung Concert Poster Originally uploaded by yisu1979 This was the official poster for this encore show. I got it from the organizer's website . In case you don't speak Chinese, the words above read, "By popular demand, the King of Cantonpop returns with honor." Sounds a little cheesy in English, huh? Well, there's always something lost in translation. Trump Taj Mahal Originally uploaded by yisu1979 The concert was held in the Arena in the Trump Taj Mahal Casino Resort , a decent place for this kind of concerts. Taj Mahal Casino Originally uploaded by yisu1979 If you haven't seen a casino before, here it is. (And you've seen all of them.) Chandelier Originally uploaded by yisu1979 Taj Mahal is richly decorated. It tries to pitch itself as a better or higher-end casino than others. (So they can charge you more.) T-shirts Orig

US Open '06 - II

Rafael Nadal Originally uploaded by nuance1979 . We then went to the Louis Armstrong Stadium, a cozier place to watch two of my favorite players: the passionate, vigorous Rafael Nadal and the masterful, unbelievable Roger Federer . Federer Serving Originally uploaded by nuance1979 . While Nadal surprisingly lost to the underdog Mikhail Youzhny, Federer bearly broke a sweat in winning his opponent Marc Gicquel. You could feel (and hear) Nadal was fighting on the court but Federer, he looked almost bored: Winning was such a chore. I had no doubt he would win this US Open.