Em 19-10-2015 03:51, Markku Pesonen escreveu:
> Bruce Dubbs wrote:
>> I've got a problem building firefox on a new system.  On my normal 
>> development system it builds fine, but using the same procedures on a 
>> brand new build gives:
>>
>> /usr/src/firefox/firefox/mozilla-release/gfx/skia/trunk/src/ports/SkFontHost_FreeType.cpp:560:
>>  
>> undefined reference to `FT_Get_X11_Font_Format'
>> collect2: error: ld returned 1 exit status
>> /usr/src/firefox/firefox/mozilla-release/config/rules.mk:812: recipe for 
>> target 'libxul.so' failed
> 
> Freetype 2.6.1 changed the location of ftfntfmt.h, so
> config/system-headers must be patched yet again. This works for me:
> 
> sed -i '/^freetype\/ftcache.h/a freetype\/ftfntfmt.h' config/system-headers

Thanks, Markku.

Yes:

{{{

II. IMPORTANT CHANGES

    - The header  file layout  has been  changed (again),  moving  all
      header files except `ft2build.h' into a subdirectory tree.

      Doing so  reduces the  possibility of  header file  name clashes
      (e.g., FTGL's  `FTGlyph.h' with FreeType's `ftglyph.h')  on case
      insensitive file systems like Mac OS X or Windows.

      Applications  that  use  (a)  the  `freetype-config'  script  or
      FreeType's `freetype2.pc' file for pkg-config to get the include
      directory  for the  compiler,  and (b)  the  documented way  for
      header inclusion like

        #include <ft2build.h>
        #include FT_FREETYPE_H
        ...

      don't need any change to the source code.
}}}

It is in the ticket.

We are expecting some more problems, but I'm building the new dev system
quite slow, and could not test everything yet, to try and fix.

Markku's fix is very appreciated not only for FF, but it should
facilitate our job with other packages.

-- 
[]s,
Fernando de Oliveira


-- 
[]s,
Fernando, aka Sísifo
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to