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 

Remotejoy on Linux (*buntu Intrepid)

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



Joined: 24 Nov 2008
Posts: 9

PostPosted: Mon Nov 24, 2008 11:37 am    Post subject: Remotejoy on Linux (*buntu Intrepid) Reply with quote

As the subject says, I have been trying for a couple of weekends/weekdays to build RJ on Kubuntu 8.10 (Intrepid Ibex) without much luck. I have looked at the instructions here:

http://www.ngine.de/index.jsp?pageid=4292 and here:

http://www.guztech.nl/index.php?option=com_content&view=article&id=49:setting-up-the-psptoolchain&catid=38:psp&Itemid=56

and I have read what seems to be the only relevant thread on this site here:

http://forums.ps2dev.org/viewtopic.php?t=10130&highlight=remotejoy

but so far, I can get past the script that builds the toolchain. I followed the instructions here:

http://ubuntuforums.org/showthread.php?t=985800

to use gcc 4.2 and g++ 4.3 for compile the toolchain. After watching the script run, I am not sure that is correct, but I was out of ideas.

When I run toolchain-sudo.sh, I get the following (this is the tail):

make -C pspsh clean
make[1]: Entering directory `/home/lingenfr/pspdev/psptoolchain/build/psplinkusb/pspsh'
rm -f pspsh *.o
make[1]: Leaving directory `/home/lingenfr/pspdev/psptoolchain/build/psplinkusb/pspsh'
make -C usbhostfs_pc clean
make[1]: Entering directory `/home/lingenfr/pspdev/psptoolchain/build/psplinkusb/usbhostfs_pc'
rm -f usbhostfs_pc *.o
make[1]: Leaving directory `/home/lingenfr/pspdev/psptoolchain/build/psplinkusb/usbhostfs_pc'
if ( which sdl-config ); then { make -C tools/remotejoy/pcsdl clean; } else { make -C tools/remotejoy/pc clean; } fi
make[1]: Entering directory `/home/lingenfr/pspdev/psptoolchain/build/psplinkusb/tools/remotejoy/pc'
rm -f remotejoy *.o
make[1]: Leaving directory `/home/lingenfr/pspdev/psptoolchain/build/psplinkusb/tools/remotejoy/pc'
make -C pspsh all
make[1]: Entering directory `/home/lingenfr/pspdev/psptoolchain/build/psplinkusb/pspsh'
g++ -Wall -g -D_PCTERM -I../psplink -c -o pspsh.o pspsh.C
make[1]: g++: Command not found
make[1]: *** [pspsh.o] Error 127
make[1]: Leaving directory `/home/lingenfr/pspdev/psptoolchain/build/psplinkusb/pspsh'
make: *** [all] Error 2
../scripts/009-psplinkusb.sh: Failed.
ERROR: Could not run the toolchain script.

If I try to go to the psplinkusb folder and run make, it eventually tells me it can't find psp-config and psp-gcc although they are in /usr/local/pspdev/bin as they should be and they run from the command prompt. I have also read the READMEs that come with the toolchain and a host of other websites in various languages. Bottom line is I have searched and read so please don't tell me to do either unless it is a known good set of instructions. Can anyone help or point me to a more up to date set of instructions.

Bumped once.
Back to top
View user's profile Send private message
NoEffex



Joined: 27 Nov 2008
Posts: 108

PostPosted: Thu Nov 27, 2008 4:31 pm    Post subject: Reply with quote

I use fedora, and am having the same issue, however not same problem. It compiles, but doesn't work. I'm wondering if anybody is willing to port the client of remotejoylite to linux-based platforms.
Back to top
View user's profile Send private message
paraita



Joined: 25 Sep 2007
Posts: 12
Location: Nice, France

PostPosted: Thu Nov 27, 2008 8:34 pm    Post subject: Re: Remotejoy on Linux (*buntu Intrepid) Reply with quote

lingenfr_psp wrote:

make[1]: Entering directory `/home/lingenfr/pspdev/psptoolchain/build/psplinkusb/pspsh'
g++ -Wall -g -D_PCTERM -I../psplink -c -o pspsh.o pspsh.C
make[1]: g++: Command not found
make[1]: *** [pspsh.o] Error 127
make[1]: Leaving directory `/home/lingenfr/pspdev/psptoolchain/build/psplinkusb/pspsh'
make: *** [all] Error 2
../scripts/009-psplinkusb.sh: Failed.
ERROR: Could not run the toolchain script.


are you sure g++ is installed ? altough i think it's used earlier in the script but it's weird.

Be sure you explicited corretly the path to your fink/macports bin folder

You can try to run the 009-psplinkusb script manually
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
reizencroft



Joined: 04 Jul 2008
Posts: 7

PostPosted: Sat Nov 29, 2008 12:33 am    Post subject: Reply with quote

Try this one out:

* Install GCC 4.2
Code:
sudo apt-get install gcc-4.2

* Modify toolchain-sudo.sh, adding following right before “export PSPDEV=/usr/local/pspdev”
Code:
export CC=/usr/bin/gcc-4.2


like so:
Code:
#!/bin/bash
# toolchain-sudo.sh by Dan Peori (danpeori@oopo.net)

 ## Enter the psptoolchain directory.
 cd "`dirname $0`" || { echo "ERROR: Could not enter the psptoolchain directory."; exit 1; }

 ## Set up the environment.
 export CC=/usr/bin/gcc-4.2
 export PSPDEV=/usr/local/pspdev
 export PATH=$PATH:$PSPDEV/bin

 ## Run the toolchain script.
 ./toolchain.sh $@ || { echo "ERROR: Could not run the toolchain script."; exit 1; }

*run the toolchain script

And use the latest g++.

hope this helps.
Back to top
View user's profile Send private message
lingenfr_psp



Joined: 24 Nov 2008
Posts: 9

PostPosted: Sun Dec 07, 2008 1:19 pm    Post subject: Re: Remotejoy on Linux (*buntu Intrepid) Reply with quote

paraita wrote:
lingenfr_psp wrote:

make[1]: Entering directory `/home/lingenfr/pspdev/psptoolchain/build/psplinkusb/pspsh'
g++ -Wall -g -D_PCTERM -I../psplink -c -o pspsh.o pspsh.C
make[1]: g++: Command not found
make[1]: *** [pspsh.o] Error 127
make[1]: Leaving directory `/home/lingenfr/pspdev/psptoolchain/build/psplinkusb/pspsh'
make: *** [all] Error 2
../scripts/009-psplinkusb.sh: Failed.
ERROR: Could not run the toolchain script.


are you sure g++ is installed ? altough i think it's used earlier in the script but it's weird.

Be sure you explicited corretly the path to your fink/macports bin folder

You can try to run the 009-psplinkusb script manually


g++-4.3 was installed. I installed 4.2 and created a symlink to /usr/bin/g++. I also followed the instructions in the post above. I think it worked. Not sure what you are talking about on the macports stuff. Maybe you have me confused with a mac user.
Back to top
View user's profile Send private message
lingenfr_psp



Joined: 24 Nov 2008
Posts: 9

PostPosted: Mon Dec 08, 2008 1:02 am    Post subject: Reply with quote

I tried to make some educated guesses by following ngine and some other websites as well as the information provided with the packages. I got everything to compile. Yeah!. I am running 5.00m33-4 on my PSP. On my PC I run:

~/pspdev/psplinkusb/release_oe/pc/usbhostfs_pc/usbhostfspc

I get a response that it is 'Connected to device'

--------------------------------------------------------------------------------------
I have previously copied the ~/pspdev/psplinkusb/release_oe/psplink folder to my /psp/game folder on my psp.

As well I created a /remotejoy folder in the root and copied the remotejoy.prx from the ~/pspdev/psplinkusb/release_oe/psplink folder
--------------------------------------------------------------------------------------

Next I open a new sh tab and run:

~/pspdev/psplinkusb/release_oe/pc/pspsh/pspsh

I get the host0:> prompt. It responds to the help command but when I issue the 'reset vsh' command it says 'resetting vsh' but eventually the psp turns off.

What next? Have I missed something or used the wrong versions? Thanks.


Last edited by lingenfr_psp on Tue Jan 06, 2009 3:12 am; edited 1 time in total
Back to top
View user's profile Send private message
lingenfr_psp



Joined: 24 Nov 2008
Posts: 9

PostPosted: Thu Dec 11, 2008 9:24 pm    Post subject: Reply with quote

Bump. Please provide some feedback.
Back to top
View user's profile Send private message
lingenfr_psp



Joined: 24 Nov 2008
Posts: 9

PostPosted: Sun Dec 14, 2008 10:31 pm    Post subject: Reply with quote

Bump.
Back to top
View user's profile Send private message
lingenfr_psp



Joined: 24 Nov 2008
Posts: 9

PostPosted: Sat Dec 20, 2008 11:40 pm    Post subject: Reply with quote

Bump. Bump. Bump.
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Sun Dec 21, 2008 12:38 pm    Post subject: Reply with quote

Never use it. How's that for feedback? :)
Back to top
View user's profile Send private message AIM Address
lingenfr_psp



Joined: 24 Nov 2008
Posts: 9

PostPosted: Wed Dec 24, 2008 8:45 am    Post subject: Reply with quote

Worthless, but better than silence. Still need help. Please.
Back to top
View user's profile Send private message
jsharrad



Joined: 20 Oct 2005
Posts: 102

PostPosted: Wed Dec 24, 2008 9:48 am    Post subject: Reply with quote

I've never been able to reset psplink to vsh either, I get the same lockup and then the psp turns off. I've never needed it though, so I never looked into why it did it. PSPLink & remotejoy both work without going through vsh though so if you just want to debug apps, you're all set.
Back to top
View user's profile Send private message
lingenfr_psp



Joined: 24 Nov 2008
Posts: 9

PostPosted: Tue Jan 06, 2009 3:11 am    Post subject: Reply with quote

OK, what I really want to do is find a way to rip my UMD videos. I thought that RJ might be a step in that direction. Theoretically, I ought to be able to capture that stream, then transcode it into something useful. Folks have tried more traditional approaches without success. Regardless, I want to get RJ working. Over on the maxconsole forums, Tinman reports that he got it working 90% on 64-bit linux. He and others shared some binaries, but I have not been able to get them working either. It is disappointing that this project is being developed in linux yet it seems the only folks unable to use it are linux users. Wacky.
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