From: matz@... (Yukihiro Matsumoto) Date: 1999-01-05T17:21:40+09:00 Subject: [ruby-talk:00166] Re: Makefiles and -lcurses Hi. In message "[ruby-talk:00165] Makefiles and -lcurses" on 99/01/05, Julian Fondren writes: |I want to compile the curses extension with -locurses rather than |-lcurses, so I change ext/Makefile a bit to have -locurses instead. After |this I `make clean', and then `make' | |It compiles with -lcurses. Why? There were no mentions of a Makefile |modification, and if I grep around a bit there is no -lcurses needed to be |changed. The Makefile in ext/Makefile has -lcurses where I had seconds |earlier put -locurses. Wierd, and a little annoying, how can I force it to |compile with -locurses? Makefiles are automatically generated in the compilation process. Modify extconf.rb in the directory, like: have_library("curses", "initscr") into have_library("ocurses", "initscr") Hope this helps. matz.