comiple error for vlc-0.8.4a

*nix specific usage questions
pengyou54
Blank Cone
Blank Cone
Posts: 14
Joined: 26 Apr 2006 17:32

comiple error for vlc-0.8.4a

Postby pengyou54 » 28 Apr 2006 14:18

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!

pengyou54
Blank Cone
Blank Cone
Posts: 14
Joined: 26 Apr 2006 17:32

vlc-0.8.4.a skin2 interface problem

Postby pengyou54 » 28 Apr 2006 21:45

After I post the errors during compilation, I fixed them. Now another problem comes again. When I run vlc, no menu and toolbar come up. the error message is as follows:
-----------------------------------
VLC media player 0.8.4a Janus
[00000501] main dialogs provider error: no dialogs provider module matched "any"
[00000498] skins2 interface error: No suitable dialogs provider found (hint: compile the wxWidgets plugin, and make sure it is loaded properly)
[00000498] skins2 interface: skin: VLC OSX Interface author: BigBen
---------------------------------------

So I compile the wxwidgets again, using the following command,
------------------
./configure --enable-gui --enable-plugins --enable-unicode --enable-shared

It didn't work!

Could any expert tell me how to fix it? I am in urgent need of it.

Thank you so much in advance!


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 20 guests