|
把vlc源码的bin/vlc.c中如下代码注释掉就可以root运行了
if (geteuid () == 0)
{
fprintf (stderr, "VLC is not supposed to be run as root. Sorry.\n"
"If you need to use real-time priorities and/or privileged TCP ports\n"
"you can use %s-wrapper (make sure it is Set-UID root first and\n"
"cannot be run by non-trusted users first).\n", ppsz_argv[0]);
return 1;
}
我编译总是失败,哪位大侠帮忙编译做一个tgz包? |
|