eroica Posted March 10, 2005 Report Share Posted March 10, 2005 hello, i'm trying to get a program to compile and i've run into the problem of i need to install the rpm XFree86-devel-4.3-5mdk.i585.rpm and its associated rpm's but my distro disc has gone belly up and the install wont run. i tried googling,rpmfind.net and the xfree86 home page but cant find this rpm. anybody know of how i can get a copy? i'm running mdk 9.1. thanx alan Quote Link to comment Share on other sites More sharing options...
devries Posted March 10, 2005 Report Share Posted March 10, 2005 ftp://mandrake.contactel.cz/Mandrake-old/...3-5mdk.i586.rpm Are you sure you looked :) Quote Link to comment Share on other sites More sharing options...
Qchem Posted March 10, 2005 Report Share Posted March 10, 2005 It might be worth configuring easy-urpmi so all of the packages that were on the disc can be downloaded from the net and installed when you need them. Following the link at the top of the page will help you out with that. Quote Link to comment Share on other sites More sharing options...
eroica Posted March 10, 2005 Author Report Share Posted March 10, 2005 thanx for the advice. being a relative newbie i have very little experience compiling programs. In windows u click on setup.exe. I fnally got thru the confiure script ok but when i ran make & make install i got some errors. i know sometimes u can get errors and that's ok but being new i dont even know if i was succesful. can someone tell me what should be the general outcome of the make command. should there be some *.o file? or is there something else u should be looking for. i copied the output from make & make install. i know its long but perhaps someone w/experience can decipher it cause its greek 2 me: config.status: executing depfiles commands Good - your configure finished. Start make now [root@localhost kbandwidth-1.0.2]# make make all-recursive make[1]: Entering directory `/home/xxxxx/Downloads/kbandwidth-1.0.2' Making all in po make[2]: Entering directory `/home/xxxxx/Downloads/kbandwidth-1.0.2/po' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/xxxxx/Downloads/kbandwidth-1.0.2/po' Making all in src make[2]: Entering directory `/home/xxxxx/Downloads/kbandwidth-1.0.2/src' /usr/lib/qt3/bin/uic -L /usr/lib/kde3/plugins/designer -nounload -o preferenceswindow.h ./preferenceswindow.ui _IceTransOpen: Unable to Parse address none Session management error: Could not open network socket 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 kbandwidth.lo -MD -MP -MF ".deps/kbandwidth.Tpo" -c -o kbandwidth.lo kbandwidth.cpp; \ then mv -f ".deps/kbandwidth.Tpo" ".deps/kbandwidth.Plo"; else rm -f ".deps/kbandwidth.Tpo"; exit 1; fi kbandwidth.cpp: In member function `virtual void kbandwidth::resizeEvent(QResizeEvent*)': kbandwidth.cpp:92: warning: unused parameter `QResizeEvent*e' 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 fenster.lo -MD -MP -MF ".deps/fenster.Tpo" -c -o fenster.lo fenster.cpp; \ then mv -f ".deps/fenster.Tpo" ".deps/fenster.Plo"; else rm -f ".deps/fenster.Tpo"; exit 1; fi fenster.cpp: In member function `void myview::createMenu(QWidget*)': fenster.cpp:95: no matching function for call to `QAction::QAction(QString, int, myview* const)' /usr/lib/qt3/include/qaction.h:137: candidates are: QAction::QAction(const QAction&) /usr/lib/qt3/include/qaction.h:79: QAction::QAction(const QString&, const QString&, QKeySequence, QObject*, const char* = 0, bool = FALSE) /usr/lib/qt3/include/qaction.h:77: QAction::QAction(const QString&, const QIconSet&, const QString&, QKeySequence, QObject*, const char* = 0, bool = FALSE) /usr/lib/qt3/include/qaction.h:74: QAction::QAction(QObject*, const char* = 0, bool = FALSE) fenster.cpp:97: no matching function for call to `QAction::QAction(QString, int, myview* const)' /usr/lib/qt3/include/qaction.h:137: candidates are: QAction::QAction(const QAction&) /usr/lib/qt3/include/qaction.h:79: QAction::QAction(const QString&, const QString&, QKeySequence, QObject*, const char* = 0, bool = FALSE) /usr/lib/qt3/include/qaction.h:77: QAction::QAction(const QString&, const QIconSet&, const QString&, QKeySequence, QObject*, const char* = 0, bool = FALSE) /usr/lib/qt3/include/qaction.h:74: QAction::QAction(QObject*, const char* = 0, bool = FALSE) fenster.cpp: In member function `virtual void myview::contextMenuEvent(QContextMenuEvent*)': fenster.cpp:105: warning: unused parameter `QContextMenuEvent*me' fenster.cpp: In member function `virtual void myview::paintEvent(QPaintEvent*)': fenster.cpp:111: warning: unused parameter `QPaintEvent*pe' make[2]: *** [fenster.lo] Error 1 make[2]: Leaving directory `/home/xxxxx/Downloads/kbandwidth-1.0.2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/xxxxx/Downloads/kbandwidth-1.0.2' make: *** [all] Error 2 [root@localhost kbandwidth-1.0.2]# make install Making install in po make[1]: Entering directory `/home/xxxxx/Downloads/kbandwidth-1.0.2/po' make[2]: Entering directory `/home/xxxxx/Downloads/kbandwidth-1.0.2/po' make[2]: Nothing to be done for `install-exec-am'. /usr/bin/install -c -p -m 644 de.gmo /usr/share/locale/de/LC_MESSAGES/kbandwidth.mo /usr/bin/install -c -p -m 644 ru.gmo /usr/share/locale/ru/LC_MESSAGES/kbandwidth.mo mkdir -p -- /usr/share/locale/ru/LC_MESSAGES make[2]: Leaving directory `/home/xxxxx/Downloads/kbandwidth-1.0.2/po' make[1]: Leaving directory `/home/xxxxx/Downloads/kbandwidth-1.0.2/po' Making install in src make[1]: Entering directory `/home/xxxxx/Downloads/kbandwidth-1.0.2/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 fenster.lo -MD -MP -MF ".deps/fenster.Tpo" -c -o fenster.lo fenster.cpp; \ then mv -f ".deps/fenster.Tpo" ".deps/fenster.Plo"; else rm -f ".deps/fenster.Tpo"; exit 1; fi fenster.cpp: In member function `void myview::createMenu(QWidget*)': fenster.cpp:95: no matching function for call to `QAction::QAction(QString, int, myview* const)' /usr/lib/qt3/include/qaction.h:137: candidates are: QAction::QAction(const QAction&) /usr/lib/qt3/include/qaction.h:79: QAction::QAction(const QString&, const QString&, QKeySequence, QObject*, const char* = 0, bool = FALSE) /usr/lib/qt3/include/qaction.h:77: QAction::QAction(const QString&, const QIconSet&, const QString&, QKeySequence, QObject*, const char* = 0, bool = FALSE) /usr/lib/qt3/include/qaction.h:74: QAction::QAction(QObject*, const char* = 0, bool = FALSE) fenster.cpp:97: no matching function for call to `QAction::QAction(QString, int, myview* const)' /usr/lib/qt3/include/qaction.h:137: candidates are: QAction::QAction(const QAction&) /usr/lib/qt3/include/qaction.h:79: QAction::QAction(const QString&, const QString&, QKeySequence, QObject*, const char* = 0, bool = FALSE) /usr/lib/qt3/include/qaction.h:77: QAction::QAction(const QString&, const QIconSet&, const QString&, QKeySequence, QObject*, const char* = 0, bool = FALSE) /usr/lib/qt3/include/qaction.h:74: QAction::QAction(QObject*, const char* = 0, bool = FALSE) fenster.cpp: In member function `virtual void myview::contextMenuEvent(QContextMenuEvent*)': fenster.cpp:105: warning: unused parameter `QContextMenuEvent*me' fenster.cpp: In member function `virtual void myview::paintEvent(QPaintEvent*)': fenster.cpp:111: warning: unused parameter `QPaintEvent*pe' make[1]: *** [fenster.lo] Error 1 make[1]: Leaving directory `/home/xxxxx/Downloads/kbandwidth-1.0.2/src' make: *** [install-recursive] Error 1 [root@localhost kbandwidth-1.0.2]# hanx alan Quote Link to comment Share on other sites More sharing options...
devries Posted March 10, 2005 Report Share Posted March 10, 2005 No these errors are serious. It probably means your version of QT is to old. It won't build on your system, you'll have to upgrade. Quote Link to comment Share on other sites More sharing options...
eroica Posted March 10, 2005 Author Report Share Posted March 10, 2005 ok do u know what qt library i would need and where do i get them? alan Quote Link to comment Share on other sites More sharing options...
devries Posted March 10, 2005 Report Share Posted March 10, 2005 I'm sorry I have no idea. I think you will have better luck building from the same period as Mandrake 9.1 (about 2 years old). Perhaps there is another app that does the same as kbandwidth. I use knemo (no rpm for 9.1, I checked :) ). Quote Link to comment Share on other sites More sharing options...
eroica Posted March 10, 2005 Author Report Share Posted March 10, 2005 ok thanx. do u know of any good howto's on the make process. i read the one at tldp but it really isnt for total newbie to compiling. alan Quote Link to comment Share on other sites More sharing options...
polemicz Posted March 11, 2005 Report Share Posted March 11, 2005 Did you use easyurpmi to get your sources? You will really need it and the stuff is still there for 9.1. It makes more sense than trying to compile everything and worry about libraries, etc. Quote Link to comment Share on other sites More sharing options...
devries Posted March 11, 2005 Report Share Posted March 11, 2005 Building is simple: first run ./configure (as normal user). It will check if all the other applications that are needed by the program that you're trying to build are installed. If an app is not installed you will get an error: so and so program is not installed. (with Mandrake it usually means the -devel packages are not installed). This isn't foul proof so it's possible that is there will be errors during the build process. Second: the program needs to be build. This is done with the command 'make' (as normal user). It turns the source code into binaries. You can get errors (not very often). They usually are for dependencies the ./configure missed (just install the missing apps) and occasionally more serious errors in the source code. (these errors can be caused by changes in other programs, for instance a KDE app is dependent on a certain version of QT). If that happens you will have to check the mailinglists/google/email the author for a solution (or write it yourself :) ). Third and last: the 'make install' command. (as root). This will copy the binaries that you build to your system (ususaly to /usr/bin), the config files (to /etc). Just look at the output on your screen. :) Good luck Quote Link to comment Share on other sites More sharing options...
eroica Posted March 14, 2005 Author Report Share Posted March 14, 2005 i looked at the trolltech site for an updated qt install but i didnt see one. does anyone know of where i can get upated qt development library. also would i need to update my whole qt install to the latest version? thanx alan Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.