LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   ./configure problem :( (https://www.linuxquestions.org/questions/mandriva-30/configure-problem-215999/)

moskal 08-10-2004 08:21 PM

./configure problem :(
 
Hey guys, Ive installed so many things for gcc and everything already and I still get some errors... Could you please take look at this:

Code:

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... 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 -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 -fexceptions... yes
checking how to run the C++ preprocessor... g++ -E
checking whether g++ supports -frepo... yes
not using lib directory suffix
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 for a sed that does not truncate output...
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking for egrep... grep -E
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 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 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 how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
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 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 whether -lc should be explicitly linked in... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
appending configuration tag "GCJ" to libtool
checking if gcj supports -fno-rtti -fno-exceptions... (cached) no
checking for gcj option to produce PIC... -fPIC
checking if gcj PIC flag -fPIC works... no
checking if gcj supports -c -o file.o... no
checking whether the gcj linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
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 crt_externs.h usability... no
checking crt_externs.h presence... no
checking for crt_externs.h... no
checking for _NSGetEnviron... no
checking for sys/types.h... (cached) yes
checking for stdint.h... (cached) 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 for res_init... yes
checking if res_init needs custom prototype... no
checking for killpg in -lucb... no
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for char *... yes
checking size of char *... 4
checking for char... yes
checking size of char... 1
checking for dlopen in -ldl... yes
checking for shl_unload in -ldld... no
checking for vsnprintf... yes
checking for snprintf... yes
checking for X... configure: error: Can't find X includes. Please check your installation and add the correct pat

Can someone tell me what to do?

Thanks,

Tom

doug_s 08-10-2004 08:36 PM

First try 'urpmi libxfree86-devel' to install the missing headers it's complaining about.

If that doesn't work you should tell us what distro you're using (9.2, 10.0 etc) and what package you're trying to compile.

Also, did you check 'development' when you installed ? If you didn't it's likely that you're going to have to install more of the -devel rpms to get the libraries and headers you need before compiling becomes easy.

moskal 08-10-2004 08:41 PM

I'm using MDK 10, and I cannot install anything from the CD because then my PC freezes, I put it on this forum already, but I guess no one knew how to fix it, and i was trying to compile superkaramba...

what should I do?


Thanks,

Tom

moskal 08-10-2004 08:49 PM

could some please tell me what to do? because I cannot compile anything, I cannot install any apps that I have, please

Thanks,

Tom

moskal 08-10-2004 08:56 PM

Ok I got this "libxfree86-devel" installed, and now I get this error:

Code:

checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for IceConnectionNumber in -lICE... yes
checking for libXext... yes
checking for Xinerama... no
checking for pthread_create in -lpthread... yes
checking for extra includes... no
checking for extra libs... no
checking for libz... -lz
checking for libpng... no
checking for libjpeg6b... no
checking for libjpeg... no
configure: WARNING: libjpeg not found. disable JPEG support.
checking for Qt... configure: error: Qt (>= Qt 3.0) (headers and libraries) not found. Please check your installation!
For more details about this problem, look at the end of config.log.



Tom

moskal 08-10-2004 09:36 PM

omg another error... :( :

Code:

checking whether included gettext is requested... no
checking for GNU gettext in libc... yes
checking for wx-config... no
configure: error:
        Please check that wx-config is in path, the directory
        where wxWidgets libraries are installed (returned by
        'wx-config --libs' command) is in LD_LIBRARY_PATH or
        equivalent variable and wxWidgets is version 2.4.0 or above.
        Or this might also be a bug in our configure. Please try again
        with --with-wx-config=/usr/bin/wx-config
        (replace /usr/bin/wx-config with a valid path to your wx-config)
        * Note:
        Most probably, either one of the above aren't correct, you don't
        have wxGTK installed, or are missing wxGTK-devel (or equivalent) package


daYz 08-11-2004 04:56 AM

I think you will have to install wx-config:

Code:

urpmi wx-config
This shows you should install qt:

checking for Qt... configure: error: Qt (>= Qt 3.0) (headers and libraries) not found. Please check your installation!
For more details about this problem, look at the end of config.log.

It should be greater then or equal to qt version 3.0

Code:

urpmi qt
If you haven't got it you can download it at http://www.rpmfind.com


If you see what ./configure is looking for is not found: for example:

Code:

checking for wx-config... no
Code:

checking for Qt...  blahblah Qt blahblah not found
Then try to install it with urpmi.

Regards

moskal 08-11-2004 07:33 AM

I tried installing all of them, I missed wx-config tho, and Qt is not on the CD, will look for it today later on


thanks,

Tom

daYz 08-11-2004 08:49 AM

Tom, I read qt is called libqt3 on mandrake, else it can be qt3.

I know how annoying this is. I have always had these kind of problems when I was on Mandrake. I was supprised how easily it went after switching to Red Hat where I had never any dependecy problems. The same counts for Slackware and Gentoo where I'm now on.

Regards,

Ben

moskal 08-11-2004 09:26 AM

yes I understand it is easy on RedHat because I had it, but are RedHat or Slackware or gentoo user friendly?, or can you make ur desktop look nice? does it support mounting windows partitionS? i mean can you read windows partitions on them? and do they install all of your hardwar? because I dont think they are that way... I want a nice userfriendly (nice looking :-P) and pretty easy and useful OS, dont really know which one is that, Im switching all the time and I still cannot find THE ONE,

Tom

moskal 08-11-2004 10:10 AM

I downloaded Gentoo, but then I went on their website, and it seems like it is VERY HARD to install, I'm a linux newbie, I've installed only Redhat9 Suse 9.1 and MDK 10 before, and I dont know if I could handle Gentoo, do you think I should try?

Thanks,


Tom

daYz 08-11-2004 01:16 PM

I have asked on the gentoo forums if it would be to difficult too install Gentoo for a newbie. I can say you will learn a lot from it but I think if something goes wrong it can be hard to solve. Mandrake is actually something you could like, but I think you just have to adjust it a bit to your needs. I have heard good things about Suse but I haven't tried it. It should be a bit similar to Mandrake and RedHat. The advantage is that you can often use a GUI or a wizard to setup something in these distro's.
You can adapt your desktop the way you like it, you can for example choose to use transparant menu's, use different icon's and use different colors. You only have to adjust it using the options in the config center or something. There are also enough choices in different desktops you can choose from, like gnome and kde. To use a new desktop you'll probhably just have to install the one you like (urpmi gnome for example), whereafter you choose to startup with the new desktop in the config center of the desktop your now using. Mandrake is a bit annoiying because of those install difficulties.
Your Windows partitions are pherhaps already mounted under /mnt on Mandrake.
The hardware compatibility should be pretty the same on the distro's.
So I believe Suse, RedHat and Mandrake are pretty much the same, but Mandrake has those install difficulties.
You can take a look here to get an impression of what is possible with the desktops http://justlinux.com/forum/showthrea...hreadid=130938 You won't be dissapointed after adjusting them a bit.

moskal 08-11-2004 02:10 PM

I like Mandrake so far, and I also loved suse, but suse didnt have gcc, make or other important stuff like that either, thats why i changed it to mandrake with a hope i wouldnt have to do A LOT of compiling on it, ive read a lot of stuff about gentoo and ive read that it is very user unfriendly :( too bad i really wanted to try it lol, ive even downloaded it, but it scared me a lot, is there a possible installation of gentoo in not text mode, in like visual mode or something like that?

what do you suggest, what would be better for me to do, "I know I am a newbie, but not thhat much of a computer noobie, I know pretty much stuff about computers" should i stay with Mandrake and try to compile everything I can, or should I switch ?


Thanks for your time

Tom

daYz 08-11-2004 03:06 PM

There is Navyn OS which is based on Gentoo. I just read about it. You can install it with an installer that is on the cd's wereafter you will have a working Gentoo system. When you have it installed you can install every program on Gentoo with "emerge program" That will ./configure, compile and install the program for you automaticly.

http://www.edworak.os1.kappa.pl/index.php?id_article=1

Some people seem to have problems with setting up their partitions with Navyn OS. and maybe you will have to setup your network manually. The default desktop is fluxbox, you'll prophably want that to change to another desktop like gnome. I can help you with these things tomorrow if you like to.

Greetings,

Ben

moskal 08-11-2004 03:27 PM

Hmm... this looks interesting, and the other good part is, that it could be in polish language too... lol good think because I know more polish than english :-p, I might give it a try, but for sure not this week, because I got a lot of work, at work... :-p


Ben, could i maybe contact you on aim or messenger? if not then it is OK with me, I will give it a try next week, thanks for your help :)


Tom


All times are GMT -5. The time now is 11:55 AM.