On Wed, Jan 28, 2009 at 1:47 PM, thiagoss <thiagossantos@gmail.com> wrote:


On Sat, Jan 24, 2009 at 2:13 PM, Stefan Kost <ensonic@hora-obscura.de> wrote:
thiagoss schrieb:
> Qtwraper building is failing (cvs head), I don't know if this is a
> misconfiguration in my system or in Makefile, so I'm sending this mail.
> The error output is:
>
> Making all in qtwrapper
>  cd ../.. && /bin/sh
> /Users/thiagoss/Work/GStreamer/head/gst-plugins-bad/missing --run
> automake-1.10 --gnu  sys/qtwrapper/Makefile
> configure.ac:111 <http://configure.ac:111>: warning:
> AC_CACHE_VAL(g_support_dowhile_macros, ...): suspicious cache-id, must
> contain _cv_ to be cached
> ../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from...
> ../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from...
> common/m4/gst-dowhile.m4:8: AG_GST_CHECK_DOWHILE_MACROS is expanded from...
> configure.ac:111 <http://configure.ac:111>: the top level
> configure.ac:143 <http://configure.ac:143>: warning:
> AC_CACHE_VAL(GST_FIONREAD_IN_SYS_IOCTL, ...): suspicious cache-id, must
> contain _cv_ to be cached
> m4/gst-fionread.m4:1: GST_CHECK_FIONREAD is expanded from...
> configure.ac:143 <http://configure.ac:143>: the top level
> configure.ac:143 <http://configure.ac:143>: warning:
> AC_CACHE_VAL(GST_FIONREAD_IN_SYS_FILIO, ...): suspicious cache-id, must
> contain _cv_ to be cached
>  cd ../.. && /bin/sh ./config.status sys/qtwrapper/Makefile depfiles
> config.status: creating sys/qtwrapper/Makefile
> config.status: executing depfiles commands
> /bin/sh ../../libtool --tag=CC --tag=disable-static  --mode=compile gcc
> -DHAVE_CONFIG_H -I. -I../..    -I../../gst-libs -I../../gst-libs
> -D_REENTRANT -I/usr/local/include/gstreamer-0.10
> -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
> -I/opt/local/include -I/opt/local/include/libxml2   -Wall
> -Wdeclaration-after-statement -Werror -fno-strict-aliasing  -g
>  -D_REENTRANT -I/usr/local/include/gstreamer-0.10
> -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
> -I/opt/local/include -I/opt/local/include/libxml2   -g -O2 -MT
> libgstqtwrapper_la-qtwrapper.lo -MD -MP -MF
> .deps/libgstqtwrapper_la-qtwrapper.Tpo -c -o
> libgstqtwrapper_la-qtwrapper.lo `test -f 'qtwrapper.c' || echo
> './'`qtwrapper.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../gst-libs
> -I../../gst-libs -D_REENTRANT -I/usr/local/include/gstreamer-0.10
> -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
> -I/opt/local/include -I/opt/local/include/libxml2 -Wall
> -Wdeclaration-after-statement -Werror -fno-strict-aliasing -g
> -D_REENTRANT -I/usr/local/include/gstreamer-0.10
> -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
> -I/opt/local/include -I/opt/local/include/libxml2 -g -O2 -MT
> libgstqtwrapper_la-qtwrapper.lo -MD -MP -MF
> .deps/libgstqtwrapper_la-qtwrapper.Tpo -c qtwrapper.c  -fno-common -DPIC
> -o .libs/libgstqtwrapper_la-qtwrapper.o
> In file included from qtwrapper.c:49:
> qtwrapper.h:53:20: error: Movies.h: No such file or directory
> qtwrapper.c: In function 'plugin_init':
> qtwrapper.c:58: error: 'OSErr' undeclared (first use in this function)
> qtwrapper.c:58: error: (Each undeclared identifier is reported only once
> qtwrapper.c:58: error: for each function it appears in.)
> qtwrapper.c:58: error: syntax error before 'status'
> qtwrapper.c:69: error: 'status' undeclared (first use in this function)
> cc1: warnings being treated as errors
> qtwrapper.c:69: warning: implicit declaration of function 'EnterMovies'
> make[3]: *** [libgstqtwrapper_la-qtwrapper.lo] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
> How to fix this?

It seems that configure belives you have all the needed external libs and
headers, but in fact you don't. Do you have a Movies.h? Maybe you can look at
config.log and check what its looking for.

Stefan

# find / -name "Movies.h"
/Developer/Headers/FlatCarbon/Movies.h
/Developer/SDKs/MacOSX10.4u.sdk/Developer/Headers/CFMCarbon/Movies.h
/Developer/SDKs/MacOSX10.4u.sdk/Developer/Headers/CFMCarbon/QuickTime/Movies.h
/Developer/SDKs/MacOSX10.4u.sdk/Developer/Headers/FlatCarbon/Movies.h
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/QuickTime.framework/Versions/A/Headers/Movies.h
/Developer/SDKs/MacOSX10.5.sdk/Developer/Headers/FlatCarbon/Movies.h
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/QuickTime.framework/Versions/A/Headers/Movies.h
/System/Library/Frameworks/QuickTime.framework/Versions/A/Headers/Movies.h

 
Maybe it is looking in the wrong places.

The config.log has this:

configure:30272: *** checking feature: QuickTime wrapper ***
configure:30276: *** for plug-ins: qtwrapper ***
configure:30324: checking QuickTime/Movies.h usability
configure:30341: gcc -c -g -O2  conftest.c >&5
configure:30348: $? = 0
configure:30362: result: yes
configure:30366: checking QuickTime/Movies.h presence
configure:30381: gcc -E  conftest.c
configure:30388: $? = 0
configure:30402: result: yes
configure:30435: checking for QuickTime/Movies.h
configure:30442: result: yes
configure:30464: *** These plugins will be built: qtwrapper


Found the problem, the test scripts at configure look for QuickTime/file.h, the plugin files were trying to use Quicktime/file.h, that matters in a case sensitive system. It is now fixed at the repository.
 



>
> --
> Thiago Sousa Santos

>
> Embedded Systems and Pervasive Computing Lab (Embedded)
> Center of Electrical Engineering and Informatics (CEEI)
> Federal University of Campina Grande (UFCG)
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel



--
Thiago Sousa Santos


Embedded Systems and Pervasive Computing Lab (Embedded)
Center of Electrical Engineering and Informatics (CEEI)
Federal University of Campina Grande (UFCG)



--
Thiago Sousa Santos

Embedded Systems and Pervasive Computing Lab (Embedded)
Center of Electrical Engineering and Informatics (CEEI)
Federal University of Campina Grande (UFCG)