Phex Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > Phex (Cross-platform) > General Discussion
Register FAQ Members List Calendar Arcade Search Today's Posts Mark Forums Read

General Discussion For anything which doesn't fit somewhere else


Welcome to Gnutella Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.



Once registered but before posting, members MUST READ the FORUM RULES (click here) and LimeWire/FrostWire users should include System details - help us to help you (click on blue link) in their posts if their problem relates to using the program. Whilst forum helpers are happy to help where they can, without these system details your post might be ignored. And wise to read How to create a New Thread

Thank you

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old September 14th, 2002
Junior Member
 

Join Date: September 14th, 2002
Location: Santa Cruz, Ca
Posts: 9
marccd
Talking How-to: Phex 0.7.3 On Linux

Ok, i heard a lot of stuff about Phex. that doesnt work bla bla, well here are the steps to get it to work:
Download Java JRE 1.4/1.3, i use
www.blackdown.org myself. cause sun sucks..
Install it
Set the path envoriment as root
export PATH="/usr/java/jre2/bin":$PATH
NOTE, that line. should be different, check where your jre/bin dir is.
Ok, you might want to add that line to /etc/rc.local or create a sh script eg:

#!/bin/sh
echo "Starting Java..."
export PATH="/usr/java/jre2/bin":$PATH
echo "Done..."

Save it as java.sh and copy it to /etc/profile.d/
Oh, and remember to chmod +x java.sh before copying it,
OR if you want to do it more easily just do
echo export PATH="/usr/java/jre2/bin":$PATH >> /etc/rc.d/rc.local

Now, you got Java working and stuff
Do this. download this
http://prdownloads.sourceforge.net/phex/phex.hosts
and copy it to the user youre are running Phex.
EJ: im user marccd
so.. do this
cp phex.hosts /home/marccd/.phex/
Overwrite the one is already there,
or if youre root then cp phex.hosts /root/.phex/
Bla Bla, Nowe download the gnutella.net file
http://gnutella.co.uk/servers/gnutella.net
Copy the content of that file and paste it into your
/home/user/.phex/phex.hosts
Ok. that should work allright, now you might want to add an alias for java -jar phex.jar
[marccd@marccd phex_0.7.3_j2se1.4]$ alias "phex=java -jar phex.jar"
that should add an alias. so u just type Phex, instead of java -jar phex.jar,
now. add thar line to the end of /etc/rc.local
do this
echo alias "phex=java -jar phex.jar" >> /etc/rc.d/rc.local
remember to do all the steps as root. but run phex as normal user. so it reads /home/user/.phex/stuff
or you can copy the contents of /home/user/.phex
to /root/.phex
that should work,
Ok, hope it helps!!
Ps: for the speed problem.. get more memory. is juts that java sucks. and eats lots of memory




GregorK: I changed the > to >> to not overwrite the rc.local
__________________
Linuxis the future, we got 4% of the market, we need 96% percent more, well at least we have more users than Mac Os.

Last edited by GregorK : September 16th, 2002 at 03:46 AM.
Reply With Quote
  #2 (permalink)  
Old September 15th, 2002
Unregistered
 

Posts: n/a
Default

Thanks for the intro, I followed along and thought I would mention that to append to a file you need to use >> rather than just > . It overwrote my existing rc.local the first time I went through it.

I am still having a trouble though. I am getting the errors

command:
$bash: phex

errors:
Exception in thread "main" java.util.zip.ZipException: No such file or directory
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:112)
at java.util.jar.JarFile.<init>(JarFile.java:117)
at java.util.jar.JarFile.<init>(JarFile.java:55)


Any help would be great. thanks.
Reply With Quote
  #3 (permalink)  
Old September 15th, 2002
Unregistered
 

Posts: n/a
Default

on redhat 7.3 I had to add the alias command to the /etc/.bashrc instead of /etc/rc.d/rc.local
Reply With Quote
  #4 (permalink)  
Old September 15th, 2002
Junior Member
 

Join Date: September 14th, 2002
Location: Santa Cruz, Ca
Posts: 9
marccd
Default Yes

Sorry about the rc.local thingy i forgot the other >
try
alias "phex=java -jar /home/user/phex/phex.jar"

marccd
__________________
Linuxis the future, we got 4% of the market, we need 96% percent more, well at least we have more users than Mac Os.
Reply With Quote
  #5 (permalink)  
Old September 16th, 2002
Unregistered
 

Posts: n/a
Default

phex works, but can't connect to a network. It's now trying for 10 minutes to connect, but still nothing, how come????
Reply With Quote
  #6 (permalink)  
Old September 16th, 2002
Junior Member
 

Join Date: September 14th, 2002
Location: Santa Cruz, Ca
Posts: 9
marccd
Red face ...

Actually i posted this message. cause people needed help with Phex. but i actually dont like it *snifff*, btw java sucks, ahh and i use gtk-gnutella. check gkt-gnutella.sf.net
or google for it
marccd
just wait for it to connect.
btw, gnutella sucks. but thats all we have :P
__________________
Linuxis the future, we got 4% of the market, we need 96% percent more, well at least we have more users than Mac Os.
Reply With Quote
  #7 (permalink)  
Old September 17th, 2002
Phex Developer
 

Join Date: May 8th, 2001
Location: Stuttgart, Germany
Posts: 865
GregorK
Default

Hi marccd..

can you tell me why you don't like Phex? Is it just because of Java or are there other things that you don't like.
I would be very happy to get all feedback I can, this helps me improve Phex and maybe in one day it will work just the way you like it.

Thanks,
Gregor
__________________
Reply With Quote
  #8 (permalink)  
Old September 17th, 2002
Junior Member
 

Join Date: September 14th, 2002
Location: Santa Cruz, Ca
Posts: 9
marccd
Lightbulb k

First of all Java!, try using libraries like Qt or Gtk, its not so hard to learn. second it needs more feature. like bandwith control, stats. etc. the Search thingy should have tabs, it will be cool to have shorcuts like Open with > Xmms FreeAmp etc etc, Maybe a mp3 player ? xmms is very extensible, mpg123 is cooll too,
Ahh, and the GUI needs some clean up, and some features, :/, a little mp3/ogg organizer (file manager) will be nice too, what about a dock app ? it can be kde / gnome, but just like a wm one cause i use fluxbox *sniff*, theres lots of things that will be cool. eg a cvs!!!!, or a live little chat support window on phex, or even maybe OpenNap compatible client, like gnapster. has opennap, or even giFT,
etc etc etc etc etc etc etc etc etc
marccd
__________________
Linuxis the future, we got 4% of the market, we need 96% percent more, well at least we have more users than Mac Os.
Reply With Quote
  #9 (permalink)  
Old September 18th, 2002
Phex Developer
 

Join Date: May 8th, 2001
Location: Stuttgart, Germany
Posts: 865
GregorK
Default

Hi...

switching from Java to a different library is no choice. It would take to much development to port everything.

You might have not noticed it but Phex already has bandwidth control since a long time.

We are working on integration with more plattform related programs. The only problem is that it can be very difficult on linux to determine whats your favorite program for mp3 or html.
On windows this is no big deal at all. But if you know how to do it I sure integrate it.
Always keep in mind that will will not start to concentrate on just one plattform. We may integrate plattform specific features but compatibility to other plattforms must be ensured.

I'm also working on the integration of a better library manager. But this will take some more time till its ready.

Chat support will be available shortly in Phex 0.8.

Other P2P protocols will not be supported. The nature of different P2P protocols is too different to support them both correctly.

What do you mean with 'a cvs'?

Gregor
__________________
Reply With Quote
  #10 (permalink)  
Old September 18th, 2002
Junior Member
 

Join Date: September 14th, 2002
Location: Santa Cruz, Ca
Posts: 9
marccd
Default yes

A Phex CVS, so we can keep updated with the latest :evel:: version of Phex, really good for proggramers in Linux, mp3 player nmnm. the most used are mpg123 and xmms you can add this command to the Open with mpg123 ...
===========
xterm -t mpg123 -e mpg123 %x
(i think)
-----------
%x is the file that u want to play, xmms will be like
xmms %f &

then the browser stuff, i use galeon myself, but most of the people use Mozilla / Galeon, then opera or konqeror, theres still people that use lynx,

lynx %url &

same with all the browsers. except konqueror. that is something with kdmclient crap, kde is full of unusable crap anyways,

yesterday i checked out the latest cvs of gtk-gnutella , ( 0.91), and now they have some new Server stats feature, thats pretty cool. maybe u guys will implement it, you can use Java, but the instalation is kind of tricky with the export stuff for a newbie,
anyways good luck
marccd
__________________
Linuxis the future, we got 4% of the market, we need 96% percent more, well at least we have more users than Mac Os.
Reply With Quote
  #11 (permalink)  
Old September 18th, 2002
Junior Member
 

Join Date: September 14th, 2002
Location: Santa Cruz, Ca
Posts: 9
marccd
Default oir

or maybe just an open dialog like

your app %url or %f
so the users chooses..
__________________
Linuxis the future, we got 4% of the market, we need 96% percent more, well at least we have more users than Mac Os.
Reply With Quote
  #12 (permalink)  
Old September 19th, 2002
Phex Developer
 

Join Date: May 8th, 2001
Location: Stuttgart, Germany
Posts: 865
GregorK
Default Re: yes

Quote:
Originally posted by marccd
A Phex CVS, so we can keep updated with the latest :evel:: version of Phex, really good for proggramers in Linux
Got to http://www.sf.net/projects/phex to find the CVS with the most current version.

I'm going to think of an integration with the programs you mentioned and an 'open dialog', sounds like a good thing to have. I will just check out how it fits in the concept with Mac OS X.

I know that installation is a bit tricky. For Windows there is already a self-installer. If you know how to create a self-installer for Linux, you can maybe help to us too. Unfortunately I don't know enough about Linux to create one myself.

Gregor
__________________
Reply With Quote
  #13 (permalink)  
Old September 19th, 2002
Junior Member
 

Join Date: September 14th, 2002
Location: Santa Cruz, Ca
Posts: 9
marccd
Default

I can actually do a simple installer in Bash, to install java, and set it up, like
#!/bin/bash
echo " INstalling java"
<here goes all the menu code bla bla"
sh java.sh
export lines
export bla bla
copy to browser path
echo " done",

Wich is pretty easy to just create a bash script. that installs java for you.
__________________
Linuxis the future, we got 4% of the market, we need 96% percent more, well at least we have more users than Mac Os.
Reply With Quote
  #14 (permalink)  
Old September 20th, 2002
Phex Developer
 

Join Date: May 8th, 2001
Location: Stuttgart, Germany
Posts: 865
GregorK
Default

Do you think it is also possible to implement a script that detects the Java settings of the system and uses these settings to start Phex?

Gregor
__________________
Reply With Quote
  #15 (permalink)  
Old September 21st, 2002
Unregistered
 

Posts: n/a
Thumbs down

nice try, but still doesn't connect here on linux. no problems with any other client.
Reply With Quote
Reply



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
My own share of problems in Phex (GNU/Linux) courteouschicken General Discussion 7 July 7th, 2004 12:32 PM
Phex BETA Linux, No SUch Method Error jpm General Discussion 2 March 7th, 2004 08:33 AM
Decentralized Host-Cache - Only PHEX has one - So Promote PHEX Unregistered General Discussion 0 January 31st, 2002 05:29 AM
Phex and Linux igalan General Discussion 6 January 23rd, 2002 07:12 PM
Linux: OK I got SDK installed and Dled Phex now what? FlameBait General Discussion 1 April 30th, 2001 06:59 PM


All times are GMT -7. The time now is 10:32 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0

Copyright © 2007 Gnutelliums LLC.
All Rights Reserved.