Re: Hat on Cygwin
Andy Fugard <[email protected]>
| Newsgroups | gmane.comp.lang.haskell.hat |
|---|---|
| Message-ID | <[email protected]> |
Malcolm Wallace wrote: > Andy Fugard <[email protected]> writes: > > >>Currently having fun trying to install Hat on Cygwin. So far I have got >>hmake and glib built okay. However on trying to do a "make" on hat, I >>get the result attached at the bottom. The problem /seems/ to be with glib. >> >>ghc -fglasgow-exts -package lang -package util -o HatTrail *.o >> -L/usr/local/lib -lglib >>c:\ghc\ghc-5.04.3\gcc-lib\ld.exe: cannot find -lglib > > > OK, the symptom of the problem is that 'glib' has installed itself in > a Cygwin directory /usr/local/lib but ghc necessarily interprets > the directory flag as windows-absolute, rather than relative to the > Cygwin home. Patch applied; now it gives c:\ghc\ghc-5.04.3\bin\ghc.exe: file `c:/cygwin/usr/local/lib' does not exist make[1]: *** [c:/cygwin/home/Andy/hat-2.02/lib/ix86-CYGWIN_NT-5.1/hat-trail] Err or 1 make[1]: Leaving directory `/home/Andy/hat-2.02/src/hattools' make: *** [targets/ix86-CYGWIN_NT-5.1/hat-tools-ghc] Error 2 Perhaps just a problem with the / instead of \ ? C:\cygwin\usr\local\lib does exist ok. Not sure yet what to hack to fix it... Andy