LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Compiling gnome myself, got a problem with gconf! (https://www.linuxquestions.org/questions/slackware-14/compiling-gnome-myself-got-a-problem-with-gconf-410950/)

Linux.tar.gz 02-02-2006 01:20 PM

Compiling gnome myself, got a problem with gconf!
 
I want some gnome packages, so i prefer compile myself.
I already installed libxslt-1.1.15.tar.bz2 and ORBit2-2.12.4.tar.bz2.

Now i ./configure GConf-2.12.1.tar.bz2 and this is what i got:
.................
checking for pkg-config... /usr/bin/pkg-config
checking for gmodule-2.0 >= 2.7.0 gobject-2.0 >= 2.7.0 ORBit-2.0 >= 2.4.0... Requested 'gmodule-2.0 >= 2.7.0' but version of GModule is 2.6.6

configure: error: Library requirements (gmodule-2.0 >= 2.7.0 gobject-2.0 >= 2.7.0 ORBit-2.0 >= 2.4.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

But locate tells me that i have gobject and gmodule.

jong357 02-02-2006 02:39 PM

Yea, but gmodule needs to be greater than 2.7.0... I hope you know what your getting into by compiling Gnome.

gmodule comes from glib2... You need to remove alot of existing packages and compile them from scratch. If this is your first time compiling Gnome, I HIGHLY suggest looking at the BLFS book and follow their directions for building. More importantly, You'll be able to climb down the dependency ladder "link by link" until you find the core gnome deps. Then you can start to actually build Gnome.

jong357 02-02-2006 02:47 PM

Actually, I don't see how you got the latest Orbit2 to compile on a stock Slack system. That should even be reliant on a newer Glib2....

You'll need to compile about 80+ packages before it's all said and done. Hope you have some freetime... :p Good luck tho. It's a good expierence. Especially if you make build scripts.

Linux.tar.gz 02-02-2006 03:23 PM

Well i'll reconsider this project as i don't want to spend so much time. I just wanted to enable gdm, but as i saw here: http://wiki.linuxquestions.org/wiki/Compiling_GNOME_2.6 , gdm is the last built package...
It's really sad that Gnome is so hard to build.

dive 02-02-2006 04:05 PM

Your could try KDM instead http://linux.maruhn.com/sec/kde-kdm.html

Just rpm2tgz the red hat version and install

I had problems with gdm not launching fluxbox properly and found kdm to have as many features anyway.

Linux.tar.gz 02-02-2006 10:20 PM

Yes, i use it, but i don't know how to launch graphical program as root.
Plus, many programs are based on gnome, so...

MannyNix 02-03-2006 11:31 AM

Quote:

Originally Posted by Linux.tar.gz
i don't know how to launch graphical program as root.

Do you mean being able to log into kde as root? Try: kde's controlcenter->systemadministration->loginmanager click administrator mode, then users tab
If you want to launch a program as root from the console you may need to type: xhost + then become root an run your program
And about
Quote:

Just rpm2tgz the red hat version and install
i understand you mean themes, not kdm itself. Kdm is included in
Code:

kdebase (KDE base package)
Core applications for the K Desktop Environment.  Included are: kdm
(replacement for xdm), kwin...

Finally, about
Quote:

many programs are based on gnome
What programs do you really miss? I tried http://gsb.freerock.org/ and worked great, but decided i can live without it since all my need are covered with default slack. gl

dive 02-03-2006 02:32 PM

Quote:

Originally Posted by mannyslack
And about i understand you mean themes, not kdm itself. Kdm is included in [CODE]kdebase (KDE base package)

I did an upgrade using konstruct script to 3.5 but found kdm wasn't installed. On that page hidden among the themes is kdm: ftp://ftp.sogang.ac.kr/.5/redhat/con...-0.5-4.src.rpm

Linux.tar.gz 02-03-2006 04:30 PM

xhost + is bad for security, but thanks anyway.
Grip, Gcompris, gnomemeeting etc...

evilDagmar 02-03-2006 08:04 PM

Quote:

Originally Posted by Linux.tar.gz
I want some gnome packages, so i prefer compile myself.
I already installed libxslt-1.1.15.tar.bz2 and ORBit2-2.12.4.tar.bz2.

Now i ./configure GConf-2.12.1.tar.bz2 and this is what i got:
.................
checking for pkg-config... /usr/bin/pkg-config
checking for gmodule-2.0 >= 2.7.0 gobject-2.0 >= 2.7.0 ORBit-2.0 >= 2.4.0... Requested 'gmodule-2.0 >= 2.7.0' but version of GModule is 2.6.6

configure: error: Library requirements (gmodule-2.0 >= 2.7.0 gobject-2.0 >= 2.7.0 ORBit-2.0 >= 2.4.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

But locate tells me that i have gobject and gmodule.

You simply need newer versions of glib (and probably gtk+ immediately thereafter). 2.8.6 is the one you want for Gnome 2.12. You can get it at http://ftp.acc.umu.se/pub/GNOME/sources/glib/2.8/

The people telling you that compiling GNOME will be painful aren't kidding in the least. It takes time and sharp eye to spot one of it's autoconf scripts telling you when you've accidentally left something out.

:twocents:

You don't have to use Dropline binaries (and if all you're wanting is a couple of pieces there's not much need to), but you're perfectly welcome to use our build scripts and build engine to construct your own, personal packages. Drop by #Dropline on Freenode and someone will be more than happy to hook you up (I keep nighttime hours). Not only will the thing be useful as a guideline of which versions are currently appropriate, it'll keep you from further scrambling your package inventory like you're doing now.

Linux.tar.gz 02-03-2006 09:13 PM

Thx. I looked into the Freerock build scripts and get here some ideas.


All times are GMT -5. The time now is 05:52 AM.