Re: 0.52 make error
"DINH Viêt Hoà" <[email protected]> Wed, 26 Dec 2007 02:44:41 +0100
| Newsgroups | gmane.mail.libetpan.user |
|---|---|
| Message-ID | <[email protected]> |
On 12/25/07, Alex S Moore <[email protected]> wrote: > I sent this incorrectly. It should get to the list this time. Thanks > for letting me know of the problem, DINH > > ------------ > > I am trying to build 0.52 on Solaris 8. Ran autogen, which appeared to > work, and configure with my options. From gmake, I get the follwoing. > > gmake[2]: Entering directory `/export/medusa/asmoore/build/libetpan-0.52' > Making prepare in build-windows > gmake[3]: Entering directory > `/export/medusa/asmoore/build/libetpan-0.52/build-windows' > /bin/bash: -c: line 6: syntax error near unexpected token `;' > /bin/bash: -c: line 6: ` && for hdr in ; do \' > gmake[3]: *** [prepare-am] Error 2 > gmake[3]: Leaving directory > `/export/medusa/asmoore/build/libetpan-0.52/build-windows' > > > I looked at the Makefile and it looks like $(etpaninclude_HEADERS) is > not getting set. > > How do I fix this? Hello, Could you try this patch (you have to checkout the CVS and apply the patch) ? -- DINH Viêt Hoà ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Libetpan-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libetpan-users
rules-mk.patch
(application/octet-stream, 1.3 KB)
Index: rules.mk
===================================================================
RCS file: /cvsroot/libetpan/libetpan/rules.mk,v
retrieving revision 1.2
diff -u -r1.2 rules.mk
--- rules.mk 16 Jul 2007 19:08:36 -0000 1.2
+++ rules.mk 26 Dec 2007 01:34:40 -0000
@@ -129,14 +129,16 @@
$(mkinstalldirs) $(top_builddir)/include/libetpan/;\
echo "cd $(top_builddir)/include/libetpan/"; \
cd $(top_builddir)/include/libetpan/ \
- && for hdr in $(etpaninclude_HEADERS); do \
- if test -e ../../$(subdir)/$${hdr}; then \
- echo "$(LN_S) -f ../../$(subdir)/$${hdr}"; \
- $(LN_S) -f ../../$(subdir)/$${hdr}; \
- else \
- echo "$(LN_S) -f ../../$(subdir)/$(srcdir)/$${hdr}"; \
- $(LN_S) -f ../../$(subdir)/$(srcdir)/$${hdr}; \
- fi; \
+ && for hdr in $(etpaninclude_HEADERS) list_end; do \
+ if test $${hdr} != list_end; then \
+ if test -e ../../$(subdir)/$${hdr}; then \
+ echo "$(LN_S) -f ../../$(subdir)/$${hdr}"; \
+ $(LN_S) -f ../../$(subdir)/$${hdr}; \
+ else \
+ echo "$(LN_S) -f ../../$(subdir)/$(srcdir)/$${hdr}"; \
+ $(LN_S) -f ../../$(subdir)/$(srcdir)/$${hdr}; \
+ fi; \
+ fi; \
done; \
fi