compile smc

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


  • Options
    Make sure the permissions on compile_smc are correct. Try:
    chmod 755 compile_smc
    And then re-run
  • Options
    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.

  • Options
    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

  • Options
    Yes, i can have the sdk file installed on same server. What might be other possible reason for this error? Thanks Chris! ;)

  • Options
    What version of Vertica are you running?
  • Options

  • Options
    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:

    Then trying to recompile.
  • Options
    Is it advisable to upgrade my vertica to 7.0?
  • Options
    It is pretty quick and painless to upgrade if you only have a single node.
  • Options
    I am using 3 nodes in one cluster.

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file