forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Installing toolchain with cygwin

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
Sully



Joined: 18 Jan 2007
Posts: 3

PostPosted: Thu Jan 18, 2007 2:35 am    Post subject: Installing toolchain with cygwin Reply with quote

Hi,

I'm currently following the following tutorial (http://www.psp-programming.com/tutorials/c/lesson01.htm) but have encountered problems whilst trying to svn update the psptoolchain.

I'm using cygwin but everytime I try and do svn update, cygwin complains and says "svn: working copy '.' locked". It then asks me to try running svn cleanup... doing that results in further errors - "Can't parse '.svn/dir-prop-base'. "Malformed file".

Does anyone have a solution to this problem? I've tried just running toolchain.sh but sadly that doesn't work.
Back to top
View user's profile Send private message
Sully



Joined: 18 Jan 2007
Posts: 3

PostPosted: Thu Jan 18, 2007 4:19 am    Post subject: Reply with quote

*Update*

I've done some internet searching and discovered a different way to setup the psptoolchain. It now appears to be downloading the files after running toolchain.sh

Phew!
Back to top
View user's profile Send private message
Sully



Joined: 18 Jan 2007
Posts: 3

PostPosted: Thu Jan 18, 2007 7:59 am    Post subject: Reply with quote

I think it all installed fine and I've altered the various settings as shown in the tutorial - however, it is still complaining when I try and run make.

make: psp-config: Command not found
makefile:10: /lib/build.mak: No such file or directory
make: *** No rule to make target '/lib/build.mak'. Stop.

Anyone got any idea whats up?
Back to top
View user's profile Send private message
Cy-4AH



Joined: 31 Jan 2007
Posts: 44
Location: Belarus

PostPosted: Wed Jan 31, 2007 10:07 pm    Post subject: Reply with quote

Are you added
Quote:

set path=%path%;C:/cygwin/usr/local/pspdev/bin
set PSPSDK=C:/cygwin/usr/local/pspdev

like it shown on http://www.psp-programming.com/tutorials/c/lesson01-3.htm?
Back to top
View user's profile Send private message
charafe



Joined: 06 Feb 2007
Posts: 12

PostPosted: Tue Feb 06, 2007 7:44 pm    Post subject: Installing PSPSDK on linux Reply with quote

Hi I am triyng to install PSPSDK on my Ubuntu. Installation of psptool chain has been done successfuly, but when I launch the install of pspsdk I get this error:
Code:
charafe@charafe-laptop:~/CometProject/pspsdk_1.0-beta2$ sudo ./configure
checking for pspsdk version... 1.0+beta2
checking for pspdev... configure: error: can't find the pspdev toolchain.  Use --with-pspdev or set PSPDEV
 

so i try using the --with-pspdev and get:
Code:

charafe@charafe-laptop:~/CometProject/pspsdk_1.0-beta2$ sudo ./configure --with-pspdev
checking for pspsdk version... 1.0+beta2
checking for pspdev... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for psp-gcc... psp-gcc
checking for psp-g++... psp-g++
checking for psp-as... psp-as
checking for psp-ld... psp-ld
checking for psp-ar... psp-ar
checking for psp-nm... psp-nm
checking for psp-ranlib... psp-ranlib
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking for getcwd... yes
checking for strchr... yes
checking for doxygen... /usr/local/bin/doxygen
checking for perl... /usr/bin/perl
checking for dot... no
configure: WARNING: dot not found - will not generate graphics for doxygen documentation
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/audio/Makefile
config.status: creating src/base/Makefile
config.status: creating src/ctrl/Makefile
config.status: creating src/debug/Makefile
config.status: creating src/display/Makefile
config.status: creating src/ge/Makefile
config.status: creating src/gu/Makefile
config.status: creating src/gum/Makefile
config.status: creating src/hprm/Makefile
config.status: creating src/kernel/Makefile
config.status: creating src/libc/Makefile
config.status: creating src/nand/Makefile
config.status: creating src/net/Makefile
config.status: creating src/power/Makefile
config.status: creating src/rtc/Makefile
config.status: creating src/sircs/Makefile
config.status: creating src/sdk/Makefile
config.status: creating src/startup/Makefile
config.status: creating src/user/Makefile
config.status: creating src/umd/Makefile
config.status: creating src/usb/Makefile
config.status: creating src/usbstor/Makefile
config.status: creating src/utility/Makefile
config.status: creating src/wlan/Makefile
config.status: creating src/vsh/Makefile
config.status: creating src/samples/Makefile
config.status: creating tools/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
charafe@charafe-laptop:~/CometProject/pspsdk_1.0-beta2$ sudo ./configure --with-pspdev
checking for pspsdk version... 1.0+beta2
checking for pspdev... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for psp-gcc... psp-gcc
checking for psp-g++... psp-g++
checking for psp-as... psp-as
checking for psp-ld... psp-ld
checking for psp-ar... psp-ar
checking for psp-nm... psp-nm
checking for psp-ranlib... psp-ranlib
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking for getcwd... yes
checking for strchr... yes
checking for doxygen... /usr/local/bin/doxygen
checking for perl... /usr/bin/perl
checking for dot... no
configure: WARNING: dot not found - will not generate graphics for doxygen documentation
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/audio/Makefile
config.status: creating src/base/Makefile
config.status: creating src/ctrl/Makefile
config.status: creating src/debug/Makefile
config.status: creating src/display/Makefile
config.status: creating src/ge/Makefile
config.status: creating src/gu/Makefile
config.status: creating src/gum/Makefile
config.status: creating src/hprm/Makefile
config.status: creating src/kernel/Makefile
config.status: creating src/libc/Makefile
config.status: creating src/nand/Makefile
config.status: creating src/net/Makefile
config.status: creating src/power/Makefile
config.status: creating src/rtc/Makefile
config.status: creating src/sircs/Makefile
config.status: creating src/sdk/Makefile
config.status: creating src/startup/Makefile
config.status: creating src/user/Makefile
config.status: creating src/umd/Makefile
config.status: creating src/usb/Makefile
config.status: creating src/usbstor/Makefile
config.status: creating src/utility/Makefile
config.status: creating src/wlan/Makefile
config.status: creating src/vsh/Makefile
config.status: creating src/samples/Makefile
config.status: creating tools/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands


Then i continue with next step "make" and get the an error saying that psp-gcc command is unfound. Do you have an idea? I am suspecting the environment variable: I added them, but could you specify exactly where to put them?

Code:

charafe@charafe-laptop:~/CometProject/pspsdk_1.0-beta2$ sudo make
make  all-recursive
make[1]: entrant dans le répertoire « /home/charafe/CometProject/pspsdk_1.0-beta2 »
Making all in src
make[2]: entrant dans le répertoire « /home/charafe/CometProject/pspsdk_1.0-beta2/src »
Making all in audio
make[3]: entrant dans le répertoire « /home/charafe/CometProject/pspsdk_1.0-beta2/src/audio »
if psp-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/base -I../../src/user -I../../src/debug    -g -O2 -G0 -Wall -MT pspaudiolib.o -MD -MP -MF ".deps/pspaudiolib.Tpo" -c -o pspaudiolib.o pspaudiolib.c; \
        then mv -f ".deps/pspaudiolib.Tpo" ".deps/pspaudiolib.Po"; else rm -f ".deps/pspaudiolib.Tpo"; exit 1; fi
/bin/sh: psp-gcc : commande introuvable
make[3]: *** [pspaudiolib.o] Erreur 1
make[3]: quittant le répertoire « /home/charafe/CometProject/pspsdk_1.0-beta2/src/audio »
make[2]: *** [all-recursive] Erreur 1
make[2]: quittant le répertoire « /home/charafe/CometProject/pspsdk_1.0-beta2/src »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/charafe/CometProject/pspsdk_1.0-beta2 »
make: *** [all] Erreur 2


Thank you for your help.
_________________
Rad
Back to top
View user's profile Send private message
Cy-4AH



Joined: 31 Jan 2007
Posts: 44
Location: Belarus

PostPosted: Tue Feb 06, 2007 8:42 pm    Post subject: Re: Installing PSPSDK on linux Reply with quote

charafe wrote:
Installation of psptool chain has been done successfuly, but when I launch the install of pspsdk ...

I don't know why you trying install pspsdk when toolchain already installed successfuly, because if you have internet connection toolchain setup also downloading and instaling it.
Back to top
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Wed Feb 07, 2007 5:06 am    Post subject: Reply with quote

Run "psp-gcc --version". If it doesn't work, you didn't properly install the toolchain.
Back to top
View user's profile Send private message
Cy-4AH



Joined: 31 Jan 2007
Posts: 44
Location: Belarus

PostPosted: Thu Feb 08, 2007 3:17 am    Post subject: Reply with quote

I'd like to say you can add to PATH in system variables: ";c:\cygwin\bin;c:\cygwin\usr\local\pspdev\bin"
instead writing to cygwin.bat "set path... set PSPSDK...".
Back to top
View user's profile Send private message
charafe



Joined: 06 Feb 2007
Posts: 12

PostPosted: Wed Feb 21, 2007 10:06 pm    Post subject: Reply with quote

PSP-GCC is well installed. What I would like to know if PSPSDK provide a framework development for PSP?
Another question, why PS2DEV.ORG/PSP is not working? i have blank pages...
_________________
Rad
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
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