FreeType 2.6.1

wattie

Verified User
Joined
May 31, 2008
Messages
1,040
Location
Bulgaria
I get the following error under FreeBSD 9.2:

Code:
Make complete
Installing freetype-2.6.1...
rm -rf /usr/local/include/freetype2
./install-sh -c -d /usr/local/lib                               \
                         /usr/local/lib/pkgconfig                     \
                         /usr/local/include/freetype2/freetype/config \
                         /usr/local/bin                               \
                         /usr/local/share/aclocal                      \
                         /usr/local/share/man/man1
gmake: ./install-sh: Command not found
gmake: *** [install] Error 127
Done FreeType.
 

labrocca

Verified User
Joined
Mar 12, 2006
Messages
151
Same here on FreeBSD 9.3.

And since it deleted "rm -rf /usr/local/include/freetype2" the freetype2 folder before the error it screws up php installation.

I had to install freetype from /usr/ports/print/freetype2 but then php-fpm55 won't install. Pretty much having problems getting to php-fpm55. I can deal with adding freetype2 from ports but I prefer to use custombuild for php-fpm55 to keep current.
 

sysdev

Verified User
Joined
Jul 16, 2007
Messages
182
Uhm, install 'gmake'?

'pkg install gmake' if I remember correctly.
 

labrocca

Verified User
Joined
Mar 12, 2006
Messages
151
I have gmake installed.

Make complete
Installing freetype-2.6.1...
rm -rf /usr/local/include/freetype2
./install-sh -c -d /usr/local/lib \
/usr/local/lib/pkgconfig \
/usr/local/include/freetype2/freetype/config \
/usr/local/bin \
/usr/local/share/aclocal \
/usr/local/share/man/man1
gmake: ./install-sh: Command not found
No install-sh is found. :(
 

wattie

Verified User
Joined
May 31, 2008
Messages
1,040
Location
Bulgaria
labrocca - edit the versions.txt file and change the freetype version to 2.6.0 - delete the hash code after the version. FreeType will not install fine but the older version.

Note that ./build update will overwrite your edit :)
 

ditto

Verified User
Joined
Apr 27, 2009
Messages
2,513
Is it only FreeBSD that have problem with FreeType 2.6.1? Anybody have problem with the new version on CentOS?

Maybe the problems is related to this (from the changelog at http://sourceforge.net/projects/freetype/files/freetype2/2.6.1/ ):

Code:
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.
 

labrocca

Verified User
Joined
Mar 12, 2006
Messages
151
FreeType 2.6.2 appears to be out and installed perfect on FreeBSD.
 
Top