LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 09-01-2004, 12:09 PM   #1
subzero0
Member
 
Registered: Aug 2003
Location: NY
Distribution: Mandrake
Posts: 36

Rep: Reputation: 15
Installing from Source in Mandrake


[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 ?

Xavier
 
Old 09-01-2004, 12:37 PM   #2
nafan
Member
 
Registered: May 2004
Location: /dev/bed
Distribution: Mandriva 2009.0 Powerpack
Posts: 172

Rep: Reputation: 30
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.
 
Old 09-01-2004, 04:12 PM   #3
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
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: Reputation: 45
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.
 
Old 09-01-2004, 09:09 PM   #4
doug_s
Member
 
Registered: Apr 2004
Posts: 82

Rep: Reputation: 15
Wink

You know, I just tried to compile a kernel like that and I got exactly the same error !!!

If you were trying to compile the 2.6.8.1-ck5 kernel try doing this instead:

make clean bzImage modules modules_install install

then run lilo to update your mbr.
 
Old 09-10-2004, 01:28 PM   #5
subzero0
Member
 
Registered: Aug 2003
Location: NY
Distribution: Mandrake
Posts: 36

Original Poster
Rep: Reputation: 15
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get kernel-source is installing the wrong kernel source. JordanH Ubuntu 10 07-08-2005 05:42 PM
Problem installing Mandrake kernel source rpm Gibson Linux - Newbie 4 07-30-2004 01:42 PM
Installing the Mandrake 9.2 kernel source? adamwenner Linux - Newbie 10 12-24-2003 08:27 PM
Installing kernel-source (Mandrake) MentatMM Linux - Newbie 5 12-04-2003 11:34 PM
Installing from source frostbite Linux - Newbie 2 08-16-2003 05:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 02:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration