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

Re: [sup-devel] Tokyo Cabinet fails with invalid record header



On Saturday 18 June 2011 14:02:59 William Morgan wrote:
> I have pushed a branch called 'leveldb' that uses leveldb instead of
> TokyoCabinet. Can you try this please? You will need to install the
> 'leveldb-ruby' gem.

Sorry but I am unable to install the leveldb-gem. It complains about a missing 
header and I have already installed all the packages that contain that file and 
still no luck:

###########################################
sudo gem1.9.1 install leveldb-ruby
Building native extensions.  This could take a while...
ERROR:  Error installing leveldb-ruby:
        ERROR: Failed to build gem native extension.

/usr/bin/ruby1.9.1 extconf.rb
g++ -c -I. -I./include -DLEVELDB_PLATFORM_POSIX -std=c++0x -O2 -DNDEBUG        
-DUSE_SNAPPY=1 db/builder.cc -o db/builder.o
In file included from ./port/port.h:14:0,
                 from ./db/filename.h:14,
                 from db/builder.cc:7:
./port/port_posix.h:14:22: fatal error: cstdatomic: そのようなファイルやディレクトリはありません
compilation terminated.
make: *** [db/builder.o] エラー 1
##############################################

The error message says that the cstdatomic file does not exists. I installed 
the  libstdc++6-4.4-dev package that has the file in 
(/usr/include/c++/4.4/cstdatomic) but the build system fails to find it.

-- 
regards,                                                                                                                                                                                                       
Horacio Sanson
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel