5 Sep 2005 tevaum   » (Journeyer)

Well... finally I'm done with the gaim-vv package for Ubuntu... I'm not sure if it's really good, 'cause it's my first serious one... It took a long time since I started trying... I had some problems compiling the software... something related to autotools that I still have to understand better. The libtool script tried to enter the NONE directory, which didn't exist, and I think it wasn't supposed to... I traced it back and got into this in configure.ac:

dnl #######################################################################
dnl # Check for X session management libs
dnl #######################################################################
if test "x$enable_sm" = "xyes"; then
        enable_sm=no
        AC_CHECK_LIB(SM, SmcSaveYourselfDone, found_sm_lib=true, , [$x_libpath_add -lICE])
        if test "$found_sm_lib" = "true"; then
                oldCPPFLAGS="$CPPFLAGS"
                CPPFLAGS="$CPPFLAGS $x_incpath_add"
                AC_CHECK_HEADERS(X11/SM/SMlib.h, SM_LIBS="$x_libpath_add -lSM -lICE" enable_sm=yes)
                CPPFLAGS="$oldCPPFLAGS"
        fi
else
        SM_LIBS=""
        enable_sm=no
fi
AC_SUBST(SM_LIBS)
if test "$enable_sm" = "yes"; then
        AC_DEFINE(USE_SM, 1, [Define if we're using X Session Management.])
fi

All I did was to remove the

$x_libpath_add
from the
AC_CHECK_HEADERS
line and it worked. That's it. As I still don't know how to make a repository for you to install this package with apt* install, I'll get the deb file in my site in the session Linux/Packages. Try it and report bugs to tevaum at gmail dot com. Thanks

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!