freetype-config not found

问答中心分类: Linuxfreetype-config not found
longfit asked 5 年 ago

If configure fails try --with-xpm-dir= configure: error: freetype-config not found. make: *** No targets specified and no makefile found. Stop. make: *** No rule to make target \'install\'. Stop. PHP install failed, Please Contact the author! Killed ykwings@amd-x6:~/Documents/oneinstack$ Created symlink /etc/systemd/system/multi-user.target.wants/php-fpm.service → /lib/systemd/system/php-fpm.service.

10 Answers
oneinstack answered 5 年 ago
服务器依赖没有安装好吧
暂时还没有测试ubuntu 19.04
方便的话可否有一个 它的测试机器?私信左下角ip root密码

oneinstack answered 5 年 ago
ssh端口多少?

longfit answered 5 年 ago
安裝在 ubuntu 19.04 出現 freetype not found , 找到解決方案嗎?

longfit answered 5 年 ago
今天再重裝
f configure fails try --with-webp-dir=<DIR>
checking for jpeg_read_header in -ljpeg... yes
checking for png_write_image in -lpng... yes
If configure fails try --with-xpm-dir=<DIR>
configure: error: freetype-config not found.
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target 'install'.  Stop.
PHP install failed, Please Contact the author! 
Killed
ykwings@fujit-ubuntu:~/Documents/oneinstack$ Created symlink /etc/systemd/system/multi-user.target.wants/php-fpm.service → /lib/systemd/system/php-fpm.service.
 
各位師兄有方法解決?
 

cc answered 5 年 ago
AWS debian 9  
#uname -a
Linux ip-172-26-10-175 4.19.0-5-amd64 #1 SMP Debian 4.19.37-5 (2019-06-19) x86_64 GNU/Linux
php 安装不了 也是这样的提示。
查了一下资料,
这是由于在 Ubuntu 19.04 中 apt-get 安装的 libfreetype6-dev 版本为 2.9.1-3
http://changelogs.ubuntu.com/changelogs/pool/main/f/freetype/freetype_2.9.1-3/changelog
在 changelog 中写到:

- The `freetype-config' script is no longer installed by default
(Closes: #871470, #886461). All packages depending on libfreetype6-dev
should use pkg-config to find the relevant CFLAGS and libraries.

freetype-config 被替代成 pkg-config ,新版本使用 pkg-config 管理 CFLAGS 和 库。
 
sudo apt install pkg-config 
还是不行哦。
原贴
https://www.doopsky.com/ops/981.html

oneinstack answered 5 年 ago
@longfit @cc 都连不上!

oneinstack answered 5 年 ago
wget downloads.linuxeye.com/oneinstack-full-beta.tar.gz
下载上面适配ubuntu19版本

longfit answered 5 年 ago
wget downloads.linuxeye.com/oneinstack-full-beta.tar.gz
下载上面适配ubuntu19版本 
以上的beta 版可以 成功安裝到 19.04
 
謝謝 !
 

longfit answered 5 年 ago

版主  ! 你好  wget downloads.linuxeye.com/oneinstack-full-beta.tar.gz
下载上面适配ubuntu19版本 以上的beta 版可以 成功安裝到 19.04    以下用 beta 測試的問題 1) 原來 oneinstack 運行在  ubuntu 18.10 升級到 ubuntu 19.04 ,出現     502 bad gateway        2)  安裝在 (由 18.10 升級到 19.04 的 Ubuntu ) 都是出現          Freetype not found                    你們給我的下載 beta 版祇可在 重新安裝的 Ubuntu 19.04  

oneinstack answered 5 年 ago

经过大家反馈,Freetype版本问题,导致不能编译,Freetype已经改成源码编译,现在基本已经适配Debian10和Ubuntu19,建议不要从老版本升级到ubuntu19,gcc都有较大变更,可直接下载mirrors.linuxeye.com/oneinstack-full.tar.gz ,有问题可接着反馈,非常感谢!