Am Donnerstag, den 24.04.2014, 17:23 +0200 schrieb samuel zimmer <sammyizi...@gmail.com>:

which version of netsurf.
    I am using freetype 6.3.8 with netsurf 3.0

The freetype version is not correct. Maybe that's an package version?

    I was using the internal font. Now I am trying with freetype
but I am getting these errors:
          LINK: nsfb
     /usr/lib/x86_64-linux-gnu/libm.so: file not recognized: File
format not recognized
     I am trying to get it to look in my cross compile root and
not try to use my main system libs. So far no go.

You can probably adjust the path directly in this file:
http://git.netsurf-browser.org/netsurf.git/tree/framebuffer/Makefile.target

...but also have an look at Makefile.config in the root of your netsurf source tree!

Your build environment is broken when it uses the wrong pkg-config installation (directory). In the end, that means netsurf-buildsystem will not use the correct libs. You may want to use hardcoded lib path in the Makefile.target file, as long as you don't
want to fix your build env. You can also enable verbose compiling at:
http://git.netsurf-browser.org/netsurf.git/tree/Makefile#n134
http://git.netsurf-browser.org/netsurf.git/tree/Makefile#n135
(comment the lines).
Then you can copy the erroneous linker statement, try to fix it, paste it
to the console again, and execute again.

Maybe freetype uses a special pkg-config script called "freetype2-config" or such...
(same may applies to other packages...).






Reply via email to