Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 20 Oct 2014, 01:03
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
Mercury: Instant Messaging with Video Conferencing
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 5 [65 Posts]   Goto page: 1, 2, 3, 4, 5 Next
Author Message
rarsa


Joined: 29 May 2005
Posts: 3053
Location: Kitchener, Ontario, Canada

PostPosted: Thu 01 Sep 2005, 14:24    Post subject:  Mercury: Instant Messaging with Video Conferencing  

Mercury is a full featured java based MSN Messenger client. It only runs the MSN protocol but it runs it very well. Some say that maybe even better than the MSN Messenger.

Attention: The fact that Mercury runs under Java plus the requirements for processing video require a fairly fast computer/connection. If you have a slow computer/connectionyou may get frustrated by the performance of this application.

Having said that any recent computer should be able to handle it. I am running from a LiveCD, on a laptop P3 1.7 GHz with 512 RAM, a 768 MB pup001 file and I cannot complain.

I am preparing a DotPup to try to automate most of these steps.

I am releasing this HowTo to confirm that all the steps are accurate. Think of it as testing my pseudocode before writting the script.

Please let me know about any (ANY) situations where you had to deviate from these steps.

I will separate the top steps in individual posts to make them easier to read, print and/or reference.

Please read all the instructions before starting

These instructions have three steps:
I. Install Mercury
II. Install your WebCamera drivers (spca5xx)
III. Configure videoconference in Mercury.

Last edited by rarsa on Mon 12 Sep 2005, 18:02; edited 7 times in total
Back to top
View user's profile Send private message Visit poster's website 
rarsa


Joined: 29 May 2005
Posts: 3053
Location: Kitchener, Ontario, Canada

PostPosted: Thu 01 Sep 2005, 14:24    Post subject: I. Install Mercury  

I. Install Mercury
Installing Mercury consists on the following steps
1. Making sure that you have enough space
2. Download the Mercury installer
3. Install Mercury
4. Test Mercury


1. Make sure that you have enough space for the following:
- Installation file,
- Temporary installation files
- Installed application.

The good news are that each of the above can be in a different partition or on the same partition. There are so many variations that instead of exploring them here you can send me your questions.
In my case I had to double the pup001 file size to 500 MB.

2. Download the corresponding install file from http://www.mercury.to/
How to decide which one to download
- If you already have Java installed select "Mercury 1709 for Linux without JVM" 7MB aprox
- If you don't have Java already installed you could either
a) Install Mercury 1709 for Linux with JVM 39 MB
b) Install the Java DotPup (17 MB download, 80 MB installed) + "Mercury 1709 for Linux without JVM" 7MB aprox

Installing with JVM is obviously more stable as it will run under the same JVM that Mercury was tested.
Installing Java first will save you some space.
Some steps will be different depending on this decision. I will make a note when this is the case.

3. To install follow these steps:

- Set the IATEMPDIR environment variable to poitnto a folder with enough space for the temporary files (100MB)
- Make the installation file executable
- Execute the installation (the actual name of the file will depend on what you downloaded, either 1709_Linux_VM.bin or 1709_Linux_NoVM.bin

Here is an example creating the temporary folders under /root and installing with the JVM
Code:

# chmod +x 1709_Linux_VM.bin
# IATEMPDIR=/root
# export IATEMPDIR
# ./1709_Linux_VM.bin

Accept the default installation location and let the installer create a shorcut on the home folder.

4. To test Mercury do the following:
- Open rox and click on the /root/runMercury script. (The first time it may give you an error, but run it again and it should be OK)
- Log-in to your MSN account
- Start chatting with your friends. The next two posts will show you how to videoconference with them.

Last edited by rarsa on Tue 06 Sep 2005, 22:51; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website 
rarsa


Joined: 29 May 2005
Posts: 3053
Location: Kitchener, Ontario, Canada

PostPosted: Thu 01 Sep 2005, 14:25    Post subject: II. Install your WebCamera drivers (spca5xx)  

II. Install your WebCamera drivers (spca5xx)

I am working on cleaning this out. if you are really eager just do the following for now:

1. Download the spca5xx.tar.gz file to your /root folder
2. Execute the following command before using the camera (every time you boot)
Code:

cp /root/spca5xx.o /lib/modules/`uname -r`/kernel/drivers/usb/spca5xx.o
depmode -ae
modprobe videodev
modprobe spca5xx



I did not create a dotpup as the spce5xx gets a new version the first day of every month.

If you want a more recent version than what I have there, you can compile it.

Compiling and installing it is as easy as
Code:
./configure
make
make instal
depmode -ae
modprobe videodev
modprobe spca5xx


I don't see any reason why that would corrupt your pristine puppy, it installs just one file.

One thing you need to know is that the driver goes to the /lib/modules folder when you install. That means that if you don't have a HDD installation, the contens of the /lib module are in RAM. So you need to follow the first set of instructions every time you boot.
spca5xx.tar.gz
Description  Extract with "tar -xvzf spca5xx.tar.gz"
gz

 Download 
Filename  spca5xx.tar.gz 
Filesize  105.39 KB 
Downloaded  461 Time(s) 

Last edited by rarsa on Thu 03 Nov 2005, 15:39; edited 5 times in total
Back to top
View user's profile Send private message Visit poster's website 
rarsa


Joined: 29 May 2005
Posts: 3053
Location: Kitchener, Ontario, Canada

PostPosted: Thu 01 Sep 2005, 14:27    Post subject: III. Configure VideoConference in Mercury  

III. Configure VideoConference in Mercury

I'll add the puppy specific instructions later

If you already have your drivers working and cannot wait for the instructions specific to puppy you can go to http://www.mercury.to/index.php?page=Wiki&wikipage=InstallingJMF

When the steps indicate to use a folder according to your distribution use the following folders

Copy VidConf-libs.jar to /root/Mercury/lib
Copy JavaLibs-linux.jar to /root/Mercury/lib
Extract NativeLibs-linux.zip to /root/Mercury/jre/lib/i386

The first time you follow the JMF wizard the video may not show. Just close Mercury and go to the wizard again, the camera should show now.

Last edited by rarsa on Thu 15 Sep 2005, 13:08; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
dewdrop


Joined: 29 Aug 2005
Posts: 298
Location: Texas USA

PostPosted: Tue 13 Sep 2005, 19:14    Post subject: Mercury  

Hi Rarsa,

I have downloaded the 4 posts you did for Mercury, and will take a look at them. No promises, but I'll see how/if I can help.

Dewdrop
Back to top
View user's profile Send private message 
dewdrop


Joined: 29 Aug 2005
Posts: 298
Location: Texas USA

PostPosted: Tue 13 Sep 2005, 23:04    Post subject: Mercury  

Hi Rarsa,

This is my initial attempt. I used an additional hard disk, and installed Chubby Puppy 1.0.4 to it.

Step by Step for Mercury on 9-13-2005

1.Downloaded Mercury with JVM, and placed it into its own folder in
/root/my-applications/Mercury.

2.Executed the following code via Xterm

3.BusyBox v0.60.5 (2004.09.18-02:04+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

# chmod +x 1709_linux_VM.bin
chmod: 1709_linux_VM.bin: No such file or directory
# chmod + x 1709_Linux_VM.bin
chmod: x: No such file or directory
# chmod a+x 1709_Linux_VM.bin
# IATEMPDIR=/root
# export IATEMPDIR
# ./1709_Linux_VM.bin
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
strings: No such file or directory

Launching installer...

Warning: Cannot convert string "-b&h-lucida-medium-r-normal-sans-*-140-*-*-p-*-iso8859-1" to type FontStruct

3.At this point a window opened and it looked like it was the beginning of the program start up. When I stopped doing the Step by Step update, this window had disappeared from the desktop, and I could not find anything to do with Mercury or JVM anywhere in /root.
4.Stopped at this point.
Back to top
View user's profile Send private message 
rarsa


Joined: 29 May 2005
Posts: 3053
Location: Kitchener, Ontario, Canada

PostPosted: Wed 14 Sep 2005, 01:29    Post subject:  

Please execute the installation again and don't switch to any other application. The installation is a wizard where you just need to accept the defaults.
Back to top
View user's profile Send private message Visit poster's website 
dewdrop


Joined: 29 Aug 2005
Posts: 298
Location: Texas USA

PostPosted: Thu 15 Sep 2005, 12:08    Post subject: Mercury  

Hi Rarsa,

Here's my Step by step for today 9-15, showing the successful installation of the Mercury software. I'll try the camera install probably tomorrow or Saturday - it is the camera install that is of most importance, correct?

Dewdrop

Step by Step for Mercury on 9-15-2005

I did the re-install as requested on your 9-13 post. I had previously downloaded the 1709_Linux_VM.bin file and placed in into it's own folder under /root /my-applications/Mercury.

(See the xterm info below from the re-install on 9-15)


BusyBox v0.60.5 (2004.09.18-02:04+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

# chmod +x 1709_Linux_VM.bin
# IATEMPDIR=/root
# export IATEMPDIR
# ./1709_Linux_VM.bin
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
strings: No such file or directory

Launching installer...

Warning: Cannot convert string "-b&h-lucida-medium-r-normal-sans-*-140-*-*-p-*-iso8859-1" to type FontStruct
#

1.During the re-install, I clicked on the default items presented, and clicked on the install button. Following the successful installation, the following message appeared: The installation of Mercury is finished. Please see the Installation log for details.

2.I began doing the step by step using OpenOffice, then closed the xterm window.

3.I then returned to Mercury and cliked on runMercury (#4 in your install instruction list) and a message box opened stating “The Classpath of Mercury has been changed. Mercury is now trying to re-start. I clicked the OK button.

4.A new message appeared “Restart works only in Windows only for now. Please restart Mercury manually. I clicked the “OK” button.

5.I clicked on runMercury button again (per your #4 install instructions), and it did start the Welcome to Mercury 1709 window.

6.A new window also opened (The First Time Wizard Window) stating that it would only open automatically the first time you do a new release.

7.I accepted all the default items in the (First Time Wizard Window), and then entered my MSN account info the next window that opened had all the information from my MSN account listed...to include the fact that I had 4 messages waiting in my email inbox.

8.I believe that Mercury works at this point, even though I couldn't figure out how to get it to let me see my email messages.

9.I closed Mercury.

10.I went back to the runMercury script in the /root/runMercury area, clicked once on runMercury, and a new window opened asking me if I wanted to sign in to my MSN account, remove my account or open a new MSN tab. I selected “Sign In” and the connection was again completed giving me the familiar MSN account info.

11.I stopped testing at this point, believing that I would download and test the camera during a followup testing session.
Back to top
View user's profile Send private message 
rarsa


Joined: 29 May 2005
Posts: 3053
Location: Kitchener, Ontario, Canada

PostPosted: Thu 15 Sep 2005, 13:07    Post subject:  

Great! I haven't had time this week at all to prepare DotPups or improve the instructions, but it seems that ou are really getting the hang of Puppy Linux.

Thank you.

If you don't have someone to test the webcam with you, let me know and we can coordinate a time.
Back to top
View user's profile Send private message Visit poster's website 
dewdrop


Joined: 29 Aug 2005
Posts: 298
Location: Texas USA

PostPosted: Thu 15 Sep 2005, 20:27    Post subject: Mercury  

Hi Rarsa,

Thanks. I think it's either called smoothing out the learning curve or "gettin' the hang of it!"

I"ll let you know about the camera install, then we can set a time to test.

Dewdrop
Back to top
View user's profile Send private message 
Guest
Guest


PostPosted: Thu 15 Sep 2005, 20:50    Post subject: Mercury  

Hi again,

I just tried a quick test but it basically failed. Here's the xterm info.

BusyBox v0.60.5 (2004.09.18-02:04+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

# cp /root/spca5xx.o /lib/modules/` uname -r` /kernel/drivers/usb/spca5xx.o
cp: copying multiple files, but last argument `/kernel/drivers/usb/spca5xx.o' is not a directory
Try `cp --help' for more information.
#


I may have something out of place....don't know.

Dewdrop
Back to top
rarsa


Joined: 29 May 2005
Posts: 3053
Location: Kitchener, Ontario, Canada

PostPosted: Thu 15 Sep 2005, 22:19    Post subject:  

You added two extra spaces where they should not be (see the ^ marking the spaces.
Code:

# cp /root/spca5xx.o /lib/modules/` uname -r` /kernel/drivers/usb/spca5xx.o
                                   ^         ^

It is usually better to copy and paste the commands from the forum so you don't make mistakes typing.

the parameter /lib/modules/`uname -r`/kernel/drivers/usb/spca5xx.oshould only have one space, and that is between uname and -r

Now the educational bit: in a comand line, when you have text between backward quotes ` it is interpreted as a command itself. This is, when executing the command it will replace the `uname -r` for the result of that command.

To see what I mean, type uname -r on a command line and you will see what get's inserted between /modules/ and /kernel/.
Back to top
View user's profile Send private message Visit poster's website 
dewdrop


Joined: 29 Aug 2005
Posts: 298
Location: Texas USA

PostPosted: Fri 16 Sep 2005, 17:51    Post subject: Mercury  

Hi Rarsa,

I've attached a printscreen (now deleted) of what I get after I did your instructions in:

II. Install your WebCarmera drivers (spca5xx)

I found this page of "failed" listings after I searched /root for the VidConf-lib.jar; JavaLibs-linux.jar; and NativeLibs-linux.zip files. I couldn't find them anyplace.

I did not keep the Xterm information on the
II. Install your WebCarera drivers (spca5xx) install.

Do you want me to redo this install and send you the Xterm info?

Dewdrop

Last edited by dewdrop on Fri 16 Sep 2005, 22:00; edited 1 time in total
Back to top
View user's profile Send private message 
Guest
Guest


PostPosted: Fri 16 Sep 2005, 21:35    Post subject:  

Smile you did not do step 3. of my condensed instructions.

Here they are in a little bit more detail:

1. Go to the Mercury web page to the address that I indicated (http://www.mercury.to/index.php?page=Wiki&wikipage=InstallingJMF
2. There you follow the instructions for linux that indicate that you need to download the JMF torrent.
3. For that you will need to install the CTorrent client here http://www.murga.org/~puppy/download.php?id=154
4. Download the JMF torrent file and open it with the CTorrent client. That will download the JMF files.
5. Untar the downloaded file and continue with the instructions.
Back to top
rarsa


Joined: 29 May 2005
Posts: 3053
Location: Kitchener, Ontario, Canada

PostPosted: Fri 16 Sep 2005, 21:40    Post subject:  

The previous message was mine. I realized I had not logged in when I tried to go back and edit a mistake, ignore the previous post and follow the instructions on this

Anonymous wrote:
Smile you did not do step 3. of my condensed instructions.

Here they are in a little bit more detail:

1. Go to the Mercury web page to the address that I indicated (http://www.mercury.to/index.php?page=Wiki&wikipage=InstallingJMF
2. There you follow the instructions for linux that indicate that you need to download the JMF torrent.
3. For that you will need to install the CTorrent client here http://www.murga.org/~puppy/download.php?id=154
4. Download the JMF torrent file and open it with the CTorrent client. That will download the JMF files.
5. Continue with the instructions moving the JMF files to the respective folders as shown on my step III instructions.


Actually I'm realizing that the most complex part of this installation will be the torrent file. If you have not downloaded torrent files, please let me know and I'll explain in more detail.
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 5 [65 Posts]   Goto page: 1, 2, 3, 4, 5 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1062s ][ Queries: 12 (0.0084s) ][ GZIP on ]