AeroEng43 / shedskin

Automatically exported from code.google.com/p/shedskin
0 stars 0 forks source link

A library dependency needs to be made explicit #14

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. tar cvf shedskin-0.0.28.tgz 
2. cp shedskin ~/bin
3. cd ../somewhere
4. shedskin vectorD.py   
5. make

What is the expected output? What do you see instead?

I expect to see compliation.   Instead, I see lots of error
messages indicating that some library is unavailable.

> $ make
> g++  -O3 -pipe -fomit-frame-pointer  -I.
-I/home/mace/gpk/DOWNLOADS/shedskin-0.0.28/lib
/home/mace/gpk/DOWNLOADS/shedskin-0.0.28/lib/builtin.cpp vectorD.cpp -lgc 
-o vectorD
> In file included from
/home/mace/gpk/DOWNLOADS/shedskin-0.0.28/lib/builtin.cpp:1:
> /home/mace/gpk/DOWNLOADS/shedskin-0.0.28/lib/builtin.hpp:8:29: error:
gc/gc_allocator.h: No such file or directory
> /home/mace/gpk/DOWNLOADS/shedskin-0.0.28/lib/builtin.hpp:9:23: error:
gc/gc_cpp.h: No such file or directory
> In file included from
/home/mace/gpk/DOWNLOADS/shedskin-0.0.28/lib/builtin.cpp:1:
> /home/mace/gpk/DOWNLOADS/shedskin-0.0.28/lib/builtin.hpp:156: error:
‘gc_allocator’ was not declared in this scope
> ...

What version of the product are you using? On what operating system?
shedskin 0.0.28
xubuntu 8.04

Please provide any additional information below.

All I really need is a little documentation on what libraries
are needed.   Ideally, the installer would check to make sure
they exist.

Original issue reported on code.google.com by gpk...@gmail.com on 29 Jul 2008 at 11:26

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
To run shedskin, you need the Boehm garbage collector (libgc-dev) and if you 
want to
use the re, glob, or fnmatch modules, you need PCRE (libpcre3-dev), which is
optional. You seem to be missing the garbage collector.

About making this more explicit, we'll have to wait for mark, but it is already
written in the readme.

Original comment by fet...@gmail.com on 29 Jul 2008 at 1:40

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
thanks for reporting. in the future, setup.py should perhaps check for 
dependencies,
or we should use some specialized tool for this. 

btw, the shedskin debian package should probably work fine on xubuntu, but you
probably knew that.

Original comment by mark.duf...@gmail.com on 30 Jul 2008 at 7:54

GoogleCodeExporter commented 8 years ago

Original comment by mark.duf...@gmail.com on 30 Jul 2008 at 8:11

GoogleCodeExporter commented 8 years ago
I guess the tutorial is clear enough about this for now..

Original comment by mark.duf...@gmail.com on 29 Mar 2009 at 7:27