[vlc] unable to build VLC 1.0.1 with /bin/sh:moc:commandnot found

frankcch frankcch at comcast.net
Thu Aug 13 22:36:48 CEST 2009


I have both /usr/win32/bin/moc.exe and  /usr/win32/bin/moc, but there is an 
error

 >>> "/usr/win32/bin/moc: /usr/win32/bin/moc: cannot execute binary file"


----- Original Message ----- 
From: "Jean-Baptiste Kempf" <jb at videolan.org>
To: "Mailing list for VLC media player users" <vlc at videolan.org>
Sent: Thursday, August 13, 2009 11:40 AM
Subject: Re: [vlc] unable to build VLC 1.0.1 with /bin/sh:moc:commandnot 
found


> You don't have a /usr/win32/bin/moc.exe ?
>
> On Thu, Aug 13, 2009 at 11:38:19AM -0700, frankcch wrote :
>> The "/bin/sh: moc: command not found" if removed the "/usr/win32/bin/moc 
>> ".
>>
>>
>>
>> Making all in qt4
>> make[5]: Entering directory `/cygdrive/c/VLC/vlc/modules/gui/qt4'
>> moc -DHAVE_CONFIG_H -I../../../include -I../../../include
>> -I/usr/win32/include -
>> I/usr/win32/include/ebml -D__USE_MINGW_ANSI_STDIO=1 -DSYS_MINGW32
>> -I../../.. `to
>> p_srcdir="../../.." top_builddir="../../.." ../../../vlc-config
>> --cppflags plugi
>> n qt4` -o main_interface.moc.cpp main_interface.hpp
>> /bin/sh: moc: command not found
>> make[5]: *** [main_interface.moc.cpp] Error 127
>>
>>
>>
>> ----- Original Message ----- From: "Jean-Baptiste Kempf"
>> <jb at videolan.org>
>> To: "Mailing list for VLC media player users" <vlc at videolan.org>
>> Sent: Wednesday, August 12, 2009 11:46 AM
>> Subject: Re: [vlc] unable to build VLC 1.0.1 with /bin/sh: moc:commandnot
>> found
>>
>>
>>> What about you read the Wiki?
>>>
>>> rm /usr/win32/bin/moc /usr/win32/bin/uic /usr/win32/bin/rcc
>>>
>>> On Wed, Aug 12, 2009 at 11:39:49AM -0700, frankcch wrote :
>>>> Thanks Jean-Baptiste,
>>>>
>>>> It still has "/usr/win32/bin/moc: /usr/win32/bin/moc: cannot execute
>>>> binary file"
>>>> after  "PATH=/usr/win32/bin:$PATH make".
>>>>
>>>>
>>>> Making all in qt4
>>>> make[5]: Entering directory `/cygdrive/c/VLC/vlc/modules/gui/qt4'
>>>> moc -DHAVE_CONFIG_H -I../../../include -I../../../include
>>>> -I/usr/win32/include -
>>>> I/usr/win32/include/ebml -D__USE_MINGW_ANSI_STDIO=1 -DSYS_MINGW32
>>>> -I../../.. `to
>>>> p_srcdir="../../.." top_builddir="../../.." ../../../vlc-config
>>>> --cppflags plugi
>>>> n qt4` -o main_interface.moc.cpp main_interface.hpp
>>>> /usr/win32/bin/moc: /usr/win32/bin/moc: cannot execute binary file
>>>> make[5]: *** [main_interface.moc.cpp] Error 126
>>>> make[5]: Leaving directory `/cygdrive/c/VLC/vlc/modules/gui/qt4'
>>>> make[4]: *** [all-recursive] Error 1
>>>> make[4]: Leaving directory `/cygdrive/c/VLC/vlc/modules/gui'
>>>> make[3]: *** [all] Error 2
>>>> make[3]: Leaving directory `/cygdrive/c/VLC/vlc/modules/gui'
>>>> make[2]: *** [all-recursive] Error 1
>>>> make[2]: Leaving directory `/cygdrive/c/VLC/vlc/modules'
>>>> make[1]: *** [all-recursive] Error 1
>>>> make[1]: Leaving directory `/cygdrive/c/VLC/vlc'
>>>> make: *** [all] Error 2
>>>>
>>>>
>>>> ----- Original Message ----- From: "Jean-Baptiste Kempf"
>>>> <jb at videolan.org>
>>>> To: "Mailing list for VLC media player users" <vlc at videolan.org>
>>>> Sent: Tuesday, August 11, 2009 11:53 PM
>>>> Subject: Re: [vlc] unable to build VLC 1.0.1 with /bin/sh: moc:
>>>> commandnot found
>>>>
>>>>
>>>>> Hello,
>>>>>
>>>>> On Tue, Aug 11, 2009 at 07:13:04PM -0700, frankcch wrote :
>>>>>> I followed the Win32CompileCygwinNew
>>>>>> (http://wiki.videolan.org/Win32CompileCygwinNew)  step by step to
>>>>>> build the VLC 1.0.1 on windows XP machine,
>>>>>> and it is unabled to build with "moc: command not found" when "Making
>>>>>> all in qt4".
>>>>>> I am a newbie in VLC and Cygwin, and already search the web, but
>>>>>> still unable to reslove the build problem.
>>>>>
>>>>> PATH=/usr/win32/bin:$PATH make
>>>>>
>>>>> Best Regards,
>>>>>
>>>>> -- 
>>>>> Jean-Baptiste Kempf
>>>>> http://www.jbkempf.com/
>>>>> ______________________________________________________
>>>>> vlc mailing list
>>>>> To unsubscribe or modify your subscription options:
>>>>> http://mailman.videolan.org/listinfo/vlc
>>>>>
>>>>
>>>>
>>>> ______________________________________________________
>>>> vlc mailing list
>>>> To unsubscribe or modify your subscription options:
>>>> http://mailman.videolan.org/listinfo/vlc
>>>
>>> -- 
>>> Best Regards,
>>>
>>> -- 
>>> Jean-Baptiste Kempf
>>> http://www.jbkempf.com/
>>> ______________________________________________________
>>> vlc mailing list
>>> To unsubscribe or modify your subscription options:
>>> http://mailman.videolan.org/listinfo/vlc
>>>
>>
>>
>> ______________________________________________________
>> vlc mailing list
>> To unsubscribe or modify your subscription options:
>> http://mailman.videolan.org/listinfo/vlc
>
> -- 
> Best Regards,
>
> -- 
> Jean-Baptiste Kempf
> http://www.jbkempf.com/
> ______________________________________________________
> vlc mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc
> 





More information about the vlc mailing list