bugGNU TeXmacs - Bugs: bug #55986, Failed to configure on Debian sid...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #55986: Failed to configure on Debian sid due to freetype

Submitter:  Darcy Shen <sadhen>
Submitted:  Sat 23 Mar 2019 07:34:41 AM UTC
   
 
Category:  Compilation Priority:  5 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  None Release: 
Fixed Release:  None Fixed Release: 
Keywords: 

Jump to the original submission

Thu 06 Jun 2019 04:07:48 PM UTC, comment #6: 

A temporary solution:

https://packages.debian.org/stretch/libfreetype6-dev

Download the deb, extract it, and put the freetype-config under the PATH (eg. $HOME/bin). And then, it will compile.

Darcy Shen <sadhen>
Group Member
Wed 24 Apr 2019 11:48:58 AM UTC, comment #5: 

I have run into this problem too. According to

https://freetype.org/freetype2/docs/tutorial/step1.html

freetype-config script is deprecated (I guess it was removed from Debian, and all other distros will follow). Instead, they instruct to use  pkg-config as Darcy indicated.


Philippe Joyez <pjoyez>
Group Member
Mon 25 Mar 2019 03:51:05 PM UTC, comment #4: 

Configure needs to find freetype-config script which I have ever seen on every distribution. There is no other way. If it doesn't exist on the sid distribution, just write a fake one based on pkg-config returns.

- <_86389>
Mon 25 Mar 2019 03:35:31 PM UTC, comment #3: 

BTW, I am using Debian sid.

Darcy Shen <sadhen>
Group Member
Mon 25 Mar 2019 03:34:33 PM UTC, comment #2: 

I've checked libfreetype6 and ibfreetype6-dev using dpkg -L and didn't find freetype-config .

pkg-config works fine:

$ pkg-config --cflags --libs freetype2                                                                                       
-I/usr/include/freetype2 -I/usr/include/libpng16 -lfreetype

Darcy Shen <sadhen>
Group Member
Mon 25 Mar 2019 12:14:20 PM UTC, comment #1: 

If freestyle-config is not accessible within the path you can use the configure option :
--with-freetype[DIR=]   where to find freetype-config []

- <_86389>
Sat 23 Mar 2019 07:34:41 AM UTC, original submission:  

Latest GNU TeXmacs code.

$ ./configure
checking for freetype-config... no
configure: WARNING: freetype-config not found
checking ft2build.h usability... no
checking ft2build.h presence... no
checking for ft2build.h... no
checking freetype.h usability... no
checking freetype.h presence... no
checking for freetype.h... no
configure: error: Cannot find a working freetype library.



I've installed libfreetype6-dev, libfreetype6.

Darcy Shen <sadhen>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by pjoyez (Posted a comment)
  • -email is unavailable- added by sadhen (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-07-06 sadhen StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code