Mac OS X Leopard - GHC workaround for missing '_environ' symbol

Posted by igor Mon, 21 Jul 2008 16:01:00 GMT

If you managed to compile the latest darcs version of GHC (6.9.20080720 in my case) on Mac OS X Leopard, then there is a good chance that you ran into the following problem. I have opened a ticket with a solution proposal.

It’s not the cleanest solution but it works. Good luck!

Howard Zinn about Nationalism

Posted by igor Fri, 18 Jul 2008 10:47:00 GMT

I would like to point out the following article by Howard Zinn published a while ago on www.alternet.org. Although it has been a year since it was published the topic is still current and deserves attention.

American Dream

Posted by igor Sun, 06 Jul 2008 17:53:00 GMT

There is new movie coming out called the American Dream. It looks very interesting and features interviews with people like Howard Zinn and Danny Glover.

The movie webpage also features a very interesting trailer and teaser as well as a quite shocking ‘Facts’ page.

HBURG 1.1.2 Released

Posted by igor Thu, 26 Jun 2008 19:15:00 GMT

After loads of refactoring work a new version of HBURG has been released. If you have cabal install you can easily get it by executing the following commands:

 $ cabal update
 $ cabal install hburg

Of course you can also use the instructions provided here.

Notable changes:

  • Completely refactored back-end
  • Automated integration tests via Test.hs. Execute tests by running:
 $ runghc Test.hs clean configure build test
  • The example Java compiler that demonstrates HBURGs usage has also been revised and updated. See HBURGs homepage for more information on the example compiler.

I am actively working on a C# back-end so you can use HBURG to generate a code generator for a compiler written in C#. This should come in handy for the advanced compiler course at the SSW.

Repair Time Machine after Migration to New Mac

Posted by igor Mon, 19 May 2008 08:42:00 GMT

Time Machine associates backups with the MAC address of your computer. Thus if you migrate your Time Machine backup to a new Mac Computer, you can’t resume backups where you left off. The following article should help to remedy the problem.

On-line petition against U.S. military base in Czech Republic

Posted by igor Mon, 05 May 2008 08:54:00 GMT

Please do read the following article: You may want to take part in the following online petition:

Crazy Patent Claims

Posted by igor Tue, 19 Feb 2008 08:11:00 GMT

My dad discovered the following patent claim. Compare this with my diploma thesis. Does that ring a bell ;-)

My First Book

Posted by igor Mon, 18 Feb 2008 23:35:00 GMT

My diploma thesis has been published as book.

Amongst many other bookstores I found these quite cool:

Hiring a President

Posted by igor Tue, 05 Feb 2008 08:44:00 GMT

Another delightful essay by Peter Norvig about the elections in the US.

Build Darcs with GHC 6.8.1

Posted by igor Thu, 22 Nov 2007 14:25:00 GMT

Download stable or pre-release darcs source distribution. You need to edit two files, namely aclocal.m4 and autoconf.mk:

  • aclocal.m4: add the following before the AC_MSG_RESULT([failed]) line in the WORKAROUND_openFd section:
AC_MSG_RESULT([okay])
IMPORT_WORKAROUND([
   import qualified GHC.Handle ( fdToHandle' )
   import System.IO ( Handle, IOMode )
   import System.Posix.Internals ( FDType )
   import qualified GHC.IOBase ( FD )
])
CODE_WORKAROUND([[
  {- 
   Work around change in the GHC.Handle.fdToHandle' API.
  -}
openFd :: GHC.IOBase.FD -> Maybe FDType -> FilePath -> IOMode -> Bool -> Bool -> IO Handle
openFd fd x y z a b = GHC.Handle.fdToHandle' fd x b y z a
]]),
  • autoconf.mk: add -package containers to GHCFLAGS
  • run autoconf

Now you are ready and set to build darcs with GHC 6.8.1. The unstable darcs branch works out of the box with GHC 6.8.1.

Older posts: 1 2 3 4 5 6 ... 17