Marcos Menendez
2014-08-14 10:47:11 UTC
Hello,
I want to install the XFCE desktop and managed to install the first two packages of the list mentioned in
http://www.linuxfromscratch.org/blfs/view/stable/xfce/xfce-core.html
libxfce4util-4.10.1
Xfconf-4.10.0
For the third one,
libxfce4ui-4.10.0
I installed the required 'GTK+-2.24.22', which in turn requires 'gdk-pixbuf-2.30.4'. For the last one, a recommended dependency is the 'Xorg Libraries' and I decided to install them too.
I followed the instructions found in
http://www.linuxfromscratch.org/blfs/view/stable/x/x7lib.html
I added the as_root() function to my non root user .bash_profile and started the installation.
It did the make fine for the first library but it asked for the non user password continuously for the 'make install' step. Since I don't want to mess with sudo at this point of my installation, I decided to remove that line from the as_root() function and leave it like this:
as_root()
{
if [ $EUID = 0 ]; then $*
# elif [ -x /usr/bin/sudo ]; then? sudo $*
else su -c \\"$*\\"
fi
}
export -f as_root
Now, it asks me for the root password for the 'make install' and continues to the next library to install.
The problem was with the second library, 'libX11-1.6.2', that stops during the 'make' with the following message:
...
...
checking for launchd... no
checking for getpwuid_r in -lc... yes
checking for pthread_self in -lc... yes
checking for poll... yes
checking keysym definitions... Package xproto was not found in the pkg-config search path.
Perhaps you should add the directory containing `xproto.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xproto' found
configure: error: /X11 doesn't exist or isn't a directory
Why is it looking for the /X11 folder? Are there any more dependencies for these libs that are not mentioned in that page or did I something wrong?
Any help would be appreciated.
Marcos
I want to install the XFCE desktop and managed to install the first two packages of the list mentioned in
http://www.linuxfromscratch.org/blfs/view/stable/xfce/xfce-core.html
libxfce4util-4.10.1
Xfconf-4.10.0
For the third one,
libxfce4ui-4.10.0
I installed the required 'GTK+-2.24.22', which in turn requires 'gdk-pixbuf-2.30.4'. For the last one, a recommended dependency is the 'Xorg Libraries' and I decided to install them too.
I followed the instructions found in
http://www.linuxfromscratch.org/blfs/view/stable/x/x7lib.html
I added the as_root() function to my non root user .bash_profile and started the installation.
It did the make fine for the first library but it asked for the non user password continuously for the 'make install' step. Since I don't want to mess with sudo at this point of my installation, I decided to remove that line from the as_root() function and leave it like this:
as_root()
{
if [ $EUID = 0 ]; then $*
# elif [ -x /usr/bin/sudo ]; then? sudo $*
else su -c \\"$*\\"
fi
}
export -f as_root
Now, it asks me for the root password for the 'make install' and continues to the next library to install.
The problem was with the second library, 'libX11-1.6.2', that stops during the 'make' with the following message:
...
...
checking for launchd... no
checking for getpwuid_r in -lc... yes
checking for pthread_self in -lc... yes
checking for poll... yes
checking keysym definitions... Package xproto was not found in the pkg-config search path.
Perhaps you should add the directory containing `xproto.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xproto' found
configure: error: /X11 doesn't exist or isn't a directory
Why is it looking for the /X11 folder? Are there any more dependencies for these libs that are not mentioned in that page or did I something wrong?
Any help would be appreciated.
Marcos