Installing on Ubuntu Linux

132 views
Skip to first unread message

strawber...@googlemail.com

unread,
Jan 26, 2009, 4:55:23 AM1/26/09
to RemotePad
I'm kinda new to Linux, and I have so far never been able to install
anything from the source code successfully. Can someone point me in
the right direction?

Rui Paulo

unread,
Jan 26, 2009, 5:34:08 AM1/26/09
to remo...@googlegroups.com

Sure. Try this:

$ tar xzvf RemotePadServer-1.6-Source.tgz
....
$ cd RemotePad\ Server
$ make
cc -g -O2 -Wall -Werror -I/usr/X11R6/include -I/usr/X11R7/include -I/
usr/X11/include -c -o remotepad.o remotepad.c
cc -L/usr/X11R6/lib -L/usr/X11R7/lib -L/usr/X11/lib -lX11 -lXtst -lm
remotepad.o -o remotepad
$

Then you can run the RemotePad server as follows:
$ ./remotepad

Regards,
--
Rui Paulo

strawber...@googlemail.com

unread,
Jan 26, 2009, 6:14:25 AM1/26/09
to RemotePad
That's what I tried. But I got an error message:

$ make
cc -g -O2 -Wall -Werror -I/usr/X11R6/include -I/usr/X11R7/include -I/
usr/X11/include -c -o remotepad.o remotepad.c
cc -L/usr/X11R6/lib -L/usr/X11R7/lib -L/usr/X11/lib -lX11 -lXtst -lm
remotepad.o -o remotepad
/usr/bin/ld: cannot find -lXtst
collect2: ld returned 1 exit status
make: *** [remotepad] Error 1


On Jan 26, 10:34 am, Rui Paulo <rpa...@gmail.com> wrote:

ikawamoto

unread,
Jan 26, 2009, 6:48:34 AM1/26/09
to RemotePad
> That's what I tried. But I got an error message:
> /usr/bin/ld: cannot find -lXtst

You have to install a libXtst library package. I don't know how to
install this in Ubuntu, but I found some binary packages with google.

Could you search a library with the keywords 'libxtst' or 'libxtst6'
and install it? (and if possible, please tell me how you install the
library.)

strawber...@googlemail.com

unread,
Jan 26, 2009, 6:54:20 AM1/26/09
to RemotePad
Ah, yes. That seems to have done the trick. It was already installed,
but obviously the development version needs to be installed if I want
to compile the code.

In Ubuntu, this is a case of opening Synaptic Package Manager and
searching for libxtst.

ikawamoto

unread,
Jan 26, 2009, 11:11:01 PM1/26/09
to RemotePad
> Ah, yes. That seems to have done the trick. It was already installed,
> but obviously the development version needs to be installed if I want
> to compile the code.

I see. The libxtst-dev package, maybe.

> In Ubuntu, this is a case of opening Synaptic Package Manager and
> searching for libxtst.

Thanks!
--
iKAWAMOTO Yosihisa!

SLIU

unread,
Feb 2, 2009, 11:01:32 PM2/2/09
to RemotePad
I installed RemotePad on Ubuntu 8.04 within VirtualBox running on Mac
OS X. With the related X11 packages (mentioned in this thread)
installed, I obtained the source directly from google svn:

svn checkout http://iphone-remotepad.googlecode.com/svn/trunk/ iphone-
remotepad-read-only

Under the X11 directory, since it has an imake file that works better
for X, I ran following commands to build the server (remotepad)

$ xmkmf
$ make

The fun part is now I have two mouse devices working simultaneously,
one on Mac deskstop and one in the VirtualBox.
Reply all
Reply to author
Forward
0 new messages