Re: [Epiphany] anyone able to compile with jhbuild?



On Sat, 2003-03-08 at 20:52, Havoc Pennington wrote:
> Hi,
> 
> If I build mozilla + epiphany using jhbuild, I get 
> the various mozilla libs and headers in /myprefix/include,
> /myprefix/lib, etc. rather than in /myprefix/lib/mozilla-1.4a/
> If I then try to run mozilla itself, it seems to be looking for them 
> in /myprefix/lib/mozilla-1.4a/ so doesn't start up.
> I am guessing this based on the strace (/unst2 is myprefix):
>     stat64("/unst2/lib/mozilla-1.4a/libxpcom.so", 0xbffff720) = -1 ENOENT (No such file or directory)
>     open("/home/hp/.gre.config", O_RDONLY)  = -1 ENOENT (No such file or directory)
>     open("/etc/gre.conf", O_RDONLY)         = -1 ENOENT (No such file or directory)
>     open("/unst2/lib/mozilla-1.4a/libxpcom.so", O_RDONLY) = -1 ENOENT (No such file or directory)
>     open("/usr/share/locale/en_US.iso885915/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
>     open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
>     open("/usr/share/locale/en.iso885915/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
>     _exit(1)                                = ?
> Then when epiphany is built, I get the appended block of undefined 
> references. There is a mozilla-1.3b-2003012717_trunk_rh8_gtk2
> installed to /usr. MOZILLA_FIVE_HOME is not set to anything.
> 
> Can't mozilla just have a .pc file like everything else and Just Work? ;-)
> 
> Havoc

In jhbuild we are moving these libraries in lib/ to avoid to set
LD_LIBRARY_PATH.
There is some work going on to avoid the whole mess:
http://bugzilla.mozilla.org/show_bug.cgi?id=193442
My guess looking at the trace is that the new method of loading the
libraries breaks the trick we was using. (Mozilla now looks for the
libraries in prefix/mozilla-version).Not sure about the undefined
reference.
Could it be that the libraries in /usr/lib are being used ?
Mozilla undefined reference are ever a pain to debug :/

Anyway I'm going to rebuild my mozilla tree now and try to understand what's going on.

Marco
-- 
Marco Pesenti Gritti <mpeseng@tin.it>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]