Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-08-2004, 02:41 PM
|
#1
|
Member
Registered: Mar 2004
Posts: 30
Rep:
|
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
|
|
|
10-08-2004, 04:14 PM
|
#2
|
Member
Registered: May 2004
Location: Pennsylvania, USA
Distribution: dual boot.... Mandrake 10.0OE/10.xcooker
Posts: 611
Rep:
|
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
|
|
|
10-08-2004, 06:48 PM
|
#3
|
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:
|
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. 
|
|
|
10-08-2004, 09:14 PM
|
#4
|
Member
Registered: Mar 2004
Posts: 30
Original Poster
Rep:
|
that didnt work either but i know that u can complie this program cuz i did it on an older version of mandy.
|
|
|
10-09-2004, 04:38 AM
|
#5
|
Senior Member
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090
Rep:
|
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.
|
|
|
10-09-2004, 10:41 AM
|
#6
|
Member
Registered: Mar 2004
Posts: 30
Original Poster
Rep:
|
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
|
|
|
10-09-2004, 11:48 AM
|
#7
|
Member
Registered: May 2004
Location: Pennsylvania, USA
Distribution: dual boot.... Mandrake 10.0OE/10.xcooker
Posts: 611
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 10:41 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|