This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libjava "make install" is broken again


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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]