Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have been trying (once again) to install the Kdevelop package from sources. I have an RPM version which is giving me some strange problems so I thought I would try to configure and install the package from source.
"./configure" works with no apparent errors and invites me to run "make".
When I run "make" it goes great guns for what seems like ages but finally stops at the following point:
First try emerge rsync.The latest version of libpng installs png.h and pngconf.h into /usr/local/include. The static library and shared object are at /usr/local/lib.There is no /usr/local/include/libpng.The problem seems to be that there is an old copy of png.h at /usr/include and /usr/lib, which by default are being searched by the compiler first, and thus linked against first.Move the old versions of the headers and symlink the new headers to the /usr/include dir.Try doing the same with the static and shared libraries as well.
The simplest fix is probably (as root) assuming $prefix is
ln -s libpng/*.h .
then remove config.cache and reconfigure.If you have trouble doing this try adding CPPFLAGS==-I/usr/local/include/libpng.
I'm not sure I understand what you were getting me to do - but I did it anyway.
Unfortunatley I think I made a mistake. When I typed ln -s libpng/*.h I left off the end "." (i.e. I typed "ln -s libpng/*.h" NOT "ln -s libpng/*.h .")
Ooops! sorry. Can I fix that?
then remove config.cache
As I had already run "make distclean" before starting again I presume I didn't need to do this?
If I try running ./configure with the "CPPFLAGS==-I/usr/local/include/libpng" it just gives me this error:
[mark@localhost kdevelop-3.0.4]$ ./configure CPPFLAGS==-I/usr/local/include/libpng --enable-debug=full --prefix=$KDEDIR --with-kdelibsdoxy-dir=$KDEDIR/share/doc/HTML/en/kdelibs-apidocs --disable-ada --disable-bash --disable-fortran --disable-haskell --disable-java --disable-pascal --disable-perl --disable-php --disable-python --disable-ruby --disable-sql --disable-antproject --disable-genericproject --disable-scriptproject --disable-trollproject --disable-clearcase --disable-perforce --disable-subversion
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 style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
That did the trick! (I also discovered that I needed the development version of the libjpeg library) After the world's longest ever compile (geriatric 500Mhz PIII) I now have a fully-functional version of KDevelop.
I've said it before and I'm sure I'll say it again - This is (probably) the friendliest and most useful place on Earth.
Yes. Without doubt one of the friendliest places on Earth. However, Ford does tell of this little-known planet, just left of Alpha Nova in the outward arm of the spiral galaxy which is entirely populated by women - who not only solve all your Linux problems but they also... Oh wait - I've just found the entry for LQ in the Hitch Hikers' Guide to the Galaxy. It says:
LinuxQuestions.org - An unusually friendly place on this otherwise rather uncouth little planet. Populated by the Linuxians - strange penguin-like humanoids - who like to solve each others' problems without asking for the little green bits of paper that seem to cause so many problems on the rest of the planet - and generally be nice to one another.
The Linuxians, under their General Torvalds, are apparently at war with another group of humanoids , the Windowlians, and their General Gates. The funny thing about this war is that the Windowlians have to pay for their weapons which very often don't work, so the Linuxians just give them their weapons (saying anyone can have them if they want them) which they get for free anyway because they make them themselves.
We predict that this war will be won by the Linuxians which will be nice because it will be the first example on this planet of a war being won by the 'nice' side."