first project on OS X

Tim Sears tim at
Fri Sep 18 14:37:11 EDT 2009

Thanks for your reply Jürgen. Not the final answer. I got past that  
config error.  What happened was that I had somehow put in junk2/src  
in Build Info pane. I changed it to src and it worked. Now it is clear  
that junk2 is assumed to be at the top of the file hierarchy.

Next issue is the linking fails as follows:

Preprocessing executables for junk2-0.0.0...
Building junk2-0.0.0...
[1 of 1] Compiling Main             ( src/Main.hs, dist/build/junk2/ 
junk2-tmp/Main.o )
Linking dist/build/junk2/junk2 ...
ld: framework not found -L/Library/Frameworks/GHC.framework/Versions/ 
collect2: ld returned 1 exit status

The directory mentioned in the -L option does exist on my system. In  
the shell I can successfully compile the one-liner Main.hs with or  
without the  -L flag. I am not sure how get the log window to show me  
everything leksah is invoking. That might provide a clue. Or maybe  
someone has seen this error before? Googling, I find a collect2 error  
usually means the system can't find the right compiled library, so  
possibly some path issue.


On Sep 18, 2009, at 1:46 PM, Jürgen Nicklisch-Franken wrote:

> Hello Tim,
> And the final answer is: ...
> who knows.
> Please add your .cabal and .hs project files so we can see what  
> happens.
> (This is not a Leksah specific error message).
> Jürgen
> Am Donnerstag, den 17.09.2009, 15:31 -0400 schrieb Tim Sears:
>> I successfully installed and started leksah (yea!).
>> Working through the very first example in the tutorial (using junk2  
>> as
>> my package name), I get this error in the configure stage:
>> "Setup: Package junk2-0.0.0 can't be built on this system".  I hope
>> that's not the final answer!
>> -Tim
>> _______________________________________________
>> Leksah mailing list
>> Leksah at

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Leksah mailing list