You are not logged in.
I just realized that the PKGBUILD for mousepad will fail due to it not correctly knowing that libxfcegui4 is already installed.
Investigating abit further, it looks like the output from makepkg gives this message:
checking for libxfcegui4-1.0 >= 4.2.0... not found
Which is a little confusing, because of the 4 on the end of the package name, however, it is actually installed:
$ pacman -Q libxfcegui4
libxfcegui4 4.2.2-1
Is there something I can do to resolve this?
Offline
I get the same error. IMO, the problem comes from the configure script.
Offline
Looking through the configure script, it says:
*** The required package libxfcegui4-1.0 was not found on your system.
*** Please install libxfcegui4-1.0 (atleast version 4.2.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.
So, is there a proper way to add the correct path to the PKG_CONFIG_PATH environment variable in a PKGBUILD script to get this working? Am I barking up the wrong tree?
Offline
aha!
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/xfce4/lib/pkgconfig/
Also, if that works (it should), please post a bug - the profile.d script for xfce4 needs to include the PKG_CONFIG_PATH variable 8)
Offline
Doh...I just tracked down that location myself, and unfortunately it looks like it is already set correctly in profile.d, as the environment variable is set. I double checked, and the file is in the proper location, so it must be something wrong with the configuration script not searching correctly.
This package is kind of an oddity too, since the "official" Xfce page lists the version as 0.1.1, however, all other distributions I know of use the same thing that is listed in the AUR (version 0.2.2), and there is no real developer's page in order to recieve updates, send bugs, etc.
Where do we go from here?
p.s. Thanks for all of your input on this...
Offline
can you post the contents of: /opt/xfce4/lib/pkgconfig/libxfcegui4-1.0.pc ?
Offline
Here's my /opt/xfce4/lib/pkgconfig/libxfcegui4-1.0.pc. I assumed its the same as elasticdog since we get the same error
prefix=/opt/xfce4
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: libxfcegui4
Description: libxfcegui4
Requires: gdk-2.0 gtk+-2.0 libxfce4util-1.0
Version: 4.2.2
Libs: -L/usr/X11R6/lib -L/usr/X11R6/lib -L${libdir} -lxfcegui4
Cflags: -I/usr/X11R6/include -I/usr/X11R6/include -I${includedir}/xfce4
Offline
well, wtf... from a commandline what do the following produce (also the output of "echo $?" after each command):
pkg-config --exists libxfcegui4
pkg-config --modversion libxfcegui4
oddly enough, I installed all the dependancies and built mousepad just fine... maybe try (w/o removing the dependancies) removing libxfcegui4 and re-syncing it?
Offline
Yep, got the exact same thing as Snowman for /opt/xfce4/lib/pkgconfig/libxfcegui4-1.0.pc
Trying your suggestions, I did run across a problem:
$ pkg-config --exists libxfcegui4
$ echo $?
1
$ pkg-config --modversion libxfcegui4
Package libxfcegui4 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libxfcegui4.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libxfcegui4' found
So you're suggesting I try removing just libxfcegui4 and the reinstall with pacman?
Offline
PKG_CONFIG_PATH
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/xfce/lib/pkgconfig/
Offline
It's already there...
$ echo $PKG_CONFIG_PATH
:/opt/gnome/lib/pkgconfig:/opt/mozilla/lib/pkgconfig:/opt/xfce4/lib/pkgconfig:/usr/X11R6/lib/pkgconfig
Offline
Another odd twist...
# pacman -U libxfcegui4
loading package data... could not open package: No such file or directory
Offline
Another odd twist...
# pacman -U libxfcegui4 loading package data... could not open package: No such file or directory
To use the -U switch, you must specify the complete path and package name.
(pacman -U /path/to/libxfcegui4-4.2.2-1.pkg.tar.gz)
Offline
Doh...I should have known that.
Offline
How can I get around pacman not wanting me to remove it?
# pacman -R libxfcegui4
error: this will break the following dependencies:
libxfcegui4: is required by exo
libxfcegui4: is required by xfcalendar
libxfcegui4: is required by xfce-mcs-manager
libxfcegui4: is required by xfce-utils
libxfcegui4: is required by xfce4-appfinder
libxfcegui4: is required by xfce4-iconbox
libxfcegui4: is required by xfce4-panel
libxfcegui4: is required by xfce4-session
libxfcegui4: is required by xfdesktop
libxfcegui4: is required by xffm
libxfcegui4: is required by xfprint
libxfcegui4: is required by xfwm4
No confirm and force give the same message...
Offline
Why do you want to remove it? If you want to reinstall it, you can try pacman -S libxfcegui4 and say yes when ask to reinstall.
Anyway, your question's answer is
# pacman -Rd libxfcegui4
Offline
I wanted to try phrakture's suggestions...
oddly enough, I installed all the dependancies and built mousepad just fine... maybe try (w/o removing the dependancies) removing libxfcegui4 and re-syncing it?
Simply re-syncing it hasn't changed anything.
Offline
AHA!!! This worked:
#pacman -Rd libxfcegui4
#pacman -Sy libxfcegui4
Simply re-syncing it did nothing...so what does that mean? I would guess since Snowman was having the same problem, that the installation of the xfce4 group somehow doesn't install libxfcegui4 exactly right? Would this be a bug to report somewhere?
The makepkg succeeded, however pkg-config --modversion libxfcegui4 still fails...wierd!?!
Offline
AHA!!! This worked:
#pacman -Rd libxfcegui4 #pacman -Sy libxfcegui4
Simply re-syncing it did nothing...so what does that mean? I would guess since Snowman was having the same problem, that the installation of the xfce4 group somehow doesn't install libxfcegui4 exactly right? Would this be a bug to report somewhere?
The makepkg succeeded, however pkg-config --modversion libxfcegui4 still fails...wierd!?!
It sounds like one of those typical upgrade bugs - it happens sometimes....
Offline