Jump to content

need x include files


Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...