libjava "make install" is broken again

Bryce McKinlay bryce@waitaki.otago.ac.nz
Sun Mar 3 16:58:00 GMT 2002


Alexandre Oliva wrote:

>On Mar  2, 2002, Bryce McKinlay <bryce@waitaki.otago.ac.nz> wrote:
>
>>This patch caused "make install" of libjava to silently fail
>>
>
>Silently?  I don't recall any silent failures in libjava.
>

By silent I meant that running "make install" did not report any obvious 
errors and appeared to complete normally, but libgcj.so.2.0.0 was not 
copied to the $prefix/lib directory. Thus an old libgcj was still there, 
and I spent a while trying to figure out why a bug I thought I'd fixed 
was still occuring ;-)

>Anyway, are you sure you cleaned <target>/config.cache and
>reconfigured libjava after this change went in?  If not, you'd see
>install failures because of libtool's not being able to guess the tag
>because it was configured with one CXX and a different one was being
>used for installation.  
>

OK, after blowing away my build directory and doing a complete rebuild, 
it appears that this was the problem. Sorry.

BTW, do you know how to stop libtool doing a "relink" of libgcj.la on 
every "make install"? It does not do this for libstdc++ so it appears to 
be something libjava is doing?

regards

Bryce.




More information about the Gcc-patches mailing list