Bugs: Browse | Submit New | Admin

[#24484] cannot install

Date:
2009-03-12 08:49
Priority:
3
Submitted By:
Thomas Preymesser (thopre)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
cannot install

Detailed description
i get these error messages:

Building native extensions.  This could take a while...
ERROR:  Error installing crate:
	ERROR: Failed to build gem native extension.

/usr/local/bin/ruby extconf.rb install crate
creating Makefile

make
gcc -I. -I/usr/local/include/ruby-1.9.1/i686-linux -I/usr/local/include/ruby-1.9.1/ruby/backward
-I/usr/local/include/ruby-1.9.1 -I. -D_FILE_OFFSET_BITS=64  -fPIC  -O3 -g -Wall -Wno-parentheses
-DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_OMIT_BUILTIN_TEST=1 -DSQLITE_THREADSAFE=0  -o sqlite3.o
-c sqlite3.c
sqlite3.c: In function ‘findLockInfo’:
sqlite3.c:22709: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
sqlite3.c: At top level:
sqlite3.c:10685: warning: ‘sqlite3BenignMallocHooks’ declared ‘static’ but never defined
sqlite3.c:10765: warning: ‘sqlite3BitvecBuiltinTest’ declared ‘static’ but never defined
sqlite3.c:10841: warning: ‘sqlite3PrngSaveState’ declared ‘static’ but never defined
sqlite3.c:10842: warning: ‘sqlite3PrngRestoreState’ declared ‘static’ but never defined
sqlite3.c:10843: warning: ‘sqlite3PrngResetState’ declared ‘static’ but never defined
sqlite3.c: In function ‘dotlockUnlock’:
sqlite3.c:23577: warning: ‘rc’ may be used uninitialized in this function
sqlite3.c: In function ‘sqlite3WhereBegin’:
sqlite3.c:45222: warning: assuming signed overflow does not occur when assuming that (X - c) <= X is always true
sqlite3.c: In function ‘sqlite3Update’:
sqlite3.c:77728: warning: ‘sContext.zAuthContext’ may be used uninitialized in this function
sqlite3.c: In function ‘sqlite3DeleteFrom’:
sqlite3.c:65462: warning: ‘sContext.zAuthContext’ may be used uninitialized in this function
sqlite3.c: In function ‘sqlite3VdbeExec’:
sqlite3.c:52972: warning: ‘iMoved’ may be used uninitialized in this function
sqlite3.c:52721: warning: ‘res’ may be used uninitialized in this function
sqlite3.c:52486: warning: ‘iKey’ may be used uninitialized in this function
sqlite3.c: In function ‘ChooseLeaf’:
sqlite3.c:100609: warning: ‘fMinArea’ may be used uninitialized in this function
sqlite3.c:100608: warning: ‘fMinGrowth’ may be used uninitialized in this function
sqlite3.c:100606: warning: ‘iBest’ may be used uninitialized in this function
gcc -I. -I/usr/local/include/ruby-1.9.1/i686-linux -I/usr/local/include/ruby-1.9.1/ruby/backward
-I/usr/local/include/ruby-1.9.1 -I. -D_FILE_OFFSET_BITS=64  -fPIC  -O3 -g -Wall -Wno-parentheses
-DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_OMIT_BUILTIN_TEST=1 -DSQLITE_THREADSAFE=0  -o
amalgalite3_statement.o -c amalgalite3_statement.c
amalgalite3_statement.c: In function ‘am_sqlite3_statement_bind_blob’:
amalgalite3_statement.c:76: error: ‘struct RString’ has no member named ‘ptr’
amalgalite3_statement.c:76: error: ‘struct RString’ has no member named ‘len’
amalgalite3_statement.c: In function ‘am_sqlite3_statement_bind_double’:
amalgalite3_statement.c:105: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘VALUE’
amalgalite3_statement.c: In function ‘am_sqlite3_statement_bind_int’:
amalgalite3_statement.c:130: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
amalgalite3_statement.c: In function ‘am_sqlite3_statement_bind_int64’:
amalgalite3_statement.c:155: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type
‘sqlite3_int64’
amalgalite3_statement.c: In function ‘am_sqlite3_statement_bind_text’:
amalgalite3_statement.c:176: error: ‘struct RString’ has no member named ‘ptr’
amalgalite3_statement.c:176: error: ‘struct RString’ has no member named ‘len’
amalgalite3_statement.c:179: error: ‘struct RString’ has no member named ‘ptr’
make: *** [amalgalite3_statement.o] Error 1




$ ruby -v
ruby 1.9.2dev (2009-03-11 trunk 22891) [i686-linux]

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item