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.
any helps are appreciated.
my machine is
firak# uname -a
FreeBSD firak.thai-aec.org 4.7-STABLE FreeBSD 4.7-STABLE #2: Sun Nov 10 14:44:19
ICT 2002 ro...@firak.thai-aec.org:/usr/obj/usr/src/sys/Firak i386
firak#
with best regards,
psr
To Unsubscribe: send mail to majo...@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message
>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.
>
>
For what its worth, I have the same error with bison at the moment.
Mabey something in bsd.port.mk?
Andy
thanks for your comments.
i have just finished cvsup ports and remake again. now it works fine.
very much thanks indeed.
with best regards,
psr
bison, and other ports, suffered from problems with the recent
PORTCOMMENT changes that have now been backed out of the ports tree:
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&safe=off&th=fb51787ac9544047&rnum=26
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&safe=off&th=2eafc17294a54d12&rnum=16
Tom
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; \
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
davep
here is the patch:
To Unsubscribe: send mail to majo...@FreeBSD.org
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 ro...@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: an...@fud.org.nz
> Cc: FreeBSD...@FreeBSD.ORG
> Subject: Re: unexpected error from make
> From: "David A. Panariti" <davep....@meduseld.net>
> X-Mailer: Mew version 2.2 on XEmacs 21.4.10 (Military Intelligence)