Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Nov 2002 07:40:13 -0500
From:      Miklos Janosi <mjanosi@uakron.edu>
To:        Jeff Jirsa <jeff@unixconsults.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: make recursion
Message-ID:  <3DD399AD.940C313@uakron.edu>
References:  <20021113124725.P10281-100000@boris.st.hmc.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Jeff Jirsa wrote:
> 
> 
> Start with telling us which port you're trying to make,
> and then maybe some of the messages on the screen when the
> machine finally locks.
/usr/ports/textproc/scrollkeeper is the port that's
stuck in an infinite loop, but the port I am trying
to compile is /usr/ports/net/gaim. I got the latest
version from the following url:

http://www.freebsd.org/cgi/cvsweb.cgi/ports/net/gaim/gaim.tar.gz?tarball=1

But when I tried to make it I got this:
# make
"Makefile", line 40: Malformed conditional (${HAVE_GNOME:Mlibpanel}!= ""
&& !exists(${GNOME_PANEL2}))
"Makefile", line 46: if-less else
"Makefile", line 46: Need an operator
"Makefile", line 49: if-less endif
"Makefile", line 49: Need an operator
"Makefile", line 51: Malformed conditional (${HAVE_GNOME:Mesound}!="")
"Makefile", line 58: if-less else
"Makefile", line 58: Need an operator
"Makefile", line 60: if-less endif
"Makefile", line 60: Need an operator
make: fatal errors encountered -- cannot continue

So I edited the make file and commented out the offending
commands and the stuff I didn't want here's the diff:
40,46c40,46
< .if ${HAVE_GNOME:Mlibpanel}!= "" && !exists(${GNOME_PANEL2})
< USE_GNOME+=   libpanel
< RUN_DEPENDS=  ispell:${PORTSDIR}/textproc/ispell
< CONFIGURE_ARGS+=      --enable-panel
< PKGNAMESUFFIX=        -gnome
< PLIST_SUB+=   PANEL:="" NOPANEL:="@comment "
< .else
---
> #.if ${HAVE_GNOME:Mlibpanel}!= "" && !exists(${GNOME_PANEL2})
> #USE_GNOME+=  libpanel
> #RUN_DEPENDS= ispell:${PORTSDIR}/textproc/ispell
> #CONFIGURE_ARGS+=     --enable-panel
> #PKGNAMESUFFIX=       -gnome
> #PLIST_SUB+=  PANEL:="" NOPANEL:="@comment "
> #.else
49c49
< .endif
---
> #.endif
51,55c51,55
< .if ${HAVE_GNOME:Mesound}!=""
< USE_GNOME+=   esound
< .if defined(PKGNAMESUFFIX)
< PKGNAMESUFFIX:=       ${PKGNAMESUFFIX}-esound
< .else
---
> #.if ${HAVE_GNOME:Mesound}!=""
> #USE_GNOME+=  esound
> #.if defined(PKGNAMESUFFIX)
> #PKGNAMESUFFIX:=      ${PKGNAMESUFFIX}-esound
> #.else
57,60c57,60
< .endif
< .else
< CONFIGURE_ARGS+=      --disable-esd
< .endif
---
> #.endif
> #.else
> #CONFIGURE_ARGS+=     --disable-esd
> #.endif

Then I did:
	make WITHOUT_GNOME=yes NO_CHECKSUM=yes

I got errors in the following ports and downloaded
the newest ports for them (all in /usr/ports/textproc):
scrollkeeper
expat2
docbook-xsl

That's when I got in an infinite loop and no messages
came up and I couldn't telnet into the machine and I
got no response from the keyboard, so I rebooted. I
then worked backwards from docbook-xsl and did make clean.
When I got to scrollkeeper I noticed that top was
showing recursive makes being generated and that's where
I am now.

--                        ________________________
--   __    /|___  Two    |                        |
--  |  |  /     | wrongs |  Miki Janosi           |
-- _|  |_ \  ___| won't  |  mjanosi@uakron.edu    |
-- \    /  \|     make a |  (330) 972-8640        |
--  \  /  ___|\   right. |                        |
--   \/  |     \      /-----------------------/   |
--       |___  /      \     3 lefts will.     \ _/
--           |/        `------------------------

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DD399AD.940C313>