[MacOS10.4.9, wxMac2.8.4] "no rule...needed by" error

John Ratliff webmaster at technoplaza.net
Tue Jun 26 13:43:45 PDT 2007


David Goldsmith wrote:
> Matt Connolly wrote:
>> You are building it using the "configure" and "make" commands, right?
> Yes.
>> what do you type after "configure" ??
> make, then when done sudo make install
>> This is a command that I used that worked, after following the wiki 
>> instructions:
>>
>> http://wxwidgets.org/wiki/index.php/Mac_OS_X_And_Xcode_For_Beginners#Compiling_the_source_code_from_terminal 
>>
>>
>> ---
>> cd /path/to/wxWidgets-2.8.4
>> mkdir osx-build
>> cd osx-build
>> ../configure --with-mac --enable-unicode --with-opengl  
>> --enable-threads  --disable-shared
> OK, I wasn't using all that (nor do I want to - I don't want 
> --enable-unicode nor --disable-shared for this particular build, and 
> I've been told locally that I probably don't want --with-opengl).  
> I'll try ../configure --with-mac (which I wasn't using) 
> --enable-threads --enable-shared and report back.  Thanks! 

In the past, there have been many problems using wx shared libraries on 
mac. I would suggest you build a static lib instead. Unicode has also 
been a problem for earlier OS X builds (pre-Panther). I haven't tried it 
recently though to be honest.

I would suggest --disable-shared --disable-unicode --disable-compat26 
--disable-debug as configure flags for a release configuration.

enable-mac and enable-threads should be the default settings, but I 
suppose they don't hurt.

--John Ratliff




More information about the wx-users mailing list