Ticket #3124 (closed bug: fixed)

Opened 4 years ago

Last modified 4 years ago

warning -F: directory name (/Users/me/Library/Frameworks) does not exist

Reported by: 7stud Owned by:
Priority: normal Milestone: 6.12.1
Component: Compiler Version: 6.8.2
Keywords: Cc:
Operating System: MacOS X Architecture: x86
Type of failure: Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description (last modified by igloo) (diff)

mac osx 10.4.11(intel), ghc 6.8.2 installed from ghc-6.8.2-i386-apple-darwin.tar.bz2

When I try to compile programs, I get this warning:

$ ghc -o simple Main.hs PutJSON.hs SimpleJSON.hs
compilation IS NOT required
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: warning -F: directory name (/Users/autie/Library/Frameworks) does not exist

This is how I installed ghc:

1) I downloaded GMP.framework and GNUreadline.framework, which my mac automatically unzipped and placed on my desktop. I then dragged the resulting two folders into /Library/Frameworks as per the instructions at:

http://www.haskell.org/ghc/download_ghc_682.html#macosxintel

2) I downloaded ghc-6.8.2-i386-apple-darwin.tar.bz2

3) I unzipped an untared into /Users/me/my_tar_extractions

4) I cd'ed into the newly created ghc-6.8.2 folder.

5) I read the INSTALL document in the ghc-6.8.2 folder.

6) I ran the command:

$ ./configure

7) Then I ran the command:

$ sudo make install

8) At the end of the install output, I got a message that said:

-------------
Installation of ghc-6.8.2 was successful.

To use, add /usr/local/bin to your PATH.

Warning: this binary distribution does NOT contain documentation!
--------------

9) I appended /usr/local/bin onto the PATH in ~/.bash_profile.

This is what INSTALL from step 5 says:

This is the INSTALL instructions for a binary distribution of GHC. For
more details on what on earth this package is up to, please consult
the README and ANNOUNCE.

This distribution can be installed in a location of your choosing.

To set the ball rolling, run the configure script (as usual, run the
script with --help to see what options it supports).  eg. to set up
the package for installing in directory <my-dir>, use

	./configure --prefix=<my-dir>

The default installation directory is /usr/local.

The configure script will figure out what platform you're running on,
and a couple of other interesting pieces of trivia, which it will then
fill in the Makefile.in template to give you a real Makefile.  If
you're of a paranoid persuasion, you might want to take a look at this
Makefile to see if the information is correct.

Now run:

	make install 

(`make show-install-setup' prints the details of where the different
pieces of the bundle are heading when -- possibly helpful).

For more information, full GHC documentation is available from the
main GHC site:

  http://www.haskell.org/ghc

Bug reports/suggestions for improvement to the installation
procedure/setup (as well as other GHC related troubles you're
experiencing, of course), gratefully received.  Bug reporting
instructions are here:

  http://www.haskell.org/ghc/reportabug

Enjoy,
-- The GHC Team.

Change History

Changed 4 years ago by igloo

  • difficulty set to Unknown
  • description modified (diff)

Changed 4 years ago by igloo

  • milestone set to 6.12.1

Thanks for the detailed report!

Changed 4 years ago by maeder

This looks like my binary-dist from http://www.haskell.org/ghc/dist/6.8.2/maeder/ghc-6.8.2-i386-apple-darwin.tar.bz2 that I can no longer repair without a Tiger box. I've also given up using frameworks for newer versions.

Does the warning do any harm? I think it would go away if you (additionally) unpacked the frameworks in your home directory /Users/me/Library/Frameworks.

Changed 4 years ago by igloo

  • status changed from new to closed
  • resolution set to fixed

This sounds like it only applies to old bindists, so I'm closing the ticket.

Note: See TracTickets for help on using tickets.