FedoraForum.org - Fedora Support Forums and Community
Page 7 of 15 FirstFirst ... 56789 ... LastLast
Results 91 to 105 of 220
  1. #91
    Evert Guest
    i build my own firefox RPM by installing the src rpm from version 1.0.6

    rpm -i firefox-1.0.6-something...src.rpm

    cd /usr/src/redhat/SOURCES

    wget firefox-source.tar.gz , found on the firefox site

    cd /usr/src/redhat/SPECS

    modufy the specfile to build 1.0.7, instead of 1.0.6

    rpmbuild -ba firefox.spec

    this all took me 10 minutes

  2. #92
    Join Date
    Jun 2005
    Posts
    263
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Clunixchit,

    I don't really know about the errors. All I did was add the attached mozconfig file, and apply the attached oiddatah.patch, and then the two makes compiled ok. Have a look and see if they are any different from what you did.


    Evert,

    That's another way to do it too. The thing with the FC4 source is that they also include a gazillion patches, and I think that's at least one thing that slows down the FC4 firefox so much.
    Attached Files Attached Files

  3. #93
    Twey Guest
    I got it to compile, and have attached the materials to do it:

    1. First set up an rpm building environment as in the very first post of this thread, part C.1.ab. OR, as a REGULAR USER, run the attached script, make-rpmbuild-envmt.sh (take off the *.txt ending)
    2. Unpack the attached firefox-rpmbuild-stuff.tar.gz tarball. (Right click on it, and select extract here; or, from a terminal, type tar -xzvf firefox*tar.gz). The folder contains the specfile, mozconfig file, and other sources & patches I used to do the compilation.
    3. Add to the folder the firefox-1.0.7 source tarball from here:
    http://ftp.mozilla.org/pub/mozilla....s/1.0.7/source/
    4. Rename the folder "firefox", and move it to /home/yourusername/redhat/firefox
    5. Open a terminal, and as a regular user type
    cd ~/redhat/firefox
    rpmbuild -ba firefox.spec --target=i686
    6. Wait for about an hour. When finished, rpms should be inside ~/redhat/RPMS.
    7. If you want to change the architecture (e.g., athlon), change the mozconfig file, and give a different target to the rpmbuild command.
    Code:
    c++ -o firefox-bin -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -pedantic -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -O2 -freorder-blocks -fno-reorder-functions -gstabs+  nsBrowserApp.o nsStaticComponents.o      -L../../dist/bin -L../../dist/lib -L../../dist/lib/components -lxpcom_compat_c -lxpconnect -luconv -lucvmath -li18n -loji -lnecko -lnecko2 -lpref -lcaps -lrdf -lhtmlpars -lgfxps -lgfxxprint -lgfx_gtk -limglib2 -lgkplugin -lwidget_gtk2 -lxremote_client -lgklayout -lmork -ldocshell -lembedcomponents -lwebbrwsr -leditor -ltxmgr -lcomposer -lnsappshell -lchrome -laccessibility -lpipboot -lpipnss -lpippki -lfileview -lmozfind -lxremoteservice -lappcomps -ltoolkitcomps -lcookie -lxmlextras -lautoconfig -lsystem-pref -ltransformiix -luniversalchardet -lwebsrvcs -lbrowsercomps -lunicharutil_s -lucvutil_s -ljsj -lgtkxtbin -lgfxshared_s -lxlibrgb -lxprintutil -lgkgfx -lxulapp_s ../../dist/lib/libxulapp_s.a -L../../dist/bin -lmozjs -L../../dist/bin -lxpcom  -L/home/twey/redhat/tmp/firefox-1.0.7/mozilla/objdir/dist/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl  -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lfreetype -lz -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0    -L/usr/X11R6/lib -lX11  -ldl -lm  -L../../dist/lib/components -L../../dist/lib -lmozpng -L../../dist/lib -lmozjpeg -L../../dist/lib -lmozz  -L../../dist/bin -L../../dist/lib ../../dist/lib/libcrmf.a -lsmime3 -lssl3 -lnss3 -lsoftokn3   -L/usr/X11R6/lib -lXt -L/usr/X11R6/lib -lXp -lXext -lX11 -L../../dist/lib -lxpcom_compat
    ../../dist/lib/components/libgfx_gtk.a(nsFontMetricsXft.o)(.text+0x1c2): In function `nsFontMetricsXft::SetupMiniFont()':
    /home/twey/redhat/tmp/firefox-1.0.7/mozilla/gfx/src/gtk/nsFontMetricsXft.cpp:1299: undefined reference to `XftDefaultSubstitute'
    ../../dist/lib/components/libgfx_gtk.a(nsFontMetricsXft.o)(.text+0x1f2):/home/twey/redhat/tmp/firefox-1.0.7/mozilla/gfx/src/gtk/nsFontMetricsXft.cpp:1306: undefined reference to `XftFontOpenPattern'
    ../../dist/lib/components/libgfx_gtk.a(nsFontMetricsXft.o)(.text+0x24b):/home/twey/redhat/tmp/firefox-1.0.7/mozilla/gfx/src/gtk/nsFontMetricsXft.cpp:1329: undefined reference to `XftTextExtents8'
    ../../dist/lib/components/libgfx_gtk.a(nsFontMetricsXft.o)(.text+0x3e7): In function `nsFontMetricsXft::DrawUnknownGlyph(unsigned int, int, int, _XftColor*, _XftDraw*)':
    /home/twey/redhat/tmp/firefox-1.0.7/mozilla/gfx/src/gtk/nsFontMetricsXft.cpp:1378: undefined reference to `XftDrawRect'
    ../../dist/lib/components/libgfx_gtk.a(nsFontMetricsXft.o)(.text+0x409):/home/twey/redhat/tmp/firefox-1.0.7/mozilla/gfx/src/gtk/nsFontMetricsXft.cpp:1381: undefined reference to `XftDrawRect'
    ... more of the same, forum won't let me put it all in...
    Code:
    /home/twey/redhat/tmp/firefox-1.0.7/mozilla/gfx/src/gtk/nsFontMetricsXft.cpp:2087: undefined reference to `XftUnlockFace'
    ../../dist/lib/components/libgfx_gtk.a(nsFontMetricsXft.o)(.text+0xcc5): In function `nsFontXftCustom::~nsFontXftCustom()':
    /home/twey/redhat/tmp/firefox-1.0.7/mozilla/gfx/src/gtk/nsFontMetricsXft.cpp:2087: undefined reference to `XftUnlockFace'
    ../../dist/lib/components/libgfx_gtk.a(nsFontMetricsXft.o)(.text+0xdd4): In function `nsFontXftCustom::CharToGlyphIndex(unsigned int)':
    /home/twey/redhat/tmp/firefox-1.0.7/mozilla/gfx/src/gtk/nsFontMetricsXft.cpp:2143: undefined reference to `XftCharIndex'
    ../../dist/lib/components/libgfx_gtk.a(nsFontMetricsXft.o)(.text+0xdf6): In function `nsFontXftCustom::SetFT_FaceCharmap()':
    /home/twey/redhat/tmp/firefox-1.0.7/mozilla/gfx/src/gtk/nsFontMetricsXft.cpp:811: undefined reference to `XftLockFace'
    ../../dist/lib/components/libgfx_gtk.a(nsFontMetricsXft.o)(.text+0x4a67):/home/twey/redhat/tmp/firefox-1.0.7/mozilla/gfx/src/gtk/nsFontMetricsXft.cpp:921: undefined reference to `XftUnlockFace'
    ../../dist/lib/components/libgfx_gtk.a(nsFontMetricsXft.o)(.text+0x4b3a):/home/twey/redhat/tmp/firefox-1.0.7/mozilla/gfx/src/gtk/nsFontMetricsXft.cpp:862: undefined reference to `XftTextExtents16'
    ../../dist/lib/components/libgfx_gtk.a(nsDeviceContextGTK.o)(.text+0x721): In function `xlfd_from_pango_font_description(_GtkWidget*, _PangoFontDescription const*, nsString&)':
    /home/twey/redhat/tmp/firefox-1.0.7/mozilla/gfx/src/gtk/nsDeviceContextGTK.cpp:1163: undefined reference to `pango_x_font_map_for_display'
    ../../dist/lib/components/libgfx_gtk.a(nsDeviceContextGTK.o)(.text+0x829):/home/twey/redhat/tmp/firefox-1.0.7/mozilla/gfx/src/gtk/nsDeviceContextGTK.cpp:1203: undefined reference to `pango_x_list_subfonts'
    ../../dist/lib/components/libgfx_gtk.a(nsDeviceContextGTK.o)(.text+0x868):/home/twey/redhat/tmp/firefox-1.0.7/mozilla/gfx/src/gtk/nsDeviceContextGTK.cpp:1207: undefined reference to `pango_x_font_subfont_xlfd'
    ../../dist/lib/components/libgfx_gtk.a(nsDeviceContextGTK.o)(.text+0x9f0):/home/twey/redhat/tmp/firefox-1.0.7/mozilla/gfx/src/gtk/nsDeviceContextGTK.cpp:1191: undefined reference to `pango_x_list_subfonts'
    ../../dist/lib/components/libgfx_gtk.a(nsDrawingSurfaceGTK.o)(.text+0x53): In function `nsDrawingSurfaceGTK::~nsDrawingSurfaceGTK()':
    /home/twey/redhat/tmp/firefox-1.0.7/mozilla/gfx/src/gtk/nsDrawingSurfaceGTK.cpp:114: undefined reference to `XftDrawDestroy'
    ../../dist/lib/components/libgfx_gtk.a(nsDrawingSurfaceGTK.o)(.text+0x3b2): In function `nsDrawingSurfaceGTK::GetXftDraw()':
    /home/twey/redhat/tmp/firefox-1.0.7/mozilla/gfx/src/gtk/nsDrawingSurfaceGTK.cpp:337: undefined reference to `XftDrawCreate'
    ../../dist/lib/components/libgfx_gtk.a(nsDrawingSurfaceGTK.o)(.text+0x5b7): In function `nsDrawingSurfaceGTK::~nsDrawingSurfaceGTK()':
    /home/twey/redhat/tmp/firefox-1.0.7/mozilla/gfx/src/gtk/nsDrawingSurfaceGTK.cpp:114: undefined reference to `XftDrawDestroy'
    ../../dist/lib/components/libgfx_gtk.a(nsDrawingSurfaceGTK.o)(.text+0x623): In function `nsDrawingSurfaceGTK::~nsDrawingSurfaceGTK()':
    /home/twey/redhat/tmp/firefox-1.0.7/mozilla/gfx/src/gtk/nsDrawingSurfaceGTK.cpp:114: undefined reference to `XftDrawDestroy'
    collect2: ld returned 1 exit status
    gmake[4]: *** [firefox-bin] Error 1
    gmake[4]: Leaving directory `/home/twey/redhat/tmp/firefox-1.0.7/mozilla/objdir/browser/app'
    gmake[3]: *** [libs] Error 2
    gmake[3]: Leaving directory `/home/twey/redhat/tmp/firefox-1.0.7/mozilla/objdir/browser'
    gmake[2]: *** [tier_99] Error 2
    gmake[2]: Leaving directory `/home/twey/redhat/tmp/firefox-1.0.7/mozilla/objdir'
    make[1]: *** [default] Error 2
    make[1]: Leaving directory `/home/twey/redhat/tmp/firefox-1.0.7/mozilla/objdir'
    make: *** [build] Error 2
    error: Bad exit status from /home/twey/redhat/tmp/rpm-tmp.91168 (%build)
    
    
    RPM build errors:
        Bad exit status from /home/twey/redhat/tmp/rpm-tmp.91168 (%build)

  4. #94
    Join Date
    Feb 2005
    Location
    Strasbourg
    Age
    42
    Posts
    720
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    /home/twey/redhat/tmp/firefox-1.0.7/mozilla/gfx/src/gtk/nsDrawingSurfaceGTK.cpp:114: undefined reference to `XftDrawDestroy'
    ../../dist/lib/components/libgfx_gtk.a(nsDrawingSurfaceGTK.o)(.text+0x3b2): In function `nsDrawingSurfaceGTK::GetXftDraw()':
    /home/twey/redhat/tmp/firefox-1.0.7/mozilla/gfx/src/gtk/nsDrawingSurfaceGTK.cpp:337: undefined reference to `XftDrawCreate'
    ../../dist/lib/components/libgfx_gtk.a(nsDrawingSurfaceGTK.o)(.text+0x5b7): In function `nsDrawingSurfaceGTK::~nsDrawingSurfaceGTK()':
    /home/twey/redhat/tmp/firefox-1.0.7/mozilla/gfx/src/gtk/nsDrawingSurfaceGTK.cpp:114: undefined reference to `XftDrawDestroy'
    ../../dist/lib/components/libgfx_gtk.a(nsDrawingSurfaceGTK.o)(.text+0x623): In function `nsDrawingSurfaceGTK::~nsDrawingSurfaceGTK()':
    /home/twey/redhat/tmp/firefox-1.0.7/mozilla/gfx/src/gtk/nsDrawingSurfaceGTK.cpp:114: undefined reference to `XftDrawDestroy'
    Im having the same output errors as Twek.
    Sounds that we are lacking a dependency !!

    Anyone has any idea about this dependency?
    Itx either one or zero_
    http://clunixchit.blogspot.com/

  5. #95
    Join Date
    Jun 2005
    Posts
    263
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok, I'm not really an expert on programming, so take these guesses for what they're worth.

    It looks like it is not finding things that have to do with Xft----, and that what needs these things are all in things having to do with gtk.

    If the problem is that xft is not getting found, maybe try installing fontconfig-devel? The specfile only lists fontconfig as a required package, since that's what was listed on the mozilla website.

    If the problem is with gtk:
    (a) the mozconfig file enables gtk2, so make sure you have gtk2
    (b) maybe also install gtk2-devel, atk, atk-devel, pango, pango-devel?

    I had all of these installed when I did the compilation:
    fontconfig-2.2.3-13
    fontconfig-devel-2.2.3-13
    gtk2-2.6.10-1
    gtk2-devel-2.6.10-1
    atk-1.9.1-1
    atk-devel-1.9.1-1
    pango-1.8.1-2
    pango-devel-1.8.1-2

    In general, when compilations fail because things are undeclared, the only thing I know to do is google the names of the undeclared objects and see if I can find out what declares them and where they are declared. Then go and get what declares them if I don't have it; and if I do have it, then modify the file that elicits the complaint by adding a

    #include "name-of-sourcefile"


    Edit: one other thing to check for Xft is to have libXft.so installed, which came from xorg-x11-devel.
    Last edited by mtl2002; 1st October 2005 at 07:09 PM.

  6. #96
    Twey Guest
    fontconfig-devel-2.2.3-13
    gtk2-devel-2.8.3-1
    atk-devel-1.9.1-1
    pango-devel-1.10.0-1

  7. #97
    Join Date
    Jun 2005
    Posts
    263
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Your pango-devel and gtk2-devel are the next generation up from mine. It looks like pango-devel 1.10.0 no longer supports some of the functions used in the mozilla code. e.g., for the undefined reference to pango_x_font_map_for_display, look at

    http://developer.gnome.org/doc/API/2.2/pango/
    http://developer.gnome.org/doc/API/2...Rendering.html

    Quote Originally Posted by http://developer.gnome.org/doc/API/2.2/pango/pango-X-Fonts-and-Rendering.html
    The functions and macros in this section are for use with the old X font backend which used server-side bitmap fonts. This font backend is no longer supported, and attempts to use it will produce unpredictable results. Use the Xft backend instead.
    I wonder the same about gtk2, but I'm not quite sure how to test. I'd have to update the gtk2, gtk2-devel, pango, pango-devel, and tons of packages depend on these.

    clunixchit, do you have the same versions of gtk2, gtk2-devel, pango, pango-devel?

  8. #98
    Join Date
    Feb 2005
    Location
    Strasbourg
    Age
    42
    Posts
    720
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I got these
    fontconfig-2.2.3-13
    fontconfig-devel-2.2.3-13
    libswt3-gtk2-3.1.0_fc-0.M6.22
    gtk2-2.8.3-1.1.fc4.nr
    pygtk2-2.6.3-1.1.fc4.nr
    pygtk2-devel-2.6.3-1.1.fc4.nr
    gtk2-engines-2.6.5-1.1.fc4.nr
    gtk2-devel-2.8.3-1.1.fc4.nr
    pygtk2-libglade-2.6.3-1.1.fc4.nr
    atk-1.10.3-1.1.fc4.nr
    atk-devel-1.10.3-1.1.fc4.nr
    pango-devel-1.10.0-1.1.fc4.nr
    pango-1.10.0-1.1.fc4.nr
    xorg-x11-devel-6.8.2-37.FC4.49.2
    Itx either one or zero_
    http://clunixchit.blogspot.com/

  9. #99
    Twey Guest
    I disagree with your diagnosis, mtl. It is the Xft references that are undefined, which, according to your links, are the replacement to the deprecated backend.

  10. #100
    Join Date
    Jun 2005
    Posts
    263
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok, I tried the compilation before and after updating atk, atk-devel, cairo, cairo-devel, glib2, glib2-devel, glibc, glibc-common, glibc-devel, glibc-headers, gtk2, gtk2-devel, pango, and pango-devel from the Fedora development repository.

    Here's the difference in packages:
    Code:
    Build Envmt Before Updates			Build Envmt After Updates
    ==========================			=========================
    atk-1.9.1-1					atk-1.10.3-1
    atk-devel-1.9.1-1				atk-devel-1.10.3-1
    package cairo is not installed			cairo-1.0.0-1
    package cairo-devel is not installed		cairo-devel-1.0.0-1
    glib2-2.6.6-1					glib2-2.8.2-1
    glib2-devel-2.6.6-1				glib2-devel-2.8.2-1
    glibc-2.3.5-10.3				glibc-2.3.90-12
    glibc-common-2.3.5-10.3				glibc-common-2.3.90-12
    glibc-devel-2.3.5-10.3				glibc-devel-2.3.90-12
    glibc-headers-2.3.5-10.3			glibc-headers-2.3.90-12
    gtk2-2.6.10-2					gtk2-2.8.4-2
    gtk2-devel-2.6.10-2				gtk2-devel-2.8.4-2
    pango-1.8.1-2					pango-1.10.0-1
    pango-devel-1.8.1-2				pango-devel-1.10.0-1
    Before updating, the compilation succeeded:

    Code:
    Wrote: /home/mtl/redhat/RPMS/firefox-1.0.7-3.mtl.O2opt.FC4.src.rpm
    Wrote: /home/mtl/redhat/RPMS/firefox-1.0.7-3.mtl.O2opt.FC4.i686.rpm
    Wrote: /home/mtl/redhat/RPMS/firefox-debuginfo-1.0.7-3.mtl.O2opt.FC4.i686.rpm
    Executing(%clean): /bin/sh -e /home/mtl/redhat/tmp/rpm-tmp.61551
    + umask 022
    + cd /home/mtl/redhat/tmp
    + cd firefox-1.0.7
    + rm -rf /home/mtl/redhat/tmp/firefox-1.0.7 /home/mtl/redhat/tmp/firefox-1.0.7-buildroot /home/mtl/redhat/tmp/rpm-tmp.61551
    + exit 0

    After updating, I got the same errors as Clunixchit & Twey (both of whom also have the development versions of pango, pango-devel, gtk2, gtk2-devel, etc.):

    Code:
    c++ -o firefox-bin -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -pedantic -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -O2 -freorder-blocks -fno-reorder-functions -gstabs+  nsBrowserApp.o nsStaticComponents.o      -L../../dist/bin -L../../dist/lib -L../../dist/lib/components -lxpcom_compat_c -lxpconnect -luconv -lucvmath -li18n -loji -lnecko -lnecko2 -lpref -lcaps -lrdf -lhtmlpars -lgfxps -lgfxxprint -lgfx_gtk -limglib2 -lgkplugin -lwidget_gtk2 -lxremote_client -lgklayout -lmork -ldocshell -lembedcomponents -lwebbrwsr -leditor -ltxmgr -lcomposer -lnsappshell -lchrome -laccessibility -lpipboot -lpipnss -lpippki -lfileview -lmozfind -lxremoteservice -lappcomps -ltoolkitcomps -lcookie -lxmlextras -lautoconfig -lsystem-pref -ltransformiix -luniversalchardet -lwebsrvcs -lbrowsercomps -lunicharutil_s -lucvutil_s -ljsj -lgtkxtbin -lgfxshared_s -lxlibrgb -lxprintutil -lgkgfx -lxulapp_s ../../dist/lib/libxulapp_s.a -L../../dist/bin -lmozjs -L../../dist/bin -lxpcom  -L/home/mtl/redhat/tmp/firefox-1.0.7/mozilla/objdir/dist/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl  -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0    -L/usr/X11R6/lib -lX11  -ldl -lm  -L../../dist/lib/components -L../../dist/lib -lmozpng -L../../dist/lib -lmozjpeg -L../../dist/lib -lmozz  -L../../dist/bin -L../../dist/lib ../../dist/lib/libcrmf.a -lsmime3 -lssl3 -lnss3 -lsoftokn3   -L/usr/X11R6/lib -lXt -L/usr/X11R6/lib -lXp -lXext -lX11 -L../../dist/lib -lxpcom_compat
    ../../dist/lib/components/libgfx_gtk.a(nsFontMetricsXft.o)(.text+0x1c2): In function `nsFontMetricsXft::SetupMiniFont()':
    /home/mtl/redhat/tmp/firefox-1.0.7/mozilla/gfx/src/gtk/nsFontMetricsXft.cpp:1299: undefined reference to `XftDefaultSubstitute'
    ../../dist/lib/components/libgfx_gtk.a(nsFontMetricsXft.o)(.text+0x1f2):/home/mtl/redhat/tmp/firefox-1.0.7/mozilla/gfx/src/gtk/nsFontMetricsXft.cpp:1306: undefined reference to `XftFontOpenPattern'
    ../../dist/lib/components/libgfx_gtk.a(nsFontMetricsXft.o)(.text+0x24b):/home/mtl/redhat/tmp/firefox-1.0.7/mozilla/gfx/src/gtk/nsFontMetricsXft.cpp:1329: undefined reference to `XftTextExtents8'
    ../../dist/lib/components/libgfx_gtk.a(nsFontMetricsXft.o)(.text+0x3e7): In function `nsFontMetricsXft::DrawUnknownGlyph(unsigned int, int, int, _XftColor*, _XftDraw*)':
    /home/mtl/redhat/tmp/firefox-1.0.7/mozilla/gfx/src/gtk/nsFontMetricsXft.cpp:1378: undefined reference to `XftDrawRect'
    ../../dist/lib/components/libgfx_gtk.a(nsFontMetricsXft.o)(.text+0x409):/home/mtl/redhat/tmp/firefox-1.0.7/mozilla/gfx/src/gtk/nsFontMetricsXft.cpp:1381: undefined reference to `XftDrawRect'
    ../../dist/lib/components/libgfx_gtk.a(nsFontMetricsXft.o)(.text+0x430):/home/mtl/redhat/tmp/firefox-1.0.7/mozilla/gfx/src/gtk/nsFontMetricsXft.cpp:1387: undefined reference to `XftDrawRect'
    ../../dist/lib/components/libgfx_gtk.a(nsFontMetricsXft.o)(.text+0x457):/home/mtl/redhat/tmp/firefox-1.0.7/mozilla/gfx/src/gtk/nsFontMetricsXft.cpp:1391: undefined reference to `XftDrawRect'
    
    ...SNIP...
    
    ../../dist/lib/components/libgfx_gtk.a(nsFontMetricsXft.o)(.text+0xa00): In function `nsFontXft::~nsFontXft()':
    /home/mtl/redhat/tmp/firefox-1.0.7/mozilla/gfx/src/gtk/nsFontMetricsXft.cpp:1929: undefined reference to `XftFontClose'
    ../../dist/lib/components/libgfx_gtk.a(nsFontMetricsXft.o)(.text+0xa68): In function `nsFontXft::~nsFontXft()':
    /home/mtl/redhat/tmp/firefox-1.0.7/mozilla/gfx/src/gtk/nsFontMetricsXft.cpp:1929: undefined reference to `XftFontClose'
    
    ...SNIP...
    
    /home/mtl/redhat/tmp/firefox-1.0.7/mozilla/gfx/src/gtk/nsDrawingSurfaceGTK.cpp:114: undefined reference to `XftDrawDestroy'../../dist/lib/components/libgfx_gtk.a(nsDrawingSurfaceGTK.o)(.text+0x623): In function `nsDrawingSurfaceGTK::~nsDrawingSurfaceGTK()':
    /home/mtl/redhat/tmp/firefox-1.0.7/mozilla/gfx/src/gtk/nsDrawingSurfaceGTK.cpp:114: undefined reference to `XftDrawDestroy'collect2: ld returned 1 exit status
    gmake[4]: *** [firefox-bin] Error 1
    gmake[4]: Leaving directory `/home/mtl/redhat/tmp/firefox-1.0.7/mozilla/objdir/browser/app'
    gmake[3]: *** [libs] Error 2
    gmake[3]: Leaving directory `/home/mtl/redhat/tmp/firefox-1.0.7/mozilla/objdir/browser'
    gmake[2]: *** [tier_99] Error 2
    gmake[2]: Leaving directory `/home/mtl/redhat/tmp/firefox-1.0.7/mozilla/objdir'
    make[1]: *** [default] Error 2
    make[1]: Leaving directory `/home/mtl/redhat/tmp/firefox-1.0.7/mozilla/objdir'
    make: *** [build] Error 2
    error: Bad exit status from /home/mtl/redhat/tmp/rpm-tmp.3091 (%build)
    
    
    RPM build errors:
        Bad exit status from /home/mtl/redhat/tmp/rpm-tmp.3091 (%build)
    So it really is a problem with the gtk2 (and related) package versions. The fix is beyond me though. I hope they know about this over at mozilla.

  11. #101
    Join Date
    Jun 2005
    Posts
    263
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This is not really a "fix", but the firefox-1.0.7 compiled with the "current" versions of gtk2 packages (which I made available at http://www.mtl2002.net) does appear to run on the system with the "development" versions of the gtk2 packages. I'm using it now, while my system still has the "development" versions, and it's doing ok. (But I'm going to go back to the "current" versions, now that I know the "development" versions cause this problem.)

  12. #102
    Join Date
    Jun 2005
    Posts
    263
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    N.B.: flipping these versions is NOT something to be done lightly. When I tried to go back to the older versions (using rpm -Uvh --oldpackage), the post-uninstall script for the glibc-common failed to execute...and then the kernel started to panic, unfixable by reboots. So I just reinstalled from disks.

  13. #103
    Join Date
    Feb 2005
    Location
    Sofia, Bulgaria
    Age
    43
    Posts
    791
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    by the way there's this cool extension to manage the networking boost stuff exceeding RFCs and pipe-lining and so on... maybe recompilation will be usefull just for the rest stuff for athlon support in my case... you can find it ot addons.mozilla web
    Windows doesn't just crash - it opens a dialog box and lets you press OK first. Powered by RedHat since I know my self ;) Fedora 12 #379190

  14. #104
    Twey Guest
    That's a bit vague :-\ After a bit of searching, I found it: https://addons.mozilla.org/extension...fo.php?id=1269

    mtl, you got a kernel panic? This is rather strange... none of those libraries except glibc ought to be required (or even accessed) by the kernel, they're X- and GTK-specific. Ergo, it must be the glibc updates that are to blame. I wouldn't have thought that glibc would cause the errors mentioned; it must be the other packages.

  15. #105
    Join Date
    Jun 2005
    Posts
    263
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh, I'm pretty sure the compilation errors arose from the new gtk2 or pango packages. Updating the glibc packages was part of the dependencies for them. That made me nervous because a lot of other packages depend on glibc & glibc-common, so I'm not surprised that the system became unstable. Fortunately, it was a "spare" box.

Page 7 of 15 FirstFirst ... 56789 ... LastLast

Similar Threads

  1. What exactly do I need to build software from source???
    By Johnny England in forum Using Fedora
    Replies: 11
    Last Post: 3rd October 2008, 06:04 AM
  2. xen build a guest source
    By glums in forum Servers & Networking
    Replies: 5
    Last Post: 20th November 2007, 04:25 PM
  3. Build rpm from source rpm
    By nocolour in forum Using Fedora
    Replies: 2
    Last Post: 24th April 2004, 12:24 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •