minscay / mupen64plus

Automatically exported from code.google.com/p/mupen64plus
0 stars 0 forks source link

Request for ./m64p_install.sh to not depend on being run as root. #328

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Describe your system:
 - Operating System: Linux (archlinux)
 - Mupen64Plus version: latest source. 1.99.1

To make packages (as a regular user), you install the package into a fake /
directory with the following command: ./m64p_install.sh PREFIX=$pkgdir/usr

The problem with the script is that it uses ldconfig which by default
writes to /etc:
ldconfig
ldconfig: Can't create temporary cache file /etc/ld.so.cache~: Permission
denied

It would be great if you could use a different directory or another way
which will not require root permissions.

Original issue reported on code.google.com by gos...@gmail.com on 31 Jan 2010 at 7:11

GoogleCodeExporter commented 8 years ago
I made a change some time ago to address this issue.  The m64p_install script 
just
calls make -C ... install for each module, and the one which caused this 
problem for
you is the core module.  The core makefile currently will not run ldconfig if 
the
user is not root.  In line 371:

    if [ `id -u` -eq 0 ]; then $(LDCONFIG); fi

Original comment by richard...@gmail.com on 31 Jan 2010 at 7:22

GoogleCodeExporter commented 8 years ago
This line doesn't exist in line 371 of the core Makefile. I'm using 1.99.1
http://mupen64plus.googlecode.com/files/mupen64plus-bundle-src-1.99.1.tar.gz

Is this fixed in svn?

Original comment by gos...@gmail.com on 31 Jan 2010 at 7:52

GoogleCodeExporter commented 8 years ago
Nvm found the link:
http://bitbucket.org/richard42/mupen64plus-core/changeset/1a18dbf80640/

I guess my question is now, when will the next updated version come out (to see 
if
it's worth patching this or waiting for the next release)

Original comment by gos...@gmail.com on 31 Jan 2010 at 7:57