gstrauss / mcdb

mcdb - fast, reliable, simple code to create and read constant databases

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot compile MCDB_File-0.0105 on Mac OS X

spiritloose opened this issue · comments

Hi,

I've tried to install MCDB_File-0.0105 on Mac OS X, but the following errors occurred.

I think MCDB_File-0.0105 contains the old one.

Can you please check it?

plasma/plasma_sysconf.c:71:6: error: "sysconf(_SC_NPROCESSORS_ONLN) not implemented"
    #error "sysconf(_SC_NPROCESSORS_ONLN) not implemented"
     ^
1 error generated.
make[1]: *** [plasma/plasma_sysconf.o] Error 1
make: *** [mcdb/libmcdb.a] Error 2
-> FAIL Installing MCDB_File failed. See /Users/jiro/.cpanm/work/1386134935.70950/build.log for details. Retry with --force to force install it.

Released MCDB_File-0.0106 to pause.perl.org

Thanks!
The installation was successfully finished with this command.

$ cpanm --mirror http://cpan.cpantesters.org/ -l extlib MCDB_File