<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:series="http://unfoldingneurons.com/"
		>
<channel>
	<title>Comments on: TokyoCabinet Linux Install Script</title>
	<atom:link href="http://www.supermind.org/blog/571/tokyocabinet-linux-install-script/feed" rel="self" type="application/rss+xml" />
	<link>http://www.supermind.org/blog/571/tokyocabinet-linux-install-script</link>
	<description>A blog on Lucene, Solr, crawling and vertical search</description>
	<lastBuildDate>Tue, 31 Jan 2012 16:00:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: glen</title>
		<link>http://www.supermind.org/blog/571/tokyocabinet-linux-install-script/comment-page-1#comment-17118</link>
		<dc:creator>glen</dc:creator>
		<pubDate>Sat, 17 Jul 2010 06:52:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.supermind.org/?p=571#comment-17118</guid>
		<description>I am compiling the exact version as you, using your instructions, on Fedora 13 IA-64.
TC compiles OK, but when I go to compile TC-Java, I get:
hdb.c: In function ‘Java_tokyocabinet_HDB_errmsg’:
hdb.c:35: warning: implicit declaration of function ‘tchdberrmsg’
hdb.c:35: warning: passing argument 2 of ‘(*env)-&gt;NewStringUTF’ makes pointer from integer without a cast
hdb.c:35: note: expected ‘const char *’ but argument is of type ‘int’
hdb.c:37: warning: implicit declaration of function ‘throwoutmem’
hdb.c: In function ‘Java_tokyocabinet_HDB_ecode’:
hdb.c:55: error: ‘TCHDB’ undeclared (first use in this function)
hdb.c:55: error: (Each undeclared identifier is reported only once
hdb.c:55: error: for each function it appears in.)
hdb.c:55: error: ‘hdb’ undeclared (first use in this function)
hdb.c:55: error: expected expression before ‘)’ token
hdb.c:56: warning: implicit declaration of function ‘tchdbecode’
.
.
.
....more

Any ideas?
Thanks,
Glen</description>
		<content:encoded><![CDATA[<p>I am compiling the exact version as you, using your instructions, on Fedora 13 IA-64.<br />
TC compiles OK, but when I go to compile TC-Java, I get:<br />
hdb.c: In function ‘Java_tokyocabinet_HDB_errmsg’:<br />
hdb.c:35: warning: implicit declaration of function ‘tchdberrmsg’<br />
hdb.c:35: warning: passing argument 2 of ‘(*env)-&gt;NewStringUTF’ makes pointer from integer without a cast<br />
hdb.c:35: note: expected ‘const char *’ but argument is of type ‘int’<br />
hdb.c:37: warning: implicit declaration of function ‘throwoutmem’<br />
hdb.c: In function ‘Java_tokyocabinet_HDB_ecode’:<br />
hdb.c:55: error: ‘TCHDB’ undeclared (first use in this function)<br />
hdb.c:55: error: (Each undeclared identifier is reported only once<br />
hdb.c:55: error: for each function it appears in.)<br />
hdb.c:55: error: ‘hdb’ undeclared (first use in this function)<br />
hdb.c:55: error: expected expression before ‘)’ token<br />
hdb.c:56: warning: implicit declaration of function ‘tchdbecode’<br />
.<br />
.<br />
.<br />
....more</p>
<p>Any ideas?<br />
Thanks,<br />
Glen</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kelvin</title>
		<link>http://www.supermind.org/blog/571/tokyocabinet-linux-install-script/comment-page-1#comment-16967</link>
		<dc:creator>Kelvin</dc:creator>
		<pubDate>Wed, 30 Dec 2009 17:17:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.supermind.org/?p=571#comment-16967</guid>
		<description>Hey Yuqian, java.lang.UnstatisfiedLinkError is a really typical problem. 

Assuming your native libraries are installed to /usr/local/lib, I usually solve it by doing this:

&lt;blockquote&gt;java -Djava.library.path=/usr/local/lib MainClass&lt;/blockquote&gt;</description>
		<content:encoded><![CDATA[<p>Hey Yuqian, java.lang.UnstatisfiedLinkError is a really typical problem. </p>
<p>Assuming your native libraries are installed to /usr/local/lib, I usually solve it by doing this:</p>
<blockquote><p>java -Djava.library.path=/usr/local/lib MainClass</p></blockquote>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yuqian Li</title>
		<link>http://www.supermind.org/blog/571/tokyocabinet-linux-install-script/comment-page-1#comment-16966</link>
		<dc:creator>Yuqian Li</dc:creator>
		<pubDate>Wed, 30 Dec 2009 14:20:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.supermind.org/?p=571#comment-16966</guid>
		<description>Hey  Kelvin
I ask a question again.Need you help!
In ubunt9.10 ,with stardard install code as follow:

cd /home/administrator/tokyocabinet-1.4.40
./configure
make
make install

cd
cd /home/administrator/tokyocabinet-java-1.22
./configure
make
make install

then  gedit /etc/profile
I then put the follow two line in it,then restart my computer
export CLASSPATH=$CLASSPATH:/usr/local/lib/tokyocabinet.jar
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lin

then enter tokyocabinet-java-1.22/exmaple
I input 
make
no error 
but when input 
java  TCADBEX 
there is error  Exception in thread main java.lang.UnstatisfiedLinkError 
no jtokyocabinet in java.library.path

Would you give an example can be runable?
so much thanks!

Yuqian</description>
		<content:encoded><![CDATA[<p>Hey  Kelvin<br />
I ask a question again.Need you help!<br />
In ubunt9.10 ,with stardard install code as follow:</p>
<p>cd /home/administrator/tokyocabinet-1.4.40<br />
./configure<br />
make<br />
make install</p>
<p>cd<br />
cd /home/administrator/tokyocabinet-java-1.22<br />
./configure<br />
make<br />
make install</p>
<p>then  gedit /etc/profile<br />
I then put the follow two line in it,then restart my computer<br />
export CLASSPATH=$CLASSPATH:/usr/local/lib/tokyocabinet.jar<br />
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lin</p>
<p>then enter tokyocabinet-java-1.22/exmaple<br />
I input<br />
make<br />
no error<br />
but when input<br />
java  TCADBEX<br />
there is error  Exception in thread main java.lang.UnstatisfiedLinkError<br />
no jtokyocabinet in java.library.path</p>
<p>Would you give an example can be runable?<br />
so much thanks!</p>
<p>Yuqian</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yuqian Li</title>
		<link>http://www.supermind.org/blog/571/tokyocabinet-linux-install-script/comment-page-1#comment-16962</link>
		<dc:creator>Yuqian Li</dc:creator>
		<pubDate>Mon, 28 Dec 2009 03:32:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.supermind.org/?p=571#comment-16962</guid>
		<description>Hey Kelvin
So much thanks !</description>
		<content:encoded><![CDATA[<p>Hey Kelvin<br />
So much thanks !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kelvin</title>
		<link>http://www.supermind.org/blog/571/tokyocabinet-linux-install-script/comment-page-1#comment-16961</link>
		<dc:creator>Kelvin</dc:creator>
		<pubDate>Sun, 27 Dec 2009 22:32:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.supermind.org/?p=571#comment-16961</guid>
		<description>Hey Yuqian, what&#039;s happening is that because you&#039;re installing TC in a non-standard location, it can&#039;t seem to find your TC headers. I suspect setting LD_LIBRARY_PATH to where you installed TC would fix the build.

Like so:
&lt;blockquote&gt;
export LD_LIBRARY_PATH=/usr/local/tcserver
&lt;/blockquote&gt;

Do this _before_ running configure on tc-java</description>
		<content:encoded><![CDATA[<p>Hey Yuqian, what's happening is that because you're installing TC in a non-standard location, it can't seem to find your TC headers. I suspect setting LD_LIBRARY_PATH to where you installed TC would fix the build.</p>
<p>Like so:</p>
<blockquote><p>
export LD_LIBRARY_PATH=/usr/local/tcserver
</p></blockquote>
<p>Do this _before_ running configure on tc-java</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yuqian Li</title>
		<link>http://www.supermind.org/blog/571/tokyocabinet-linux-install-script/comment-page-1#comment-16960</link>
		<dc:creator>Yuqian Li</dc:creator>
		<pubDate>Fri, 25 Dec 2009 09:07:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.supermind.org/?p=571#comment-16960</guid>
		<description>Hi 
I hava a question to ask.

In ubuntu 9.10 
I have  stored tokyocabinet-1.4.40.tar.gz and tokyocabinet-java-1.22.tar.gz in /host/linux-lyq/
and extraced it aim dir:
 /home/administrator/tokyocabinet-1.4.40  and
 /home/administrator/tokyocabinet-java-1.22

then[root@unbuntu]~# 
 
I input the follow code:
 
cd /home/administrator/tokyocabinet-1.4.40
./configure --prefix=/usr/local/tcserver/
make
make install

then I see info like :  Thanks for using Tokyo Cabinet
then I input:

cd 
cd /home/administrator/tokyocabinet-java-1.22
./configure --prefix=/usr/local/tcJavaBind --with-tc=/usr/local/tcserver #may be this setting is wrong and I do not know the right setting.
but error  happen :
error tcutil.h is requried 

Coule you show me why and how to deal with it.

Then I make clean the above ,use the default setting ?
 
cd /home/administrator/tokyocabinet-1.4.40
./configure 
make
make install

cd 
cd /home/administrator/tokyocabinet-java-1.22
./configure 
make
make install

This time everything is ok 
Now I need you help :what&#039;s wrong with the my non-default setting?

Thanks</description>
		<content:encoded><![CDATA[<p>Hi<br />
I hava a question to ask.</p>
<p>In ubuntu 9.10<br />
I have  stored tokyocabinet-1.4.40.tar.gz and tokyocabinet-java-1.22.tar.gz in /host/linux-lyq/<br />
and extraced it aim dir:<br />
 /home/administrator/tokyocabinet-1.4.40  and<br />
 /home/administrator/tokyocabinet-java-1.22</p>
<p>then[root@unbuntu]~# </p>
<p>I input the follow code:</p>
<p>cd /home/administrator/tokyocabinet-1.4.40<br />
./configure --prefix=/usr/local/tcserver/<br />
make<br />
make install</p>
<p>then I see info like :  Thanks for using Tokyo Cabinet<br />
then I input:</p>
<p>cd<br />
cd /home/administrator/tokyocabinet-java-1.22<br />
./configure --prefix=/usr/local/tcJavaBind --with-tc=/usr/local/tcserver #may be this setting is wrong and I do not know the right setting.<br />
but error  happen :<br />
error tcutil.h is requried </p>
<p>Coule you show me why and how to deal with it.</p>
<p>Then I make clean the above ,use the default setting ?</p>
<p>cd /home/administrator/tokyocabinet-1.4.40<br />
./configure<br />
make<br />
make install</p>
<p>cd<br />
cd /home/administrator/tokyocabinet-java-1.22<br />
./configure<br />
make<br />
make install</p>
<p>This time everything is ok<br />
Now I need you help :what's wrong with the my non-default setting?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Served from: www.supermind.org @ 2012-02-06 06:18:23 -->
