 |
forums.ps2dev.org Homebrew PS2, PSP & PS3 Development Discussions
|
| View previous topic :: View next topic |
| Author |
Message |
JesusXP
Joined: 17 Jan 2006 Posts: 80 Location: Ontario, Canada
|
Posted: Mon Dec 04, 2006 4:57 am Post subject: Problems installing Libmikmod |
|
|
Hi guys...
I checked out libmikmod to my home dir /home/jesusxp/(libmikmod), when I try to build normally, I get errors:
| Code: |
***********************************************
Installing libmikmod into /usr/local/pspdev/psp
cp: cannot create regular file '/usr/local/pspdev/psp/include/mikmod.h': Permission denied
make: *** [install] Error 1
|
I am using "make -f Makefile.psp clean install && make -f Makefile.psp.example clean all kxploit" to build, but it errors! When I try using "sudo make -f Makefile.psp clean install && make -f Makefile.psp.example clean all kxploit", I cannot build because " make: psp-config: Command not found"
I have edited my .bashrc in both profiles (root and jesusxp) to include:
export PSPDEV="/usr/local/pspdev"
export PSPSDK="$PSPDEV/psp/sdk"
export PSPPATH="$PSPDEV/bin:$PSPDEV/psp/bin:$PSPSDK/bin"
export PATH="$PATH:$PSPPATH"
Am I doing something wrong? I know that this is under the compiling with OSX tutorial, but before I had something similar anyways, and both seem to work.. however my sudo still cannot build the libmikmod..?
What should my .bashrc look like? I am using Ubuntu Linux.. Sorry for the newb question.. I've been getting by with how I previously had my export set up in my bashrc, and all my own makefiles use:
| Code: |
PSPSDK=/usr/local/pspdev/psp/sdk
include $(PSPSDK)/lib/build.mak
|
I'd like to change this so that my Makefiles look more like everyone elses... with the env variables & not the path so explicitly stated.. Thank you!! |
|
| Back to top |
|
 |
harleyg

Joined: 05 Oct 2005 Posts: 123
|
Posted: Mon Dec 04, 2006 5:13 am Post subject: |
|
|
| Quote: | | cp: cannot create regular file '/usr/local/pspdev/psp/include/mikmod.h': Permission denied |
Ensure you have read/write access to the file. |
|
| Back to top |
|
 |
JesusXP
Joined: 17 Jan 2006 Posts: 80 Location: Ontario, Canada
|
Posted: Mon Dec 04, 2006 6:20 am Post subject: |
|
|
UPDATE -- FIXED
Thats all part of the trouble my friend...
I am used to being able to install other parts of the SDK, pspgl, libmad, libpng, zlib, but in this instance, its not working..
I assume it cannot write/create the file in /usr/local/pspdev/psp/include because I need to be root, but when i try to sudo install, it doesnt recognize psp-config
Anyone else have an idea, or rather, an option to try!?
--------------------------------------------------------------------------
Worked... I guess sudo doesnt work, I had to sudo -i and than run it inside the dir ---sorry |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Mon Dec 04, 2006 10:10 am Post subject: |
|
|
| Try "sudo bash" - it will leave you in a terminal at root level. Then you can just make and make install to your heart's delight. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|