*** uuid is required. install util-linux
I am trying to rebuild the VLC for tizen, I stuck with this error
checking for UUID... no
checking where uuid functions comes from... configure: error:
*** uuid is required. install util-linux.
but actually I already install everything :
nassimus@DESKTOP-ML04P5U:/mnt/c/Users/cd_bo/StudioProjects/vlc-tizen$ sudo apt-get install util-linux*
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'util-linux-locales' for glob 'util-linux*'
Note, selecting 'util-linux' for glob 'util-linux*'
util-linux is already the newest version (2.34-0.1ubuntu9.3).
util-linux-locales is already the newest version (2.34-0.1ubuntu9.3).
0 upgraded, 0 newly installed, 0 to remove and 207 not upgraded.
nassimus@DESKTOP-ML04P5U:/mnt/c/Users/cd_bo/StudioProjects/vlc-tizen$ sudo apt-get install uuid-*
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'uuid-runtime' for glob 'uuid-*'
Note, selecting 'uuid-dev' for glob 'uuid-*'
uuid-dev is already the newest version (2.34-0.1ubuntu9.3).
uuid-runtime is already the newest version (2.34-0.1ubuntu9.3).
uuid-runtime set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 207 not upgraded.
So what's wrong with this check, I tried to remove it, but the compilation fails later, with the error
fatal error: uuid/uuid.h: No such file or directory
#
# Check for uuid
#
if test "$os_win32" != "yes"; then
use_pkgconfig_for_uuid=yes
if test -n "${UUID_LIBS}"; then
save_UUID_LIBS=$UUID_LIBS
fi
pkg_failed=no
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UUID" >&5
$as_echo_n "checking for UUID... " >&6; }
if test -n "$UUID_CFLAGS"; then
pkg_cv_UUID_CFLAGS="$UUID_CFLAGS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid\""; } >&5
($PKG_CONFIG --exists --print-errors "uuid") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
pkg_cv_UUID_CFLAGS=`$PKG_CONFIG --cflags "uuid" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
fi
else
pkg_failed=untried
fi
if test -n "$UUID_LIBS"; then
pkg_cv_UUID_LIBS="$UUID_LIBS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid\""; } >&5
($PKG_CONFIG --exists --print-errors "uuid") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
pkg_cv_UUID_LIBS=`$PKG_CONFIG --libs "uuid" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
fi
else
pkg_failed=untried
fi
if test $pkg_failed = yes; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
_pkg_short_errors_supported=yes
else
_pkg_short_errors_supported=no
fi
if test $_pkg_short_errors_supported = yes; then
UUID_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "uuid" 2>&1`
else
UUID_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "uuid" 2>&1`
fi
# Put the nasty error message in config.log where it belongs
echo "$UUID_PKG_ERRORS" >&5
use_pkgconfig_for_uuid=no
elif test $pkg_failed = untried; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
use_pkgconfig_for_uuid=no
else
UUID_CFLAGS=$pkg_cv_UUID_CFLAGS
UUID_LIBS=$pkg_cv_UUID_LIBS
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
use_pkgconfig_for_uuid=yes
fi
if test "x$use_pkgconfig_for_uuid" = "xno"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where uuid functions comes from" >&5
$as_echo_n "checking where uuid functions comes from... " >&6; }
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <uuid/uuid.h>
int
main ()
{
uuid_t a; uuid_generate(a);
;
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin" >&5
$as_echo "builtin" >&6; }
UUID_CFLAGS=""
UUID_LIBS=""
else
as_fn_error $? "
*** uuid is required. install util-linux.
" "$LINENO" 5
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
else
if test -z "${save_UUID_LIBS+x}" && test "x${UUID_LIBS}" != "x"; then
PKGCONFIG_REQUIRES_PRIVATELY="$PKGCONFIG_REQUIRES_PRIVATELY uuid"
fi
fi
else
UUID_CFLAGS=""
UUID_LIBS=""
fi