Mediastreamer2 IT_PROG_INTLTOOL(0.40, no-xml)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Mediastreamer2 IT_PROG_INTLTOOL(0.40, no-xml)

Duchesko
Hi Guys,
I've got some problems with the installation of mediastreamer2...
I tried to find a solution myself, but google coudln't help me.
Thanks for your time and effort!

I download git with:
git clone git://git.linphone.org/mediastreamer2.git

and try to install it with:
./autogen.sh
./configure

The Error is this one:

checking whether time.h and sys/time.h may both be included... yes
checking whether byte ordering is bigendian... no
./configure: line 17103: syntax error near unexpected token `0.40,'
./configure: line 17103: `IT_PROG_INTLTOOL(0.40, no-xml)'

initltool is installed (higher version)

I realy have no clue at all, what to do next.
Reply | Threaded
Open this post in threaded view
|

Re: Mediastreamer2 IT_PROG_INTLTOOL(0.40, no-xml)

joaoprosa

Dear Sir

I do not know if this solve your problem, I already have problem with git so you can try download  mediastreamer-2.0.0.tar.gz  from http://download.savannah.gnu.org/releases/linphone/mediastreamer/   and build it

with kinds regards
João Pereira Rosa



 

Citando Duchesko <[hidden email]>:

Hi Guys,
I've got some problems with the installation of mediastreamer2...
I tried to find a solution myself, but google coudln't help me.
Thanks for your time and effort!

I download git with:
git clone <a href="git://git.linphone.org/mediastreamer2.git" target="_blank">git://git.linphone.org/mediastreamer2.git

and try to install it with:
./autogen.sh
./configure

The Error is this one:

checking whether time.h and sys/time.h may both be included... yes
checking whether byte ordering is bigendian... no
./configure: line 17103: syntax error near unexpected token `0.40,'
./configure: line 17103: `IT_PROG_INTLTOOL(0.40, no-xml)'

initltool is installed (higher version)

I realy have no clue at all, what to do next.




--
View this message in context: http://nongnu.13855.n7.nabble.com/Mediastreamer2-IT-PROG-INTLTOOL-0-40-no-xml-tp204362.html
Sent from the linphone-developers mailing list archive at Nabble.com.

_______________________________________________
Linphone-developers mailing list
[hidden email].<a href="orghttps://lists.nongnu.org/mailman/listinfo/linphone-developers" target="_blank">orghttps://lists.nongnu.org/mailman/listinfo/linphone-developers


 


_______________________________________________
Linphone-developers mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-developers
Reply | Threaded
Open this post in threaded view
|

Re: Mediastreamer2 IT_PROG_INTLTOOL(0.40, no-xml)

Duchesko
Thanks for the fast answer, i tried it and even more errors appear.

So I thought, delete and try from the beginning with the git version (as I did many, many... times bevor), no changes and ./configure works now. No Idea why.

Next command in the Pipeline should be make, but new errors appear:

In file included from voip/private.h:24:0,
                 from voip/msvoip.c:36:
../include/mediastreamer2/mediastream.h:141:2: error: unknown type name 'OrtpEvDispatcher'
  OrtpEvDispatcher *evd;
  ^
../include/mediastreamer2/mediastream.h:282:12: error: unknown type name 'OrtpEvDispatcher'
 MS2_PUBLIC OrtpEvDispatcher* media_stream_get_event_dispatcher(const MediaStream *stream);
            ^
Reply | Threaded
Open this post in threaded view
|

Re: Mediastreamer2 IT_PROG_INTLTOOL(0.40, no-xml)

Johan Pascal-2
Hi,
glad it works for the .configure.
To have the latest git master version of mediastreamer2 able to compile,
you must build and install the last version of oRTP(from git depot) first.

regards,

Johan

On 23/09/15 12:48, Duchesko wrote:

> Thanks for the fast answer, i tried it and even more errors appear.
>
> So I thought, delete and try from the beginning with the git version (as I
> did many, many... times bevor), no changes and ./configure works now. No
> Idea why.
>
> Next command in the Pipeline should be make, but new errors appear:
>
> In file included from voip/private.h:24:0,
>                   from voip/msvoip.c:36:
> ../include/mediastreamer2/mediastream.h:141:2: error: unknown type name
> 'OrtpEvDispatcher'
>    OrtpEvDispatcher *evd;
>    ^
> ../include/mediastreamer2/mediastream.h:282:12: error: unknown type name
> 'OrtpEvDispatcher'
>   MS2_PUBLIC OrtpEvDispatcher* media_stream_get_event_dispatcher(const
> MediaStream *stream);
>              ^
>
>
>
>
> --
> View this message in context: http://nongnu.13855.n7.nabble.com/Mediastreamer2-IT-PROG-INTLTOOL-0-40-no-xml-tp204362p204364.html
> Sent from the linphone-developers mailing list archive at Nabble.com.
>
> _______________________________________________
> Linphone-developers mailing list
> [hidden email]
> https://lists.nongnu.org/mailman/listinfo/linphone-developers


_______________________________________________
Linphone-developers mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-developers
Reply | Threaded
Open this post in threaded view
|

Re: Mediastreamer2 IT_PROG_INTLTOOL(0.40, no-xml)

Duchesko
Hi,
oRTP is already installed. (twice: once downloaded an installed and one via sudo apt-get).
But I try everything, so i got the git version, installed it and tried make for mediastreamer again.
Now this error appears...:

regards Andreas

make  all-am
make[3]: Entering directory '/home/andi/ba-arbeit/mediastreamer2/src'
  CC       base/mscommon.lo
In file included from base/mscommon.c:22:0:
../include/mediastreamer2/mscommon.h:57:20: error: unknown type name 'ORTP_INLINE'
 #define MS2_INLINE ORTP_INLINE
                    ^
../include/mediastreamer2/msqueue.h:41:8: note: in expansion of macro 'MS2_INLINE'
 static MS2_INLINE mblk_t *ms_queue_get(MSQueue *q){
        ^
In file included from ../include/mediastreamer2/msfilter.h:24:0,
                 from base/mscommon.c:24:
../include/mediastreamer2/msqueue.h:41:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
 static MS2_INLINE mblk_t *ms_queue_get(MSQueue *q){
                          ^
../include/mediastreamer2/msqueue.h:45:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
 static MS2_INLINE void ms_queue_put(MSQueue *q, mblk_t *m){
                   ^
In file included from base/mscommon.c:22:0:
../include/mediastreamer2/mscommon.h:57:20: error: unknown type name 'ORTP_INLINE'
 #define MS2_INLINE ORTP_INLINE
                    ^
../include/mediastreamer2/msqueue.h:50:8: note: in expansion of macro 'MS2_INLINE'
 static MS2_INLINE mblk_t * ms_queue_peek_last(MSQueue *q){
        ^
In file included from ../include/mediastreamer2/msfilter.h:24:0,
                 from base/mscommon.c:24:
../include/mediastreamer2/msqueue.h:50:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
 static MS2_INLINE mblk_t * ms_queue_peek_last(MSQueue *q){
                          ^
In file included from base/mscommon.c:22:0:
../include/mediastreamer2/mscommon.h:57:20: error: unknown type name 'ORTP_INLINE'
 #define MS2_INLINE ORTP_INLINE
                    ^
../include/mediastreamer2/msqueue.h:54:8: note: in expansion of macro 'MS2_INLINE'
 static MS2_INLINE mblk_t *ms_queue_peek_first(MSQueue *q){
        ^
In file included from ../include/mediastreamer2/msfilter.h:24:0,
                 from base/mscommon.c:24:
../include/mediastreamer2/msqueue.h:54:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
 static MS2_INLINE mblk_t *ms_queue_peek_first(MSQueue *q){
                          ^
In file included from base/mscommon.c:22:0:
../include/mediastreamer2/mscommon.h:57:20: error: unknown type name 'ORTP_INLINE'
 #define MS2_INLINE ORTP_INLINE
                    ^
../include/mediastreamer2/msqueue.h:58:8: note: in expansion of macro 'MS2_INLINE'
 static MS2_INLINE mblk_t *ms_queue_next(MSQueue *q, mblk_t *m){
        ^
In file included from ../include/mediastreamer2/msfilter.h:24:0,
                 from base/mscommon.c:24:
../include/mediastreamer2/msqueue.h:58:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
 static MS2_INLINE mblk_t *ms_queue_next(MSQueue *q, mblk_t *m){
                          ^
In file included from base/mscommon.c:22:0:
../include/mediastreamer2/mscommon.h:57:20: error: unknown type name 'ORTP_INLINE'
 #define MS2_INLINE ORTP_INLINE
                    ^
../include/mediastreamer2/msqueue.h:62:8: note: in expansion of macro 'MS2_INLINE'
 static MS2_INLINE bool_t ms_queue_end(MSQueue *q, mblk_t *m){
        ^
In file included from ../include/mediastreamer2/msfilter.h:24:0,
                 from base/mscommon.c:24:
../include/mediastreamer2/msqueue.h:62:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ms_queue_end'
 static MS2_INLINE bool_t ms_queue_end(MSQueue *q, mblk_t *m){
                          ^
../include/mediastreamer2/msqueue.h:66:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
 static MS2_INLINE void ms_queue_remove(MSQueue *q, mblk_t *m){
                   ^
In file included from base/mscommon.c:22:0:
../include/mediastreamer2/mscommon.h:57:20: error: unknown type name 'ORTP_INLINE'
 #define MS2_INLINE ORTP_INLINE
                    ^
../include/mediastreamer2/msqueue.h:70:8: note: in expansion of macro 'MS2_INLINE'
 static MS2_INLINE bool_t ms_queue_empty(MSQueue *q){
        ^
In file included from ../include/mediastreamer2/msfilter.h:24:0,
                 from base/mscommon.c:24:
../include/mediastreamer2/msqueue.h:70:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ms_queue_empty'
 static MS2_INLINE bool_t ms_queue_empty(MSQueue *q){
                          ^
../include/mediastreamer2/msqueue.h:139:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
 static MS2_INLINE int ms_bufferizer_get_avail(MSBufferizer *obj){
                   ^
Makefile:1522: recipe for target 'base/mscommon.lo' failed
make[3]: *** [base/mscommon.lo] Error 1
make[3]: Leaving directory '/home/andi/ba-arbeit/mediastreamer2/src'
Makefile:985: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/andi/ba-arbeit/mediastreamer2/src'
Makefile:619: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/andi/ba-arbeit/mediastreamer2'
Makefile:525: recipe for target 'all' failed
make: *** [all] Error 2
Reply | Threaded
Open this post in threaded view
|

Re: Mediastreamer2 IT_PROG_INTLTOOL(0.40, no-xml)

Johan Pascal-2
It still looks like it cannot found ORTP  header files. Installing two
version of oRTP isn't such a good idea as you may point to a version
while thinking you are pointing at an other one.

Try:
- remove any apt-get installed version of oRTP and mediastreamer2
- create a install path like ~/linphoneusr/local or use /usr/local but
it may be a good idea to first play in your home directory until you're
sure about what you are doing
- add PKG_CONFIG_PATH set to ~/linphoneusr/local/lib/pkgconfig in your
environment
- run
./autogen.sh && ./configure --prefix=~/linphoneusr/local && make && make
install
first in the oRTP, then in mediastreamer2 source directory

johan

On 23/09/15 13:45, Duchesko wrote:

> Hi,
> oRTP is already installed. (twice: once downloaded an installed and one via
> sudo apt-get).
> But I try everything, so i got the git version, installed it and tried make
> for mediastreamer again.
> Now this error appears...:
>
> regards Andreas
>
> make  all-am
> make[3]: Entering directory '/home/andi/ba-arbeit/mediastreamer2/src'
>    CC       base/mscommon.lo
> In file included from base/mscommon.c:22:0:
> ../include/mediastreamer2/mscommon.h:57:20: error: unknown type name
> 'ORTP_INLINE'
>   #define MS2_INLINE ORTP_INLINE
>                      ^
> ../include/mediastreamer2/msqueue.h:41:8: note: in expansion of macro
> 'MS2_INLINE'
>   static MS2_INLINE mblk_t *ms_queue_get(MSQueue *q){
>          ^
> In file included from ../include/mediastreamer2/msfilter.h:24:0,
>                   from base/mscommon.c:24:
> ../include/mediastreamer2/msqueue.h:41:26: error: expected '=', ',', ';',
> 'asm' or '__attribute__' before '*' token
>   static MS2_INLINE mblk_t *ms_queue_get(MSQueue *q){
>                            ^
> ../include/mediastreamer2/msqueue.h:45:19: error: expected '=', ',', ';',
> 'asm' or '__attribute__' before 'void'
>   static MS2_INLINE void ms_queue_put(MSQueue *q, mblk_t *m){
>                     ^
> In file included from base/mscommon.c:22:0:
> ../include/mediastreamer2/mscommon.h:57:20: error: unknown type name
> 'ORTP_INLINE'
>   #define MS2_INLINE ORTP_INLINE
>                      ^
> ../include/mediastreamer2/msqueue.h:50:8: note: in expansion of macro
> 'MS2_INLINE'
>   static MS2_INLINE mblk_t * ms_queue_peek_last(MSQueue *q){
>          ^
> In file included from ../include/mediastreamer2/msfilter.h:24:0,
>                   from base/mscommon.c:24:
> ../include/mediastreamer2/msqueue.h:50:26: error: expected '=', ',', ';',
> 'asm' or '__attribute__' before '*' token
>   static MS2_INLINE mblk_t * ms_queue_peek_last(MSQueue *q){
>                            ^
> In file included from base/mscommon.c:22:0:
> ../include/mediastreamer2/mscommon.h:57:20: error: unknown type name
> 'ORTP_INLINE'
>   #define MS2_INLINE ORTP_INLINE
>                      ^
> ../include/mediastreamer2/msqueue.h:54:8: note: in expansion of macro
> 'MS2_INLINE'
>   static MS2_INLINE mblk_t *ms_queue_peek_first(MSQueue *q){
>          ^
> In file included from ../include/mediastreamer2/msfilter.h:24:0,
>                   from base/mscommon.c:24:
> ../include/mediastreamer2/msqueue.h:54:26: error: expected '=', ',', ';',
> 'asm' or '__attribute__' before '*' token
>   static MS2_INLINE mblk_t *ms_queue_peek_first(MSQueue *q){
>                            ^
> In file included from base/mscommon.c:22:0:
> ../include/mediastreamer2/mscommon.h:57:20: error: unknown type name
> 'ORTP_INLINE'
>   #define MS2_INLINE ORTP_INLINE
>                      ^
> ../include/mediastreamer2/msqueue.h:58:8: note: in expansion of macro
> 'MS2_INLINE'
>   static MS2_INLINE mblk_t *ms_queue_next(MSQueue *q, mblk_t *m){
>          ^
> In file included from ../include/mediastreamer2/msfilter.h:24:0,
>                   from base/mscommon.c:24:
> ../include/mediastreamer2/msqueue.h:58:26: error: expected '=', ',', ';',
> 'asm' or '__attribute__' before '*' token
>   static MS2_INLINE mblk_t *ms_queue_next(MSQueue *q, mblk_t *m){
>                            ^
> In file included from base/mscommon.c:22:0:
> ../include/mediastreamer2/mscommon.h:57:20: error: unknown type name
> 'ORTP_INLINE'
>   #define MS2_INLINE ORTP_INLINE
>                      ^
> ../include/mediastreamer2/msqueue.h:62:8: note: in expansion of macro
> 'MS2_INLINE'
>   static MS2_INLINE bool_t ms_queue_end(MSQueue *q, mblk_t *m){
>          ^
> In file included from ../include/mediastreamer2/msfilter.h:24:0,
>                   from base/mscommon.c:24:
> ../include/mediastreamer2/msqueue.h:62:26: error: expected '=', ',', ';',
> 'asm' or '__attribute__' before 'ms_queue_end'
>   static MS2_INLINE bool_t ms_queue_end(MSQueue *q, mblk_t *m){
>                            ^
> ../include/mediastreamer2/msqueue.h:66:19: error: expected '=', ',', ';',
> 'asm' or '__attribute__' before 'void'
>   static MS2_INLINE void ms_queue_remove(MSQueue *q, mblk_t *m){
>                     ^
> In file included from base/mscommon.c:22:0:
> ../include/mediastreamer2/mscommon.h:57:20: error: unknown type name
> 'ORTP_INLINE'
>   #define MS2_INLINE ORTP_INLINE
>                      ^
> ../include/mediastreamer2/msqueue.h:70:8: note: in expansion of macro
> 'MS2_INLINE'
>   static MS2_INLINE bool_t ms_queue_empty(MSQueue *q){
>          ^
> In file included from ../include/mediastreamer2/msfilter.h:24:0,
>                   from base/mscommon.c:24:
> ../include/mediastreamer2/msqueue.h:70:26: error: expected '=', ',', ';',
> 'asm' or '__attribute__' before 'ms_queue_empty'
>   static MS2_INLINE bool_t ms_queue_empty(MSQueue *q){
>                            ^
> ../include/mediastreamer2/msqueue.h:139:19: error: expected '=', ',', ';',
> 'asm' or '__attribute__' before 'int'
>   static MS2_INLINE int ms_bufferizer_get_avail(MSBufferizer *obj){
>                     ^
> Makefile:1522: recipe for target 'base/mscommon.lo' failed
> make[3]: *** [base/mscommon.lo] Error 1
> make[3]: Leaving directory '/home/andi/ba-arbeit/mediastreamer2/src'
> Makefile:985: recipe for target 'all' failed
> make[2]: *** [all] Error 2
> make[2]: Leaving directory '/home/andi/ba-arbeit/mediastreamer2/src'
> Makefile:619: recipe for target 'all-recursive' failed
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory '/home/andi/ba-arbeit/mediastreamer2'
> Makefile:525: recipe for target 'all' failed
> make: *** [all] Error 2
>
>
>
>
> --
> View this message in context: http://nongnu.13855.n7.nabble.com/Mediastreamer2-IT-PROG-INTLTOOL-0-40-no-xml-tp204362p204371.html
> Sent from the linphone-developers mailing list archive at Nabble.com.
>
> _______________________________________________
> Linphone-developers mailing list
> [hidden email]
> https://lists.nongnu.org/mailman/listinfo/linphone-developers


_______________________________________________
Linphone-developers mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-developers
Reply | Threaded
Open this post in threaded view
|

Re: Mediastreamer2 IT_PROG_INTLTOOL(0.40, no-xml)

Duchesko
Johan Pascal , thank you so much!

While I tried to follow your instructions, I uninstalled all oRTP Versions. Doing this, I noticed that I had the wrong git for oRTP ( git.linphone.org/ortp.git is offline and I accidently used a year old git... so stupid) .
Installed oRTP and mediastreamer2 without any problems now.

So in the end, I didn't really need your instructions, but thanks for the effort!