﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	difficulty
438	clean target removes generated setup-api DISTFILEs	cinch		"i'm trying to compile chicken on debian testing.
i found a small bug that happens with a ""make PLATFORM=linux
PREFIX=/opt install"":

gcc  -L. chicken-profile.o -o chicken-profile \
         -lchicken -Wl,-R""."" -lm -ldl
gcc -fno-strict-aliasing -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES
-I. -I./ -fPIC -DPIC \
         -c -Os -fomit-frame-pointer csc.c -o csc.o
gcc  -L. csc.o -o csc -lchicken -Wl,-R""."" -lm -ldl
chicken setup-api.scm -optimize-level 2 -include-path . -include-path
./ -inline -ignore-repository -no-warnings  -feature chicken-compile-shared -dynamic -emit-import-library setup-api \
         -output-file setup-api.c
make[1]: chicken: Command not found
make[1]: *** [setup-api.c] Error 127
make[1]: Leaving directory `/home/david/src/chicken-4.6.0'
make: *** [install] Error 2


in rules.make on line 917 it's calling $(CHICKEN) and there it says ""chicken"" isn't found.

if i set the PATH to include the current directory it works.
export PATH=$PATH:.


--------------------------------------------------

This is a bug report generated by chicken-bug(1).

Date:   Sat Dec  4 18:26:44 2010


User information:       (""david"" ""x"" 1000 1000 ""david,,,""
""/home/david"" ""/bin/bash"")

Host information:

       machine type:   x86-64
       software type:  unix
       software version:       linux
       build platform: gnu

CHICKEN version is:
Version 4.6.0
linux-unix-gnu-x86-64 [ 64bit manyargs ptables ]
compiled 2010-12-04 on mango (Linux)"	defect	closed	minor	4.9.0	build system	4.6.x	fixed	make		
