Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 2002 22:49:02 +0700
From:      pirat <pirat@access.inet.co.th>
To:        "David A. Panariti" <davep.freebsd@meduseld.net>
Cc:        FreeBSD-stable@FreeBSD.ORG
Subject:   Re: unexpected error from make
Message-ID:  <20021113154902.GA2079@thai-aec.org>
In-Reply-To: <20021110.214510.608042616.davep@meduseld.net>
References:  <20021111013430.GA1785@thai-aec.org> <02Nov11.143712nzdt.119042@homer.fire.org.nz> <20021110.214510.608042616.davep@meduseld.net>

next in thread | previous in thread | raw e-mail | index | archive | help
hi sirs,

after reading Andrew hints, my instinct tells me that i should cvsup a fresh(y) ports tree and remake agian.

the result was once again unexpected.

there is no error at all, sure enough after remaking world with GENERIC kernel.
i do not understand also. my system is

FreeBSD firak.thai-aec.org 4.7-STABLE FreeBSD 4.7-STABLE #2: Sun Nov 10 14:44:19
 ICT 2002     root@firak.thai-aec.org:/usr/obj/usr/src/sys/Firak  i386
%

anyway, i thanks to you all very much indeed.

with best regards,
psr


On Sun, Nov 10, 2002 at 09:45:10PM -0500, David A. Panariti wrote:
> Date: Sun, 10 Nov 2002 21:45:10 -0500 (EST)
> To: andy@fud.org.nz
> Cc: FreeBSD-stable@FreeBSD.ORG
> Subject: Re: unexpected error from make
> From: "David A. Panariti" <davep.freebsd@meduseld.net>
> X-Mailer: Mew version 2.2 on XEmacs 21.4.10 (Military Intelligence)
> 
> >>>>> "Andrew" == Andrew Thompson <andy@fud.org.nz> writes:
> 
>    Andrew> pirat wrote:
>    >> hi sirs,
>    >>
>    >> i face an unexpected error from making ImageMagick. they are
>    >>
>    >> install -c -o root -g wheel -m 444
>    >> ./www/Magick++/thumbnail-sample-plain.jpg /us
>    >> r/local/share/doc/ImageMagick/www/Magick++ ===> Generating
>    >> temporary packing list ===> Compressing manual pages for
>    >> ImageMagick-5.5.1.4 ===> Running ldconfig /sbin/ldconfig -m
>    >> /usr/local/lib Syntax error: "(" unexpected (expecting "fi")
>    >> *** Error code 2
>    >> Stop in /usr/ports/graphics/ImageMagick.
>    >>
>    >> i do not know how to solve this problem.  the only way is to
>    >> rebuild my machine from source again.  after my mchine is up, i
>    >> remake the port again. and i still have the same error.
>    >>
>    >>
> 
>    Andrew> For what its worth, I have the same error with bison at the
>    Andrew> moment.
>    Andrew>  Mabey something in bsd.port.mk?
> 
> I ran into this with bison too.  Here's the details.  I sent this to
> the ports list the other day.  The ImageMagic error may be due to a
> different variable w/shell metachars, or a different problem entirely.
> 
> While installing the port for devel/bison, I kept getting errors.
> It turns out that bison has a PORTCOMMENT value with parens in it
> which confuses the shell.
> Putting quotes around the ${PORTCOMMENT} being echoed into the
> +COMMENT file fixed things.
> There may be other cases where vars should be quoted, too.  Sorry, but
> I don't have the time to search for them.
> I'm not subscribed to this list, so I appreciate being CC'd on any
> followup.
> 
> davep
> 
> here is the patch:
> 
> --- bsd.port.mk.ORIG	Thu Nov  7 16:18:39 2002
> +++ bsd.port.mk	Thu Nov  7 16:18:48 2002
> @@ -3566,7 +3566,7 @@
>  		if [ -f ${COMMENT} ]; then \
>  			${CP} ${COMMENT} ${PKG_DBDIR}/${PKGNAME}/+COMMENT; \
>  		else \
> -			${ECHO_CMD} ${PORTCOMMENT} > ${PKG_DBDIR}/${PKGNAME}/+COMMENT; \
> +			${ECHO_CMD} "${PORTCOMMENT}" > ${PKG_DBDIR}/${PKGNAME}/+COMMENT; \
>  		fi; \
>  		if [ -f ${PKGINSTALL} ]; then \
>  			${CP} ${PKGINSTALL} ${PKG_DBDIR}/${PKGNAME}/+INSTALL; \
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-stable" in the body of the message
> 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021113154902.GA2079>