LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-02-2008, 02:24 PM   #1
viettrung
LQ Newbie
 
Registered: Jan 2007
Posts: 10

Rep: Reputation: 0
recordMyDesktop - non-root user installation problem


Hi,

I would like to install recordMyDesktop in my home directory on Kubutu by compiling its source code (Because I have no root right, I cannot install it from the binaries). However, I got the error when executing ./configure --prefix=$(HOME)/recordMyDesktop, that said "Can't find libtheora".

So I downloaded libtheora's source code and compiled it successfully in my home directory. I already added the path to lib directory of libtheora (let say $(HOME)/libtheora/lib) in LD_LIBRARY_PATH environment variable. But when I tried to run the ./configure command for recordMyDesktop again, the error still occurred.

I also try with:

$./configure --prefix=$(HOME)/recordMyDesktop LDFLAGS=-L$(HOME)/libtheora/lib, but it did not work too.

How can I direct the configure to recognize the library? Please let me know if you have any idea to solve that problem.

Thanks alot!

.viettrung.
 
Old 08-03-2008, 03:07 AM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 5, Linux Lite
Posts: 4,312

Rep: Reputation: 209Reputation: 209Reputation: 209
Quote:
Originally Posted by viettrung View Post
Hi,

I would like to install recordMyDesktop in my home directory on Kubutu by compiling its source code (Because I have no root right, I cannot install it from the binaries)...
Are you sure about that?

Typing:
Code:
sudo apt-get install /path/to/package/<name of package>
should prompt you for the root password, then do the install.

Chances are, if it's available as a binary download, it's in your repositories. Do a search in your package manager for recordmydesktop.

Last edited by {BBI}Nexus{BBI}; 08-03-2008 at 03:10 AM.
 
Old 08-04-2008, 05:27 AM   #3
viettrung
LQ Newbie
 
Registered: Jan 2007
Posts: 10

Original Poster
Rep: Reputation: 0
@{BBI}Nexus{BBI}: Thank you very much for your answer.

Quote:
Originally Posted by {BBI}Nexus{BBI} View Post
Are you sure about that?
Until you asked me I am a newbie in Linux so if I was wrong, please correct me.

Quote:
Originally Posted by {BBI}Nexus{BBI} View Post
Typing:
Code:
sudo apt-get install /path/to/package/<name of package>
should prompt you for the root password, then do the install.

Chances are, if it's available as a binary download, it's in your repositories. Do a search in your package manager for recordmydesktop.
Sorry but I don't get your points much. As far as I know, all you mentioned about(sudo, package manager) require root password which in fact I don't have. Could you please explain in more detail?
--------------

Actually I already found the solution for compiling from source code. I just want to describe here for who may have the same problem:

After compiling libtheora (make), make install libtheora to create pkg-config files, and the lib/ and include/ directories for the library in $(HOME)/libtheora/.

Then, configure recordMyDesktop by $./configure --prefix=$(HOME)/recordMyDesktop LDFLAGS=-L$(HOME)/libtheora/lib CPPFLAGS=-I$(HOME)/libtheora/include

Finally, make it...
 
Old 08-04-2008, 06:11 PM   #4
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 5, Linux Lite
Posts: 4,312

Rep: Reputation: 209Reputation: 209Reputation: 209
Quote:
Originally Posted by viettrung View Post
Hi,

I would like to install recordMyDesktop in my home directory on Kubutu by compiling its source code (Because I have no root right, I cannot install it from the binaries)...
I should have read your post properly.

Glad you got it sorted in the end.
 
Old 08-04-2008, 06:58 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,050

Rep: Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915
Quote:
Originally Posted by viettrung View Post
As far as I know, all you mentioned about(sudo, package manager) require root password which in fact I don't have. Could you please explain in more detail?
No, that is the beauty of sudo - when it asks for a password, it needs your password (for confirmation). No need (usually) for a root user at all.
Same for all the other software on Ubuntu, including package manager - use your password when prompted.

As it happens there are situations where root is useful, but that discussion (flame war) belongs elsewhere.
 
Old 08-05-2008, 04:54 AM   #6
viettrung
LQ Newbie
 
Registered: Jan 2007
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by syg00 View Post
No, that is the beauty of sudo - when it asks for a password, it needs your password (for confirmation). No need (usually) for a root user at all.
Same for all the other software on Ubuntu, including package manager - use your password when prompted.
It's nice to learn that! I will try with that. Thank you!
 
Old 08-05-2008, 04:56 AM   #7
viettrung
LQ Newbie
 
Registered: Jan 2007
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by {BBI}Nexus{BBI} View Post
I should have read your post properly.

Glad you got it sorted in the end.
No problem and thanks for your time and concern!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Startup problem, UDEV: No Such User: Root jerds Linux - Software 1 01-17-2007 09:49 AM
permission problem - root is the only user which can login hitman_et Linux - Newbie 6 04-03-2005 11:12 AM
user or root.. wineinstall problem ody1 Linux - Newbie 0 10-06-2003 08:33 AM
Linux Root User Log In Problem winmelnx Linux - General 5 02-28-2003 12:18 AM
open office root user problem popcorn5714 Linux - Software 3 09-17-2002 12:14 PM


All times are GMT -5. The time now is 07:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration