LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-16-2004, 04:34 PM   #1
sellsw1711
Member
 
Registered: Mar 2004
Posts: 45

Rep: Reputation: 15
./Makefile


I am trying to install a program and it uses ./Makefile. The computer comes back with no permissions when I try to use the command. I have done su and also have logged straight in to root with no luck. Dose anyone know why this is happening and what I can do to fix it?
Thanks,
Steve
 
Old 03-16-2004, 04:38 PM   #2
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
./Makefile? You get permission denied because you are attempting to execute a file that is not executeble, and isn't supposed to be. Please clarify on what you're trying to do.
 
Old 03-16-2004, 04:44 PM   #3
sellsw1711
Member
 
Registered: Mar 2004
Posts: 45

Original Poster
Rep: Reputation: 15
well, it is true I was wrong I went back and used the command make and it came back with all kinds of errors, that I will post here. Hopefully, you can tell me what I need to do get this installed properly. It is ACPI for my laptop.
Please help.
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, 04:50 PM   #4
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
Do you have the qt libraries installed (it comes w/ KDE)? Also, see this:
http://sourceforge.net/project/shown...ease_id=123769
 
Old 03-16-2004, 06:42 PM   #5
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
Please don't double-post, it gets quite confusing with several identical questions floating around.
 
Old 03-16-2004, 06:46 PM   #6
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
First off, did this package come with a configure script? You execute the configure script by typing ./configure, but the Makefile is automatically parsed by the make program and, as has been pointed out, you don't execute it. Most source software packages come with a README and an INSTALL file, read those to begin with.

Håkan
 
  


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
How to modify makefile.in or makefile.am QiangWan Linux - Newbie 1 05-17-2005 12:07 PM
how to get (makefile -f makefile )output into the textview widget in Pygtk sailu_mvn Programming 3 02-28-2005 04:57 AM
@ in makefile m_a61 Linux - General 2 09-08-2004 08:09 AM
generate Makefile from Makefile.in without calling ./configure ? chris78 Programming 2 05-02-2004 01:23 PM
makefile pessanimahi Programming 6 09-17-2003 03:34 AM


All times are GMT -5. The time now is 12:43 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration