silpol / pyspatialite

Automatically exported from code.google.com/p/pyspatialite
zlib License
0 stars 0 forks source link

lipo: can't open input file: /var/folders/M6/M6IVBPvkFlG2R1gxiKlBqE+++TI/-Tmp-//ccjgs4HE.out (No such file or directory) #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.
execute python setup.py install

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

I ommit a long list of errors and warnings since I do not know how to
redirect "setup.py install" output into a file.

the last two lines:

lipo: can't open input file:
/var/folders/M6/M6IVBPvkFlG2R1gxiKlBqE+++TI/-Tmp-//ccSOYlxe.out (No such
file or directory)
error: command 'gcc-4.2' failed with exit status 1

What version of the product are you using? On what operating system?

uname -a
Darwin Macintosh-4.local 10.3.0 Darwin Kernel Version 10.3.0: Fri Feb 26
11:58:09 PST 2010; root:xnu-1504.3.12~1/RELEASE_I386 i386

Please provide any additional information below.

Original issue reported on code.google.com by bernhard...@mac.com on 15 May 2010 at 11:14

GoogleCodeExporter commented 8 years ago
I'd need to see the full output log.  You are probably missing either the PROJ 
or GEOM libraries.

Original comment by lok...@gmail.com on 15 May 2010 at 6:07

GoogleCodeExporter commented 8 years ago

Original comment by bernhard...@mac.com on 15 May 2010 at 7:21

Attachments:

GoogleCodeExporter commented 8 years ago
yup, first two lines:
amalgamation/spatialite.c:85:20: error: geos_c.h: No such file or directory
amalgamation/spatialite.c:89:22: error: proj_api.h: No such file or directory

as the project home page says, install the PROJ4 and GEOS frameworks from 
http://www.kyngchaos.com/software:frameworks , then rename the setup.cfg.OSX to 
setup.cfg - that should 
make it all work for you.  alternatively, you can edit the setup.cfg file to 
point to any other installs of PROJ4 and 
GEOS you are using.

PROJ4 and GEOS are not *really* required for spatialite's minimal feature set, 
but currently I only build the full 
version.  I could allow it to build without them in the future if requested.  I 
should also make it a more friendly 
error message,

Original comment by lok...@gmail.com on 16 May 2010 at 5:16