Skip to main content

compile smc

  • March 28, 2014
  • 10 replies
  • 35 views

tester
Forum|alt.badge.img+1
  • Participating Frequently
I successfully installed the components but when it comes to compiling the smc file, i had denied permission error.

Below is the error message:

All the Social Media Connector components have been successfully downloaded.

[dbadmin@localhost SMC_Installer]$ ./compile_smc
-bash: ./compile_smc: Permission denied

10 replies

Chris_C
Forum|alt.badge.img
  • Participating Frequently
  • March 28, 2014
Make sure the permissions on compile_smc are correct. Try:
chmod 755 compile_smc
And then re-run
 ./compile_smc

tester
Forum|alt.badge.img+1
  • Author
  • Participating Frequently
  • March 28, 2014
Hi Chris, encounter another problem with it. 

Error message:


Verifying flume.cfg file... Done
Starting Flume compilation and setup.
Messages will be stored in install.log.



Starting Flume compilation and setup.
Messages will be stored in install.log.

Running make in Social-Media-Connector-master/third-party... Done
Running make in Social-Media-Connector-master... src/TweetParser.cpp: In member function ‘virtual Vertica::UDParser* TweetParserFactory::prepare(Vertica::ServerInterface&, Vertica::PerColumnParamReader&, Vertica::PlanContext&, const Vertica::SizedColumnTypes&)’:
src/TweetParser.cpp:241: error: ‘vt_createFuncObject’ was not declared in this scope
src/TweetParser.cpp:241: error: expected primary-expression before ‘>’ token
make: *** [build/TweetParser.o] Error 1

Unable to compile TweetParser.




Chris_C
Forum|alt.badge.img
  • Participating Frequently
  • March 28, 2014
It is trying to compile against the Vertica SDK. Do you have the Vertica server installed on the same server? It is looking for the SDK in /opt/vertica/sdk



tester
Forum|alt.badge.img+1
  • Author
  • Participating Frequently
  • March 28, 2014
Yes, i can have the sdk file installed on same server. What might be other possible reason for this error? Thanks Chris! ;)


Chris_C
Forum|alt.badge.img
  • Participating Frequently
  • March 28, 2014
What version of Vertica are you running?

tester
Forum|alt.badge.img+1
  • Author
  • Participating Frequently
  • March 28, 2014
6.1.3


Chris_C
Forum|alt.badge.img
  • Participating Frequently
  • March 28, 2014
You want to use the Social Media Connector for the 6.1.x branch in GitHub. The master branch for SocialMediaConnector is for Vertica 7.

You can try just replacing your tweetparser.cpp with this one:
https://github.com/vertica/Social-Media-Connector/blob/vertica_6.1.x/src/TweetParser.cpp

Then trying to recompile.

tester
Forum|alt.badge.img+1
  • Author
  • Participating Frequently
  • March 28, 2014
Is it advisable to upgrade my vertica to 7.0?

Chris_C
Forum|alt.badge.img
  • Participating Frequently
  • March 29, 2014
It is pretty quick and painless to upgrade if you only have a single node.

tester
Forum|alt.badge.img+1
  • Author
  • Participating Frequently
  • April 2, 2014
I am using 3 nodes in one cluster.