installing apps?
Ok so i a total newbie i know less than nothing, i used to windows and command lines and directories seem a mountain to climb for me.
I have mandravia installed along with windows xp, i did have ubuntu but on trying to install mandravia i somehow wiped it off. All is working well, and i dont seem to have any major problems. The main thing that confuses the hell out of me is installing apps that are outside of the program so to speak.I have these two screen saver files sitting on my desktop waiting for installation qstars-0.4.tar.gz is one. Now can someone please tell me in simple step by step terms how to install it, if i can master this it will give me a lot more confidence in using linux |
|
so close and yet so far !
i get an error message on the last part saying permission denied, here is the whole install text. [charles@localhost ~]$ tar xvf qstars-0.4.tar.gz qstars-0.4/ qstars-0.4/Makefile qstars-0.4/README qstars-0.4/COPYING qstars-0.4/vroot.h qstars-0.4/main.cpp qstars-0.4/qstars.pro qstars-0.4/ChangeLog qstars-0.4/qstars qstars-0.4/mainwindow.h qstars-0.4/mainwindow.cpp qstars-0.4/ships/ qstars-0.4/ships/ship3.png qstars-0.4/ships/ship1.png qstars-0.4/ships/ship2.png qstars-0.4/ships/ship4.png qstars-0.4/ships/ship5.png qstars-0.4/planets/ qstars-0.4/planets/asteroid.jpg qstars-0.4/planets/callisto.jpg qstars-0.4/planets/venussurface.jpg qstars-0.4/planets/browndwarf.jpg qstars-0.4/planets/darkoceans.jpg qstars-0.4/planets/earth.jpg qstars-0.4/planets/europa.jpg qstars-0.4/planets/fiery.jpg qstars-0.4/planets/ganymede.jpg qstars-0.4/planets/io.jpg qstars-0.4/planets/magic.jpg qstars-0.4/planets/mars.jpg qstars-0.4/planets/mercury.jpg qstars-0.4/planets/moon.jpg qstars-0.4/planets/mustard.jpg qstars-0.4/planets/neptune.jpg qstars-0.4/planets/night.jpg qstars-0.4/planets/phobos.jpg qstars-0.4/planets/plasma.jpg qstars-0.4/planets/pluto.jpg qstars-0.4/planets/red.jpg qstars-0.4/planets/somered.jpg qstars-0.4/planets/venus.jpg qstars-0.4/galaxies/ qstars-0.4/galaxies/blue.jpg qstars-0.4/galaxies/cyan.jpg qstars-0.4/galaxies/emerald.jpg qstars-0.4/galaxies/mustard.jpg qstars-0.4/galaxies/orange.jpg qstars-0.4/galaxies/purple.jpg qstars-0.4/galaxies/somered.jpg qstars-0.4/galaxies/white.jpg qstars-0.4/qstars.desktop qstars-0.4/asteroids/ qstars-0.4/asteroids/asteroid1.png qstars-0.4/asteroids/asteroid2.png qstars-0.4/asteroids/asteroid3.png qstars-0.4/qstars.png [charles@localhost ~]$ cd qstars-0.4 [charles@localhost qstars-0.4]$ qmake Project MESSAGE: Configuring for multi-threaded Qt... [charles@localhost qstars-0.4]$ make g++ -c -pipe -Wall -W -O2 -fomit-frame-pointer -pipe -march=i586 -mtune=pentiumpro -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/usr/lib/qt3/mkspecs/default -I. -I/usr/lib/qt3//include -o mainwindow.o mainwindow.cpp makeg++ -c -pipe -Wall -W -O2 -fomit-frame-pointer -pipe -march=i586 -mtune=pentiumpro -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/usr/lib/qt3/mkspecs/default -I. -I/usr/lib/qt3//include -o main.o main.cpp install/usr/lib/qt3//bin/uic -embed qstars qstars.png -o qmake_image_collection.cpp g++ -c -pipe -Wall -W -O2 -fomit-frame-pointer -pipe -march=i586 -mtune=pentiumpro -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/usr/lib/qt3/mkspecs/default -I. -I/usr/lib/qt3//include -o qmake_image_collection.o qmake_image_collection.cpp g++ -o qstars mainwindow.o main.o qmake_image_collection.o -L/usr/lib/qt3//lib -L/usr/X11R6/lib -lqt-mt -lXext -lX11 -lm -lpthread [charles@localhost qstars-0.4]$ make install cp -f "qstars" "/usr/local/bin/qstars" cp: cannot create regular file `/usr/local/bin/qstars': Permission denied make: [install_target] Error 1 (ignored) strip "/usr/local/bin/qstars" strip: '/usr/local/bin/qstars': No such file mkdir: cannot create directory `/usr/local/share/qstars': Permission denied make: *** [install_asteroids] Error 1 |
before make install you should type su , so its :
./confingure make su your root password make install |
i did get one to install but now i get this with the other ones i try to install.
[charles@localhost ~]$ tar xvf rss-kde-0.3.tar.bz2 rss-kde-0.3/ rss-kde-0.3/admin/ rss-kde-0.3/admin/Doxyfile.am rss-kde-0.3/admin/Doxyfile.global rss-kde-0.3/admin/Makefile.common rss-kde-0.3/admin/acinclude.m4.in rss-kde-0.3/admin/am_edit rss-kde-0.3/admin/bcheck.pl rss-kde-0.3/admin/compile rss-kde-0.3/admin/conf.change.pl rss-kde-0.3/admin/config.guess rss-kde-0.3/admin/config.pl rss-kde-0.3/admin/config.sub rss-kde-0.3/admin/configure.in.bot.end rss-kde-0.3/admin/configure.in.min rss-kde-0.3/admin/cvs-clean.pl rss-kde-0.3/admin/cvs.sh rss-kde-0.3/admin/debianrules rss-kde-0.3/admin/depcomp rss-kde-0.3/admin/deps.am rss-kde-0.3/admin/detect-autoconf.sh rss-kde-0.3/admin/install-sh rss-kde-0.3/admin/libtool.m4.in rss-kde-0.3/admin/ltmain.sh rss-kde-0.3/admin/missing rss-kde-0.3/admin/mkinstalldirs rss-kde-0.3/admin/nmcheck rss-kde-0.3/admin/oldinclude.m4.in rss-kde-0.3/admin/ylwrap rss-kde-0.3/src/ rss-kde-0.3/src/data/ rss-kde-0.3/src/data/boom1SoundData rss-kde-0.3/src/data/boom2SoundData rss-kde-0.3/src/data/boom3SoundData rss-kde-0.3/src/data/boom4SoundData rss-kde-0.3/src/data/launch1SoundData rss-kde-0.3/src/data/launch2SoundData rss-kde-0.3/src/data/nukeSoundData rss-kde-0.3/src/data/popperSoundData rss-kde-0.3/src/data/suckSoundData rss-kde-0.3/src/data/whistleSoundData rss-kde-0.3/src/data/cloudmap rss-kde-0.3/src/data/earthfarmap rss-kde-0.3/src/data/earthlightmap rss-kde-0.3/src/data/earthnearmap rss-kde-0.3/src/data/moonalpha rss-kde-0.3/src/data/moontint rss-kde-0.3/src/data/presmoke1 rss-kde-0.3/src/data/presmoke2 rss-kde-0.3/src/data/presmoke3 rss-kde-0.3/src/data/presmoke4 rss-kde-0.3/src/data/presmoke5 rss-kde-0.3/src/data/Makefile.am rss-kde-0.3/src/data/Makefile.in rss-kde-0.3/src/data/brasstex rss-kde-0.3/src/data/chrometex rss-kde-0.3/src/data/spheremap rss-kde-0.3/src/data/circuittex rss-kde-0.3/src/data/crystex rss-kde-0.3/src/data/doughtex rss-kde-0.3/src/data/ghostlytex rss-kde-0.3/src/data/indtex1 rss-kde-0.3/src/data/indtex2 rss-kde-0.3/src/data/shinytex rss-kde-0.3/src/Makefile.am rss-kde-0.3/src/rsMath.h rss-kde-0.3/src/plasma.h rss-kde-0.3/src/Makefile.in rss-kde-0.3/src/rsDefines.h rss-kde-0.3/src/relaytool rss-kde-0.3/src/plasmasetup.ui rss-kde-0.3/src/rsMatrix.cpp rss-kde-0.3/src/plasma.desktop rss-kde-0.3/src/plasma.cpp rss-kde-0.3/src/rsQuat.cpp rss-kde-0.3/src/rsRand.h rss-kde-0.3/src/rsVec.cpp rss-kde-0.3/src/lattice.desktop rss-kde-0.3/src/latticesetup.ui rss-kde-0.3/src/skyrocket.cpp rss-kde-0.3/src/skyrocket.h rss-kde-0.3/src/lattice.cpp rss-kde-0.3/src/lattice.h rss-kde-0.3/src/skyrocket_data.h rss-kde-0.3/src/lattice_data.h rss-kde-0.3/src/Makefile.am~ rss-kde-0.3/src/heliossetup.ui rss-kde-0.3/src/skyrocket_flare.h rss-kde-0.3/src/skyrocket.desktop rss-kde-0.3/src/skyrocket.menu rss-kde-0.3/src/skyrocket_rocket.h rss-kde-0.3/src/skyrocket_shockwave.h rss-kde-0.3/src/skyrocket_smoke.h rss-kde-0.3/src/skyrocketsetup.ui rss-kde-0.3/src/plasma.menu rss-kde-0.3/src/lattice.menu rss-kde-0.3/src/skyrocket_sound.h rss-kde-0.3/src/skyrocket_world.h rss-kde-0.3/src/skyrocket_particle.h rss-kde-0.3/src/helios.cpp rss-kde-0.3/src/helios.h rss-kde-0.3/src/impCrawlPoint.h rss-kde-0.3/src/impCubeVolume.cpp rss-kde-0.3/src/impCubeVolume.h rss-kde-0.3/src/impSphere.cpp rss-kde-0.3/src/impSphere.h rss-kde-0.3/src/impSurface.cpp rss-kde-0.3/src/impSurface.h rss-kde-0.3/src/rgbhsl.cpp rss-kde-0.3/src/rgbhsl.h rss-kde-0.3/src/impCubeTable.cpp rss-kde-0.3/src/impCubeTable.h rss-kde-0.3/src/impElement.cpp rss-kde-0.3/src/impElement.h rss-kde-0.3/src/helios_data.h rss-kde-0.3/src/helios.desktop rss-kde-0.3/src/helios.menu rss-kde-0.3/autopackage/ rss-kde-0.3/autopackage/default.apspec.in rss-kde-0.3/autopackage/Makefile.am rss-kde-0.3/autopackage/Makefile.in rss-kde-0.3/autopackage/default.apspec rss-kde-0.3/acinclude.m4 rss-kde-0.3/COPYING rss-kde-0.3/AUTHORS rss-kde-0.3/configure.in rss-kde-0.3/ChangeLog rss-kde-0.3/INSTALL rss-kde-0.3/NEWS rss-kde-0.3/README rss-kde-0.3/TODO rss-kde-0.3/rss.kdevelop rss-kde-0.3/Makefile.am rss-kde-0.3/Makefile.cvs rss-kde-0.3/configure.in.in rss-kde-0.3/subdirs rss-kde-0.3/configure.files rss-kde-0.3/configure rss-kde-0.3/Makefile.in rss-kde-0.3/aclocal.m4 rss-kde-0.3/rss.kdevelop.pcs rss-kde-0.3/config.h.in rss-kde-0.3/stamp-h.in rss-kde-0.3/Doxyfile rss-kde-0.3/rss.kdevses [charles@localhost ~]$ cd rss-kde-0.3 [charles@localhost rss-kde-0.3]$ ./configure checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking for -p flag to install... yes checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for kde-config... /usr/bin/kde-config checking where to install... /usr (as returned by kde-config) checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking whether g++ supports -Wmissing-format-attribute... yes checking whether gcc supports -Wmissing-format-attribute... yes checking whether g++ supports -Wundef... yes checking whether g++ supports -Wno-long-long... yes checking whether g++ supports -Wnon-virtual-dtor... yes checking whether g++ supports -fno-exceptions... yes checking whether g++ supports -fno-check-new... yes checking whether g++ supports -fno-common... yes checking whether g++ supports -fexceptions... yes checking how to run the C++ preprocessor... g++ -E checking whether g++ supports -O0... yes checking whether g++ supports -Wl,--no-undefined... yes checking whether g++ supports -Wl,--allow-shlib-undefined... yes not using lib directory suffix checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes appending configuration tag "F77" to libtool checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking if C++ programs can be compiled... yes checking for strlcat... no checking if strlcat needs custom prototype... yes - in libkdefakes checking for strlcpy... no checking if strlcpy needs custom prototype... yes - in libkdefakes checking for main in -lutil... yes checking for main in -lcompat... no checking for crypt in -lcrypt... yes checking for socklen_t... socklen_t checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for inet_ntoa... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for sys/types.h... (cached) yes checking for stdint.h... (cached) yes checking sys/bitypes.h usability... yes checking sys/bitypes.h presence... yes checking for sys/bitypes.h... yes checking for poll in -lpoll... no checking CoreAudio/CoreAudio.h usability... no checking CoreAudio/CoreAudio.h presence... no checking for CoreAudio/CoreAudio.h... no checking if res_init needs -lresolv... yes checking if res_init is available... yes checking for killpg in -lucb... no checking for int... yes checking size of int... 4 checking for short... yes checking size of short... 2 checking for long... yes checking size of long... 4 checking for char *... yes checking size of char *... 4 checking for dlopen in -ldl... (cached) yes checking for shl_unload in -ldld... no checking for size_t... yes checking size of size_t... 4 checking for unsigned long... yes checking size of unsigned long... 4 checking sizeof size_t == sizeof unsigned long... yes checking crt_externs.h usability... no checking crt_externs.h presence... no checking for crt_externs.h... no checking for _NSGetEnviron... no checking for vsnprintf... yes checking for snprintf... yes checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for IceConnectionNumber in -lICE... yes checking for libXext... yes checking for pthread_create in -lpthread... yes checking for extra includes... no checking for extra libs... no checking for libz... -lz checking for libpng... -lpng -lz -lm checking for libjpeg6b... no checking for libjpeg... -ljpeg checking for perl... /usr/bin/perl checking for Qt... libraries /usr/lib/qt3//lib, headers /usr/lib/qt3//include using -mt checking for moc... /usr/lib/qt3//bin/moc checking for uic... /usr/lib/qt3//bin/uic checking whether uic supports -L ... yes checking whether uic supports -nounload ... yes checking if Qt needs -ljpeg... no checking for rpath... yes checking for KDE... configure: error: in the prefix, you've chosen, are no KDE headers installed. This will fail. So, check this please and use another prefix! [charles@localhost rss-kde-0.3]$ make make: *** No targets specified and no makefile found. Stop. [charles@localhost rss-kde-0.3]$ |
i get this error when i try and install screen savers
checking for KDE... configure: error:
in the prefix, you've chosen, are no KDE headers installed. This will fail. So, check this please and use another prefix! what does it mean and how do i correct it |
what distro are you using???
and did you install the KDE headers??? |
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.
http://www.linuxquestions.org/rules.php You have a thread running with much more detail here: http://www.linuxquestions.org/questi...hreadid=351075 I'm closing this one. |
Configure script complains about KDE. You probably have KDE installed, but not development files for KDE. Install kdelibs-devel and kdebase-devel packages, then run configure again.
Now short explanation: to install program from source it requires so called header files for all libraries it uses. When you're not installing programs from suurce, you don't need the files (they take quite much space). That's why they're not installed by default. Header files (and some more related files) are kept in -devel packages. When configure script complains about not having a program or library the first thing youu should do to fix it is to check if you have programname-devel package and install it if missing. |
once you have the developement files
when you configure kde apps you have to go ./configure --prefix=`kde-config --prefix` there are some other issues to setting up a working kde/qt developement environment so just post back if there are more errors |
ok i went to install kde and qt, there were alot of packages that wouldn install, because of unsatisfied devel (libkdefx) libt3-mysql-3.3.4-7.1.102mdk.i586(due to unsatisfied libmysqlclient.so.14) so then i searched for the packages i needed and went to install them and i now get this error. There"was a problem during the installation urpmi database locked....
|
problem can install kde headers
checking for KDE... configure: error:
in the prefix, you've chosen, are no KDE headers installed. This will fail. So, check this please and use another prefix! [charles@localhost rss-kde-0.3]$ Thats what it tells me at the end of configuring, the package screen saver i trying to install, so i went to try and install kde headers but when i do this it says "sorry the following packages can not be seleted likdecore4-devel-3.3.2-124.2.102mdk.i586(due to unsatisfied devel(libart_lgpl_2)) i have searched for these packages to try and install them, with no luck, anyone know the way forward here? |
Re: problem can install kde headers
You need to mention which Linux distribuion and version you are running. Anyway in this instalnce, i assume you are using Mandrake or Mandriva. You need to setup some urpmi rpm sources, using the instructions at easyurpmi. You need tosetup the main, contrib, plf and updates repositories. If you don;t know much about urpmi, then take a look at zebulon.org.uk. Once you have setup your sources, do as root
Code:
#urpmi --auto-select |
I have merged your three VERY closely related threads.
Next time please stick to one to get a sensible effort put into one of them. Cheers, Tink |
making progress with installing but not quite there yet
i have been trying to install some small tar screensaver files just to practice, i had problems with kde header files, then installing that but that seems to be ok now i get further with the installation but i get another error now heres the very long screen
Good - your configure finished. Start make now [charles@localhost kogs-1.1.0]$ make make all-recursive make[1]: Entering directory `/home/charles/kogs-1.1.0' Making all in kogs make[2]: Entering directory `/home/charles/kogs-1.1.0/kogs' if 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-Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new -MT main.o -MD -MP -MF ".deps/main.Tpo" \ -c -o main.o `test -f 'main.cc' || echo './'`main.cc; \ then mv ".deps/main.Tpo" ".deps/main.Po"; \ else rm -f ".deps/main.Tpo"; exit 1; \ fi cc1plus: warning: command line option "-Wmissing-prototypes" is valid for Ada/C/ObjC but not for C++ In file included from kogwidget.h:7, from kogs.h:7, from main.cc:8: /usr/lib/qt3//include/qgl.h:80:21: GL/glu.h: No such file or directory make[2]: *** [main.o] Error 1 make[2]: Leaving directory `/home/charles/kogs-1.1.0/kogs' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/charles/kogs-1.1.0' make: *** [all] Error 2 [charles@localhost kogs-1.1.0]$ kogs-1.1.0 what did i do wrong this time? |
All times are GMT -5. The time now is 10:28 PM. |