LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 10-08-2004, 01:41 PM   #1
slim27616
Member
 
Registered: Mar 2004
Posts: 30

Rep: Reputation: 15
make comand wont work


alright this is a really weird proglem im having.
im trying to install a kde kicker applet. it is an
improvement over the standard kicker pager
in that it supports several features the standard
pager doesnt. Now the applet only comes in source
so i have to compile it my self. So i decieded to run
the standard configure, make, and make install. configure
ran without problem. but the make ran this quote.
Quote:
make[2]: Entering directory `/home/cedrick/Desktop/kpager2-0.5.2/kpager2/src'
if /bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt3//include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -MT kpagermainwin.moc.lo -MD -MP -MF ".deps/kpagermainwin.moc.Tpo" \
-c -o kpagermainwin.moc.lo `test -f 'kpagermainwin.moc.cpp' || echo './'`kpagermainwin.moc.cpp; \
then mv -f ".deps/kpagermainwin.moc.Tpo" ".deps/kpagermainwin.moc.Plo"; \
else rm -f ".deps/kpagermainwin.moc.Tpo"; exit 1; \
fi
kpagermainwin.moc.cpp:22: error: `KPagerMainWindow' has not been declared
kpagermainwin.moc.cpp:23: error: non-member function `const char* className()' cannot have cv-qualifier
kpagermainwin.moc.cpp:27: error: `KPagerMainWindow' has not been declared
kpagermainwin.moc.cpp:28: error: `KPagerMainWindow' has not been declared
kpagermainwin.moc.cpp:28: error: `staticMetaObject' was not declared in this scope
kpagermainwin.moc.cpp:31: error: `KPagerMainWindow' has not been declared
kpagermainwin.moc.cpp:39: error: `KPagerMainWindow' has not been declared
kpagermainwin.moc.cpp:50: error: `KPagerMainWindow' has not been declared
kpagermainwin.moc.cpp:72: error: `KPagerMainWindow' has not been declared
kpagermainwin.moc.cpp: In function `void* qt_cast(const char*)':
kpagermainwin.moc.cpp:75: error: invalid use of `this' in non-member function
kpagermainwin.moc.cpp:77: error: `KPagerIface' was not declared in this scope
kpagermainwin.moc.cpp:77: error: expected primary-expression before ')' token
kpagermainwin.moc.cpp:77: error: expected `;' before "this"
kpagermainwin.moc.cpp:77: warning: unused variable 'KPagerIface'
kpagermainwin.moc.cpp:77: error: invalid use of `this' in non-member function
kpagermainwin.moc.cpp:78: error: cannot call member function `virtual void* QWidget::qt_cast(const char*)' without object
kpagermainwin.moc.cpp: At global scope:
kpagermainwin.moc.cpp:81: error: `KPagerMainWindow' has not been declared
kpagermainwin.moc.cpp: In function `bool qt_invoke(int, QUObject*)':
kpagermainwin.moc.cpp:84: error: `reallyClose' was not declared in this scope
kpagermainwin.moc.cpp:86: error: cannot call member function `virtual bool QWidget::qt_invoke(int, QUObject*)' without object
kpagermainwin.moc.cpp:84: warning: unused variable 'reallyClose'
kpagermainwin.moc.cpp: At global scope:
kpagermainwin.moc.cpp:91: error: `KPagerMainWindow' has not been declared
kpagermainwin.moc.cpp: In function `bool qt_emit(int, QUObject*)':
kpagermainwin.moc.cpp:93: error: cannot call member function `virtual bool QWidget::qt_emit(int, QUObject*)' without object
kpagermainwin.moc.cpp: At global scope:
kpagermainwin.moc.cpp:97: error: `KPagerMainWindow' has not been declared
kpagermainwin.moc.cpp: In function `bool qt_property(int, int, QVariant*)':
kpagermainwin.moc.cpp:99: error: cannot call member function `virtual bool QWidget::qt_property(int, int, QVariant*)' without object
kpagermainwin.moc.cpp: At global scope:
kpagermainwin.moc.cpp:102: error: `KPagerMainWindow' has not been declared
kpagermainwin.moc.cpp:104: fatal error: opening dependency file .deps/kpagermainwin.moc.Tpo: Permission denied
compilation terminated.
make[2]: *** [kpagermainwin.moc.lo] Error 1
make[2]: Leaving directory `/home/cedrick/Desktop/kpager2-0.5.2/kpager2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/cedrick/Desktop/kpager2-0.5.2/kpager2'
make: *** [all] Error 2
now i know this is long but i wanted to give yalll as much info as posible.
i started just before the command began.
any help would be great and thanx in advance
 
Old 10-08-2004, 03:14 PM   #2
otish1000c
Member
 
Registered: May 2004
Location: Pennsylvania, USA
Distribution: dual boot.... Mandrake 10.0OE/10.xcooker
Posts: 611

Rep: Reputation: 30
just a guess here, but it may be that the app doesn't recognize MDK directory structure. IE: KDE in MDK installs to /usr/share where on other distro's that location can differ. soooooo........... try doing this. run ./configure again, but run it like this......... ./configure --prefix=/usr/share

if that don't work, try one of the following switches........

./configure --prefix=/usr

or

./configure --prefix=/usr/share/apps

otis
 
Old 10-08-2004, 05:48 PM   #3
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
I haven't tried the whole --prefix command thing that the poster above me mentions, so I do not know if that will work. However, I can tell you from personal experience that the whole ./configure, make, make install, does NOT work in Mandrake. Best way is to find a RPM package, or URPMI the application. I find that compiling is impossible in Mandrake for whatever reason. Please prove me wrong.
 
Old 10-08-2004, 08:14 PM   #4
slim27616
Member
 
Registered: Mar 2004
Posts: 30

Original Poster
Rep: Reputation: 15
that didnt work either but i know that u can complie this program cuz i did it on an older version of mandy.
 
Old 10-09-2004, 03:38 AM   #5
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Please don't declare "The MAKE COMMAND DOES NOT WORK" because it is working perfectly fine. That infers that the MAKE command is "broken", and it seems to be working as it should in your machine.

Your app may have compiled with a prior version of Mandrake, and not the one you are running now due to changes in either the API, loaded LIBS or other misc files.

All of the errors you posted seem to be related to the compiler not finding necessary hooks, that is hooks needed for the program you are trying to compile.

This may be due to trying to compile a program which is not really compatible with your distro or with installed libs.
 
Old 10-09-2004, 09:41 AM   #6
slim27616
Member
 
Registered: Mar 2004
Posts: 30

Original Poster
Rep: Reputation: 15
well how do i fix that i can read a stack trace to i just dont know wht to do about it please help me
 
Old 10-09-2004, 10:48 AM   #7
otish1000c
Member
 
Registered: May 2004
Location: Pennsylvania, USA
Distribution: dual boot.... Mandrake 10.0OE/10.xcooker
Posts: 611

Rep: Reputation: 30
ok, here's another guess. you have the following error at the end of your "make" output........

Quote:
make[2]: *** [kpagermainwin.moc.lo] Error 1

per the intructions on the KPager app page.......

Quote:
Compilation Problems:
=====================
If you experience any compile problems, try to open kpager2.kdevelop and use kdevelop3.1 to compile it.
There might be some issues with the system clock. Since my computer believes a day has 19 hours, the file modification times are wrong and must be set by yourself before compiling. Do:
o find . -print -exec touch {} \;
Remove the autom4te.cache directory in case you don't use automake 1.7.
If there are any problems during compilation in kpagermainwin.moc.cpp, insert at the very beginning of this file:
o #include "version.h"
o #ifndef KPAGER_IS_APPLET
and at the very end:
o #endif

(It seems the moc compiler has problems in understanding #ifdefs).
maybe give that a try &/or check out the kpager link above for other info.

otis
 
  


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
Make wont work! The slayer Linux - Laptop and Netbook 1 08-05-2005 12:26 PM
Trying to make mod_ssl work - virtualhosts make trouble Belize Linux - Software 0 02-26-2005 08:30 PM
How do I make a change to a current kernel? Would 'make oldconfig' work... jtp51 Slackware 11 11-01-2004 11:02 PM
'make' and 'make install' commands dont work on my system? ginda Linux - Newbie 9 04-18-2004 11:17 AM
FALCONS EYE (nethack) FAILS ON STARTUP, use to work, wont work even after reinstall roorings Linux - Software 0 10-08-2003 10:39 PM

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

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