pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

glade autoconf



Hi,
   I'm trying to create a slight graphical interface for a program, and
was trying to use devel/glade for that. The program itself works and I've
managed to output some source code but am having trouble building that.
glade spits out a load of autoconf files which you must run to build the
resulting program and I get warnings and errors

First, automake is required here but not installed - should it be part of
the DEPENDS?

then,

----
processing .
Creating ./aclocal.m4 ...
Running glib-gettextize...  Ignore non-fatal messages.
Copying file mkinstalldirs
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 /usr/pkg/share/aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
----

these files are not in the /usr/pkg/share/aclocal directory, should they
be? where is my autoconf macro directory anyway?  I managed to find a
bunch of files with those names (under NetBSD/gnu/dist) and added them to
aclocal.m4 but I'm not sure if it made any difference..

----
Running ./configure --enable-maintainer-mode --prefix=/usr/local ...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
./configure: line 5092: syntax error near unexpected token `PACKAGE,'
./configure: line 5092: `PKG_CHECK_MODULES(PACKAGE, $pkg_modules)'
----

and here is the deal breaker; I can't find anything relating to
PKG_CHECK_MODULES in my system. If I dnl out the line, it proceeds and I
can gmake but then I need to specify a whole bunch of CPPFLAGS and LDFLAGS
in order to get anywhere, and I wonder if this line is supposed to handle
that.

Anybody got tips?

iain



Home | Main Index | Thread Index | Old Index