Re: Can't compile CVS sources on Debian 3.0.

Karel Gardas <[email protected]>
Newsgroups gmane.comp.gnome.apps.mr-project.user
Message-ID <Pine.LNX.4.43.0210011041450.971-100000@thinkpad.objectsecurity.cz>
On Tue, 1 Oct 2002, Richard Hult wrote:

[sed error]

> This is a harmless error, nevertheless it would be nice to get rid of
> it.
>

OK.

> > Creating ./aclocal.m4 ...
> > Running glib-gettextize...  Ignore non-fatal messages.
> > Copying file po/Makefile.in.in
> >
> > Please add the files
> >   codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
> >   progtest.m4
> > from the /home/karel/usr/local/gnome2//share/aclocal directory to your
> > autoconf macro directory
> > or directly to your aclocal.m4 file.
> > You will also need config.guess and config.sub, which you can get from
> > ftp://ftp.gnu.org/pub/gnu/config/.
>
> This is standard stuff you get the first time you configure mrproject.
>

OK

> > Making ./aclocal.m4 writable ...
> > Running libtoolize...
> > You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
> > Running aclocal  ...
> > aclocal: configure.in: 12: macro `AM_PATH_GLIB_2_0' not found in library
> > aclocal: configure.in: 104: macro `AM_GLIB_GNU_GETTEXT' not found in library
>
> This on the other hand, seems to indicate that you don't have glib 2. Is
> that correct? You need GNOME 2 to build and run mrproject.

I have installed GNOME2 into $HOME/usr/local/gnome2 and so autoconf is not
able to find its *.m4 macros. I've linked glib*.m4 from
$HOME/usr/local/gnome2/share/aclocal into /usr/share/aclocal and now it
runs much better but still fails with:

checking for pkg-config... /home/karel/usr/local/gnome2/bin/pkg-config
checking for GLIB - version >= 2.0.0... yes (version 2.0.6)
checking whether gcc understands -Wsign-promo... yes
checking whether gcc understands -Wno-sign-compare... yes
checking what warning flags to pass to the C compiler... -Wall -Wunused
-Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes
-Wnested-externs -Wpointer-arith -Wsign-promo -Wno-sign-compare -Werror
checking for
        glib-2.0 >= 2.0.4
        libxml-2.0 >= 2.4.7
        gobject-2.0 gmodule-2.0
        libgsf-1 >= 1.3.0
... Package libgsf-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libgsf-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libgsf-1' found

configure: error: Library requirements (
        glib-2.0 >= 2.0.4
        libxml-2.0 >= 2.4.7
        gobject-2.0 gmodule-2.0
        libgsf-1 >= 1.3.0
) not met; consider adjusting the PKG_CONFIG_PATH environment variable if
your libraries are in a nonstandard prefix so pkg-config can find them.
thinkpad:~/usr/src/gnome2/libmrproject$


Is this library part of GNOME2, or do I need to install it separately?

Thanks,

Karel
--
Karel Gardas                  [email protected]
ObjectSecurity Ltd.           http://www.objectsecurity.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.