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 

The first working ps3toolchain release!
Goto page Previous  1, 2, 3, 4, 5, 6  Next
 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS3 Development
View previous topic :: View next topic  
Author Message
zabbyh



Joined: 15 Jul 2005
Posts: 13

PostPosted: Sun Jul 08, 2007 10:45 am    Post subject: Reply with quote

jimparis wrote:
Not sure what you mean. From the otheros loader, we already have access to lots of the hardware, and access to the "other os" hdd partition. The hypervisor won't give us access to the full disk, and from otheros there's nothing we can do to change that.


Can you access the hdd, a memory stick, an external hdd, the Blu Ray Drive..

Is so what are there labels.. for e.g. ms0: for the memory stick etc...?
Back to top
View user's profile Send private message
mc



Joined: 12 Jan 2005
Posts: 212
Location: Linköping

PostPosted: Sun Jul 08, 2007 8:02 pm    Post subject: Reply with quote

It's all SCSI units.

Harddisk: sda
Blueray drive: sdb
Memory stick: sdc
Secure Digital: sdd
Compact Flash: sde

Add "1" for the first partition, "2" for the second etc.

External USB units (wheteher flash memory or harddrive) will
be allocated names dynamically, so the first attached will be sdf
and so on.
_________________
Flying at a high speed
Having the courage
Getting over crisis
I rescue the people
Back to top
View user's profile Send private message
mc



Joined: 12 Jan 2005
Posts: 212
Location: Linköping

PostPosted: Sun Jul 08, 2007 10:09 pm    Post subject: Reply with quote

As, sorry, slight mistake there.

Blueray drive: sr0
Internal flash: sdb

The others should be correct.
_________________
Flying at a high speed
Having the courage
Getting over crisis
I rescue the people
Back to top
View user's profile Send private message
Ps3Rips



Joined: 02 May 2007
Posts: 30

PostPosted: Mon Jul 09, 2007 6:12 am    Post subject: Device Name clarification Reply with quote

can I just confirm the IO deivce names

Blueray drive: sr0
Internal flash: sdb

as MC said or

Blueray drive: sr:0
Internal flash: sdb:0

Also shouldn't the Harddisk be HDD:0? or if it is sda will it be sda:1 if only 1 active partition?
sorry to switch from main topic just interested in device names (thanks for info so far MC)
Back to top
View user's profile Send private message
mc



Joined: 12 Jan 2005
Posts: 212
Location: Linköping

PostPosted: Mon Jul 09, 2007 8:16 am    Post subject: Re: Device Name clarification Reply with quote

Ps3Rips wrote:
Also shouldn't the Harddisk be HDD:0?

Eh, no? hd* is for IDE harddrives, but the PS3 harddrive is SATA, which works
like SCSI, so it's sd*. And even if it had been IDE it would have been hda,
you'll need four harddisks to get as far as hdd...

Ps3Rips wrote:
or if it is sda will it be sda:1 if only 1 active partition?

sda1. No embedded colon. (Also, sda1 is the first partition, regardless of
whether it's "active" or not.) Anyway, this seems like it would be more
on-topic in the Linux forum, as these names are Linux specific.
_________________
Flying at a high speed
Having the courage
Getting over crisis
I rescue the people
Back to top
View user's profile Send private message
Jim



Joined: 02 Jul 2005
Posts: 489
Location: Sydney

PostPosted: Mon Jul 16, 2007 10:32 am    Post subject: Reply with quote

I'm trying to build the ps3 toolchain on cygwin.
At step 5 (binutils-2.17.50 spu) it's failing building bin2c.c because there are 2 prototypes missing and it's built with -Wmissing-prototypes and -Werror.
I had to add
Code:

int __cdecl   _fileno (FILE*);
int __cdecl   _setmode(int, int);

after the includes to get the step to complete. I know this isn't a good solution though.

<edit>
At step 7 (newlib-1.15.0 spu) it fails at 'make install'.
I had to change the install rule in Makefile
newlib-1.15.0\build-spu\spu\libgloss\spu
Code:

install:
   for outputs in ${OUTPUTS}; do\
    ${INSTALL_DATA} $${outputs} $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$${outputs}; \
   done

I've removed the / between $(DESTDIR) and ${tooldir}, since my ${tooldir} ends up as /usr/local/ps3dev/spu and that expands to //usr/local/ps3dev/spu.

Jim
_________________
http://www.dbfinteractive.com
Back to top
View user's profile Send private message Visit poster's website
rapso



Joined: 28 Mar 2005
Posts: 148

PostPosted: Sun Jul 22, 2007 5:00 am    Post subject: Reply with quote

ooPo wrote:
mukumuku:

Take a look in depends/check-autoconf.sh to see what commands it is trying to run. Perhaps you can track down the problem.

I've the same problem now.

starting check-autoconf.sh tells me:
Quote:

$ ./toolchain.sh
../check-autoconf.sh: line 5: autoconf: command not found
ERROR: Install autoconf before continuing.
../check-autoconf.sh: Failed.


expanding autocon says I've both possible version (that can be selected on the cygwin setup)
Quote:

$ autocon
autoconf-2.13 autoconf-2.61



I'm using (obviously) cygwin, it was not a clean installation, but already used for PS2 and PSP (I'm sure PSP was working, took hours to complet tho :) ). I've added/updated all the needed libs.

I've set the chmod stuff (is it of any use on windows/cygwin?)

any ideas/help?
Back to top
View user's profile Send private message
toxicer



Joined: 18 Apr 2007
Posts: 17

PostPosted: Sun Jul 22, 2007 7:14 am    Post subject: Reply with quote

Quote:

$ ./toolchain.sh
../check-autoconf.sh: line 5: autoconf: command not found
ERROR: Install autoconf before continuing.
../check-autoconf.sh: Failed.


expanding autocon says I've both possible version (that can be selected on the cygwin setup)
Quote:

$ autocon
autoconf-2.13 autoconf-2.61


What about sym linking either autoconf-2.13 or autoconf-2.13 to autoconf?
Back to top
View user's profile Send private message
$inister



Joined: 22 Jul 2007
Posts: 4
Location: Boca Raton, Florida

PostPosted: Sun Jul 22, 2007 5:21 pm    Post subject: Reply with quote

wow, homebrew on the PS3 is closer then what people imagine. Awesome.
Back to top
View user's profile Send private message Visit poster's website AIM Address
rapso



Joined: 28 Mar 2005
Posts: 148

PostPosted: Sun Jul 22, 2007 6:44 pm    Post subject: Reply with quote

toxicer wrote:

What about sym linking either autoconf-2.13 or autoconf-2.13 to autoconf?
softlink, on windows?;)
but I've maken a copy to autoconf of autoconf-2.13, it was working for several hours, stopped this morning at some warnings+errors, I've dumped the critical part at:

http://www.rapso.de/ranz/error.txt

am I missing something that needs to be installed for cygwin? for me it seems like it's missing something in the toolchain, but I've no idea what went wrong nor why. :(
Back to top
View user's profile Send private message
Jim



Joined: 02 Jul 2005
Posts: 489
Location: Sydney

PostPosted: Sun Jul 22, 2007 10:57 pm    Post subject: Reply with quote

You can symlink under Cygwin. I didn't have to do that, however.

Quote:

gcc -o bin2c.exe -D_GNU_SOURCE -I. -I../../binutils -I../bfd -I../../binutils/..
/bfd -I../../binutils/../include -DLOCALEDIR="\"/cygdrive/d/PS3Dev/SDK/spu/share
/locale\"" -Dbin_dummy_emulation=bin_vanilla_emulation -W -Wall -Wstrict-prototy
pes -Wmissing-prototypes -Werror -g -O2 ../../binutils/bin2c.c ../../binutils/v
ersion.c
../../binutils/bin2c.c: In function `main':
../../binutils/bin2c.c:89: warning: implicit declaration of function `_fileno'
../../binutils/bin2c.c:89: warning: implicit declaration of function `_setmode'


This can be fixed by following my notes from 2 or 3 posts above.

Jim
_________________
http://www.dbfinteractive.com
Back to top
View user's profile Send private message Visit poster's website
ouasse



Joined: 30 Jul 2007
Posts: 91
Location: Paris, France

PostPosted: Mon Jul 30, 2007 6:04 am    Post subject: Reply with quote

Hi, I got that error on PS3 Debian :
Code:

In file included from ../../libiberty/fopen_unlocked.c:73:
/usr/include/stdio_ext.h:47: error: expected '=', ',', ';', 'asm' or '__attribut
e__' before 'extern'
/usr/include/stdio_ext.h: In function '__freading':
/usr/include/stdio_ext.h:52: error: expected declaration specifiers before '__TH
ROW'
/usr/include/stdio_ext.h:57: error: expected '=', ',', ';', 'asm' or '__attribut
e__' before '__THROW'
/usr/include/stdio_ext.h:62: error: expected '=', ',', ';', 'asm' or '__attribut
e__' before '__THROW'
/usr/include/stdio_ext.h:65: error: expected '=', ',', ';', 'asm' or '__attribut
e__' before '__THROW'
/usr/include/stdio_ext.h:69: error: expected '=', ',', ';', 'asm' or '__attribut
e__' before '__THROW'
/usr/include/stdio_ext.h:73: error: expected '=', ',', ';', 'asm' or '__attribut
e__' before '__THROW'
/usr/include/stdio_ext.h:76: error: expected '=', ',', ';', 'asm' or '__attribut
e__' before '__THROW'
/usr/include/stdio_ext.h:79: error: storage class specified for parameter '_flus
hlbf'
/usr/include/stdio_ext.h:83: error: expected '=', ',', ';', 'asm' or '__attribut
e__' before '__THROW'
/usr/include/stdio_ext.h:85: error: expected declaration specifiers before '__EN
D_DECLS'
In file included from ../../libiberty/fopen_unlocked.c:76:
../../libiberty/../include/libiberty.h:55: error: storage class specified for pa
rameter 'unlock_stream'
../../libiberty/../include/libiberty.h:61: error: storage class specified for pa
rameter 'unlock_std_streams'
../../libiberty/../include/libiberty.h:67: error: storage class specified for pa
rameter 'fopen_unlocked'
../../libiberty/../include/libiberty.h:68: error: storage class specified for pa
rameter 'fdopen_unlocked'
../../libiberty/../include/libiberty.h:69: error: storage class specified for pa
rameter 'freopen_unlocked'
../../libiberty/../include/libiberty.h:74: error: storage class specified for pa
rameter 'buildargv'
../../libiberty/../include/libiberty.h:74: warning: '__malloc__' attribute ignor
ed
../../libiberty/../include/libiberty.h:78: error: storage class specified for pa
rameter 'freeargv'
../../libiberty/../include/libiberty.h:83: error: storage class specified for pa
rameter 'dupargv'
../../libiberty/../include/libiberty.h:83: warning: '__malloc__' attribute ignor
ed
../../libiberty/../include/libiberty.h:87: error: storage class specified for pa
rameter 'expandargv'
../../libiberty/../include/libiberty.h:101: error: storage class specified for p
arameter 'basename'
../../libiberty/../include/libiberty.h:112: error: storage class specified for p
arameter 'lbasename'
../../libiberty/../include/libiberty.h:116: error: storage class specified for p
arameter 'lrealpath'
../../libiberty/../include/libiberty.h:122: error: storage class specified for p
arameter 'concat'
../../libiberty/../include/libiberty.h:122: warning: '__malloc__' attribute igno
red
../../libiberty/../include/libiberty.h:131: error: storage class specified for p
arameter 'reconcat'
../../libiberty/../include/libiberty.h:131: warning: '__malloc__' attribute igno
red
../../libiberty/../include/libiberty.h:137: error: storage class specified for p
arameter 'concat_length'
../../libiberty/../include/libiberty.h:144: error: storage class specified for p
arameter 'concat_copy'
../../libiberty/../include/libiberty.h:151: error: storage class specified for p
arameter 'concat_copy2'
../../libiberty/../include/libiberty.h:155: error: storage class specified for p
arameter 'libiberty_concat_ptr'
../../libiberty/../include/libiberty.h:167: error: storage class specified for p
arameter 'fdmatch'
../../libiberty/../include/libiberty.h:179: error: storage class specified for p
arameter 'getpwd'
../../libiberty/../include/libiberty.h:192: error: storage class specified for p
arameter 'get_run_time'
../../libiberty/../include/libiberty.h:198: error: storage class specified for p
arameter 'make_relative_prefix'
../../libiberty/../include/libiberty.h:198: warning: '__malloc__' attribute igno
red
../../libiberty/../include/libiberty.h:202: error: storage class specified for p
arameter 'choose_temp_base'
../../libiberty/../include/libiberty.h:202: warning: '__malloc__' attribute igno
red
../../libiberty/../include/libiberty.h:206: error: storage class specified for p
arameter 'make_temp_file'
../../libiberty/../include/libiberty.h:206: warning: '__malloc__' attribute igno
red
../../libiberty/../include/libiberty.h:210: error: storage class specified for p
arameter 'unlink_if_ordinary'
../../libiberty/../include/libiberty.h:214: error: storage class specified for p
arameter 'spaces'
../../libiberty/../include/libiberty.h:219: error: storage class specified for p
arameter 'errno_max'
../../libiberty/../include/libiberty.h:224: error: storage class specified for p
arameter 'strerrno'
../../libiberty/../include/libiberty.h:228: error: storage class specified for p
arameter 'strtoerrno'
../../libiberty/../include/libiberty.h:232: error: storage class specified for p
arameter 'xstrerror'
../../libiberty/../include/libiberty.h:237: error: storage class specified for p
arameter 'signo_max'
../../libiberty/../include/libiberty.h:249: error: storage class specified for p
arameter 'strsigno'
../../libiberty/../include/libiberty.h:253: error: storage class specified for p
arameter 'strtosigno'
../../libiberty/../include/libiberty.h:257: error: storage class specified for p
arameter 'xatexit'
../../libiberty/../include/libiberty.h:261: error: storage class specified for p
arameter 'xexit'
../../libiberty/../include/libiberty.h:265: error: storage class specified for p
arameter 'xmalloc_set_program_name'
../../libiberty/../include/libiberty.h:268: error: storage class specified for p
arameter 'xmalloc_failed'
../../libiberty/../include/libiberty.h:274: error: storage class specified for p
arameter 'xmalloc'
../../libiberty/../include/libiberty.h:274: warning: '__malloc__' attribute igno
red
../../libiberty/../include/libiberty.h:280: error: storage class specified for p
arameter 'xrealloc'
../../libiberty/../include/libiberty.h:285: error: storage class specified for p
arameter 'xcalloc'
../../libiberty/../include/libiberty.h:285: warning: '__malloc__' attribute igno
red
../../libiberty/../include/libiberty.h:289: error: storage class specified for p
arameter 'xstrdup'
../../libiberty/../include/libiberty.h:289: warning: '__malloc__' attribute igno
red
../../libiberty/../include/libiberty.h:293: error: storage class specified for p
arameter 'xstrndup'
../../libiberty/../include/libiberty.h:293: warning: '__malloc__' attribute igno
red
../../libiberty/../include/libiberty.h:297: error: storage class specified for p
arameter 'xmemdup'
../../libiberty/../include/libiberty.h:297: warning: '__malloc__' attribute igno
red
../../libiberty/../include/libiberty.h:300: error: storage class specified for p
arameter 'physmem_total'
../../libiberty/../include/libiberty.h:301: error: storage class specified for p
arameter 'physmem_available'
../../libiberty/../include/libiberty.h:338: error: storage class specified for p
arameter '_hex_value'
../../libiberty/../include/libiberty.h:339: error: storage class specified for p
arameter 'hex_init'
../../libiberty/../include/libiberty.h:365: error: storage class specified for p
arameter 'pex_init'
../../libiberty/../include/libiberty.h:449: error: storage class specified for p
arameter 'pex_run'
../../libiberty/../include/libiberty.h:466: error: storage class specified for p
arameter 'pex_run_in_environment'
../../libiberty/../include/libiberty.h:473: error: storage class specified for p
arameter 'pex_input_file'
../../libiberty/../include/libiberty.h:480: error: storage class specified for p
arameter 'pex_input_pipe'
../../libiberty/../include/libiberty.h:488: error: storage class specified for p
arameter 'pex_read_output'
../../libiberty/../include/libiberty.h:494: error: storage class specified for p
arameter 'pex_get_status'
../../libiberty/../include/libiberty.h:507: warning: empty declaration
../../libiberty/../include/libiberty.h:510: error: storage class specified for p
arameter 'pex_get_times'
../../libiberty/../include/libiberty.h:514: error: storage class specified for p
arameter 'pex_free'
../../libiberty/../include/libiberty.h:530: error: storage class specified for p
arameter 'pex_one'
../../libiberty/../include/libiberty.h:547: error: storage class specified for p
arameter 'pexecute'
../../libiberty/../include/libiberty.h:551: error: storage class specified for p
arameter 'pwait'
../../libiberty/../include/libiberty.h:579: error: storage class specified for p
arameter 'strverscmp'
../../libiberty/../include/libiberty.h:590: error: storage class specified for p
arameter 'C_alloca'
../../libiberty/../include/libiberty.h:590: warning: '__malloc__' attribute igno
red
../../libiberty/fopen_unlocked.c:83: error: expected '=', ',', ';', 'asm' or '__
attribute__' before '{' token
../../libiberty/fopen_unlocked.c:92: error: expected '=', ',', ';', 'asm' or '__
attribute__' before '{' token
../../libiberty/fopen_unlocked.c:98: error: expected '=', ',', ';', 'asm' or '__
attribute__' before '{' token
../../libiberty/fopen_unlocked.c:106: error: expected '=', ',', ';', 'asm' or '_
_attribute__' before '{' token
../../libiberty/fopen_unlocked.c:114: error: expected '=', ',', ';', 'asm' or '_
_attribute__' before '{' token
../../libiberty/fopen_unlocked.c:122: error: expected '=', ',', ';', 'asm' or '_
_attribute__' before '{' token
../../libiberty/fopen_unlocked.c:126: error: old-style parameter declarations in
 prototyped function definition
../../libiberty/fopen_unlocked.c:126: error: expected '{' at end of input
make[3]: *** [fopen_unlocked.o] Erreur 1
make[3]: *** Attente des tâches non terminées....
make[3]: quittant le répertoire « /root/ps3toolchain/build/gcc-4.2.0/build-ppu-s
tage2/libiberty »
make[2]: *** [all-stage2-libiberty] Erreur 2
make[2]: quittant le répertoire « /root/ps3toolchain/build/gcc-4.2.0/build-ppu-s
tage2 »
make[1]: *** [stage2-bubble] Erreur 2
make[1]: quittant le répertoire « /root/ps3toolchain/build/gcc-4.2.0/build-ppu-s
tage2 »
make: *** [all] Erreur 2
../scripts/004-gcc-4.2.0-ppu-stage2.sh: Failed.
zebehn:~/ps3toolchain#
Back to top
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Mon Jul 30, 2007 9:01 am    Post subject: Reply with quote

Why are you using ps3toolchain on a ps3? You already have a compiler installed - it is called 'gcc'.
Back to top
View user's profile Send private message Visit poster's website
ouasse



Joined: 30 Jul 2007
Posts: 91
Location: Paris, France

PostPosted: Mon Jul 30, 2007 5:19 pm    Post subject: Reply with quote

well, I may be wrong but the Debian gcc is just a standard PPC64 compiler. I was needing compilers for the PPU and SPUs. And as installing the official IBM development kit (using alien and hacking installation scripts) is a real nightmare, I tried to use the toolchain in order to manage to get a fully working Cell BE development environment.

Can you confirm the toolchain can provide this ?

thanks
Back to top
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Tue Jul 31, 2007 3:03 am    Post subject: Reply with quote

Well, the ppu compiler in ps3toolchain is currently just a standard PC64 compiler so you wouldn't be gaining anything by using it. :)
Back to top
View user's profile Send private message Visit poster's website
Vincent_M



Joined: 03 Apr 2007
Posts: 73

PostPosted: Sat Aug 11, 2007 6:39 pm    Post subject: Reply with quote

Gotta cygwin question for you guys. Here's my cygwin batch file:

Code:
@echo off

C:
chdir C:\cygwin\bin

set PSPDEV=/usr/local/pspdev
set PATH=$PATH:$PSPDEV/bin

export PS3DEV=/usr/local/ps3dev
export PATH=$PATH:$PS3DEV/bin
export PATH=$PATH:$PS3DEV/ppu/bin
export PATH=$PATH:$PS3DEV/spu/bin

bash --login -i


I was following the instructions on how to run the ps3toolchain, but I kept getting these errors in the cygwin bash right before cygwin I was logged on:

Code:
'export' is not recognized as an internal or external command,
operable program or batch file.
'export' is not recognized as an internal or external command,
operable program or batch file.
'export' is not recognized as an internal or external command,
operable program or batch file.
'export' is not recognized as an internal or external command,
operable program or batch file.


Anyway, I bet I have to update something in cygwin itself, but I'm not sure what that could be exactly. Also, the export command doesn't work for the pspsdk either. I tried it, but I've always had the pspsdk paths set using 'set' like seen above. That's how the psp-programming lessons showed it though.[/code]
Back to top
View user's profile Send private message
2.6,CRACKED!



Joined: 26 Jul 2007
Posts: 18

PostPosted: Sat Aug 11, 2007 8:06 pm    Post subject: Reply with quote

well you would have to change export to set, and now you have two paths PSP, PS3 what i did was make two batch files. PSP.bat and PS3.bat that could solve other problems
Back to top
View user's profile Send private message
Vincent_M



Joined: 03 Apr 2007
Posts: 73

PostPosted: Sun Aug 12, 2007 1:44 am    Post subject: Reply with quote

Yeah, I changed everything fro 'export' to 'set' that last night, thinking it would work becuase I had the same issue with the pspsdk years ago. The pspsdk worked, but I got this error:

Code:
$ ./toolchain.sh
ERROR: Add /usr/local/ps3dev/bin to your path before continuing.
../depends/check-ps3dev.sh: Failed.


I copied the script segment striaght out of the readme. Would adding the script directly to my path environment variable fix it?
Back to top
View user's profile Send private message
2.6,CRACKED!



Joined: 26 Jul 2007
Posts: 18

PostPosted: Sun Aug 12, 2007 4:45 am    Post subject: Reply with quote

well everytime i have to compile I always have to paste the export stuff, so same with compiling/building the toolchain
Back to top
View user's profile Send private message
Vincent_M



Joined: 03 Apr 2007
Posts: 73

PostPosted: Sun Aug 12, 2007 11:56 am    Post subject: Reply with quote

It works, but now I'm getting this:

Code:
--18:51:06--  ftp://ftp.gnu.org/pub/gnu/binutils/binutils-2.17.tar.bz
  (try:11) => `binutils-2.17.tar.bz2'
Connecting to ftp.gnu.org|140.186.70.20|:21... connected.
Logging in as anonymous ...
Write failed, closing control connection.
Retrying.


I was able to go to ftp://ftp.gnu.org/pub/gnu/binutils/binutils-2.17.tar.bz through my web browser. I downloaded it and put it in the ps3toolchain folder. Yet, it's still trying to get this file. I used this tactic when installing the pspsdk, but it didn't work.
Back to top
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Sun Aug 12, 2007 2:22 pm    Post subject: Reply with quote

I'd be worried about the error, but if you really want to skip ahead you can drop the file you manually downloaded into the 'build' directory.
Back to top
View user's profile Send private message Visit poster's website
Vincent_M



Joined: 03 Apr 2007
Posts: 73

PostPosted: Sun Aug 12, 2007 3:13 pm    Post subject: Reply with quote

I tried that earlier, and I still got the same thing. This is the file I got:

binutils-2.17.tar.bz2

The script is running the ppu script, and so I thought the script was looking for a ppu-specific binutils (although this is a standard binutils package, and this process worked for the pspsdk). Are there any files I need besides this?
Back to top
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Sun Aug 12, 2007 3:16 pm    Post subject: Reply with quote

Are you out of disk space?
Back to top
View user's profile Send private message Visit poster's website
Vincent_M



Joined: 03 Apr 2007
Posts: 73

PostPosted: Sun Aug 12, 2007 3:40 pm    Post subject: Reply with quote

I've got about 10GB's left on my primary drive where cygwin is installed. Thanks for the help. I appriciate it. Also, I have the export code working in my logic script (.bash_profile). The reason why it wasn't working was because my login script wasn't being saved in unicode. I converted it, and it works like a charm. My current problem is that I'm getting this again:

Code:
$ ./toolchain.sh
ERROR: Set $PS3DEV before continuing.
../depends/check-ps3dev.sh: Failed.
Back to top
View user's profile Send private message
2.6,CRACKED!



Joined: 26 Jul 2007
Posts: 18

PostPosted: Mon Aug 13, 2007 1:09 am    Post subject: Reply with quote

you have to do it each time you load that batch file. unless i hope theres a way you dont have to
Back to top
View user's profile Send private message
Vincent_M



Joined: 03 Apr 2007
Posts: 73

PostPosted: Mon Aug 13, 2007 11:14 am    Post subject: Reply with quote

There was a tutorial on the first page of this thread that explains how it should work in cygwin. It said I had to put those export lines in my .bash_profile file that located under my user name in cygwin. After that, I entered my information Still, I enter the four lines of script in manually into cygwin's shell, and the toolchain will contect to an ftp server to download the packages needed, but won't stay connected longer than a split second.
Back to top
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Wed Aug 15, 2007 3:43 am    Post subject: Reply with quote

Find out why your machine can't keep a connection open and you might figure out your problem.
Back to top
View user's profile Send private message Visit poster's website
2.6,CRACKED!



Joined: 26 Jul 2007
Posts: 18

PostPosted: Wed Aug 15, 2007 3:51 am    Post subject: Reply with quote

ages ago i had a full install and i did a complete search. I have no bash_profile =\
Back to top
View user's profile Send private message
Vincent_M



Joined: 03 Apr 2007
Posts: 73

PostPosted: Sun Aug 19, 2007 10:03 am    Post subject: Reply with quote

I've decided to ditch cygwin finally and install Ubuntu on my laptop's second hard drive. I have it installed now, but I don't know how to download the packages. I think it has to do with apt-get. I did this:

To download:
Code:

apt-get -d source autoconf autogen automake bison flex imagemagick libsdl1.2-dev libtool ncurses-base patchutils pkg-config subversion texinfo wget gcc g++


To install:
Code:

apt-get -s install autoconf autogen automake bison flex imagemagick libsdl1.2-dev libtool ncurses-base patchutils pkg-config subversion texinfo wget gcc g++


I tried to install the ps3toolchain, but I it tells me that I don't have autoconf installed (it would probably tell me that all the other packages wheren't installed to, if that was). Here's the message from the terminal:

Code:

ls: /usr/include/gmp.h: No such file or directory
ERROR: Install libgmp3 before continuing.
../depends/check-libgmp3.sh: Failed.
Back to top
View user's profile Send private message
ldesnogu



Joined: 17 Apr 2004
Posts: 97

PostPosted: Sun Aug 19, 2007 5:56 pm    Post subject: Reply with quote

Vincent_M wrote:
Code:

ls: /usr/include/gmp.h: No such file or directory
ERROR: Install libgmp3 before continuing.
../depends/check-libgmp3.sh: Failed.

It looks like you need to get gmp installed.
_________________
Laurent
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 -> PS3 Development All times are GMT + 10 Hours
Goto page Previous  1, 2, 3, 4, 5, 6  Next
Page 4 of 6

 
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