MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
[root@FOXTROT linux-2.6.8.1-ck5]# make clean && make gconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/split-include
HOSTCC scripts/basic/docproc
*
* Unable to find the GTK+ installation. Please make sure that
* the GTK+ 2.0 development package is correctly installed...
* You need gtk+-2.0, glib-2.0 and libglade-2.0.
*
make[1]: *** [scripts/kconfig/.tmp_gtkcheck] Error 1
make: *** [gconfig] Error 2
[root@FOXTROT linux-2.6.8.1-ck5]# make clean && make gconfig
Are You Kidding!!?? Im using Gnome to install you!
I have run into many problems when trying to install from source. This is one such instance. Another instance of this problem occurs when trying to install a source tar package such as gnome-ppp. ./configure ends with an error telling me i dont have many libraries which i very well know i have installed. Some kind of error concerning autoconfigure or some kind of file with a .pc extension. Does anyone have a clue what im talking about ?
Make sure you have the development versions installed, as they contain header files required when you compile programs. For example, on my system I have the libgtk+1.2-1.2.10-38mdk rpm installed, but I also have the libgtk+1.2-devel-1.2.10-38mdk package as I compile programs that use libraries supplied by the first package.
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986
Rep:
Sticky: Mandrake is impossible to compile from source
Through my personal experience, Mandrake is impossible to compile from source, even if you have all the dependencies. I have had zero successful attempts. There's always something that goes wrong so don't even bother. You have to use URPMI or get some RPM's to do it with Mandrake.
Installing the development packages "nafan" quoted works for the "gconfig" kernel tool. The program was able to compile cleanly and i was able to configure a new kernel using it.
The problem now is third party software. I will use the two most recent packages i tried to install as examples.
1) gnome-ppp -- After installing "Anjuta", for the reason of installing all possible gnome development packages, i was finally able to "./configure" this package correctly only to run into "make" errors afterwards.
\output\ ...
ndefined reference to `gtk_combo_box_set_active'
gnome-ppp.o(.text+0x256c): In function `write_conf':
/usr/local/src/gnome-ppp-0.3.15/src/gnome-ppp.c:640: undefined reference to `GTK_COMBO_BOX'
gnome-ppp.o(.text+0x2575):/usr/local/src/gnome-ppp-0.3.15/src/gnome-ppp.c:640: undefined reference to `gtk_combo_box_get_active'
gnome-ppp.o(.text+0x2627):/usr/local/src/gnome-ppp-0.3.15/src/gnome-ppp.c:644: undefined reference to `GTK_COMBO_BOX'
gnome-ppp.o(.text+0x2630):/usr/local/src/gnome-ppp-0.3.15/src/gnome-ppp.c:644: undefined reference to `gtk_combo_box_get_active'
collect2: ld returned 1 exit status
make[2]: *** [gnome-ppp] Error 1
make[2]: Leaving directory `/usr/local/src/gnome-ppp-0.3.15/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/gnome-ppp-0.3.15'
make: *** [all] Error 2
[root@FOXTROT gnome-ppp-0.3.15]#
\output\
Basically "make" is telling me there is an undefined reference to "GTK_COMBO_BOX". Now i have a good mind to go right into the third party software delete this variable and see what happens. The point is once i start modifying the code of the third party software i install things become dangerous for my system. This has to be a Mandrake error. Anyone know how to get past this.
2) gTweakUI
/output/
MF ".deps/menus.Tpo" -c -o menus.o menus.c; \
then mv -f ".deps/menus.Tpo" ".deps/menus.Po"; else rm -f ".deps/menus.Tpo"; exit 1; fi
menus.c: In function `main':
menus.c:227: error: `PACKAGE_NAME' undeclared (first use in this function)
menus.c:227: error: (Each undeclared identifier is reported only once
menus.c:227: error: for each function it appears in.)
menus.c:227: error: `PACKAGE_VERSION' undeclared (first use in this function)
menus.c:230: error: `GETTEXT_PACKAGE' undeclared (first use in this function)
make[2]: *** [menus.o] Error 1
make[2]: Leaving directory `/usr/local/src/gTweakUI-0.4.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/gTweakUI-0.4.0'
make: *** [all] Error 2
[root@FOXTROT gTweakUI-0.4.0]#
/output/
Yet another example of a make error. This time it appears when i try to compile gTweakUI.
Im beginning to wonder whether i should even develop software on this distro.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.