4.4-beta1 installer failures on OpenBSD 3.9

Landry landry at fr.homeunix.org
Mon May 8 22:16:30 CEST 2006


Hello all.

I've tried to install latest -beta1 using the installer on a freshly 
installed OpenBSD 3.9 (only firefox installed to grab xfce-installer), 
i've encountered some issues, but managed to finish the installation.
Here is my report, i hope this would be useful to someone. I know 
OpenBSD has singularities, like installing libs and headers in 
/usr/local. I'm totally aware too that xfce4.4 is beta software, and 
that i'll had issues installing it, that issues coming from the 
installer of from the singularities of OpenBSD :)

I installed all components under /home/landry/local/xfce-4.3.90.1/ prefix.
Here are the little bugs (?) i found, and the steps i've followed :
- first, i had to install vte, gmake and pkgconfig packages. This is 
_not_ a bug :)
- Xfce installer claims dependencies on libXpm and libSM, which are 
installed by Xorg packages. The installer _wants_ files named libSM.so 
and libXpm.so, but on OpenBSD, libs only exists as libfoo.a and 
libfoo.so.major.minor. There is no symlink pointing from libfoo.so to 
libfoo.so.major.minor like on other *nix systems. I dunno if this is to 
be considered as a bug, but i'm reporting it anyway. Maybe the installer 
should check for the presence of libfoo.so*, and report a warning if the 
minor/major mismatch.
I'd like to know how libtool behaves on the creation of a library, if it 
creates only .a and .so.minor.major versions, and if it is up to the 
system/distro/packaging system to create the symlinks.
The workaround here was to create the symlinks in /usr/X11R6/lib for 
libSM.so and libXpm.so.

- Then, the installer started to compile. The first crash was on the 
compilation of libexo, with error "checking if we build python bindings 
.. no interpreter found.". apparently, ./configure doesn't check if 
there is a python interpreter, and python isn't declared as a dependency 
for libexo.

- second crash in libexo compilation was with the following :

if /bin/sh ../libtool --mode=compile --tag=CC gcc -DHAVE_CONFIG_H -I. 
-I. -I.. -I.. -DEXO_API_SUBJECT_TO_CHANGE -DEXO_COMPILATION 
-DG_LOG_DOMAIN=\"exo\" 
-DLIBEXECDIR=\"/home/landry/local/xfce-4.3.90.1/libexec\" 
-DLIBEXO_VERSION_API=\"0.3\" 
-DPACKAGE_LOCALE_DIR=\"/home/landry/local/xfce-4.3.90.1/share/locale\" 
-I/home/landry/local/xfce-4.3.90.1/include  -I/usr/X11R6/include 
-I/usr/X11R6/include -DXTHREADS -D_REENTRANT 
-I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include 
-I/usr/X11R6/include -I/usr/local/include/atk-1.0 
-I/usr/local/include/pango-1.0 -I/usr/X11R6/include/freetype2 
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include 
-I/home/landry/local/xfce-4.3.90.1/include/xfce4 
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include 
-I/home/landry/local/xfce-4.3.90.1/include  -I/usr/X11R6/include 
-I/usr/X11R6/include -O2 -pipe -DG_DISABLE_CAST_CHECKS 
-DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -MT libexo_0_3_la-exo-marshal.lo 
-MD -MP -MF ".deps/libexo_0_3_la-exo-marshal.Tpo" -c -o 
libexo_0_3_la-exo-marshal.lo `test -f 'exo-marshal.c' || echo 
'./'`exo-marshal.c; \
then mv -f ".deps/libexo_0_3_la-exo-marshal.Tpo" 
".deps/libexo_0_3_la-exo-marshal.Plo"; else rm -f 
".deps/libexo_0_3_la-exo-marshal.Tpo"; exit 1; fi
  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DEXO_API_SUBJECT_TO_CHANGE 
-DEXO_COMPILATION -DG_LOG_DOMAIN=\"exo\" 
-DLIBEXECDIR=\"/home/landry/local/xfce-4.3.90.1/libexec\" 
-DLIBEXO_VERSION_API=\"0.3\" 
-DPACKAGE_LOCALE_DIR=\"/home/landry/local/xfce-4.3.90.1/share/locale\" 
-I/home/landry/local/xfce-4.3.90.1/include -I/usr/X11R6/include 
-I/usr/X11R6/include -DXTHREADS -D_REENTRANT 
-I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include 
-I/usr/X11R6/include -I/usr/local/include/atk-1.0 
-I/usr/local/include/pango-1.0 -I/usr/X11R6/include/freetype2 
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include 
-I/home/landry/local/xfce-4.3.90.1/include/xfce4 
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include 
-I/home/landry/local/xfce-4.3.90.1/include -I/usr/X11R6/include 
-I/usr/X11R6/include -O2 -pipe -DG_DISABLE_CAST_CHECKS 
-DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -MT 
libexo_0_3_la-exo-enum-types.lo -MD -MP -MF 
.deps/libexo_0_3_la-exo-enum-types.Tpo -c exo-enum-types.c  -fPIC -DPIC 
-o .libs/libexo_0_3_la-exo-enum-types.o
In file included from ../exo/exo.h:34,
                  from exo-enum-types.c:6:
/usr/local/include/glib-2.0/glib/gi18n.h:23:21: libintl.h: No such file 
or directory

libintl.h is located in /usr/local/include, so to correct this, i had to 
export CPATH=/usr/local/include before launching the installer. I 
exported too PKG_CONFIG_PATH=/usr/local/lib/pkgconfig.

- The next crash was on the compilation of mousepad : perl was missing 
XML::Parser module, which wasn't declared as a dependency. I installed 
p5-xml-parser package.

- Next crash, in the installation of the panel with this error :

Making install in panel
gmake[1]: Entering directory 
`/tmp/xfce4-4.3.90.1-installer/xfce4-panel/panel'
gmake[2]: Entering directory 
`/tmp/xfce4-4.3.90.1-installer/xfce4-panel/panel'
test -z "/home/landry/local/xfce-4.3.90.1/bin" || /bin/sh 
../mkinstalldirs 
"/tmp/xfce4-4.3.90.1-installer/destdir.9058/home/landry/local/xfce-4.3.90.1/bin"
gmake[2]: Nothing to be done for `install-data-am'.
mkdir -p -- 
/tmp/xfce4-4.3.90.1-installer/destdir.9058/home/landry/local/xfce-4.3.90.1/bin
   /bin/sh ../libtool --mode=install /usr/bin/install -c 'xfce4-panel' 
'/tmp/xfce4-4.3.90.1-installer/destdir.9058/home/landry/local/xfce-4.3.90.1/bin/xfce4-panel'
libtool: install: warning: `../libxfce4panel/libxfce4panel.la' has not 
been installed in `/home/landry/local/xfce-4.3.90.1/lib'
/usr/bin/install -c .libs/xfce4-panel 
/tmp/xfce4-4.3.90.1-installer/destdir.9058/home/landry/local/xfce-4.3.90.1/bin/xfce4-panel
gmake[2]: Leaving directory 
`/tmp/xfce4-4.3.90.1-installer/xfce4-panel/panel'
gmake[1]: Leaving directory 
`/tmp/xfce4-4.3.90.1-installer/xfce4-panel/panel'
Making install in plugins
gmake[1]: Entering directory 
`/tmp/xfce4-4.3.90.1-installer/xfce4-panel/plugins'
Making install in actions
gmake[2]: Entering directory 
`/tmp/xfce4-4.3.90.1-installer/xfce4-panel/plugins/actions'
gmake[3]: Entering directory 
`/tmp/xfce4-4.3.90.1-installer/xfce4-panel/plugins/actions'
gmake[3]: Nothing to be done for `install-exec-am'.
test -z "/home/landry/local/xfce-4.3.90.1/share/xfce4/panel-plugins" || 
/bin/sh ../../mkinstalldirs 
"/tmp/xfce4-4.3.90.1-installer/destdir.9058/home/landry/local/xfce-4.3.90.1/share/xfce4/panel-plugins"
test -z "/home/landry/local/xfce-4.3.90.1/lib/xfce4/panel-plugins" || 
/bin/sh ../../mkinstalldirs 
"/tmp/xfce4-4.3.90.1-installer/destdir.9058/home/landry/local/xfce-4.3.90.1/lib/xfce4/panel-plugins"
mkdir -p -- 
/tmp/xfce4-4.3.90.1-installer/destdir.9058/home/landry/local/xfce-4.3.90.1/share/xfce4/panel-plugins
mkdir -p -- 
/tmp/xfce4-4.3.90.1-installer/destdir.9058/home/landry/local/xfce-4.3.90.1/lib/xfce4/panel-plugins
  /usr/bin/install -c -m 644 'actions.desktop' 
'/tmp/xfce4-4.3.90.1-installer/destdir.9058/home/landry/local/xfce-4.3.90.1/share/xfce4/panel-plugins/actions.desktop'
  /bin/sh ../../libtool --mode=install /usr/bin/install -c 
'libactions.la' 
'/tmp/xfce4-4.3.90.1-installer/destdir.9058/home/landry/local/xfce-4.3.90.1/lib/xfce4/panel-plugins/libactions.la'
libtool: install: warning: relinking `libactions.la'
(cd /tmp/xfce4-4.3.90.1-installer/xfce4-panel/plugins/actions; /bin/sh 
../../libtool  --tag=CC --mode=relink gcc 
-I/home/landry/local/xfce-4.3.90.1/include -I/usr/X11R6/include 
-I/usr/X11R6/include -O2 -pipe -L/home/landry/local/xfce-4.3.90.1/lib 
-Wl,-rpath -Wl,/home/landry/local/xfce-4.3.90.1/lib -L/usr/X11R6/lib 
-L/usr/X11R6/lib -o libactions.la -rpath 
/home/landry/local/xfce-4.3.90.1/lib/xfce4/panel-plugins -avoid-version 
-module libactions_la-actions.lo ../../libxfce4panel/libxfce4panel.la 
-inst-prefix-dir /tmp/xfce4-4.3.90.1-installer/destdir.9058)
gcc -shared  -fPIC -DPIC -o .libs/libactions.so.0.0 
.libs/libactions_la-actions.o  -L/home/landry/local/xfce-4.3.90.1/lib 
-L/usr/X11R6/lib 
/home/landry/local/xfce-4.3.90.1/lib/libxfce4panel.so.2.0  -Wl,-rpath 
-Wl,/home/landry/local/xfce-4.3.90.1/lib
gcc: /home/landry/local/xfce-4.3.90.1/lib/libxfce4panel.so.2.0: No such 
file or directory
libtool: install: error: relink `libactions.la' with the above command 
before installing it
gmake[3]: *** [install-pluginLTLIBRARIES] Error 1
gmake[3]: Leaving directory 
`/tmp/xfce4-4.3.90.1-installer/xfce4-panel/plugins/actions'
gmake[2]: *** [install-am] Error 2
gmake[2]: Leaving directory 
`/tmp/xfce4-4.3.90.1-installer/xfce4-panel/plugins/actions'
gmake[1]: *** [install-recursive] Error 1
gmake[1]: Leaving directory 
`/tmp/xfce4-4.3.90.1-installer/xfce4-panel/plugins'
gmake: *** [install-recursive] Error 1
!! Failed to install xfce4-panel, see the errors above
!! for details on the problem.

To correct this, i had to manually copy the compiled files 
(libxfce4panel* and pkgconfig/*pc) from 
/tmp/xfce4-4.3.90.1-installer/destdir.25328/home/landry/local/xfce-4.3.90.1/lib
to /home/landry/local/xfce-4.3.90.1/lib before restarting the installer.
I had the same issue on libxfce4mixer,libxfprint and libxsm. Those libs 
and .pc files weren't installed at the right time, as far as i 
understood it.

The installation finished smoothly with xfdesktop and xfwm4. I've set 
some paths, and ran startxfce4.

xfdesktop didn't manage to load the menu, the menu panel plugin didn't 
work, i couldn't add some plugins to the panel, and xfce-mcs-settings 
didn't found the mcs-plugins. That was the same .so problem, so i 
manually symlinked all the libs doing this in 
$base/lib/xfce4/{modules,mcs-plugins,panel-plugins} :
for i in `ls *.so*`; do ln -s $i `echo $i | sed -e's/.0.0//'` ; done

Finally, i had to install desktop-file-utils to build the .desktop 
database, and ran gtk-update-icon-cache on the icon folders to see the 
icons in thunar and the other windows.

Now, Xfce runs on my OpenBSD desktop like a charm. xfce-mixer controls 
OpenBSD mixer, and i'm going to try systemload and sensors plugins.

The only thing that embarasses me is the .so vs .so.major.minor problem. 
I don't know if this "issue" comes from xfce, from libtool or from 
OpenBSD settings.

I can provide various .xfce-install.log files (one for each breakage) if 
needed.

Thanks for this great piece of software !!!

Landry



More information about the Xfce4-dev mailing list