Re: Compiling with Cygwin

[email protected] (Geert Stappers) Tue, 15 Mar 2005 10:59:07 +0100
Newsgroups gmane.editors.conglomerate.devel
Message-ID <[email protected]>
On Mon, Mar 14, 2005 at 03:55:40PM +0100, Asger Alstrup wrote:
> Hi,
> 
> I'm trying to compile Conglomerate with Cygwin on Windows. I've checked out
> conglomerate and gnome-common from CVS. In gnome-common, I've ./autogen.sh,
> and make and make install. That went fine.
> 
> Then I run ./autogen.sh in conglomerate, which gives some problems:

Not problems,
only confusioning output.

> 
> --
> $ ./autogen.sh  > output.txt
> autoconf2.50: not found
> **Warning**: I am going to run `configure' with no arguments.
> If you wish to pass any to it, please specify them on the
> `./autogen.sh' command line.
> 
> gnome-config: not found
> gnome-config: not found
> Package gtksourceview-1.0 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `gtksourceview-1.0.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'gtksourceview-1.0' found
> gnome-config: not found
> gnome-config: not found
> Package enchant was not found in the pkg-config search path.
> Perhaps you should add the directory containing `enchant.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'enchant' found
> --

The output.txt ends with:

|                           prefix: /usr/local
|             source code location: .
|                         compiler: gcc
| 
|                          -Werror: no
|                            GConf: yes
|                   gtk_doc enable: yes
|                  printing enable: no
|                     libfo enable: no
|                    sewfox enable: no
|             gtksourceview enable: no
|                   enchant enable: no
| 
| Now type `make' to compile Conglomerate

And that is fine.

> 
> In the archive attached, you can find the resulting "output.txt", as well
> as the Makefile that is generated.
> 
> Then, when I run make, I get this:
> 
> $ make
> Makefile:426: *** missing separator.  Stop.

Okay, let's see what is around line 426 in the Makefile:

$ awk '{ print FNR ":" $0 }' Makefile | grep --context 12 ^426
414:all-recursive check-recursive installcheck-recursive info-recursive \
415:dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
416:maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
417:distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
418:dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \
419:install-exec-am install-exec install-data-am install-data install-am \
420:install uninstall-am uninstall all-redirect all-am all installdirs-am \
421:installdirs mostlyclean-generic distclean-generic clean-generic \
422:maintainer-clean-generic clean mostlyclean distclean maintainer-clean
423:
424:
425:
426:  README.xml            \
427:  .diffexclude              \
428:  conglomerate.spec.in      \
429:  intltool-extract.in       \
430:  intltool-merge.in \
431:  intltool-update.in        \
432:  omf.make              \
433:  xmldocs.make          \
434:  $(NULL)
435:
436:
437:# Tell versions [3.59,3.63) of GNU make to not export all variables.
438:# Otherwise a system limit (for SysV at least) may be exceeded.


The README.xml, intltool* and others are from
$ tail -20 Makefile.am

NULL =

EXTRA_DIST = BUGS       \
  README.xml            \
  .diffexclude          \
  conglomerate.spec.in  \
  intltool-extract.in   \
  intltool-merge.in     \
  intltool-update.in    \
  omf.make              \
  xmldocs.make          \
  $(NULL)

## # when we switch to automake1.7, we will need this:
##distuninstallcheck_listfiles = find . \
##   -type f -print | \
##   grep -v '^\./var/scrollkeeper' | \
##   grep -v '^\./share/gnome/help/conglomerate/C/faq.xml'
## # but it will need more to get a fine `make distcheck`




> 
> Any ideas?

rerun

   ./configure


and if that doesn't help, two possiblities
* find out what is wrong with the automake / autoconf stuff
* modify your Makefile as documented in the attached patch.

> 
> Please respond to my private e-mail, since I'm not subscribed to the
> mailing list.

I[1] do read that as:

 "I take from the community
  and the community should provide me with more information."


Yeah, sure.


> Thanks,
> Asger Ottar Alstrup


No hard feelings
Geert Stappers

[1] Warning: I'm getting personal

_______________________________________________
Conglomerate-devel mailing list
[email protected]
http://lists.copyleft.no/mailman/listinfo/conglomerate-devel
makefile.patch (text/plain, 966 B)
--- Makefile.wrong	2005-03-14 15:26:04.000000000 +0100
+++ Makefile	2005-03-15 10:46:51.000000000 +0100
@@ -134,6 +134,15 @@
 SUBDIRS = src po data doc dispspecs examples pixmaps glade templates debian
 NULL = 
 EXTRA_DIST = BUGS	\
+  README.xml            \
+  .diffexclude		\
+  conglomerate.spec.in	\
+  intltool-extract.in	\
+  intltool-merge.in	\
+  intltool-update.in	\
+  omf.make              \
+  xmldocs.make          \
+  $(NULL)
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
 CONFIG_HEADER = config.h
@@ -423,16 +432,6 @@
 
 
 
-  README.xml            \
-  .diffexclude		\
-  conglomerate.spec.in	\
-  intltool-extract.in	\
-  intltool-merge.in	\
-  intltool-update.in	\
-  omf.make              \
-  xmldocs.make          \
-  $(NULL)
-
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFCNrHrOSINbgwa/7sRAqJkAJ91xJbyNyP3iVciHjLeqg4xNMORFQCgvhtR
u5dk2AuR1xSVNtH1heuylFw=
=09qB
-----END PGP SIGNATURE-----