LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   gnome installition from source (https://www.linuxquestions.org/questions/linux-software-2/gnome-installition-from-source-297687/)

slackwbas 03-04-2005 01:35 PM

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

reddazz 03-04-2005 01:46 PM

Take a look at the gnome website. They have instructions on installing the packages and in what order.

__J 03-04-2005 02:37 PM

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.

slackwbas 03-04-2005 08:41 PM

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?

reddazz 03-05-2005 01:40 AM

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.

__J 03-05-2005 04:43 AM

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.

acid_kewpie 03-05-2005 04:50 AM

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.

__J 03-05-2005 04:57 AM

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 :D .......

reddazz 03-05-2005 05:10 AM

Yep, I believe trying is a good way to learn :)

acid_kewpie 03-05-2005 05:39 AM

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.

reddazz 03-06-2005 02:54 AM

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.

__J 03-06-2005 03:00 AM

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.

slackwbas 03-06-2005 03:27 PM

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

dancro 03-15-2005 11:40 AM

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

kernelhacker 05-20-2005 10:02 PM

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.


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