LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 03-15-2004, 11:58 AM   #1
sellsw1711
Member
 
Registered: Mar 2004
Posts: 45

Rep: Reputation: 15
No Permissions


I went to install ACPI and the program said I do not have permissions to ./Makefile. I went to root under my screen name and still the same. I also logged into the computer directly under root and still the same.
Anyone have any ideas of what is going on. I am trying to monitor my laptop battery.
Thanks,
Steve
 
Old 03-15-2004, 12:17 PM   #2
blueCow
Member
 
Registered: Feb 2004
Location: Florida
Distribution: FreeBSD, CentOS, Debian, Mint
Posts: 111

Rep: Reputation: 17
from the way you are wording this it seems your problem is that you are never actually becoming root. type 'su' and then your root password. Once this is done then try to run make.

hrmm... (just thought of something)
Are you tring to run ./Makefile ??

If you are building from source (which I assume you are) you will want to run 'make' then 'make install'

Hope this helps...
 
Old 03-15-2004, 12:20 PM   #3
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
I think his problem is that he's trying to run a Makefile, which is not supposed to be executed. Just type
Code:
make
 
Old 03-16-2004, 03:41 PM   #4
sellsw1711
Member
 
Registered: Mar 2004
Posts: 45

Original Poster
Rep: Reputation: 15
I used the make command and this is the script that came back. It is long with numerous errors, for what I have no idea. Pleas help me
Thanks,
Steve
for i in ospmd libpower gui; do make -C $i all; done;
make[1]: Entering directory `/home/steve/Desktop/ospmd-20021122/ospmd/ospmd'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/steve/Desktop/ospmd-20021122/ospmd/ospmd'
make[1]: Entering directory `/home/steve/Desktop/ospmd-20021122/ospmd/libpower'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/steve/Desktop/ospmd-20021122/ospmd/libpower'
make[1]: Entering directory `/home/steve/Desktop/ospmd-20021122/ospmd/gui'
g++ -c -pipe -g -fno-strength-reduce -Wall -I/usr/lib/qt-3.0.5/include -I/usr/include/kde -I../inc -D_OSPMD_GUI_BUTTON_CONFIG_DEBUG -D_OSPMD_GUI_BATTERY_CONFIG_DEBUG -D_OSPMD_GUI_BATDET_CONFIG_DEBUG -D_OSPMD_GUI_BATTERY_CRITALARM_DEBUG -D_OSPMD_GUI_GENINFO_DEBUG -D_OSPMD_GUI_THREAD_DEBUG -D_OSPMD_GUI_BATTERY_LOWALARM_DEBUG -D_OSPMD_GUI_NOTIFY_OBJ_DEBUG -D_OSPMD_GUI_PROPERTYSHEET_DEBUG -D_OSPMD_GUI_PROPSHEET_MAIN_DEBUG PropertySheetMain.cpp -o PropertySheetMain.o
In file included from PropertySheetMain.cpp:115:
PropertySheet.h:141:26: qapplication.h: No such file or directory
PropertySheet.h:142:21: qthread.h: No such file or directory
PropertySheet.h:143:21: qwidget.h: No such file or directory
PropertySheet.h:144:25: qmessagebox.h: No such file or directory
PropertySheet.h:145:24: qtabdialog.h: No such file or directory
PropertySheet.h:146:21: qstring.h: No such file or directory
PropertySheet.h:147:19: qfont.h: No such file or directory
PropertySheet.h:148:23: qfileinfo.h: No such file or directory
PropertySheet.h:149:25: qpushbutton.h: No such file or directory
PropertySheet.h:150:21: qslider.h: No such file or directory
PropertySheet.h:151:19: qdial.h: No such file or directory
PropertySheet.h:152:19: qhbox.h: No such file or directory
PropertySheet.h:153:19: qvbox.h: No such file or directory
PropertySheet.h:154:23: qtextview.h: No such file or directory
PropertySheet.h:155:22: qpalette.h: No such file or directory
PropertySheet.h:156:20: qframe.h: No such file or directory
PropertySheet.h:157:21: qlayout.h: No such file or directory
PropertySheet.h:158:23: qgroupbox.h: No such file or directory
PropertySheet.h:159:24: qhgroupbox.h: No such file or directory
PropertySheet.h:160:24: qvgroupbox.h: No such file or directory
PropertySheet.h:161:21: qpixmap.h: No such file or directory
PropertySheet.h:162:20: qlabel.h: No such file or directory
PropertySheet.h:163:23: qlineedit.h: No such file or directory
PropertySheet.h:164:23: qdatetime.h: No such file or directory
PropertySheet.h:165:26: qbuttongroup.h: No such file or directory
PropertySheet.h:166:27: qvbuttongroup.h: No such file or directory
PropertySheet.h:167:27: qhbuttongroup.h: No such file or directory
PropertySheet.h:168:23: qcheckbox.h: No such file or directory
PropertySheet.h:169:26: qradiobutton.h: No such file or directory
PropertySheet.h:170:22: qlistbox.h: No such file or directory
PropertySheet.h:171:24: qlcdnumber.h: No such file or directory
PropertySheet.h:172:25: qmotifstyle.h: No such file or directory
PropertySheet.h:173:23: qcdestyle.h: No such file or directory
PropertySheet.h:174:27: qwindowsstyle.h: No such file or directory
PropertySheet.h:175:28: qplatinumstyle.h: No such file or directory
PropertySheet.h:176:23: qsgistyle.h: No such file or directory
In file included from PropertySheet.h:183,
from PropertySheetMain.cpp:115:
GenInfoPage.h:134:21: qobject.h: No such file or directory
GenInfoPage.h:135:21: qwidget.h: No such file or directory
GenInfoPage.h:136:19: qfont.h: No such file or directory
GenInfoPage.h:137:21: qstring.h: No such file or directory
GenInfoPage.h:138:20: qlabel.h: No such file or directory
In file included from PropertySheet.h:183,
from PropertySheetMain.cpp:115:
GenInfoPage.h:143: error: syntax error before `{' token
GenInfoPage.h:146: error: destructors must be member functions
GenInfoPage.h:147: error: syntax error before `*' token
GenInfoPage.h:148: error: syntax error before `*' token
GenInfoPage.h:149: error: syntax error before `*' token
In file included from PropertySheet.h:184,
from PropertySheetMain.cpp:115:
ButtonPage.h:137:21: qobject.h: No such file or directory
ButtonPage.h:138:21: qwidget.h: No such file or directory
ButtonPage.h:139:19: qfont.h: No such file or directory
ButtonPage.h:140:21: qstring.h: No such file or directory
ButtonPage.h:141:20: qlabel.h: No such file or directory
ButtonPage.h:142:23: qcombobox.h: No such file or directory
ButtonPage.h:143:25: qpushbutton.h: No such file or directory
In file included from PropertySheet.h:184,
from PropertySheetMain.cpp:115:
ButtonPage.h:148: error: syntax error before `{' token
ButtonPage.h:153: error: destructors must be member functions
ButtonPage.h:154: error: syntax error before `*' token
ButtonPage.h:155: error: syntax error before `*' token
ButtonPage.h:156: error: syntax error before `*' token
ButtonPage.h:157: error: syntax error before `*' token
ButtonPage.h:158: error: syntax error before `*' token
ButtonPage.h:159: error: syntax error before `*' token
ButtonPage.h:160: error: syntax error before `*' token
ButtonPage.h:161: error: syntax error before `*' token
ButtonPage.h:162: error: syntax error before `*' token
ButtonPage.h:163: error: syntax error before `*' token
ButtonPage.h:164: error: syntax error before `*' token
ButtonPage.h:165: error: syntax error before `*' token
ButtonPage.h:166: error: syntax error before `*' token
ButtonPage.h:167: error: syntax error before `*' token
ButtonPage.h:175: error: syntax error before `protected'
In file included from PropertySheet.h:185,
from PropertySheetMain.cpp:115:
BatteryPage.h:133:24: qnamespace.h: No such file or directory
BatteryPage.h:134:21: qwidget.h: No such file or directory
BatteryPage.h:135:25: qmessagebox.h: No such file or directory
BatteryPage.h:136:24: qtabdialog.h: No such file or directory
BatteryPage.h:137:21: qstring.h: No such file or directory
BatteryPage.h:138:19: qfont.h: No such file or directory
BatteryPage.h:139:23: qfileinfo.h: No such file or directory
BatteryPage.h:140:25: qpushbutton.h: No such file or directory
BatteryPage.h:141:21: qslider.h: No such file or directory
BatteryPage.h:142:19: qdial.h: No such file or directory
BatteryPage.h:143:19: qhbox.h: No such file or directory
BatteryPage.h:144:19: qvbox.h: No such file or directory
BatteryPage.h:145:23: qtextview.h: No such file or directory
BatteryPage.h:146:22: qpalette.h: No such file or directory
BatteryPage.h:147:20: qframe.h: No such file or directory
BatteryPage.h:148:21: qlayout.h: No such file or directory
BatteryPage.h:149:23: qgroupbox.h: No such file or directory
BatteryPage.h:150:24: qhgroupbox.h: No such file or directory
BatteryPage.h:151:24: qvgroupbox.h: No such file or directory
BatteryPage.h:152:21: qpixmap.h: No such file or directory
BatteryPage.h:153:20: qlabel.h: No such file or directory
BatteryPage.h:154:23: qlineedit.h: No such file or directory
BatteryPage.h:155:23: qdatetime.h: No such file or directory
BatteryPage.h:156:26: qbuttongroup.h: No such file or directory
BatteryPage.h:157:27: qvbuttongroup.h: No such file or directory
BatteryPage.h:158:27: qhbuttongroup.h: No such file or directory
BatteryPage.h:159:23: qcheckbox.h: No such file or directory
BatteryPage.h:160:26: qradiobutton.h: No such file or directory
BatteryPage.h:161:22: qlistbox.h: No such file or directory
BatteryPage.h:162:24: qlcdnumber.h: No such file or directory
BatteryPage.h:163:26: qapplication.h: No such file or directory
In file included from PropertySheet.h:185,
from PropertySheetMain.cpp:115:
BatteryPage.h:173: error: syntax error before `{' token
BatteryPage.h:176: error: syntax error before `const'
BatteryPage.h:177: error: destructors must be member functions
BatteryPage.h:178: error: syntax error before `*' token
BatteryPage.h:179: error: syntax error before `*' token
BatteryPage.h:180: error: syntax error before `*' token
BatteryPage.h:184: error: syntax error before `{' token
BatteryPage.h:188: error: destructors must be member functions
BatteryPage.h:189: error: syntax error before `*' token
BatteryPage.h:190: error: syntax error before `*' token
BatteryPage.h:191: error: syntax error before `*' token
BatteryPage.h:192: error: syntax error before `*' token
BatteryPage.h:193: error: syntax error before `*' token
BatteryPage.h:194: error: syntax error before `*' token
BatteryPage.h:195: error: syntax error before `*' token
BatteryPage.h:196: error: syntax error before `*' token
BatteryPage.h:197: error: syntax error before `*' token
BatteryPage.h:198: error: syntax error before `*' token
BatteryPage.h:199: error: syntax error before `*' token
BatteryPage.h:200: error: syntax error before `*' token
BatteryPage.h:203: error: syntax error before `}' token
BatteryPage.h:210: error: syntax error before `{' token
BatteryPage.h:215: error: destructors must be member functions
BatteryPage.h:227: error: syntax error before `*' token
BatteryPage.h:228: error: syntax error before `*' token
BatteryPage.h:229: error: syntax error before `*' token
BatteryPage.h:230: error: syntax error before `*' token
BatteryPage.h:231: error: syntax error before `*' token
BatteryPage.h:232: error: syntax error before `*' token
BatteryPage.h:233: error: syntax error before `*' token
BatteryPage.h:234: error: syntax error before `*' token
BatteryPage.h:244: error: syntax error before `private'
BatteryPage.h:252: error: syntax error before `protected'
BatteryPage.h:258: error: syntax error before `private'
In file included from PropertySheet.h:186,
from PropertySheetMain.cpp:115:
PowerPage.h:134:21: qobject.h: No such file or directory
PowerPage.h:135:21: qwidget.h: No such file or directory
PowerPage.h:136:20: qcolor.h: No such file or directory
PowerPage.h:137:29: qabstractlayout.h: No such file or directory
PowerPage.h:138:21: qlayout.h: No such file or directory
PowerPage.h:139:20: qlabel.h: No such file or directory
PowerPage.h:140:21: qstring.h: No such file or directory
PowerPage.h:141:21: qbutton.h: No such file or directory
PowerPage.h:142:25: qpushbutton.h: No such file or directory
PowerPage.h:143:23: qgroupbox.h: No such file or directory
PowerPage.h:144:27: qrangecontrol.h: No such file or directory
PowerPage.h:145:21: qslider.h: No such file or directory
PowerPage.h:146:23: qcombobox.h: No such file or directory
PowerPage.h:147:22: qpalette.h: No such file or directory
PowerPage.h:148:25: qmessagebox.h: No such file or directory
In file included from PropertySheet.h:186,
from PropertySheetMain.cpp:115:
PowerPage.h:153: error: syntax error before `{' token
PowerPage.h:158: error: destructors must be member functions
PowerPage.h:159: error: syntax error before `*' token
PowerPage.h:160: error: syntax error before `*' token
PowerPage.h:161: error: syntax error before `*' token
PowerPage.h:164: error: syntax error before `*' token
PowerPage.h:165: error: syntax error before `*' token
PowerPage.h:166: error: syntax error before `*' token
PowerPage.h:167: error: syntax error before `*' token
PowerPage.h:168: error: syntax error before `*' token
PowerPage.h:169: error: syntax error before `*' token
PowerPage.h:170: error: syntax error before `*' token
PowerPage.h:171: error: syntax error before `*' token
PowerPage.h:172: error: syntax error before `*' token
PowerPage.h:173: error: syntax error before `*' token
PowerPage.h:174: error: syntax error before `*' token
PowerPage.h:175: error: syntax error before `*' token
PowerPage.h:178: error: syntax error before `*' token
PowerPage.h:179: error: syntax error before `*' token
PowerPage.h:180: error: syntax error before `*' token
PowerPage.h:181: error: syntax error before `*' token
PowerPage.h:182: error: syntax error before `*' token
PowerPage.h:183: error: syntax error before `*' token
PowerPage.h:184: error: syntax error before `*' token
PowerPage.h:185: error: syntax error before `*' token
PowerPage.h:186: error: syntax error before `*' token
PowerPage.h:187: error: syntax error before `*' token
PowerPage.h:188: error: syntax error before `*' token
PowerPage.h:189: error: syntax error before `*' token
PowerPage.h:190: error: syntax error before `*' token
PowerPage.h:191: error: syntax error before `*' token
PowerPage.h:193: error: syntax error before `*' token
PowerPage.h:195: error: syntax error before `*' token
PowerPage.h:196: error: syntax error before `*' token
PowerPage.h:197: error: syntax error before `*' token
PowerPage.h:198: error: syntax error before `*' token
PowerPage.h:199: error: syntax error before `*' token
PowerPage.h:200: error: syntax error before `*' token
PowerPage.h:215: error: syntax error before `protected'
PowerPage.h:218: error: `QComboBox' was not declared in this scope
PowerPage.h:218: error: syntax error before `,' token
PowerPage.h:226: error: syntax error before `private'
PowerPage.h:231: error: syntax error before `}' token
In file included from PropertySheetMain.cpp:115:
PropertySheet.h:192: error: syntax error before `{' token
PropertySheet.h:197: error: destructors must be member functions
PropertySheet.h:200: error: syntax error before `*' token
PropertySheet.h:201: error: syntax error before `*' token
PropertySheet.h:202: error: syntax error before `*' token
PropertySheet.h:205: error: 'GenInfo' is used as a type, but is not defined as
a type.
PropertySheet.h:206: error: 'ButtonPage' is used as a type, but is not defined
as a type.
PropertySheet.h:207: error: 'Batteries' is used as a type, but is not defined
as a type.
PropertySheet.h:208: error: 'PowerPage' is used as a type, but is not defined
as a type.
PropertySheet.h:210: error: syntax error before `public'
PropertySheet.h:216: error: syntax error before `}' token
In file included from PropertySheet.h:219,
from PropertySheetMain.cpp:115:
GUIThread.h:118: error: syntax error before `{' token
GUIThread.h:121: error: destructors must be member functions
GUIThread.h:124: error: syntax error before `protected'
GUIThread.h:133: error: syntax error before `*' token
GUIThread.h:134: error: syntax error before `*' token
GUIThread.h:136: error: syntax error before `}' token
PropertySheetMain.cpp:125: error: syntax error before `*' token
PropertySheetMain.cpp: In function `int main(int, char**)':
PropertySheetMain.cpp:131: error: `ev' undeclared (first use this function)
PropertySheetMain.cpp:131: error: (Each undeclared identifier is reported only
once for each function it appears in.)
PropertySheetMain.cpp:132: error: `propSheet' undeclared (first use this
function)
PropertySheetMain.cpp:133: error: `QApplication' undeclared (first use this
function)
PropertySheetMain.cpp:133: error: `aQapp' undeclared (first use this function)
PropertySheetMain.cpp:135: error: syntax error before `(' token
PropertySheetMain.cpp:138: error: syntax error before `(' token
PropertySheetMain.cpp:142: error: `ospm_gui_mutex' undeclared (first use this
function)
PropertySheetMain.cpp:143: error: syntax error before `;' token
PropertySheetMain.cpp:158: error: syntax error before `(' token
make[1]: *** [PropertySheetMain.o] Error 1
make[1]: Leaving directory `/home/steve/Desktop/ospmd-20021122/ospmd/gui'
make: *** [all] Error 2
[root@co-widfld-u1-c3a-132 ospmd]#
 
Old 03-16-2004, 03:44 PM   #5
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
You don't have Qt installed. That's what all those 'qblahblah.h not found' errors are about. If you install Qt you should be fine. Or specifically Qt-Devel if you're in rpm / apt-get land.

Last edited by Komakino; 03-16-2004 at 03:45 PM.
 
Old 03-16-2004, 03:45 PM   #6
lfur
Member
 
Registered: Jul 2003
Location: Slovenia
Distribution: Slackware & FreeBSD
Posts: 209

Rep: Reputation: 30
First of all you should read the README and INSTALL files for tips on installing, which usually goes like this:

./configure
make
make install (this one ass root if you want to make it available to everyone)
 
Old 03-16-2004, 03:46 PM   #7
sellsw1711
Member
 
Registered: Mar 2004
Posts: 45

Original Poster
Rep: Reputation: 15
Okay, can you hook up a novice and tell me where to get it and if it needs any dependencies.
Thanks a bunch,
Steve
 
Old 03-16-2004, 03:48 PM   #8
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
No idea if it needs dependencies, I steer well clear of horrible packages. Far better to compile from source (although Qt takes an AGE to compile...).
try www.freshrpms.net or www.pbone.net.
You may well need to install both Qt and Qt-devel, though if you're running KDE Qt (not the devel one) will already be installed cos KDE uses Qt.
 
Old 03-16-2004, 03:53 PM   #9
sellsw1711
Member
 
Registered: Mar 2004
Posts: 45

Original Poster
Rep: Reputation: 15
I need a nice battery manager for my laptop. Do you know of one?
thanks,
steve
 
Old 03-16-2004, 03:54 PM   #10
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
Sorry, I don't own a laptop. Did you install Qt? Any change?
 
Old 03-16-2004, 03:55 PM   #11
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
p.s. Nice name...all the best people are called Steve

Steve.
 
Old 03-16-2004, 04:03 PM   #12
sellsw1711
Member
 
Registered: Mar 2004
Posts: 45

Original Poster
Rep: Reputation: 15
Not done yet. Doing the install though. And yes, Steve is a superb name.
Thanks, the man,
Steve
 
Old 03-16-2004, 05:19 PM   #13
sellsw1711
Member
 
Registered: Mar 2004
Posts: 45

Original Poster
Rep: Reputation: 15
after all that, it still did not work, and when installing Qt, it too had errors. It would be nice to have a file or program that was all complete and worked the first time. This is ridiculous. I am so sick of programs that come half way done or complete
 
Old 10-16-2004, 07:20 AM   #14
dns21
Member
 
Registered: Feb 2004
Location: AZ
Distribution: Slackware, Ubuntu, CentOS, Debian
Posts: 139

Rep: Reputation: 15
I am running slackware 10, kernel 2.4.26 on a dell inspiron 1000.

I have qt and kde installed.

I am getting the following error

Code:
In file included from PropertySheetMain.cpp:115:
PropertySheet.h:200: error: syntax error before `*' token
make[1]: *** [PropertySheetMain.o] Error 1
The README file said to run "gui/ospm_gui". This file is not located in the gui directory. I am assuming it is because the initial install did not work properly??? I can run "./ospmd" without any errors though.

I attempted to look up the error on google and this was the only page that showed up. Any suggestions or fixes or even a little nudge in the right direction would be appreciated. Thanks.
 
Old 10-16-2004, 12:32 PM   #15
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
What program are you trying to install?
 
  


Reply



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
file permissions OK, but command permissions? stabu Linux - General 2 10-05-2005 12:00 PM
permission ... permissions .... permissions alaios Linux - General 1 05-31-2005 04:16 AM
Permissions jymmi Linux - Newbie 3 04-14-2005 11:43 PM
Permissions help reddog64 Linux - Newbie 1 04-22-2004 05:23 PM
getting a directory's permissions and creating a new one with the same permissions newbie1000101 Programming 1 04-10-2004 12:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:42 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