From: Aristarkh A Zagorodnikov Date: 2001-05-08T19:13:32+09:00 Subject: [ruby-talk:14854] Re: Polymorphic methods Hello, All! In (recent?) mkmf.rb there are these lines: libdir = #{$libdir.sub(drive, '')}#{target_prefix} rubylibdir = #{$rubylibdir.sub(drive, '')}#{target_prefix} archdir = #{$archdir.sub(drive, '')}#{target_prefix} sitelibdir = #{$sitelibdir.sub(drive, '')}#{target_prefix} sitearchdir = #{$sitearchdir.sub(drive, '')}#{target_prefix} I think that target_prefix must be added only to end of archdir, sitelibdir and sitearchdir. Currently the following usage of mkmf does not work (given that we have test.c): requre 'mkmf' create_makefile 'test/test' So, I think that those lines should look like that (this solves _my_ problem but maybe not a complete solution): libdir = #{$libdir.sub(drive, '')} rubylibdir = #{$rubylibdir.sub(drive, '')} archdir = #{$archdir.sub(drive, '')}#{target_prefix} sitelibdir = #{$sitelibdir.sub(drive, '')}#{target_prefix} sitearchdir = #{$sitearchdir.sub(drive, '')}#{target_prefix} Aristarkh A Zagorodnikov, Lead Programmer, W3D Group http://www.w3d.ru /// xm@w3d.ru /// ICQ UIN 36987938