Re: 6.4.2.20060411 under solaris

2006-04-19 Thread Christian Maeder
Simon Marlow wrote: Christian Maeder wrote: A further problem occured when installing my binary distribution. The installed file "bin/ghc" (and bin/ghci) did not have the mini-driver, but only the settings up to DEFAULT_TMPDIR. Did you have BIN_DIST=1 in your build.mk from the beginning? Ye

Re: 6.4.2.20060411 under solaris

2006-04-19 Thread Simon Marlow
Christian Maeder wrote: Simon Marlow wrote: I'm rolling and uploading the 6.4.2 bits now, and this patch didn't make it in, sorry. We can put together a patchset for building on Solaris and make it available separately. Can you send me a working patch? Did the DriverState patch I posted ea

Re: 6.4.2.20060411 under solaris

2006-04-18 Thread Christian Maeder
Simon Marlow wrote: I'm rolling and uploading the 6.4.2 bits now, and this patch didn't make it in, sorry. We can put together a patchset for building on Solaris and make it available separately. Can you send me a working patch? Did the DriverState patch I posted earlier work? I've integra

Re: 6.4.2.20060411 under solaris

2006-04-18 Thread Simon Marlow
Christian Maeder wrote: Simon Marlow wrote: This bit of Makefile code is possibly going wrong for you: -include $(shell echo $(ProjectDirectory) | tr A-Z a-z)/mk/config.mk -include $(shell echo $(ProjectDirectory) | tr A-Z a-z)/mk/version.mk you're right! Try this instead: $ make

Re: 6.4.2.20060411 under solaris

2006-04-18 Thread Christian Maeder
Volker Stolz wrote: venus [14:45:44]> echo foo | tr a-z A-Z foo venus [14:46:11]> echo foo | tr [a-z] [A-Z] FOO [..] Maybe it's safe to switch to the bracketed version these days... This also works fine on Linnix and FreeBSD. Finding the correct 'tr' on Solaris is probably more tedious. the b

Re: 6.4.2.20060411 under solaris

2006-04-18 Thread Christian Maeder
Simon Marlow wrote: This bit of Makefile code is possibly going wrong for you: -include $(shell echo $(ProjectDirectory) | tr A-Z a-z)/mk/config.mk -include $(shell echo $(ProjectDirectory) | tr A-Z a-z)/mk/version.mk you're right! Try this instead: $ make Project=Ghc ProjectDirecto

Re: 6.4.2.20060411 under solaris

2006-04-18 Thread Volker Stolz
* Simon Marlow <[EMAIL PROTECTED]>: > This bit of Makefile code is possibly going wrong for you: > > -include $(shell echo $(ProjectDirectory) | tr A-Z a-z)/mk/config.mk > -include $(shell echo $(ProjectDirectory) | tr A-Z a-z)/mk/version.mk > > Try this instead: > >$ make Project=Ghc P

Re: 6.4.2.20060411 under solaris

2006-04-18 Thread Simon Marlow
Christian Maeder wrote: Simon Marlow wrote: GhcBinDistDirs is set by ghc/mk/config.mk, which is included by the top-level Makefile. I see, there's another mk/config.mk in the subdirectory "ghc" $ make show Project=Ghc VALUE=GhcBinDistDirs GhcBinDistDirs="ghc libraries hslibs" in this

Re: 6.4.2.20060411 under solaris

2006-04-13 Thread Christian Maeder
Simon Marlow wrote: GhcBinDistDirs is set by ghc/mk/config.mk, which is included by the top-level Makefile. I see, there's another mk/config.mk in the subdirectory "ghc" $ make show Project=Ghc VALUE=GhcBinDistDirs GhcBinDistDirs="ghc libraries hslibs" in this subdirectory I get the same

Re: 6.4.2.20060411 under solaris

2006-04-13 Thread Christian Maeder
Simon Marlow wrote: GhcBinDistDirs is set by ghc/mk/config.mk, which is included by the top-level Makefile. I've no such variable in ghc/mk/config.mk or ghc/mk/config.mk.in C. ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org h

Re: 6.4.2.20060411 under solaris

2006-04-13 Thread Simon Marlow
Christian Maeder wrote: Christian Maeder wrote: OSThreads.c:(.text+0x88): undefined reference to `sched_yield' collect2: ld returned 1 exit status I could fix this by adding "rt" to the extra-libraries of the rts package.conf file. Now I have a stage2 compiler but "gmake binary-dist" does

Re: 6.4.2.20060411 under solaris

2006-04-13 Thread Christian Maeder
Christian Maeder wrote: OSThreads.c:(.text+0x88): undefined reference to `sched_yield' collect2: ld returned 1 exit status I could fix this by adding "rt" to the extra-libraries of the rts package.conf file. Now I have a stage2 compiler but "gmake binary-dist" does not work. I assume a coup

Re: 6.4.2.20060411 under solaris

2006-04-13 Thread Simon Marlow
Christian Maeder wrote: Christian Maeder wrote: RtsUtils.c:190: error: too few arguments to function 'ctime_r' I could carry on after adding an argument ", 26" now I get an error when linking the stage2 compiler. How should I fix this? Cheers Christian /home/maeder/haskell/solaris/ghc-6

Re: 6.4.2.20060411 under solaris

2006-04-13 Thread Christian Maeder
Christian Maeder wrote: RtsUtils.c:190: error: too few arguments to function 'ctime_r' I could carry on after adding an argument ", 26" now I get an error when linking the stage2 compiler. How should I fix this? Cheers Christian /home/maeder/haskell/solaris/ghc-6.4.2.20060411/ghc/rts/libHSr

Re: 6.4.2.20060411 under solaris

2006-04-13 Thread Christian Maeder
Christian Maeder wrote: RtsUtils.p_o RtsUtils.c: In function 'time_str': RtsUtils.c:190: error: too few arguments to function 'ctime_r' I could carry on after adding an argument ", 26" C. -- RtsUtils.c 2006-04-13 09:09:49.778999000 +0200 +++ RtsUtils.c~ 2006-01-12 13:43:03.0 +0100 @@