chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] build failure and some questions about using chicken-bel


From: ipcore
Subject: [Chicken-users] build failure and some questions about using chicken-belt
Date: Sun, 24 Feb 2019 13:30:39 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0

Hello,

I would like to transition from my current system-wide installation of Chicken 4.13.0 to a coop of different Chickens installed in ~/chickens, managed by chicken-belt. Namely, I want to have 4.13.0, 5.0.0, and a cross-chicken for MinGW (most likely based on 5.0.0) available.

Steps taken so far:

- create ~/chickens and set CHICKENS env var
- Download & extracted the 4.13.0 and 5.0.0. tarballs

Now trying to build 4.13.0 with

$ make PLATFORM=linux PREFIX=$CHICKEN/4.13.0

which fails with

cat: buildid: No such file or directory
cat: buildtag.h: No such file or directory
chicken build-version.scm -optimize-level 2 -include-path . -include-path ./ -inline -ignore-repository -feature chicken-bootstrap -no-warnings -specialize -types ./types.db -explicit-use -no-trace -output-file build-version.c clang -fno-strict-aliasing -fwrapv -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -c -Os -fomit-frame-pointer -DC_BUILDING_LIBCHICKEN build-version.c -o build-version-static.o -I. -I./
build-version.c:13:10: fatal error: 'buildtag.h' file not found
#include "buildtag.h"
         ^~~~~~~~~~~~
1 error generated.
make: *** [rules.make:131: build-version-static.o] Error 1

The build for 5.0.0 fails with the same error. How can I resolve this?

Also, I'm a bit unsure how to proceed afterwards. My plan was as follows:

- build 4.13.0
- uninstall the system-wide install
- add $CHICKENS/4.13.0 to PATH
- chicken-install chicken-belt
- chicken-select 4.13.0
- remove $CHICKENS/4.13.0 from path, add $CHICKENS/use-this/bin
- build 5.0.0.

Would that work? Anything else I need to consider?


Best wishes,
-Heinz




reply via email to

[Prev in Thread] Current Thread [Next in Thread]