sm-grimoire AT lists.ibiblio.org
Subject: Discussion of Spells and Grimoire items
List archive
- From: Bas van Gils <bas.vangils AT cs.kun.nl>
- To: sm-grimoire AT lists.ibiblio.org
- Subject: Re: [SM-Grimoire] my first spell: boxes
- Date: Fri, 11 Apr 2003 11:25:06 +0200
On Fri, Apr 11, 2003 at 11:01:51AM +0200, Ladislav Hagara wrote:
> You must create BUILD file and describe building and installing of boxes.
> Read README file of boxes.
> [snip]
Ah, thank you for pointing that out. Actually, the build should look like
this:
DETAILS:
(
sedit "s/local\///g" Makefile
make
prepare_install
cp doc/boxes.1 /usr/man/man1
cp boxes-config /usr/share/boxes
cp src/boxes /usr/bin
) > $C_FIFO 2>&1
According to the documentation, all I had to do was make sure that I got rid
of the "local"-bit in the GLOBALCONF. However, when casting 'make' gives me
some errors:
sed -e 's/--BVERSION--/1.0.1/; s/--GLOBALCONF--/\/usr\/share\/boxes/'
src/boxes.h.in > src/boxes.h
sed -e 's/--BVERSION--/1.0.1/; s/--GLOBALCONF--/\/usr\/share\/boxes/'
doc/boxes.1.in > doc/boxes.1
make -C src build
make[1]: Entering directory `/usr/src/boxes-1.0.1/src'
make CFLAGS_ADDTL=-O boxes
make[2]: Entering directory `/usr/src/boxes-1.0.1/src'
bison -o parser.c -d parser.y
gcc -ansi -I. -Iregexp -Wall -W -O -c -o parser.o parser.c
flex -t lexer.l > lexer.tmp.c
echo '#include "config.h"' > lex.yy.c
cat lexer.tmp.c >> lex.yy.c
rm lexer.tmp.c
gcc -ansi -I. -Iregexp -Wall -W -O -c -o lex.yy.o lex.yy.c
lexer.l:119: redefinition of `yylineno'
lex.yy.c:439: `yylineno' previously defined here
make[2]: *** [lex.yy.o] Error 1
make[2]: Leaving directory `/usr/src/boxes-1.0.1/src'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/usr/src/boxes-1.0.1/src'
make: *** [build] Error 2
Aparantly there's more to it than that :-) I'll have to figure it out over the
weekend because it's time for me to leave for some more meetings. Thanx for
the help so far
Bas
--
drs. Bas van Gils <Bas.vanGils AT cs.kun.nl> - http://www.cs.kun.nl/~basvg
PGP Key fingerprint = 3805 664A F24E 90D5 6A77 C624 E13D 0440 2768 A493
>From sergey AT optimaltec.com Fri Apr 11 10:06:02 2003
Return-Path: <sergey AT optimaltec.com>
Delivered-To: sm-grimoire AT lists.ibiblio.org
Received: from dev.naniny.com (66-95-149-132.generic.nas-inter.net
[66.95.149.132])
by happyhouse.metalab.unc.edu (Postfix) with ESMTP id 5A88120005
for <sm-grimoire AT lists.ibiblio.org>;
Fri, 11 Apr 2003 10:06:02 -0400 (EDT)
Received: from optimaltec.com (unknown [192.168.10.226])
by dev.naniny.com (Postfix) with ESMTP
id EE2C623856; Fri, 11 Apr 2003 10:06:01 -0400 (EDT)
Message-ID: <3E96CBAC.2030103 AT optimaltec.com>
Date: Fri, 11 Apr 2003 10:05:32 -0400
From: "Sergey A. Lipnevich" <sergey AT optimaltec.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4a) Gecko/20030407
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Bas van Gils <bas.vangils AT cs.kun.nl>
Subject: Re: [SM-Grimoire] my first spell: boxes
References: <20030411083411.GA3223 AT loki.cs.kun.nl> <3E96847F.EA483EFD AT vabo.cz>
<20030411092506.GB3326 AT loki.cs.kun.nl>
In-Reply-To: <20030411092506.GB3326 AT loki.cs.kun.nl>
X-Enigmail-Version: 0.74.1.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
cc: sm-grimoire AT lists.ibiblio.org
X-BeenThere: sm-grimoire AT lists.ibiblio.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: Discussion of Spells and Grimoire items
<sm-grimoire.lists.ibiblio.org>
List-Unsubscribe: <http://lists.ibiblio.org/mailman/listinfo/sm-grimoire>,
<mailto:sm-grimoire-request AT lists.ibiblio.org?subject=unsubscribe>
List-Archive: <https://lists.ibiblio.org/sympa/arc/sm-grimoire>
List-Post: <mailto:sm-grimoire AT lists.ibiblio.org>
List-Help: <mailto:sympa AT lists.ibiblio.org?subject=HELP>
List-Subscribe: <http://lists.ibiblio.org/mailman/listinfo/sm-grimoire>,
<mailto:sm-grimoire-request AT lists.ibiblio.org?subject=subscribe>
X-List-Received-Date: Fri, 11 Apr 2003 14:06:02 -0000
Try to find out which "flex" version is good for this package, and use
`gaze version flex' to find out which one you have. That also means you
need a DEPENDS file with "depends flex" inside.
Bas van Gils wrote:
>On Fri, Apr 11, 2003 at 11:01:51AM +0200, Ladislav Hagara wrote:
>
>
>>You must create BUILD file and describe building and installing of boxes.
>>Read README file of boxes.
>>[snip]
>>
>>
>
>
>
(skipped)
>According to the documentation, all I had to do was make sure that I got rid
>of the "local"-bit in the GLOBALCONF. However, when casting 'make' gives me
>some errors:
>
> sed -e 's/--BVERSION--/1.0.1/; s/--GLOBALCONF--/\/usr\/share\/boxes/'
> src/boxes.h.in > src/boxes.h
> sed -e 's/--BVERSION--/1.0.1/; s/--GLOBALCONF--/\/usr\/share\/boxes/'
> doc/boxes.1.in > doc/boxes.1
> make -C src build
> make[1]: Entering directory `/usr/src/boxes-1.0.1/src'
> make CFLAGS_ADDTL=-O boxes
> make[2]: Entering directory `/usr/src/boxes-1.0.1/src'
> bison -o parser.c -d parser.y
> gcc -ansi -I. -Iregexp -Wall -W -O -c -o parser.o parser.c
> flex -t lexer.l > lexer.tmp.c
> echo '#include "config.h"' > lex.yy.c
> cat lexer.tmp.c >> lex.yy.c
> rm lexer.tmp.c
> gcc -ansi -I. -Iregexp -Wall -W -O -c -o lex.yy.o lex.yy.c
> lexer.l:119: redefinition of `yylineno'
> lex.yy.c:439: `yylineno' previously defined here
> make[2]: *** [lex.yy.o] Error 1
> make[2]: Leaving directory `/usr/src/boxes-1.0.1/src'
> make[1]: *** [build] Error 2
> make[1]: Leaving directory `/usr/src/boxes-1.0.1/src'
> make: *** [build] Error 2
>
>Aparantly there's more to it than that :-) I'll have to figure it out over
>the
>weekend because it's time for me to leave for some more meetings. Thanx for
>the help so far
>
> Bas
>
>
>
-
[SM-Grimoire] my first spell: boxes,
Bas van Gils, 04/11/2003
-
Message not available
-
Re: [SM-Grimoire] my first spell: boxes,
Bas van Gils, 04/11/2003
-
Re: [SM-Grimoire] my first spell: boxes,
Eric Sandall, 04/11/2003
- Re: [SM-Grimoire] my first spell: boxes, Bas van Gils, 04/11/2003
-
Re: [SM-Grimoire] my first spell: boxes,
Eric Sandall, 04/11/2003
-
Re: [SM-Grimoire] my first spell: boxes,
Bas van Gils, 04/11/2003
-
Message not available
Archive powered by MHonArc 2.6.24.