Xfce Forum

Sub domains
 

You are not logged in.

#1 2013-07-22 12:21:57

justrajdeep
Member
Registered: 2013-07-22
Posts: 4

installing xfce-4.8 locally from source

Hi

getting errors while installation
*** The required package exo-1 was not found on your system.
*** Please install exo-1 (atleast version 0.6.0) or adjust
*** the PKG_CONFIG_PATH environment variable if you
*** installed the package in a nonstandard prefix so that
*** pkg-config is able to find it.

I found that exo is already in the tar archive

Below are the steps that I have done.
I have downloaded the source from http://archive.xfce.org/xfce/4.8/fat_tarballs/

un-tar-ed using the following

taj xvjf xfce-4.8.tar.bz2 which gets extracted into ~/src dir

then un-tared individual components using
foreach a (`ls *.bz2`)
    tar xvjf $a
end

then i am trying to do a local install using
foreach a (`ls -d */`)
    cd $a
    env PKG_CONFIG_PATH="/home/rmondal/src/exo-0.6.0/ /home/rmondal/local/lib/pkgconfig /home/utils/gtk+-3.6.4/" ./configure --prefix=/home/rmondal/local
    if ($? == 1) then
        exit(1)
    endif
    /home/utils/make-3.82/bin/make
    /home/utils/make-3.82/bin/make install
    cd -
end


Please note I am trying to do an install in my home (/home/rmondal). I am using tcsh as my shell.

Thanks in advance. Please let me know if more information is needed.

Offline

#2 2013-07-23 02:24:21

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: installing xfce-4.8 locally from source

There is a certain order for packages that need to be installed. For a listing and detailed instructions, see: http://docs.xfce.org/xfce/building. Also note that 4.10 is the latest version of Xfce.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2013-07-23 04:11:57

justrajdeep
Member
Registered: 2013-07-22
Posts: 4

Re: installing xfce-4.8 locally from source

Hi

I have moved to the latest 4.10. I am trying to compile in the order mentioned below(similar to what you pointed out).

still getting errors. My latest tools are installed in non-standard locations. I am providing PKG_CONFIG_PATH during ./configure step as mentioned above. What is the right way to provide them.

xfce4-dev-tools-4.10.0//
libxfce4util-4.10.0//
xfconf-4.10.0//
libxfce4ui-4.10.0//
garcon-0.2.0//
exo-0.8.0//
xfce4-panel-4.10.0//
Thunar-1.4.0//
thunar-volman-0.8.0//
xfce4-settings-4.10.0//
xfce4-session-4.10.0//
xfce4-power-manager-1.2.0//
xfdesktop-4.10.0//
xfwm4-4.10.0//
xfce4-appfinder-4.10.0//
gtk-xfce-engine-3.0.0//
tumbler-0.1.25//

Offline

#4 2013-07-23 10:37:52

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: installing xfce-4.8 locally from source

Doesn't tsch use "setenv" to set environemnt variables rather the "env"? Try verifying that PKG_CONFIG_PATH is set properly prior to running the ./configure command.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2013-07-24 04:29:49

justrajdeep
Member
Registered: 2013-07-22
Posts: 4

Re: installing xfce-4.8 locally from source

setenv is to set the set the env variable for the shell and env is for setting it while running the command. i have tried doing a setenv as well.

setenv PKG_CONFIG_PATH "/home/utils/glib-2.36.3/bin/:/home/rmondal/src/exo-0.8.0/:/home/rmondal/local/lib/pkgconfig:/home/rmondal/src/gtk-xfce-engine-3.0.0/"


I am getting something like below. Please note i have the glib in my path as well.

checking for GLIB... no
configure: error: Package requirements (glib-2.0 >= 2.24.0) were not met:

Requested 'glib-2.0 >= 2.24.0' but version of GLib is 2.12.3

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GLIB_CFLAGS
and GLIB_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

Offline

#6 2013-07-24 06:14:18

MountainDewManiac
Member
From: Where Mr. Bankruptcy is Prez
Registered: 2013-03-24
Posts: 1,115

Re: installing xfce-4.8 locally from source

Just curious... Why does one choose to compile a desktop environment instead of just using the package manager - or terminal - to install it in a quick and painless fashion? Are there options that can be edited in the source code prior to compiling that give you a more functional and/or better performing DE? Do you just enjoy the... enjoyment of the challenge? Do you mistrust the developers/maintainers of your distro and fear that they might include some bit of malware or data-harvesting code in the version that they compile for the distro's repository? Do you feel that you need to be punished for some past offense and lack the convenience of a wife to mete out that punishment for you, lol? Or... something else entirely?

Regards (and good luck),
MDM


Mountain Dew Maniac

How to Ask for Help <=== Click on this link

Offline

#7 2013-07-24 07:23:38

justrajdeep
Member
Registered: 2013-07-22
Posts: 4

Re: installing xfce-4.8 locally from source

i woudnt take the pain if i had other options, and i guess no one in their sane mind would.
But sometimes you work on a box where you dont have administrative privileges. That leaves you out the option of using a package manager. The version of software already present there is not cutting edge and no-one will change that.
So last resort is to compile it from the source and install it locally. Hope that explains that it is not for fun that i am doing it but as a last resort.

Offline

#8 2013-07-24 10:35:39

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: installing xfce-4.8 locally from source

Requested 'glib-2.0 >= 2.24.0' but version of GLib is 2.12.3

Your version of GLib is too old. Which distro are you using?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#9 2013-07-24 22:13:57

andrzejr
Member
Registered: 2012-04-06
Posts: 48

Re: installing xfce-4.8 locally from source

This looks very much like RHEL5/CentOS - the most popular Linux distribution in certain fields.

I have built XFCE4.10 on RHEL5 in my user area but it wasn't easy - in addition to compiling the whole Glib/Gtk stack with all dependencies we normally take for granted (Python, newer DBUS etc), I had to modify some Xfce components (AFAIR xfce4-session and xfce4-settings) because some functions required a newer X-server (can't upgrade that without admin rights). Even then there are some glitches - Gtk theming, old DBUS daemon running in background etc. It works (I prefer it to default Gnome2) but I would recommend such procedure to someone who just wants to use (and not develop) a desktop.

As for the env variables, I set:
PATH
PKG_CONFIG_PATH
LD_LIBRARY_PATH
XDG_CONFIG_DIRS

Offline

#10 2018-05-02 19:48:07

teapot
Member
Registered: 2018-05-02
Posts: 2

Re: installing xfce-4.8 locally from source

Bump. I have xenial, and I'm trying to install xfce4-terminal, version 0.8.0, since the newest version of libgtk-3 that I can (safely) get is 3.18.9.

I added all relevant paths to PKG_CONFIG_PATH and LD_LIBRARY_PATH but I cannot get ./configure to work:

$ ./configure --prefix=/usr && make
checking for gtk+-3.0 >= 3.14.0... not found
*** The required package gtk+-3.0 was not found on your system.
*** Please install gtk+-3.0 (atleast version 3.14.0) or adjust
*** the PKG_CONFIG_PATH environment variable if you
*** installed the package in a nonstandard prefix so that
*** pkg-config is able to find it.

I also tried changing configure so that my installed version of gtk was being searched for, and I still got:

checking for gtk+-3.0 >= 3.18.9... not found
*** The required package gtk+-3.0 was not found on your system.
*** Please install gtk+-3.0 (atleast version 3.18.9) or adjust
*** the PKG_CONFIG_PATH environment variable if you
*** installed the package in a nonstandard prefix so that
*** pkg-config is able to find it.

Can anyone help?

Offline

#11 2018-05-02 19:52:14

teapot
Member
Registered: 2018-05-02
Posts: 2

Re: installing xfce-4.8 locally from source

Here is some more info:

$ echo "$PKG_CONFIG_PATH"
/usr/include/gtk-3.0/pkgconfig:/usr/share/gtk-3.0/pkgconfig:/etc/gtk-3.0/pkgconfig:/etc/pkgconfig:/usr/include/pkgconfig:/usr/share/pkgconfig:/usr/local/lib/pkgconfig:
$ pkg-config --modversion gtk+-3.0
Package gtk+-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-3.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-3.0' found
$ whereis gtk-3.0
gtk-3: /etc/gtk-3.0 /usr/include/gtk-3.0 /usr/share/gtk-3.0
$ dpkg -s libgtk-3-0|grep '^Version'
Version: 3.18.9-1ubuntu3.3
$ apt-cache policy libgtk2.0-0 libgtk-3-0
libgtk2.0-0:
  Installed: 2.24.30-1ubuntu1.16.04.2
  Candidate: 2.24.30-1ubuntu1.16.04.2
  Version table:
 *** 2.24.30-1ubuntu1.16.04.2 500
        500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     2.24.30-1ubuntu1 500
        500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
libgtk-3-0:
  Installed: 3.18.9-1ubuntu3.3
  Candidate: 3.18.9-1ubuntu3.3
  Version table:
 *** 3.18.9-1ubuntu3.3 500
        500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     3.18.9-1ubuntu3 500
        500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
$ dpkg -l libgtk* | grep -e '^i' | grep -e 'libgtk-*[0-9]'
ii  libgtk-3-0:amd64               3.18.9-1ubuntu3.3         amd64        GTK+ graphical user interface library
ii  libgtk-3-bin                   3.18.9-1ubuntu3.3         amd64        programs for the GTK+ graphical user interface library
ii  libgtk-3-common                3.18.9-1ubuntu3.3         all          common files for the GTK+ graphical user interface library
ii  libgtk-3-dev:amd64             3.18.9-1ubuntu3.3         amd64        development files for the GTK+ library
ii  libgtk2-perl                   2:1.2498-1                amd64        Perl interface to the 2.x series of the Gimp Toolkit library
ii  libgtk2.0-0:amd64              2.24.30-1ubuntu1.16.04.2  amd64        GTK+ graphical user interface library
ii  libgtk2.0-bin                  2.24.30-1ubuntu1.16.04.2  amd64        programs for the GTK+ graphical user interface library
ii  libgtk2.0-common               2.24.30-1ubuntu1.16.04.2  all          common files for the GTK+ graphical user interface library
ii  libgtk2.0-dev                  2.24.30-1ubuntu1.16.04.2  amd64        development files for the GTK+ library

Last edited by teapot (2018-05-02 19:53:18)

Offline

#12 2018-05-03 00:13:05

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: installing xfce-4.8 locally from source

teapot wrote:
$ echo "$PKG_CONFIG_PATH"
/usr/include/gtk-3.0/pkgconfig:/usr/share/gtk-3.0/pkgconfig:/etc/gtk-3.0/pkgconfig:/etc/pkgconfig:/usr/include/pkgconfig:/usr/share/pkgconfig:/usr/local/lib/pkgconfig:
$ pkg-config --modversion gtk+-3.0
Package gtk+-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-3.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-3.0' found

Where is gtk+-3.0.pc located (should be somewhere in /usr/lib)?

locate gtk+-3.0.pc

That directory also has to be added to your PKG_PATH.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

Board footer

Powered by FluxBB