chicken-hackers
[Top][All Lists]
Advanced

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

[Chicken-hackers] Misc Help


From: Lawrence E. Bakst
Subject: [Chicken-hackers] Misc Help
Date: Tue, 27 May 2008 02:20:29 -0700

I am a new user. I could use the following help. It mostly revolves around 
needing source code for eggs.

1. What is the correct way to get the source code of a .egg? I can do:
% chicken-setup 9p

which works, but deletes the source code when it is done.

So I try:
% chicken-setup -fetch -download-path ./tmp 9p
to get an egg. Is that the best approach?

2. FYI In chicken-setup the doc says "-download-dir" but the real option is 
"-download-path"

3. When I do:
% chicken-setup -fetch -download-path eggs date-literals

It finds the dependencies for "date-literals" and downloads them but they don't 
go into -download-path.
Is that a bug?

4. I can't get easyffi to compile on  make PLATFORM=macosx ARCH=universal.
See log below:

Has trouble with -lcrt1.10.5.o.

Works on the gcc above the error with -bundle.

Any ideas?

Best,

leb




address@hidden:~/Desktop/chicken/chicken-3.2.0 % chicken-setup -v easyffi 

The extension easyffi does not exist.
Do you want to download it ? (yes/no/abort) [yes] 
gcc easyffi.c -o easyffi.o -c -no-cpp-precomp -fno-strict-aliasing -fno-common 
-DHAVE_CHICKEN_CONFIG_H -arch ppc -arch i386 -isysroot 
/Developer/SDKs/MacOSX10.4u.sdk -Os -fomit-frame-pointer -fPIC -DPIC -DC_SHARED 
-I /usr/local/include
rm easyffi.c

gcc easyffi.o -o easyffi.so -arch ppc -arch i386 -isysroot 
/Developer/SDKs/MacOSX10.4u.sdk -bundle -L/usr/local/lib -lchicken -lm
install_name_tool -change libchicken.dylib /usr/local/lib/libchicken.dylib 
easyffi.so
rm easyffi.o
make: checking chicken-wrap
make:  checking chicken-wrap.scm
make: making chicken-wrap because chicken-wrap does not exist
  /usr/local/bin/csc -feature compiling-extension -v -O2 -d0 chicken-wrap.scm
/usr/local/bin/chicken chicken-wrap.scm -output-file chicken-wrap.c -quiet 
-feature compiling-extension -optimize-level 2 -debug-level 0
Warning: local assignment to unused variable `##compiler#debugging-chicken' may 
be unintended

gcc chicken-wrap.c -o chicken-wrap.o -c -no-cpp-precomp -fno-strict-aliasing 
-fno-common -DHAVE_CHICKEN_CONFIG_H -arch ppc -arch i386 -isysroot 
/Developer/SDKs/MacOSX10.4u.sdk -Os -fomit-frame-pointer -I /usr/local/include
rm chicken-wrap.c

gcc chicken-wrap.o -o chicken-wrap -arch ppc -arch i386 -isysroot 
/Developer/SDKs/MacOSX10.4u.sdk -L/usr/local/lib -lchicken -lm
ld: library not found for -lcrt1.10.5.o
collect2: ld returned 1 exit status
ld: library not found for -lcrt1.10.5.o
collect2: ld returned 1 exit status

lipo: can't open input file: 
/var/folders/GL/GLz6zkrX2RWTnk+1YqNgYU+++TI/-Tmp-//ccfuka9u.out (No such file 
or directory)
*** Shell command terminated with exit status 1: gcc chicken-wrap.o -o 
chicken-wrap -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk 
-L/usr/local/lib -lchicken -lm
make: Failed to make chicken-wrap: shell invocation failed with non-zero return 
status
Error: shell invocation failed with non-zero return status
"/usr/local/bin/csc -feature compiling-extension -v -O2 -d0 chicken-wrap.scm"
256
address@hidden:~/Desktop/chicken/chicken-3.2.0 % chicken-setup -fetch 9p





reply via email to

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