Skip to content
This repository was archived by the owner on Jan 16, 2025. It is now read-only.
This repository was archived by the owner on Jan 16, 2025. It is now read-only.

libzip 0.10.1: zipconf.h: No such file or directory #13390

@emiltin

Description

@emiltin

i'm getting the error when using libzip 0.10.1:
/usr/local/include/zip.h:51:21: error: zipconf.h: No such file or directory

seems other is having a similar problem:
http://foo-projects.org/pipermail/lunar-commits/2011-March/064971.html

i'm on mac 10.7, trying to build OSRM, which depends on libzip, and uses scons for the build process. here's an extract from the config.log file:

scons: Configure: Checking for C++ library zip... 
.sconf_temp/conftest_4.cpp <-
  |
  |
  |#include "zip.h"
  |
  |int
  |main() {
  |  
  |return 0;
  |}
  |
g++ -o .sconf_temp/conftest_4.o -c -O3 -DNDEBUG -minline-all-stringops -I/usr/include/libxml2 -I/usr/X11/include -I/usr/local/Cellar/libstxxl/1.3.1/include -I/usr/local/Cellar/boost/1.49.0/include .sconf_temp/conftest_4.cpp
In file included from .sconf_temp/conftest_4.cpp:3:
/usr/local/include/zip.h:51:21: error: zipconf.h: No such file or directory
In file included from .sconf_temp/conftest_4.cpp:3:
/usr/local/include/zip.h:187: error: 'zip_uint64_t' does not name a type
/usr/local/include/zip.h:189: error: 'zip_uint64_t' does not name a type
/usr/local/include/zip.h:190: error: 'zip_uint64_t' does not name a type
/usr/local/include/zip.h:191: error: 'zip_uint64_t' does not name a type
/usr/local/include/zip.h:193: error: 'zip_uint32_t' does not name a type
/usr/local/include/zip.h:194: error: 'zip_uint16_t' does not name a type
/usr/local/include/zip.h:195: error: 'zip_uint16_t' does not name a type
/usr/local/include/zip.h:196: error: 'zip_uint32_t' does not name a type
/usr/local/include/zip.h:203: error: typedef 'zip_int64_t' is initialized (use __typeof__ instead)
/usr/local/include/zip.h:203: error: 'zip_source_callback' was not declared in this scope
/usr/local/include/zip.h:208: error: 'zip_int64_t' does not name a type
/usr/local/include/zip.h:209: error: 'zip_int64_t' does not name a type
/usr/local/include/zip.h:211: error: 'zip_uint64_t' has not been declared
/usr/local/include/zip.h:215: error: 'zip_uint64_t' has not been declared
/usr/local/include/zip.h:224: error: 'zip_uint64_t' has not been declared
/usr/local/include/zip.h:226: error: 'zip_uint64_t' has not been declared
/usr/local/include/zip.h:228: error: 'zip_int64_t' does not name a type
/usr/local/include/zip.h:231: error: 'zip_uint64_t' has not been declared
/usr/local/include/zip.h:233: error: 'zip_uint64_t' has not been declared
/usr/local/include/zip.h:235: error: 'zip_uint64_t' has not been declared
/usr/local/include/zip.h:236: error: 'zip_uint64_t' does not name a type
/usr/local/include/zip.h:240: error: 'zip_uint64_t' has not been declared
/usr/local/include/zip.h:241: error: 'zip_uint64_t' has not been declared
/usr/local/include/zip.h:245: error: 'zip_uint64_t' has not been declared
/usr/local/include/zip.h:247: error: 'zip_uint64_t' has not been declared
/usr/local/include/zip.h:250: error: 'zip_uint64_t' has not been declared
/usr/local/include/zip.h:252: error: 'zip_uint64_t' has not been declared
/usr/local/include/zip.h:252: error: 'zip_int64_t' has not been declared
/usr/local/include/zip.h:254: error: 'zip_uint64_t' has not been declared
/usr/local/include/zip.h:254: error: 'zip_int64_t' has not been declared
/usr/local/include/zip.h:257: error: 'zip_source_callback' has not been declared
/usr/local/include/zip.h:259: error: 'zip_uint64_t' has not been declared
/usr/local/include/zip.h:260: error: 'zip_uint64_t' has not been declared
/usr/local/include/zip.h:260: error: 'zip_int64_t' has not been declared
/usr/local/include/zip.h:262: error: 'zip_uint64_t' has not been declared
/usr/local/include/zip.h:266: error: 'zip_uint64_t' has not been declared
scons: Configure: no

brew info:

~/code/Project-OSRM$ (master) brew doctor
Your system is raring to brew.

~/code/Project-OSRM$ (master) brew list
autoconf        geos            libsigc++       mongodb         proj
automake        giflib          libstxxl        mpfr            protobuf
binutils        gmp         libtiff         osm-pbf         protobuf-c
boost           google-sparsehash   libtool         osm2pgsql       readline
boost-build     icu4c           libxml2         osmosis         scons
boost-jam       imagemagick     libzip          ossp-uuid       sqlite
cairo           jasper          little-cms      pixman          valgrind
cairomm         jpeg            lua         pkg-config      xz
gcc         json-c          mapnik          postgis
gdal            libmpc          maven           postgresql

~/code/Project-OSRM$ (master) brew info libzip
libzip: stable 0.10.1
http://www.nih.at/libzip/
/usr/local/Cellar/libzip/0.10.1 (64 files, 420K) *
https://github.com/mxcl/homebrew/commits/master/Library/Formula/libzip.rb

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions