Blog categories

Comments

[SciDB] How to install the dev_tool on your SciDB

[SciDB] How to install the dev_tool on your SciDB

This article is written for telling you how to install the dev_tools plugin on your SciDB.

At first, install required packages to build plugin.
In my case, I use SciDB 16.9 on a Ubuntu 14.04.

rony@server:~$ sudo apt-get install paradigm4-16.9-dev make git scidb-16.9-libboost1.54-dev g++-4.9 gcc-4.9 libpqxx-dev liblog4cxx10-dev libprotobuf-dev

However, I got the error that unable to install some packages.

E: Unable to locate package paradigm4-16.9-dev
E: Couldn't find any package by regex 'paradigm4-16.9-dev'

According the github readme page, I might be happen if you build your SciDB from a source. They said that these packages might already be at /opt/scidb/16.9/include and we can go without installing these packages.

If you face the error that compiler cannot find the header files, you just copy all the headers in the scidbtrunk\include to \opt\scidb\[version]\include.
Then the make will properly work.

Now, you should got the dev_tools source from github repository.

You can see the several branches named by version in the dev_tools github repository, and you should choose a proper version of dev_tools.

Now get the plugin source code from the remote repository, github paradigm4/dev_tools, using a git.

rony@server:~$ git clone -b v16.9 https://github.com/Paradigm4/dev_tools.git

After clone are finished, go to your dev_tools folder and build it.

rony@server:~$ cd dev_tools
rony@server:~/dev_tools$ make

Now the final step.
Just copy .so file to your the SciDB plugin folder and install the plugin on your system.

rony@server:~/dev_tools$ cp *.so /opt/scidb/16.9/lib/scidb/plugins
rony@server:~/dev_tools$ iquery -aq "load_library('dev_tools')"

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다

div#stuning-header .dfd-stuning-header-bg-container {background-image: url(https://tech.sangron.com/wp-content/uploads/sites/2/2013/06/bigdata_wallpaper.jpg);background-color: #3f3f3f;background-size: cover;background-position: top center;background-attachment: initial;background-repeat: no-repeat;}#stuning-header div.page-title-inner {min-height: 350px;}