Page 1 of 1

PKG_CHECK_MODULES error

Posted: 01 Jul 2009 13:51
by sabique
I am new to VLC and trying to configure vlc under windows.
my system specifications:
msys 1.11,ming 5.1.4,vlc 0.9.9,autoconf 2.61,automake 1.10,libtool 1.5.25,contrib-win32-2009,pkg-config 0.23
I followed the directions given here: http://wiki.videolan.org/Win32CompileMSYS#AutoTools
i successfully bootstrapped.
when trying to configure following error occurred

pls Help...
thanks in advance
Ansaz

sh extras/package/win32/configure-msys.sh
checking build system type... i386-pc-linux-gnu
checking host system type... i586-pc-mingw32msvc
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i586-mingw32msvc-strip... no
checking for strip... strip
configure: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet. If you think this
configuration is useful to you, please write to autoconf@gnu.org.
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for style of include used by make... GNU
......
....
....

checking sys/eventfd.h usability... no
checking sys/eventfd.h presence... no
checking for sys/eventfd.h... no
checking for net/if.h... no
checking whether time.h and sys/time.h may both be included... yes
checking for ssize_t... yes
checking for library containing poll... no
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking for timespec in sys/time.h... no
./configure: line 32186: syntax error near unexpected token `MINIZIP,'
./configure: line 32186: ` PKG_CHECK_MODULES(MINIZIP, minizip , have_minizip=yes ,'

Re: PKG_CHECK_MODULES error

Posted: 02 Jul 2009 08:15
by sabique
Problem solved..
I updated m4 to latest version.
:mrgreen:

Re: PKG_CHECK_MODULES error

Posted: 08 Mar 2010 20:21
by x_tine
just wondering where can i find the updated m4 latest version?

Re: PKG_CHECK_MODULES error

Posted: 15 Aug 2012 16:07
by dreamerZM
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for strings.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking xlocale.h usability... no
checking xlocale.h presence... no
checking for xlocale.h... no
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/ioctl.h usability... no
checking sys/ioctl.h presence... no
checking for sys/ioctl.h... no
checking for sys/stat.h... (cached) yes
checking arpa/inet.h usability... no
checking arpa/inet.h presence... no
checking for arpa/inet.h... no
checking netinet/udplite.h usability... no
checking netinet/udplite.h presence... no
checking for netinet/udplite.h... no
checking sys/eventfd.h usability... no
checking sys/eventfd.h presence... no
checking for sys/eventfd.h... no
checking for net/if.h... no
checking for sys/mount.h... no
checking for ssize_t... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
./configure: line 23475: syntax error near unexpected token `MINIZIP,'
./configure: line 23475: ` PKG_CHECK_MODULES(MINIZIP, minizip , have_minizip=y
es ,'

I Updated m4,problem did not sovled,please help me!

Re: PKG_CHECK_MODULES error

Posted: 15 Aug 2012 19:52
by Jean-Baptiste Kempf
VLC version?

Re: PKG_CHECK_MODULES error

Posted: 15 Aug 2012 20:16
by RĂ©mi Denis-Courmont
Give yourself a break and cross-compile from Linux. Mind you, there are reasons why building from Windows is discouraged.

Re: PKG_CHECK_MODULES error

Posted: 16 Aug 2012 12:45
by dreamerZM
VLC-2.0.3 last version

Re: PKG_CHECK_MODULES error

Posted: 16 Aug 2012 12:49
by dreamerZM
Give yourself a break and cross-compile from Linux. Mind you, there are reasons why building from Windows is discouraged.
some reaseon for windows

Re: PKG_CHECK_MODULES error

Posted: 16 Aug 2012 13:21
by Jean-Baptiste Kempf
What are your autotools versions?

Re: PKG_CHECK_MODULES error

Posted: 16 Aug 2012 16:19
by dreamerZM
What are your autotools versions?
automake-1.11;others are -2.68,why they are in different version! :cry:
environment: win7 64-bit

Re: PKG_CHECK_MODULES error

Posted: 16 Aug 2012 18:32
by Jean-Baptiste Kempf
libtool ?

Re: PKG_CHECK_MODULES error

Posted: 17 Aug 2012 15:54
by dreamerZM
libtool ?
v 2.4

Re: PKG_CHECK_MODULES error

Posted: 19 Aug 2012 15:28
by dreamerZM
libtool ?
v 2.4
how can I pass ?
gcc -v 4.6.2