> -----Original Message-----
> From: Mark Dootson 
> 2) is currently really irritating me. I'm sure there's 
> something simple 
> I'm missing. I've never been able to use wxMediaCtrl on Linux 
> - ever - 
> so it must be my code / setup as the thing clearly works for 
> some people 
> some of the time.

Hi Mark,

Here is a script which should install AND RUN mediaplayer in wxWidgets (not
wxPerl yet, although I'm working on it).  If you make the following updates:

A) My local server here in Brazil doesn't have all the packages, so I update
the deb repository in the script with these lines:

# Update sources for Ubuntu apt repository to main repository.  Some local
repositories don't have everything
# (eg using kpackagekit, set server to 'main'
# While you're doing this manually intensive stuff, also configure cpan and
set prepend requirements to follow.
# I have backed up the Ubuntu deb repository list to a stored file.  These
two lines take a backup and restore from stored version.
# cp /etc/apt/sources.list /etc/apt/sources.list.backup
# cp
/media/7ec5fbfe-19e4-4d78-9a7a-c38b1f1c61f9/installation/Install_Scripts/sou
rces.list /etc/apt/sources.list

If your server has everything, don't worry.

B) Change <image> to your own user Ubuntu name in this line:

cd /home/<image>/wxWidgets-2.9.2/build-GTK/samples/mediaplayer/

I think those are the only changes.

Do a clean install on (K)ubuntu 11.4, and run this script.

Have lunch.

Come back and the player should be playing (if not you might have to
right-click on the file and change the permissions).

Good luck and please let me know how it goes.

Steve.

Attachment: install_script_batch_file_wxwidgets_only.sh
Description: Binary data

Reply via email to