Re: ghc 6.6 for mac os x (intel)
Hi Ian, Thanks so much for trying to help out. You are right, that readline file is not there so I installed it from MacPorts and made a symbolic link to the installed location. Now everything is fine. Thanks again! Ariel Ian Lynagh wrote: Hi Ariel, Sorry for the delayed response. On Tue, Feb 06, 2007 at 12:07:46PM -0600, Ariel Apostoli wrote: Are you using http://haskell.org/ghc/dist/6.6/ghc-6.6-i386-apple-darwin.tar.bz2 ? Yes. I've just downloaded it, and it looks like the Makefile should run post-install-script to put readline/* in the right place. Can you check if that is happening correctly? the post-install script is not exactly happy; here is what i get when it starts running: [snipped] I'm not sure what output is expected, but your earlier message http://www.haskell.org/pipermail/glasgow-haskell-users/2007-February/011962.html suggested that there is no file /opt/local/lib/libreadline.5.1.dylib whereas post-install-script certainly looks like it will put something there. Can you confirm whether or not the file is there, and whether you are still getting the same error please? Thanks Ian ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Re: ghc 6.6 for mac os x (intel)
Hello Ian, Ian Lynagh wrote: Are you using http://haskell.org/ghc/dist/6.6/ghc-6.6-i386-apple-darwin.tar.bz2 ? Yes. I've just downloaded it, and it looks like the Makefile should run post-install-script to put readline/* in the right place. Can you check if that is happening correctly? the post-install script is not exactly happy; here is what i get when it starts running: Running project-specific post-install script ... == Regenerating library archive headers... ranlib: file: /usr/local/lib/ghc-6.6/libHSX11.a(Types_hsc.o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSX11.a(Atom_hsc.o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSX11.a(Event_hsc.o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSX11.a(Font_hsc.o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSX11.a(Misc_hsc.o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSX11.a(Types_hsc.o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSX11_p.a(Types_hsc.p_o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSX11_p.a(Atom_hsc.p_o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSX11_p.a(Event_hsc.p_o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSX11_p.a(Font_hsc.p_o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSX11_p.a(Misc_hsc.p_o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSX11_p.a(Types_hsc.p_o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSbase.a(CPUTime_hsc.o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSbase.a(Time_hsc.o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSbase_cbits.a(timeUtils.o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSbase_p.a(CPUTime_hsc.p_o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSbase_p.a(Time_hsc.p_o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSnetwork.a(BSD_hsc.o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSnetwork.a(Socket_hsc.o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSnetwork_p.a(BSD_hsc.p_o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSnetwork_p.a(Socket_hsc.p_o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSreadline.a(Readline_hsc.o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSreadline_p.a(Readline_hsc.p_o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSregex-posix.a(Wrap_hsc.o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSregex-posix_p.a(Wrap_hsc.p_o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSrts.a(Disassembler.o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSrts.a(FrontPanel.o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSrts.a(LdvProfile.o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSrts.a(ProfHeap.o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSrts.a(Profiling.o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSrts.a(Proftimer.o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSrts.a(RetainerProfile.o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSrts.a(RetainerSet.o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSrts.a(Sanity.o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSrts.a(ThreadLabels.o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSrts.a(Ticky.o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSrts.a(InitEachPE.o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSrts.a(ShutdownEachPEHook.o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSrts.a(0Hash.o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSrts.a(0Unpack.o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSrts.a(Dist.o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSrts.a(Global.o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSrts.a(GranSim.o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSrts.a(HLComms.o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSrts.a(LLComms.o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSrts.a(Pack.o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSrts.a(ParInit.o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSrts.a(ParTicky.o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSrts.a(Parallel.o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSrts.a(ParallelDebug.o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSrts.a(RBH.o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSrts_p.a(Disassembler.p_o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSrts_p.a(FrontPanel.p_o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSrts_p.a(Sanity.p_o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSrts_p.a(ThreadLabels.p_o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSrts_p.a(Ticky.p_o) has no symbols ranlib: file: /usr/local/lib/ghc-6.6/libHSrts_p.a(InitEachPE.p_o) has no symbols ranlib: file:
Re: ghc 6.6 for mac os x (intel)
I installed the darwin ports readline and created the following soft link: /usr/local/lib/libreadline.5.1.dylib - /opt/local/lib/libreadline. 5.1.dylib Alternatively, you could install the darwin ports readline and set the DYLD_LIBRARY_PATH variable. I prefer not to use DYLD_LIBRARY_PATH. -reilly On Feb 6, 2007, at 7:15 AM, Ariel Apostoli wrote: but when I try installing ghc from that page it seems to install fine but when I invoke /usr/local/bin/ghc i get: dyld: Library not loaded: /opt/local/lib/libreadline.5.1.dylib Referenced from: /usr/local/lib/ghc-6.6/ghc-6.6 Reason: image not found Trace/BPT trap My version of mac os x is 10.4.8 Again thanks for your time and help so far! Ariel Kirsten Chevalier wrote: [redirecting to the list] On 2/5/07, Ariel Apostoli [EMAIL PROTECTED] wrote: Hello Kirsten, Thanks so much for your time and help so far. However, I am still stuck on the issue when I try to do this: ./configure --with-readline-includes=/usr/local \ --with-readline-libraries=/usr/local I get: checking build system type... i686-apple-darwin8.8.1 checking host system type... i686-apple-darwin8.8.1 checking target system type... i686-apple-darwin8.8.1 Canonicalised to: i386-apple-darwin checking for path to top of build tree... /Users/ariel/work/ghc/ ghc-6.6 checking for ghc... no checking for ghc-pkg matching ... no checking for ghc-pkg... no checking whether ghc has readline package... no checking for nhc... no checking for nhc98... no checking for hbc... no configure: error: GHC is required unless bootstrapping from .hc files. Do you know what should I do to avoid this? Do you already have a binary version of GHC installed? If you want to build GHC from source, you need a binary of GHC installed already, like the error message suggests. (Unless you want to bootstrap from .hc files, but I've never done that, so I don't know.) See: http://haskell.org/ghc/download_ghc_66.html#macosxintel You didn't say what version of Mac OS X you were using; if it's anything older than 10.3, you're probably SOL. Cheers, Kirsten ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
ghc 6.6 for mac os x (intel)
Hello, I tried to install ghc 6.6 but apparently I have done something wrong since whenever I type ghc I obtain: $ /usr/local/bin/ghc dyld: Library not loaded: /opt/local/lib/libreadline.5.1.dylib Referenced from: /usr/local/lib/ghc-6.6/ghc-6.6 Reason: image not found Trace/BPT trap can anyone help please? ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Re: ghc 6.6 for mac os x (intel)
On 2/4/07, Ariel Apostoli [EMAIL PROTECTED] wrote: Hello, I tried to install ghc 6.6 but apparently I have done something wrong since whenever I type ghc I obtain: $ /usr/local/bin/ghc dyld: Library not loaded: /opt/local/lib/libreadline.5.1.dylib Referenced from: /usr/local/lib/ghc-6.6/ghc-6.6 Reason: image not found Trace/BPT trap Hi, Ariel-- Have you seen the page on building GHC on Mac OS X? http://cvs.haskell.org/trac/ghc/wiki/Building/MacOSX In particular, it explains how to set up the readline library so that GHC can find it. If you try the instructions there and something still doesn't work, feel free to post here again. Cheers, Kirsten -- Kirsten Chevalier* [EMAIL PROTECTED] *Often in error, never in doubt The astonishment of life is the absence of any appearance of reconciliation between the theory and practice of life.--Emerson ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users