LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 02-23-2006, 09:02 PM   #1
impeteperry
Member
 
Registered: Dec 2003
Location: Riverside, RI, USA
Distribution: Ubuntu/Kubuntu
Posts: 308
Blog Entries: 1

Rep: Reputation: 31
Problem installing qt4


I am trying to install Qt4.
Download - OK
./configure - OK
make - OK

sudo -c "make install" results wiith
Quote:
pete@newCompaq:/tmp/qt-x11-opensource-src-4.1.1$ sudo -c "make install"
sudo: illegal option `-c'
usage: sudo -K | -L | -V | -h | -k | -l | -v
usage: sudo [-HPSb] [-p prompt] [-u username|#uid]
{ -e file [...] | -i | -s | <command> }
pete@newCompaq:/tmp/qt-x11-opensource-src-4.1.1$
The "INSTALL" instructions
Quote:
To install the library, demos, examples, tools, and tutorials,
type:

su -c "make install"
but of course "Ubuntu" uses "sudo" in lieu of"su".
Any help would be appreciated
 
Old 02-23-2006, 10:08 PM   #2
Dazed_75
Member
 
Registered: Oct 2005
Location: Arizona
Distribution: Debian, Ubuntu, Puppy, others
Posts: 36

Rep: Reputation: 16
Quote:
but of course "Ubuntu" uses "sudo" in lieu of"su".
Well sort of, but not exactly. They are different commands with different options. The -c means the following is a command to su but specifies a class to sudo.

su is used to change users where sudo is used to execute a command as another user. That appears to be why for su, the -c option specifies the command to ececute while sudo simply expects the command to follow (no option specifier needed).

Hoping I am right here as I am pretty much a newb at this.
 
Old 02-23-2006, 11:28 PM   #3
impeteperry
Member
 
Registered: Dec 2003
Location: Riverside, RI, USA
Distribution: Ubuntu/Kubuntu
Posts: 308

Original Poster
Blog Entries: 1

Rep: Reputation: 31
Thanks, but I think I solved my problem.
In a terminal I typed "sudo nothing" When asked for my password I typed it in. got a cauldn't fine.....
I then typed "make install" and all went fine, I think.
 
Old 03-18-2006, 09:51 AM   #4
impeteperry
Member
 
Registered: Dec 2003
Location: Riverside, RI, USA
Distribution: Ubuntu/Kubuntu
Posts: 308

Original Poster
Blog Entries: 1

Rep: Reputation: 31
In addition, I found if I typed:
"sudo su -c "make install"
all ran fine.
 
  


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
QT4 installing fakie_flip Programming 3 11-27-2006 06:03 PM
kubuntu: problem building QT4 application eantoranz Ubuntu 1 01-23-2006 11:39 AM
Compiling qt4 apps for non-qt4 linux, win, mac birdseye Programming 4 10-31-2005 04:45 AM
installing qt4 fakie_flip Programming 7 09-14-2005 09:04 PM
qt3 or qt4 crAckZ Programming 1 09-06-2005 05:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 01:23 PM.

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
Open Source Consulting | Domain Registration