On Sun, Sep 7, 2008 at 11:46 AM, imacarthur <[EMAIL PROTECTED]> wrote: > On 7 Sep 2008, at 19:27, Robert Arkiletian wrote: > >> New problem. (I feel like a newbie) >> >> #make install >> >> failed. Here is the end of the output. >> >> lcUniConv/cp1251.h:36: warning: 'cp1251_mbtowc' defined but not used >> Archiving ../lib/libfltk_xutf8.a... >> Installing libfltk_xutf8.a in /usr/local/lib... >> make[1]: execvp: /usr/local/lib: Permission denied >> make[1]: execvp: ../lib/libfltk_xutf8.a: Permission denied >> make[1]: *** [install] Error 127 >> make: *** [install] Error 1 >> >> But how can I have permission denied when I'm root? > > Well, I'm not sure the answer to that one but... > > I would *strongly* advise against installing the patched version in > the default location. > Rather, use the --prefix option to configure to put the built libs > and their headers in some private location. Or just keep them in the > build locations. > > The reason for this is that the modified header files have the same > names as the "real" fltk-1.1.x headers, and describe objects with the > same names, and "similar" properties. But different sizes and API. > > If you also have a "regular" 1.1.x installed, you can get into a > situation where your code compiles against the patched headers, links > (apparently successfully) to the un-patched libs, then crashes oddly > at runtime. > Trust me, I know this to be true!
Ian, I uninstalled (deleted) all the old fltk files in /usr/local before installing your version. I'll try again and double check later. -- Robert Arkiletian Eric Hamber Secondary, Vancouver, Canada Fl_TeacherTool http://www3.telus.net/public/robark/Fl_TeacherTool/ C++ GUI tutorial http://www3.telus.net/public/robark/ _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

