How to fix "Could not find ruby-tokyotyrant-0.5.1 in any of the sources"

Hi,

I try to run odk build in my local tomcat. So i tried this link
"https://github.com/clint-tseng/odkbuild/blob/master/README.textile". While
i run this line "rake db:dev:start" i am getting

/home/naveen/Desktop/odkbuild-master/Rakefile:80: warning: don't put space
before argument parentheses
/home/naveen/Desktop/odkbuild-master/Rakefile:109: warning: don't put space
before argument parentheses
/home/naveen/Desktop/odkbuild-master/Rakefile:122: warning: don't put space
before argument parentheses
/home/naveen/Desktop/odkbuild-master/Rakefile:140: warning: don't put space
before argument parentheses
Could not find ruby-tokyotyrant-0.5.1 in any of the sources

this error. Could please give me how to slove this error.

Operating System :
Distributor ID: Ubuntu
Description: Ubuntu 12.04.2 LTS
Release: 12.04
Codename: precise

Thanks,
Naveen.

Naveen,

Did you install Tokyo Tyrant? See
https://github.com/clint-tseng/odkbuild/issues/7 for some other ideas.

Yaw

··· -- Need ODK help? Go to http://nafundi.com for custom features, form design, implementation support, and user training for ODK.

On Sun, Jun 30, 2013 at 5:03 AM, NAVEENKUMAR G navi.it14@gmail.com wrote:

Hi,

I try to run odk build in my local tomcat. So i tried this link
"https://github.com/clint-tseng/odkbuild/blob/master/README.textile". While
i run this line "rake db:dev:start" i am getting

/home/naveen/Desktop/odkbuild-master/Rakefile:80: warning: don't put space
before argument parentheses
/home/naveen/Desktop/odkbuild-master/Rakefile:109: warning: don't put space
before argument parentheses
/home/naveen/Desktop/odkbuild-master/Rakefile:122: warning: don't put space
before argument parentheses
/home/naveen/Desktop/odkbuild-master/Rakefile:140: warning: don't put space
before argument parentheses
Could not find ruby-tokyotyrant-0.5.1 in any of the sources

this error. Could please give me how to slove this error.

Operating System :
Distributor ID: Ubuntu
Description: Ubuntu 12.04.2 LTS
Release: 12.04
Codename: precise

Thanks,
Naveen.

--
You received this message because you are subscribed to the Google Groups
"ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Thanks a lot Yaw Anokwa. Now I try to install ruby-tokyotyrant using "gem
install ruby-tokyotyrant -v 0.5.1". But i am getting following error

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

/usr/bin/ruby1.8 extconf.rb

checking for tcrdbnew() in -ltokyotyrant... no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.

Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/bin/ruby1.8
--with-tokyo_tyrant-dir
--without-tokyo_tyrant-dir
--with-tokyo_tyrant-include
--without-tokyo_tyrant-include=${tokyo_tyrant-dir}/include
--with-tokyo_tyrant-lib
--without-tokyo_tyrant-lib=${tokyo_tyrant-dir}/lib
--with-libtokyotyrant-dir
--without-libtokyotyrant-dir
--with-libtokyotyrant-include
--without-libtokyotyrant-include=${libtokyotyrant-dir}/include
--with-libtokyotyrant-lib
--without-libtokyotyrant-lib=${libtokyotyrant-dir}/lib
--with-tokyotyrantlib
--without-tokyotyrantlib
extconf.rb:33: shared library 'libtokyotyrant' not found (RuntimeError)

Gem files will remain installed in
/usr/lib/ruby/gems/1.8/gems/ruby-tokyotyrant-0.5.1 for inspection.
Results logged to
/usr/lib/ruby/gems/1.8/gems/ruby-tokyotyrant-0.5.1/ext/gem_make.out

Could please give me how to slove this error.

Operating System :
Distributor ID: Ubuntu
Description: Ubuntu 12.04.2 LTS
Release: 12.04
Codename: precise

Hi,

I used this link
http://techblog.ovidiudan.com/2009/05/installing-tokyo-tyrant-on-ubuntu-9.html to
installing Tokyo Tyrant on Ubuntu . After successfull installation of
tokyo cabinet and tokyotyrant, i try to run rake db:dev:start, it comes
with these errors

/home/naveen/Desktop/odkbuild-master/Rakefile:80: warning: don't put space
before argument parentheses
/home/naveen/Desktop/odkbuild-master/Rakefile:109: warning: don't put space
before argument parentheses
/home/naveen/Desktop/odkbuild-master/Rakefile:122: warning: don't put space
before argument parentheses
/home/naveen/Desktop/odkbuild-master/Rakefile:140: warning: don't put space
before argument parentheses
Could not find ruby-tokyotyrant-0.5.1 in any of the sources

Run 'bundle install' to install missing gems.

After that i type bundle install in terminal, it says as Gem :: Installer
:: ExtensionBuildError: Error: Failed to build gem native extension and then

An error occured while installing ruby-tokyotyrant (0.5.1), and bundler
cannot continue. Make sure that 'gem install ruby-tokyotyrant -v '0.5.1'
succeeds before bundling.

Could please give me details steps to slove this error.

··· > > Operating System : > Distributor ID: Ubuntu > Description: Ubuntu 12.04.2 LTS > Release: 12.04 > Codename: precise > > > Thanks, > Naveen. >

Naveen,

I believe ruby-tokyotyrant is the binding for Ruby to talk to Tokyo
Tyrant. You still need to download and compile Tokyo Tyrant from
source. That is, if you haven't run ./configure, make, and make
install, you probably haven't installed Tokyo Tyrant.

Yaw

··· -- Need ODK help? Go to http://nafundi.com for custom features, form design, implementation support, and user training for ODK.

On Sun, Jun 30, 2013 at 11:08 AM, NAVEENKUMAR G navi.it14@gmail.com wrote:

Thanks a lot Yaw Anokwa. Now I try to install ruby-tokyotyrant using "gem
install ruby-tokyotyrant -v 0.5.1". But i am getting following error

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

/usr/bin/ruby1.8 extconf.rb

checking for tcrdbnew() in -ltokyotyrant... no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.

Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/bin/ruby1.8
--with-tokyo_tyrant-dir
--without-tokyo_tyrant-dir
--with-tokyo_tyrant-include
--without-tokyo_tyrant-include=${tokyo_tyrant-dir}/include
--with-tokyo_tyrant-lib
--without-tokyo_tyrant-lib=${tokyo_tyrant-dir}/lib
--with-libtokyotyrant-dir
--without-libtokyotyrant-dir
--with-libtokyotyrant-include
--without-libtokyotyrant-include=${libtokyotyrant-dir}/include
--with-libtokyotyrant-lib
--without-libtokyotyrant-lib=${libtokyotyrant-dir}/lib
--with-tokyotyrantlib
--without-tokyotyrantlib
extconf.rb:33: shared library 'libtokyotyrant' not found (RuntimeError)

Gem files will remain installed in
/usr/lib/ruby/gems/1.8/gems/ruby-tokyotyrant-0.5.1 for inspection.
Results logged to
/usr/lib/ruby/gems/1.8/gems/ruby-tokyotyrant-0.5.1/ext/gem_make.out

Could please give me how to slove this error.

Operating System :
Distributor ID: Ubuntu
Description: Ubuntu 12.04.2 LTS
Release: 12.04
Codename: precise

--
You received this message because you are subscribed to the Google Groups
"ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Naveen,

At this point, not much else I can help with. Perhaps you can search
the web to find help on installing that version of ruby-tokyotyrant.

Yaw

··· -- Need ODK help? Go to http://nafundi.com for custom features, form design, implementation support, and user training for ODK.

On Mon, Jul 1, 2013 at 6:59 AM, NAVEENKUMAR G navi.it14@gmail.com wrote:

Hi,

I used this link
http://techblog.ovidiudan.com/2009/05/installing-tokyo-tyrant-on-ubuntu-9.html
to installing Tokyo Tyrant on Ubuntu . After successfull installation of
tokyo cabinet and tokyotyrant, i try to run rake db:dev:start, it comes
with these errors

/home/naveen/Desktop/odkbuild-master/Rakefile:80: warning: don't put space
before argument parentheses
/home/naveen/Desktop/odkbuild-master/Rakefile:109: warning: don't put space
before argument parentheses
/home/naveen/Desktop/odkbuild-master/Rakefile:122: warning: don't put space
before argument parentheses
/home/naveen/Desktop/odkbuild-master/Rakefile:140: warning: don't put space
before argument parentheses
Could not find ruby-tokyotyrant-0.5.1 in any of the sources

Run 'bundle install' to install missing gems.

After that i type bundle install in terminal, it says as Gem :: Installer ::
ExtensionBuildError: Error: Failed to build gem native extension and then

An error occured while installing ruby-tokyotyrant (0.5.1), and bundler
cannot continue. Make sure that 'gem install ruby-tokyotyrant -v '0.5.1'
succeeds before bundling.

Could please give me details steps to slove this error.

Operating System :
Distributor ID: Ubuntu
Description: Ubuntu 12.04.2 LTS
Release: 12.04
Codename: precise

Thanks,
Naveen.

--
You received this message because you are subscribed to the Google Groups
"ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.