LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-04-2005, 01:35 PM   #1
slackwbas
LQ Newbie
 
Registered: Feb 2005
Distribution: slackware 10.2,Fedora 4, FreeBSD 5.4,Win vista beta
Posts: 22

Rep: Reputation: 15
gnome installition from source


hi all

can any one please guide me in steps how can i download and install gnome from the source..i will be so thankful..?
 
Old 03-04-2005, 01:46 PM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Take a look at the gnome website. They have instructions on installing the packages and in what order.
 
Old 03-04-2005, 02:37 PM   #3
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
click under the link redazz posted, then 2.8 release notes->installation. It's pretty self-explanatory once you see the list, and it even tells you everything that is required before you start. A couple on that list IIRC are out of order, but they are easy enough to correct. Don't forget to build pango with xft support and make sure you at least go through control-center-xxxxx before you try it out.
 
Old 03-04-2005, 08:41 PM   #4
slackwbas
LQ Newbie
 
Registered: Feb 2005
Distribution: slackware 10.2,Fedora 4, FreeBSD 5.4,Win vista beta
Posts: 22

Original Poster
Rep: Reputation: 15
hi ..i realy dont full understod
now i downloaded all the packages of gnome from here
http://ftp.gnome.org/pub/GNOME/deskt...2.8.3/sources/
am i now should to install every single package?
and what is the "pkg-config" ,"Xft2" ,"Development Library dependencies" , "GNOME 2.8 Installation Order"
i am realy confused am i should download another packages or what?
 
Old 03-05-2005, 01:40 AM   #5
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
You need to make sure you have all the dependencies that are required, installed on your system. Once you've installed all the required dependencies (or checked that they are already installed), install the GNOME packages in the order thats listed in the instructions on the GNOMe website. I wish you good luck coz compiling GNOME is quite time consuming and tedious but its worth it in the end if all goes well.
 
Old 03-05-2005, 04:43 AM   #6
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
might need some of these too:

ftp://ftp.gnome.org/pub/gnome/platfo...2.8.3/sources/

slack 10 will come with most of these ( if you installed gnome from the installation), but you may need to upgrade some of these. Also, it's a good idea to make packages of your builds before you install them, either use makepkg or checkinstall ( if you don't have any experience in doing this, checkinstall is the easier more user friendly way to do this - get it from a slackware mirror in the /extra directory).

pkg-config you already have

xft don't worry about - when/if you recompile pango, put this in the terminal before you run configure:

export PKG_CONFIG_PATH=/usr/X11R6/lib/pkgconfig:$PKG_CONFIG_PATH

then configure pango, and make sure at the end of configure when it gives you a summary of the backends, xft is listed.

Also, if you have to upgrade a library that you already have ( like glib, gtk, pango, etc..), you're better off building the new package, uninstalling the old package, then installing your new build/package into the same prefix as the old one came out of.
 
Old 03-05-2005, 04:50 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
if you're really confused about what this all means, why do you even want to do this in the first place? if you're not familiar with the various libraries, and access to them via pkg-config, i doubt a build on that scale will work right at all.
 
Old 03-05-2005, 04:57 AM   #8
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
Quote:
Originally posted by acid_kewpie
if you're really confused about what this all means, why do you even want to do this in the first place? if you're not familiar with the various libraries, and access to them via pkg-config, i doubt a build on that scale will work right at all.
While I agree with what you are saying, there is only one way to learn .......
 
Old 03-05-2005, 05:10 AM   #9
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Yep, I believe trying is a good way to learn
 
Old 03-05-2005, 05:39 AM   #10
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
oh yeah sure, but only as long as you realise what you're trying to do... nothing worse than someone only thinking they can only do something the hard way, and end up hating linux cos they couldn't do soemthign that's actually quite advanced 2 days after theri first install.
 
Old 03-06-2005, 02:54 AM   #11
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
True, I used Linux for years before attempting to compile kernels and desktop environments, by then I was sure about what I was doing and felt comfortable making such attempts.
 
Old 03-06-2005, 03:00 AM   #12
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
Quote:
Originally posted by reddazz
True, I used Linux for years before attempting to compile kernels and desktop environments, by then I was sure about what I was doing and felt comfortable making such attempts.
I used Linux for weeks before attempting to compile apps and kernels, and failed horribly. alot. But ( this is my personal opinion) if you want to learn something, the fastest way is to dive in, failure or not, because ( again my opinion) if you dance around it too long, nothing ever happens. To slackwbas: don't get discouraged if you don't get it right away, there is a ton of stuff to learn here, and it can't be done overnight. Stick with it, and soon you will be doing this stuff without even thinking about it.
 
Old 03-06-2005, 03:27 PM   #13
slackwbas
LQ Newbie
 
Registered: Feb 2005
Distribution: slackware 10.2,Fedora 4, FreeBSD 5.4,Win vista beta
Posts: 22

Original Poster
Rep: Reputation: 15
hi..thanks alot __J and reddazz
i am realy want to install gnome from source only for learning and as __J said you must dive in the thing to learn
since i will install about 60 packages i think i will learn many things ..yes i know its a hard way to learn but its fast i think.
and i am realy learned many things while compiling some gnome packages untill i stucked with the gnome-vfs
its gave me this errors

Code:
gcc -g -O2 -Wl,-R/usr/local/lib -o .libs/gnomevfs-cat gnomevfs-cat.o -Wl,--export-dynamic  ../libgnomevfs/.libs/libgnomevfs-2.so -pthread -L/usr/local/lib /usr/local/lib/libbonobo-activation.so /usr/local/lib/libgconf-2.so /usr/local/lib/libORBit-2.so -lm /usr/local/lib/libgmodule-2.0.so -ldl /usr/local/lib/libgthread-2.0.so /usr/local/lib/libglib-2.0.so /usr/lib/libpopt.so -lrt
/usr/local/lib/libgobject-2.0.so.0: undefined reference to `g_assert_warning'
/usr/local/lib/libgobject-2.0.so.0: undefined reference to `g_return_if_fail_warning'
collect2: ld returned 1 exit status
make[2]: *** [gnomevfs-cat] Error 1
make[2]: Leaving directory `/home/src/gnomef/gnome-vfs-2.8.4/programs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/src/gnomef/gnome-vfs-2.8.4'
make: *** [all] Error 2
i think i installed all the dependencies
and thats my pkg-config --list-all

Code:
gdk-pixbuf-xlib-2.0   GdkPixbuf Xlib - GdkPixbuf rendering for Xlib
gconf-2.0             gconf - GNOME Config System.
gdk-x11-2.0           GDK - GIMP Drawing Kit (x11 target)
gmodule-2.0           GModule - Dynamic module loader for GLib
libIDL-2.0            libIDL - IDL parsing library
ORBit-imodule-2.0     ORBit-imodule-2.0 - ORBit runtime typelib generation service.
bonobo-activation-2.0 Bonobo Activation - Object activation framework for GNOME
gdk-pixbuf-2.0        GdkPixbuf - Image loading and scaling
gtk+-x11-2.0          GTK+ - GIMP Tool Kit (x11 target)
gnome-mime-data-2.0   gnome-mime-data - Base set of file types and applications for GNOME
openssl               OpenSSL - Secure Sockets Layer and cryptography libraries and tools
libxml-2.0            libXML - libXML library version2.
glib-2.0              GLib - C Utility Library
gobject-2.0           GObject - GLib Type, Object, Parameter and Signal Library
gthread-2.0           GThread - Thread support for GLib
ORBit-2.0             ORBit-2.0 - High-performance CORBA Object Request Broker.
pangoft2              Pango FT2 - Freetype 2.0 font support for Pango
gtk+-2.0              GTK+ - GIMP Tool Kit (x11 target)
esound                esound - esound
gmodule-no-export-2.0 GModule - Dynamic module loader for GLib
pangox                Pango X - X Window System font support for Pango
pangoxft              Pango Xft - Xft font support for Pango
ORBit-idl-2.0         ORBit-idl-2.0 - ORBit-2.0 IDL Compiler Backend Interface
ORBit-CosNaming-2.0   ORBit-CosNaming-2.0 - High-performance CORBA Object Request Broker - Naming Service.
audiofile             audiofile - audiofile
libbonobo-2.0         libbonobo - libbonobo
pango                 Pango - Internationalized text handling
gdk-2.0               GDK - GIMP Drawing Kit (x11 target)
gtk-doc               gtk-doc - API documentation generator
atk                   Atk - Accessibility Toolkit
any body have any idea about any package i missing??
 
Old 03-15-2005, 11:40 AM   #14
dancro
LQ Newbie
 
Registered: Oct 2003
Location: Carlsbad, California
Distribution: Ubuntu 8.04 server: mythbuntu 8.04
Posts: 15

Rep: Reputation: 0
Question

I apologize that this not to the subject matter of this thread, which I am very interested in but finding difficult to read.

Here is my question, why is this thread three and 1/2 screens wide?
Is it something I can correct at my end? It does not occur on all threads.

Thank you.
Dan
 
Old 05-20-2005, 10:02 PM   #15
kernelhacker
LQ Newbie
 
Registered: May 2005
Location: Oregon
Distribution: Slackware
Posts: 11

Rep: Reputation: 0
Your list is interesting, but everything is not showing up.
I am sure you are missing some libraries, or have an incomplete install.

I have been installing from source the GTK+-2.6.7 package, which has all the same dependencies from source.

How did you compile Pango from source and get pango-xft without xft?

Here's my pkg-config --list-all

Code:
fontconfig            Fontconfig - Font configuration and customization library
freetype2             FreeType 2 - A free, high-quality, and portable font engine.
gmodule-2.0           GModule - Dynamic module loader for GLib
libxml-2.0            libXML - libXML library version2.
openssl               OpenSSL - Secure Sockets Layer and cryptography libraries and tools
glib-2.0              GLib - C Utility Library
gobject-2.0           GObject - GLib Type, Object, Parameter and Signal Library
gthread-2.0           GThread - Thread support for GLib
libpng                libpng12 - Loads and saves PNG files
pangoft2              Pango FT2 - Freetype 2.0 font support for Pango
xcursor               Xcursor - X Cursor library
gmodule-no-export-2.0 GModule - Dynamic module loader for GLib
libpng12              libpng12 - Loads and saves PNG files
pangox                Pango X - X Window System font support for Pango
pangoxft              Pango Xft - Xft font support for Pango
xft                   Xft - X FreeType library
pango                 Pango - Internationalized text handling
xrender               Xrender - X Render Library
atk                   Atk - Accessibility Toolkit
I am linking to a preinstalled render package which is not shown, and an X11 package which was installed from binaries -- so no .pc's for anything except the GTK+ stuff I am doing except
the ssl & xcursor packages which are extras.

What version of of xft do you have, and what version of Pango?
version 1.8.1 will not compile correctly (although it will compile) with xft < 2.0.
So, I think you may be in trouble already as I don't see xft in your list, but I do see pangoxft.
That's not good. Either you are missing xft.pc or the whole xft package.

your particular linking errors looks like they comes from the glib package.
as in glib/gmessages.h is the only header defining your functions.
(If you wish to find it try

cd /usr; find * -name gmessages.h -print

)

the actual library should be /usr/local/lib/libglib-2.0.so from your link line.
so check it with a:

grep g_assert_warning /usr/local/lib/libglib-2.0*

you ought to get multiple "Binary file .... matches" responses.
If not, your glib library is improperly installed, or the path to it is wrong.

Good luck.
 
  


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
Building from source; can i add menu to gnome? noahsatellite Linux - Software 0 09-18-2005 12:31 AM
installition problem laserlinux09 Mandriva 1 06-11-2005 07:25 PM
Installing Gnome 2.8.2 from source ciotog Slackware 8 01-27-2005 04:25 PM
Partition on Linux hard drive (after installition) PB0711 Linux - Newbie 4 09-01-2004 06:03 PM
GNOME & KDE games source code Mohsen Programming 2 03-29-2003 08:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:49 AM.

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