Re: [OpenWrt-Devel] YATE 5.0.0 fails to build because PHP5 doesn't build

2013-11-16 Thread Michael Heimpold
Hi,

> > CONFIG_PACKAGE_yate=y
> > CONFIG_PACKAGE_yate-mod-accfile=y
> > CONFIG_PACKAGE_yate-mod-jabberclient=y
> > CONFIG_PACKAGE_yate-mod-jbfeatures=y
> > CONFIG_PACKAGE_yate-mod-openssl=y
> > CONFIG_PACKAGE_yate-mod-regexroute=y
> > CONFIG_PACKAGE_yate-mod-regfile=y
> > CONFIG_PACKAGE_yate-mod-rmanager=y
> > CONFIG_PACKAGE_yate-mod-sipfeatures=y
> > CONFIG_PACKAGE_yate-mod-tonegen=y
> > CONFIG_PACKAGE_yate-mod-yjinglechan=y
> > CONFIG_PACKAGE_yate-mod-yrtpchan=y
> > CONFIG_PACKAGE_yate-mod-ysipchan=y
> > CONFIG_PACKAGE_yate-mod-ystunchan=y
> > CONFIG_PACKAGE_yate-sounds=y
> > 
> > As a result, php5 "attempts" to build (not sure why)

I guess CONFIG_PACKAGE_yate-scripts-php was selected priviously, then 
de-selected
and the selected dependencies to php5 remains active in the configuration,
because the dependencies to php5 and php5-cli seems to be correct.

> It looks like you get the exact same error if you build
> 
>   CONFIG_PACKAGE_php5=m
> 
> .. but no other php modules so I get the feeling that this is a php
> problem and not specific to yate.

Agreed, I'm going to change this, because this has already caused confusion for
several times. Give me some minutes to test and verify...

Regards,
Michael
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] YATE 5.0.0 fails to build because PHP5 doesn't build

2013-11-16 Thread Robert Högberg
On Fri, 15 Nov 2013 21:59:48 -0500
Chirag Chhatriwala  wrote:

> I am having a bit difficulty building OpenWrt trunk as of today.
> checked out from git, updated and installed feeds.
> Selected the following yate modules:
> 
> CONFIG_PACKAGE_yate=y
> CONFIG_PACKAGE_yate-mod-accfile=y
> CONFIG_PACKAGE_yate-mod-jabberclient=y
> CONFIG_PACKAGE_yate-mod-jbfeatures=y
> CONFIG_PACKAGE_yate-mod-openssl=y
> CONFIG_PACKAGE_yate-mod-regexroute=y
> CONFIG_PACKAGE_yate-mod-regfile=y
> CONFIG_PACKAGE_yate-mod-rmanager=y
> CONFIG_PACKAGE_yate-mod-sipfeatures=y
> CONFIG_PACKAGE_yate-mod-tonegen=y
> CONFIG_PACKAGE_yate-mod-yjinglechan=y
> CONFIG_PACKAGE_yate-mod-yrtpchan=y
> CONFIG_PACKAGE_yate-mod-ysipchan=y
> CONFIG_PACKAGE_yate-mod-ystunchan=y
> CONFIG_PACKAGE_yate-sounds=y
> 
> As a result, php5 "attempts" to build (not sure why)

I don't know why it tries to build php5 either, but the build system
seems to want to build python and libopenssl even if these yate modules
aren't selected. So maybe this is the expected behaviour?


> and then fails with the following error log:

[ ... ]

> configure: error: Nothing to build.
> make[3]: ***
> [/home/chirag/open/buffalo/build_dir/target-mips_34kc_uClibc-0.9.33.2/php-5.4.19/.configured_n]
> Error 1
> make[3]: Leaving directory
> `/home/chirag/open/buffalo/feeds/packages/lang/php5'
> make[2]: *** [package/feeds/packages/php5/compile] Error 2
> make[2]: Leaving directory `/home/chirag/open/buffalo'
> make[1]: ***
> [/home/chirag/open/buffalo/staging_dir/target-mips_34kc_uClibc-0.9.33.2/stamp/.package_compile]
> Error 2
> make[1]: Leaving directory `/home/chirag/open/buffalo'
> make: *** [world] Error 2


It looks like you get the exact same error if you build

  CONFIG_PACKAGE_php5=m

.. but no other php modules so I get the feeling that this is a php
problem and not specific to yate. The following patch solves the
problem. Maybe it's an acceptable solution?

diff --git a/lang/php5/patches/951-allow_build_without_sapis.patch 
b/lang/php5/patches/951-allow_build_without_sapis.patch
new file mode 100644
index 000..14033a4
--- /dev/null
+++ b/lang/php5/patches/951-allow_build_without_sapis.patch
@@ -0,0 +1,16 @@
+Index: php-5.4.19/configure.in
+===
+--- php-5.4.19.orig/configure.in   2013-11-16 18:48:58.806909648 +0100
 php-5.4.19/configure.in2013-11-16 18:49:50.614145909 +0100
+@@ -401,11 +401,6 @@
+   AC_MSG_RESULT([none])
+ fi
+ 
+-dnl Exit early
+-if test -z "$PHP_INSTALLED_SAPIS"; then
+-  AC_MSG_ERROR([Nothing to build.])
+-fi
+-
+ dnl force ZTS
+ if test "$enable_maintainer_zts" = "yes"; then
+   PTHREADS_ASSIGN_VARS
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [Patch][package] keepalived: fix compile

2013-11-16 Thread Dirk Neukirchen
newer kernels (3.7) split user side headers

should fix: https://dev.openwrt.org/ticket/12875

Should the patch be compatible with older kernels too?
(see https://dev.openwrt.org/ticket/12875#comment:6 )

Signed-off-by: Dirk Neukirchen 
---
 net/keepalived/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/keepalived/Makefile b/net/keepalived/Makefile
index d7396b2..b7ac46a 100644
--- a/net/keepalived/Makefile
+++ b/net/keepalived/Makefile
@@ -43,7 +43,7 @@ CONFIGURE_ARGS+= \
--disable-strip \
--disable-lvs \
--disable-lvs-syncd \
-   --with-kernel-dir="$(LINUX_DIR)"
+   --with-kernel-dir="$(LINUX_DIR)/$(LINUX_UAPI_DIR)"
 
 CONFIGURE_VARS+= \
ac_cv_file_$(call acvar,$(LINUX_DIR)/net/core/link_watch.c)=yes
-- 
1.8.4.3



smime.p7s
Description: S/MIME Cryptographic Signature
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] YATE 5.0.0 fails to build because PHP5 doesn't build

2013-11-16 Thread Chirag Chhatriwala
>
> Selected how? Through menuconfig?
>

Yes Jo, through "make menuconfig" (Network->Telephony->yate) is how I
selected these packages (I did not manipulate the .config file manually).
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] YATE 5.0.0 fails to build because PHP5 doesn't build

2013-11-16 Thread Jiri Slachta
PHP seems to be as a mandatory dependency for yate. If there is no possibility 
to enable/disable php then it should be added among other dependencies of the 
main yate package.

I am going to resolve this issue within this weekend.

Jiri

Jo-Philipp Wich  napsal(a):
>Selected how? Through menuconfig?
>
>~ Jow
>
>
>
>
>
>___
>openwrt-devel mailing list
>openwrt-devel@lists.openwrt.org
>https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

-- 
Odesláno z mého telefonu s Androidem pomocí pošty K-9 Mail. Omluvte prosím moji 
stručnost.___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] YATE 5.0.0 fails to build because PHP5 doesn't build

2013-11-16 Thread Jo-Philipp Wich
Selected how? Through menuconfig?

~ Jow



signature.asc
Description: OpenPGP digital signature
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel