Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

help installing mplayer

  • 16-08-2004 3:21pm
    #1
    Registered Users, Registered Users 2 Posts: 7,496 ✭✭✭


    dammit i managed to this once and managed to accidently shift-delete the bin directory so have to install it again.

    I'm trying to install mplayer into my home directory locally. these are tje steps:

    ./configure

    make

    make install

    configure works fine, it goes off and does its thing. then when i try 'make' i get the following. is there any way to make sure the program will be placed in my home folder?





    make[1]: Entering directory `/home/me/Desktop/mplayer install/libdha'
    mkdir -p /usr/local/lib
    install -m 755 -s -p libdha.so.0.1 /usr/local/lib/libdha.so.0.1
    install: cannot create regular file `/usr/local/lib/libdha.so.0.1': Permission denied
    make[1]: *** [install] Error 1
    make[1]: Leaving directory `/home/me/Desktop/mplayer install/libdha'
    make[1]: Entering directory `/home/me/Desktop/mplayer install/vidix'
    make[2]: Entering directory `/home/me/Desktop/mplayer install/vidix/drivers'
    mkdir -p /usr/local/lib/mplayer/vidix
    mkdir: cannot create directory `/usr/local/lib/mplayer': Permission denied
    make[2]: *** [install] Error 1
    make[2]: Leaving directory `/home/me/Desktop/mplayer install/vidix/drivers'
    make[1]: *** [install] Error 2
    make[1]: Leaving directory `/home/me/Desktop/mplayer install/vidix'
    make: *** [install] Error 2


Comments

  • Registered Users, Registered Users 2 Posts: 3,284 ✭✭✭dubhthach


    Your getting permission denied errors, did you su before running config. after all if your in with your standard account you wouldn't have permission to create "/usr/local/lib/mplayer" etc.


  • Registered Users, Registered Users 2 Posts: 7,496 ✭✭✭quarryman


    no su. i'm not root.

    and i won't be. i've done it before. the destination directory ended up being \home\me\mplayer.

    Then to run an avi i put it in the bin directory with the mplayer executable (or whatever it is) and then ran:

    mplayer film.avi from the shell and it played. no GUI really.

    any suggestions?


  • Registered Users, Registered Users 2 Posts: 3,284 ✭✭✭dubhthach


    Awh i think i've noticed something.

    you want to put it in your home directory correct?, well you didn't specify that in the ./configure

    you need to type the following (or something close)

    ./configure --prefix=/home/me/mplayer

    to get ./configure flags type ./configure --help


  • Registered Users, Registered Users 2 Posts: 3,284 ✭✭✭dubhthach


    It's been awhile since i've compiled mplayer, i tend to use prebuilt versions of it on IRIX (as i don't have mipspro compilers) but to enable a simple gtk+1.2 gui you need to add the following config flag --enable-gui. This will give you a gmplayer executable along with the standard mplayer one.

    so your command should look something like this

    ./configure --prefix=/home/me/mplayer --enable-gui && make install

    you don't need to run both "make" and "make install" as calling "make install" will go through the whole build process (if it hasn't been done) and then do the install process.


  • Registered Users, Registered Users 2 Posts: 7,496 ✭✭✭quarryman


    ah yes, worked a treat. thanks a million.

    knew i had done it somehow. :)


  • Advertisement
Advertisement