PDA

View Full Version : vlc-0.8.4a compile problem



pengyou12345
28th April 2006, 01:41 PM
Before I just installed binary vlc player. This time I tried to build it from source by myself. I have installed all required libraries by vlc. That was fine. However When I did make on vlc, there are errors coming up.

1. ./configure --enable-debug --enable-livedotcom --enable-dvdread
--enable-faad --enable-twolame --enable-flac --enable-theora
--with-livedotcom-tree=/usr/local/src/multimedia/live555/live

there are some warnings as follows:
---------------------------------------
checking for hal >= 0.5.0... Package hal was not found in the pkg-config search path.
Perhaps you should add the directory containing `hal.pc'
to the PKG_CONFIG_PATH environment variable
No package 'hal' found
checking for hal >= 0.2.97... Package hal was not found in the pkg-config search path.
Perhaps you should add the directory containing `hal.pc'
to the PKG_CONFIG_PATH environment variable
No package 'hal' found
configure: WARNING: HAL library not found


Warning: No config found to match: /usr/local/bin/wx-config --unicode
in /usr/local/lib/wx/config
If you require this configuration, please install the desired
library build. If this is part of an automated configuration
test and no other errors occur, you may safely ignore it.
You may use wx-config --list to see all configs available in
the default prefix.
checking for opendaap >= 0.3.0... Package opendaap was not found in the pkg-config search path.
Perhaps you should add the directory containing `opendaap.pc'
to the PKG_CONFIG_PATH environment variable
No package 'opendaap' found
configure: WARNING: DAAP library not found
checking for avahi-client >= 0.3... Package avahi-client was not found in the pkg-config search path.
Perhaps you should add the directory containing `avahi-client.pc'
to the PKG_CONFIG_PATH environment variable
No package 'avahi-client' found
configure: WARNING: avahi-client library not found

----------------------------------------------------------


2. do make, errors are as follows:
------------------
Making all in wxwidgets
make[5]: Entering directory `/usr/local/src/multimedia/vlc/vlc-0.8.4a/modules/gui/wxwidgets'
make[6]: Entering directory `/usr/local/src/multimedia/vlc/vlc-0.8.4a/modules/gui/wxwidgets'
if g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DSYS_LINUX -I../../../include `top_builddir="../../.." ../../../vlc-config --cxxflags plugin wxwidgets` -Wsign-compare -Wsign-compare -Wall -pipe -MT libwxwidgets_plugin_a-wxwidgets.o -MD -MP -MF ".deps/libwxwidgets_plugin_a-wxwidgets.Tpo" -c -o libwxwidgets_plugin_a-wxwidgets.o `test -f 'wxwidgets.cpp' || echo './'`wxwidgets.cpp; \
then mv -f ".deps/libwxwidgets_plugin_a-wxwidgets.Tpo" ".deps/libwxwidgets_plugin_a-wxwidgets.Po"; else rm -f ".deps/libwxwidgets_plugin_a-wxwidgets.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DSYS_LINUX -I../../../include `top_builddir="../../.." ../../../vlc-config --cxxflags plugin wxwidgets` -Wsign-compare -Wsign-compare -Wall -pipe -MT libwxwidgets_plugin_a-interface.o -MD -MP -MF ".deps/libwxwidgets_plugin_a-interface.Tpo" -c -o libwxwidgets_plugin_a-interface.o `test -f 'interface.cpp' || echo './'`interface.cpp; \
then mv -f ".deps/libwxwidgets_plugin_a-interface.Tpo" ".deps/libwxwidgets_plugin_a-interface.Po"; else rm -f ".deps/libwxwidgets_plugin_a-interface.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DSYS_LINUX -I../../../include `top_builddir="../../.." ../../../vlc-config --cxxflags plugin wxwidgets` -Wsign-compare -Wsign-compare -Wall -pipe -MT libwxwidgets_plugin_a-extrapanel.o -MD -MP -MF ".deps/libwxwidgets_plugin_a-extrapanel.Tpo" -c -o libwxwidgets_plugin_a-extrapanel.o `test -f 'extrapanel.cpp' || echo './'`extrapanel.cpp; \
then mv -f ".deps/libwxwidgets_plugin_a-extrapanel.Tpo" ".deps/libwxwidgets_plugin_a-extrapanel.Po"; else rm -f ".deps/libwxwidgets_plugin_a-extrapanel.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DSYS_LINUX -I../../../include `top_builddir="../../.." ../../../vlc-config --cxxflags plugin wxwidgets` -Wsign-compare -Wsign-compare -Wall -pipe -MT libwxwidgets_plugin_a-dialogs.o -MD -MP -MF ".deps/libwxwidgets_plugin_a-dialogs.Tpo" -c -o libwxwidgets_plugin_a-dialogs.o `test -f 'dialogs.cpp' || echo './'`dialogs.cpp; \
then mv -f ".deps/libwxwidgets_plugin_a-dialogs.Tpo" ".deps/libwxwidgets_plugin_a-dialogs.Po"; else rm -f ".deps/libwxwidgets_plugin_a-dialogs.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DSYS_LINUX -I../../../include `top_builddir="../../.." ../../../vlc-config --cxxflags plugin wxwidgets` -Wsign-compare -Wsign-compare -Wall -pipe -MT libwxwidgets_plugin_a-open.o -MD -MP -MF ".deps/libwxwidgets_plugin_a-open.Tpo" -c -o libwxwidgets_plugin_a-open.o `test -f 'open.cpp' || echo './'`open.cpp; \
then mv -f ".deps/libwxwidgets_plugin_a-open.Tpo" ".deps/libwxwidgets_plugin_a-open.Po"; else rm -f ".deps/libwxwidgets_plugin_a-open.Tpo"; exit 1; fi
open.cpp: In function `char* ProbeDVD(const wxChar*)':
open.cpp:1337: error: request for member `data' in `tmp_buf', which is of non-class type `const wxChar*'
open.cpp: In function `char* ProbeCDDA(const wxChar*)':
open.cpp:1407: error: request for member `data' in `tmp_buf', which is of non-class type `const wxChar*'
open.cpp: In function `char* ProbeVCD(const wxChar*)':
open.cpp:1420: error: request for member `data' in `tmp_buf', which is of non-class type `const wxChar*'
make[6]: *** [libwxwidgets_plugin_a-open.o] Error 1
make[6]: Leaving directory `/usr/local/src/multimedia/vlc/vlc-0.8.4a/modules/gui/wxwidgets'
make[5]: *** [all-modules] Error 1
make[5]: Leaving directory `/usr/local/src/multimedia/vlc/vlc-0.8.4a/modules/gui/wxwidgets'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/usr/local/src/multimedia/vlc/vlc-0.8.4a/modules/gui'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/local/src/multimedia/vlc/vlc-0.8.4a/modules/gui'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/multimedia/vlc/vlc-0.8.4a/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/multimedia/vlc/vlc-0.8.4a'
make: *** [all] Error 2
------------------------------------------

I don't know if the above warnings will critical for later compilation.

Could any expert please help to diagnose this problem and tell me how to fixe it. It is highly appreicated.

Thank you so much!

daneel971
28th April 2006, 02:00 PM
Which FC version are you running?
For the first two warnings, disable the build of hal (cause known problem on FC) and of avahi. For the last error, be sure to have wxGTK => 2.6 installed with its corresponding "devel" package.

pengyou12345
28th April 2006, 02:13 PM
I run it on Fedora 3