| View previous topic :: View next topic |
| Author |
Message |
cotyrothery
Joined: 03 May 2007 Posts: 11
|
Posted: Mon Jul 02, 2007 3:18 am Post subject: build.mak file not found |
|
|
every time i go to compile something i get this error /lib/build.mak file not found. I'm running ubuntu linux if that helps.
Makefile:21: /lib/build.mak: No such file or directory |
|
| Back to top |
|
 |
tabularasa
Joined: 22 Nov 2006 Posts: 13
|
Posted: Mon Jul 02, 2007 4:46 am Post subject: |
|
|
| probably installation of the psptoolchain failed |
|
| Back to top |
|
 |
cotyrothery
Joined: 03 May 2007 Posts: 11
|
Posted: Mon Jul 02, 2007 4:52 am Post subject: |
|
|
| why would it fail? |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Mon Jul 02, 2007 4:58 am Post subject: |
|
|
| It could fail for a lot of reasons... a missing dependency for example. Another consideration - make sure your environment variables are set. Double-check the path in particular. |
|
| Back to top |
|
 |
cotyrothery
Joined: 03 May 2007 Posts: 11
|
Posted: Mon Jul 02, 2007 5:04 am Post subject: |
|
|
| Well im new the programming and a was just using a src from the sample cube programe to see if it worked i really have no idea what i need to do to get this to work. |
|
| Back to top |
|
 |
cotyrothery
Joined: 03 May 2007 Posts: 11
|
Posted: Mon Jul 02, 2007 8:12 am Post subject: |
|
|
I think i know what went wrong with the install instead of me doing ./toolchain.sh i did ./toolchain-sudo.sh . So now i did that and i got this error;
ERROR: Set $PSPDEV before continuing.
../depends/check-pspdev.sh: Failed.
oh nevermind i found the problem i forgot to put in the toolchain.sh file
## Set up the environment.
export PSPDEV=/usr/local/pspdev
export PATH=$PATH:$PSPDEV/bin
and now it is installing hope this works.
This is a little bit of what i get while doing this
| Code: |
gcc -DHAVE_CONFIG_H -I. -I../../binutils -I. -D_GNU_SOURCE -I. -I../../binutils -I../bfd -I../../binutils/../bfd -I../../binutils/../include -I../../binutils/../intl -I../intl -DLOCALEDIR="\"/usr/local/pspdev/share/locale\"" -Dbin_dummy_emulation=bin_vanilla_emulation -D_LARGEFILE64_SOURCE -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -c ../../binutils/addr2line.c
gcc -DHAVE_CONFIG_H -I. -I../../binutils -I. -D_GNU_SOURCE -I. -I../../binutils -I../bfd -I../../binutils/../bfd -I../../binutils/../include -I../../binutils/../intl -I../intl -DLOCALEDIR="\"/usr/local/pspdev/share/locale\"" -Dbin_dummy_emulation=bin_vanilla_emulation -D_LARGEFILE64_SOURCE -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -c ../../binutils/readelf.c
|
|
|
| Back to top |
|
 |
tabularasa
Joined: 22 Nov 2006 Posts: 13
|
Posted: Mon Jul 02, 2007 9:34 pm Post subject: |
|
|
| yeah looks fine, don't forget to set the environment variable after installation for your user. |
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Tue Jul 03, 2007 8:32 am Post subject: |
|
|
| I don't remember any part of the readme.txt that tells you to put that into toolchain.sh. |
|
| Back to top |
|
 |
cotyrothery
Joined: 03 May 2007 Posts: 11
|
Posted: Tue Jul 03, 2007 12:41 pm Post subject: |
|
|
| tabularasa wrote: | | yeah looks fine, don't forget to set the environment variable after installation for your user. |
How would i go about doing that? |
|
| Back to top |
|
 |
cotyrothery
Joined: 03 May 2007 Posts: 11
|
Posted: Tue Jul 03, 2007 4:02 pm Post subject: |
|
|
I tried to compile the 3.50 downgrader to see if i could get it to work and i still get this.
cotyrothery@cotyrothery-desktop:~/Desktop/src/Downgrader350$ make
make -C decryptprx decryptprx.prx
make[1]: psp-config: Command not found
make[1]: Entering directory `/home/cotyrothery/Desktop/src/Downgrader350/decryptprx'
Makefile:21: /lib/build.mak: No such file or directory
make[1]: *** No rule to make target `/lib/build.mak'. Stop.
make[1]: Leaving directory `/home/cotyrothery/Desktop/src/Downgrader350/decryptprx'
make: *** [decryptprx/decryptprx.prx] Error 2
cotyrothery@cotyrothery-desktop:~/Desktop/src/Downgrader350$ |
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Wed Jul 04, 2007 1:23 am Post subject: |
|
|
| It can't find psp-config because you don't have your environment set up properly. Add those two lines to your startup script and it should work. |
|
| Back to top |
|
 |
cotyrothery
Joined: 03 May 2007 Posts: 11
|
Posted: Wed Jul 04, 2007 1:53 am Post subject: |
|
|
| can you tell me what and were the start up script is. |
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Wed Jul 04, 2007 2:18 am Post subject: |
|
|
Here's a post on setting up the ps3toolchain under cygwin, but the process is very similar for the psptoolchain:
http://forums.ps2dev.org/viewtopic.php?p=55107#55107
| Quote: | | 14. edit .bash_profile and add the following lines to the bottom. |
Enjoy. |
|
| Back to top |
|
 |
cotyrothery
Joined: 03 May 2007 Posts: 11
|
Posted: Wed Jul 04, 2007 2:25 am Post subject: |
|
|
I cant find .bash_profile but i found .profile is that the same thing.
and once i do this do i need to restart the computer or do i need to reinstall psptoolchain. |
|
| Back to top |
|
 |
|