ah, yes. You will need to pull and buld a new version of cogutils to fix
this. This is a very recent change.  Typically, changes like this are not
made very often, but it was needed, in this case.

Don't forget to rebuild the atomspace after doing cogutils

--linas

On Thu, Aug 4, 2016 at 5:54 PM, Kefeh Collins <[email protected]>
wrote:

> Hello,
>       Thanks a lot, it worked using " sudo make install ", so i have
> successfully built atomspace.
>
> i have another issues building opencog
>
> *make* :
> /home/kefeh/opencog/opencog/cogserver/server/CogServer.cc: In member
> function ‘virtual void opencog::CogServer::enableNetworkServer()’:
> /home/kefeh/opencog/opencog/cogserver/server/CogServer.cc:173:77: error:
> no matching function for call to ‘opencog::Config::get_int(const char
> [12], int)’
>      _networkServer = new NetworkServer(config().get_int("SERVER_PORT",
> 17001));
>
> ^
> In file included from /home/kefeh/opencog/opencog/
> cogserver/server/CogServer.cc:38:0:
> /usr/local/include/opencog/util/Config.h:83:9: note: candidate: int
> opencog::Config::get_int(const string&) const
>      int get_int(const std::string &parameter_name) const;
>          ^
> /usr/local/include/opencog/util/Config.h:83:9: note:   candidate expects
> 1 argument, 2 provided
> /home/kefeh/opencog/opencog/cogserver/server/CogServer.cc: In member
> function ‘virtual void opencog::CogServer::serverLoop()’:
> /home/kefeh/opencog/opencog/cogserver/server/CogServer.cc:190:74: error:
> no matching function for call to ‘opencog::Config::get_int(const char
> [22], int)’
>   time_t cycle_duration = config().get_int("SERVER_CYCLE_DURATION", 100)
> * 1000;
>                                                                        ^
> In file included from /home/kefeh/opencog/opencog/
> cogserver/server/CogServer.cc:38:0:
> /usr/local/include/opencog/util/Config.h:83:9: note: candidate: int
> opencog::Config::get_int(const string&) const
>      int get_int(const std::string &parameter_name) const;
>          ^
> /usr/local/include/opencog/util/Config.h:83:9: note:   candidate expects
> 1 argument, 2 provided
> /home/kefeh/opencog/opencog/cogserver/server/CogServer.cc: In member
> function ‘virtual void opencog::CogServer::loadSCMModules(std::vector<
> std::__cxx11::basic_string<char> >)’:
> /home/kefeh/opencog/opencog/cogserver/server/CogServer.cc:724:44: error:
> no matching function for call to ‘opencog::Config::get(const char [12],
> const char [1])’
>      tokenize(config().get("SCM_PRELOAD", ""), 
> std::back_inserter(scm_modules),
>
>                                             ^
> In file included from /home/kefeh/opencog/opencog/
> cogserver/server/CogServer.cc:38:0:
> /usr/local/include/opencog/util/Config.h:78:24: note: candidate: const
> string& opencog::Config::get(const string&) const
>      const std::string& get(const std::string &parameter_name) const;
>                         ^
> /usr/local/include/opencog/util/Config.h:78:24: note:   candidate expects
> 1 argument, 2 provided
> opencog/cogserver/server/CMakeFiles/server.dir/build.make:158: recipe for
> target 'opencog/cogserver/server/CMakeFiles/server.dir/CogServer.cc.o'
> failed
> make[2]: *** [opencog/cogserver/server/CMakeFiles/server.dir/CogServer.cc.o]
> Error 1
> CMakeFiles/Makefile2:1090: recipe for target 
> 'opencog/cogserver/server/CMakeFiles/server.dir/all'
> failed
> make[1]: *** [opencog/cogserver/server/CMakeFiles/server.dir/all] Error 2
> Makefile:149: recipe for target 'all' failed
> make: *** [all] Error 2
>
>
>
>
> thanks
> Kefeh
>
>
> On Thu, Aug 4, 2016 at 8:01 PM, Linas Vepstas <[email protected]>
> wrote:
>
>> install must be performed as root, e.g. by using sudo:  `sudo make
>> install`
>>
>> --linas
>>
>> On Thu, Aug 4, 2016 at 6:19 AM, Kefeh Collins <[email protected]>
>> wrote:
>>
>>> Hello,
>>>
>>>        thank you, i had a problem with my merge which i have resolved,
>>> the cmake warnings are fewer now
>>>
>>> *cmake .. *:
>>>
>>> CMake Warning at tests/persist/sql/odbc/CMakeLists.txt:67 (MESSAGE):
>>>   /usr/bin/psql: psql: FATAL: Peer authentication failed for user
>>>   "opencog_tester"
>>>
>>>
>>>
>>> CMake Warning at tests/persist/sql/odbc/CMakeLists.txt:82 (MESSAGE):
>>>   Postgres database not configured for unit tests! See the README!
>>>
>>>
>>> CMake Warning at tests/persist/sql/postgres/CMakeLists.txt:67 (MESSAGE):
>>>   /usr/bin/psql: psql: FATAL: Peer authentication failed for user
>>>   "opencog_tester"
>>>
>>>
>>>
>>> CMake Warning at tests/persist/sql/postgres/CMakeLists.txt:82 (MESSAGE):
>>>   Postgres database not configured for unit tests! See the README!
>>>
>>>
>>> *make install:*
>>>
>>> -- Install configuration: "Release"
>>> -- Up-to-date: /usr/local/include/opencog/atoms/NumberNode.h
>>> CMake Error at opencog/atoms/cmake_install.cmake:36 (file):
>>>   file INSTALL cannot set permissions on
>>>   "/usr/local/include/opencog/atoms/NumberNode.h"
>>> Call Stack (most recent call first):
>>>   opencog/cmake_install.cmake:37 (include)
>>>   cmake_install.cmake:38 (include)
>>>
>>>
>>>
>>> Makefile:105: recipe for target 'install' failed
>>> make: *** [install] Error 1
>>>
>>>
>>> On Tue, Jul 26, 2016 at 3:29 PM, Kefeh <[email protected]> wrote:
>>>
>>>> Hello,
>>>>         i have been trying t build Opencog and on running the cmake ..
>>>> i ran across some warnings and errors.
>>>>
>>>> Please see https://drive.google.com/open?id=0B1EsgPC1GsI5ODBGNDhUaXJmbD
>>>> Q.
>>>>
>>>> Regards,
>>>> Kefeh
>>>>
>>>> --
>>>> You received this message because you are subscribed to a topic in the
>>>> Google Groups "opencog" group.
>>>> To unsubscribe from this topic, visit https://groups.google.com/d/to
>>>> pic/opencog/Xkj7Zxjj8cg/unsubscribe.
>>>> To unsubscribe from this group and all its topics, send an email to
>>>> [email protected].
>>>> To post to this group, send email to [email protected].
>>>> Visit this group at https://groups.google.com/group/opencog.
>>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>>> gid/opencog/f120344d-8da3-453f-8212-65ca2aa2f902%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/opencog/f120344d-8da3-453f-8212-65ca2aa2f902%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "opencog" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>> Visit this group at https://groups.google.com/group/opencog.
>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>> gid/opencog/CAN9z%2BMq0sYtXhAV-anyO7i%2BpWhQk%2BtEd3jW1DS%2B
>>> 1hT5T9poQQA%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/opencog/CAN9z%2BMq0sYtXhAV-anyO7i%2BpWhQk%2BtEd3jW1DS%2B1hT5T9poQQA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "opencog" group.
>> To unsubscribe from this topic, visit https://groups.google.com/d/to
>> pic/opencog/Xkj7Zxjj8cg/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at https://groups.google.com/group/opencog.
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/opencog/CAHrUA35BVJY95T22gqNu%3DsW4xh6ytSFbEm%
>> 2BaNfu6MES-3j3NWg%40mail.gmail.com
>> <https://groups.google.com/d/msgid/opencog/CAHrUA35BVJY95T22gqNu%3DsW4xh6ytSFbEm%2BaNfu6MES-3j3NWg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "opencog" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/opencog.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/opencog/CAN9z%2BMrwkDyXN_%3DRRpz%3D9ve%3DfMCdZk1R-x6vwg2mcox%3D%
> 2B9Fwyg%40mail.gmail.com
> <https://groups.google.com/d/msgid/opencog/CAN9z%2BMrwkDyXN_%3DRRpz%3D9ve%3DfMCdZk1R-x6vwg2mcox%3D%2B9Fwyg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"opencog" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/opencog.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/opencog/CAHrUA34kdQrKEfodifi4vvngdyKcR0cu9n-LMF%2B4qzn%2BJPJSwQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to