22.02.2013, 23:16 | #10 |
Junior Member
Регистрация: 17.02.2013
Сообщений: 28
Вес репутации: 0 |
Подскажите пожалуйста, как включить поддержку freetype в php на роутере под openwrt? Прошивка у меня полностью рабочая и собирать новую полностью нет желания. Хотелось бы просто пересобрать php5 с флагом --with-freetype-dir="......" вместо --without-freetype-dir, который включен по умолчанию, и добавить freetype в зависимости.
Роутер: TP-Link WR1043ND, прошивка: Attitude Adjustment 12.09-rc1, корень вынесен на внешний USB-диск. Я скачал исходники, обновил фиды, а что делать дальше, я не очень то представляю... Я сделал: Код:
./scripts/feeds update -a ./scripts/feeds install php5 ./scripts/feeds install zoneinfo (без него make menuconfig ругался) ./scripts/feeds install freetype Код:
..... ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-gd),) CONFIGURE_ARGS+= \ --with-gd=shared \ --without-freetype-dir \ --with-jpeg-dir="$(STAGING_DIR)/usr" \ --with-png-dir="$(STAGING_DIR)/usr" \ --without-xpm-dir \ --without-t1lib \ --enable-gd-native-ttf \ --disable-gd-jis-conv else CONFIGURE_ARGS+= --without-gd endif ..... $(eval $(call BuildModule,gd,GD graphics,+PACKAGE_php5-mod-gd:libjpeg +PACKAGE_php5-mod-gd:libpng)) ..... Код:
..... ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-gd),) CONFIGURE_ARGS+= \ --with-gd=shared \ # --without-freetype-dir \ --with-freetype-dir="$(STAGING_DIR)/usr/lib" \ --with-jpeg-dir="$(STAGING_DIR)/usr" \ --with-png-dir="$(STAGING_DIR)/usr" \ --without-xpm-dir \ --without-t1lib \ --enable-gd-native-ttf \ --disable-gd-jis-conv else CONFIGURE_ARGS+= --without-gd endif ..... $(eval $(call BuildModule,gd,GD graphics,+PACKAGE_php5-mod-gd:libjpeg +PACKAGE_php5-mod-gd:libpng +PACKAGE_php5-mod-gd:libfreetype)) ..... make package/feeds/packages/php5/compile V=99 Код:
Configuring SAPI modules checking for AOLserver support... no checking for Apache 1.x module support via DSO through APXS... no checking for Apache 1.x module support... no checking whether to enable Apache charset compatibility option... no checking for Apache 2.0 filter-module support via DSO through APXS... no checking for Apache 2.0 handler-module support via DSO through APXS... no checking for Apache 1.x (hooks) module support via DSO through APXS... no checking for Apache 1.x (hooks) module support... no checking whether to enable Apache charset compatibility option... no checking for Caudium support... no checking for CLI build... no checking for Continuity support... no checking for embedded SAPI library support... no checking for FPM build... no checking for Zeus ISAPI support... no checking for LiteSpeed support... no checking for Milter support... no checking for NSAPI support... no checking for PHTTPD support... no checking for Pi3Web support... no checking whether Roxen module is build using ZTS... no checking for Roxen/Pike support... checking for thttpd... no checking for TUX... no checking for webjames... no checking for CGI build... yes checking for chosen SAPI module... none checking for executable SAPI binaries... none configure: error: Nothing to build. make[2]: *** [/home/osboy/openwrt/attitude_adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/php-5.4.5/.configured_nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn] Error 1 make[2]: Leaving directory `/home/osboy/openwrt/attitude_adjustment/feeds/packages/lang/php5' make[1]: *** [package/feeds/packages/php5/compile] Error 2 make[1]: Leaving directory `/home/osboy/openwrt/attitude_adjustment' make: *** [package/feeds/packages/php5/compile] Ошибка 2 Последний раз редактировалось OSBoy; 23.02.2013 в 22:00. |
Здесь присутствуют: 20 (пользователей: 0 , гостей: 20) | |
|
|