[Epiphany] anyone able to compile with jhbuild?



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

 g++ -g -O2 -o epiphany EphyAutomation-common.o EphyAutomation-stubs.o
 EphyAutomation-skels.o ephy-nautilus-view.o appearance-prefs.o
 ephy-automation.o ephy-encoding-menu.o ephy-favicon-action.o
 ephy-go-action.o ephy-favorites-menu.o ephy-history-model.o
 ephy-location-action.o ephy-main.o ephy-navigation-action.o
 ephy-shell.o ephy-spinner-action.o ephy-tab.o ephy-window.o
 general-prefs.o history-dialog.o language-editor.o pdm-dialog.o
 popup-commands.o prefs-dialog.o ppview-toolbar.o session.o
 statusbar.o toolbar.o window-commands.o -Wl,--export-dynamic -pthread
 ../embed/.libs/libephyembed.al ../lib/.libs/libephy.al
 ../src/bookmarks/.libs/libephybookmarks.al -L/unst2/lib/mozilla-1.4a
 -lgtkembedmoz -lxpcom -lplds4 -lplc4 -lnspr4 -L/unst2/lib
 -L/usr/X11R6/lib /unst2/lib/libnautilus.so /unst2/lib/libeel-2.so
 -lXrender -lXext /unst2/lib/libgnomeui-2.so /usr/lib/libjpeg.so -lSM
 -lICE /unst2/lib/libgailutil.so /unst2/lib/libglade-2.0.so
 /unst2/lib/libbonoboui-2.so
/unst2/lib/libgnomecanvas-2.so /unst2/lib/libgnome-2.so
 /unst2/lib/libesd.so -laudiofile /unst2/lib/libart_lgpl_2.so
 /unst2/lib/libpangoft2-1.0.so /unst2/lib/libgtk-x11-2.0.so
 /unst2/lib/libgdk-x11-2.0.so /unst2/lib/libatk-1.0.so
 /unst2/lib/libgdk_pixbuf-2.0.so /unst2/lib/libpangoxft-1.0.so
 /unst2/lib/libpangox-1.0.so /unst2/lib/libpango-1.0.so
 /unst2/lib/libbonobo-2.so /unst2/lib/libORBitCosNaming-2.so
 /unst2/lib/libgnomevfs-2.so /unst2/lib/libgconf-2.so
 /unst2/lib/libxml2.so -lz -lssl -lcrypto -lrt
 /unst2/lib/libbonobo-activation.so /unst2/lib/libORBit-2.so
 /usr/lib/libpopt.so -lm /unst2/lib/liblinc.so
 /unst2/lib/libgmodule-2.0.so -ldl /unst2/lib/libgobject-2.0.so
 /unst2/lib/libgthread-2.0.so -lpthread /unst2/lib/libglib-2.0.so
 -Wl,--rpath -Wl,/unst2/lib -Wl,--rpath -Wl,/unst2/lib
../embed/.libs/libephyembed.al(EventContext.lo): In function
 `EventContext::GetEventContext(nsIDOMEventTarget*, EphyEmbedEvent*)':
/cvsrt/gnome-cvs/epiphany/embed/mozilla/EventContext.cpp:111:
 undefined reference to `vtable for nsCaseInsensitiveStringComparator'
/cvsrt/gnome-cvs/epiphany/embed/mozilla/EventContext.cpp:111:
 undefined reference to `vtable for nsCaseInsensitiveStringComparator'
/cvsrt/gnome-cvs/epiphany/embed/mozilla/EventContext.cpp:111:
 undefined reference to `vtable for nsCaseInsensitiveStringComparator'
/cvsrt/gnome-cvs/epiphany/embed/mozilla/EventContext.cpp:111:
 undefined reference to `vtable for nsCaseInsensitiveStringComparator'
/cvsrt/gnome-cvs/epiphany/embed/mozilla/EventContext.cpp:111:
 undefined reference to `vtable for nsCaseInsensitiveStringComparator'
../embed/.libs/libephyembed.al(EventContext.lo):/cvsrt/gnome-cvs/epiphany/embed/mozilla/EventContext.cpp:111:
 more undefined references to `vtable for
 nsCaseInsensitiveStringComparator' follow
../embed/.libs/libephyembed.al(MozRegisterComponents.lo): In function
 `mozilla_register_components':
/cvsrt/gnome-cvs/epiphany/embed/mozilla/MozRegisterComponents.cpp:129:
 undefined reference to `NS_NewFtpHandlerFactory(nsIFactory**)'
/cvsrt/gnome-cvs/epiphany/embed/mozilla/MozRegisterComponents.cpp:134:
 undefined reference to `NS_NewIRCHandlerFactory(nsIFactory**)'
../embed/.libs/libephyembed.al(MozRegisterComponents.lo): In function
 `mozilla_register_FtpProtocolHandler':/cvsrt/gnome-cvs/epiphany/embed/mozilla/MozRegisterComponents.cpp:187:
 undefined reference to `NS_NewFtpHandlerFactory(nsIFactory**)'
../embed/.libs/libephyembed.al(MozRegisterComponents.lo): In function
 `mozilla_register_MailtoProtocolHandler':
/cvsrt/gnome-cvs/epiphany/embed/mozilla/MozRegisterComponents.cpp:224:
 undefined reference to `NS_NewMailtoHandlerFactory(nsIFactory**)'
../embed/.libs/libephyembed.al(EphyEventListener.lo): In function
 `EphyEventListener::HandleFaviconLink(nsIDOMNode*)':
/cvsrt/gnome-cvs/epiphany/embed/mozilla/EphyEventListener.cpp:66:
 undefined reference to `vtable for nsCaseInsensitiveStringComparator'
/cvsrt/gnome-cvs/epiphany/embed/mozilla/EphyEventListener.cpp:66:
 undefined reference to `vtable for nsCaseInsensitiveStringComparator'
collect2: ld returned 1 exit status
make[3]: *** [epiphany] Error 1



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