Check your merge:
https://github.com/opencog/atomspace/blob/master/CMakeLists.txt#L15

that line has been there forever.  So have the cmake policy lines below it.

--linas

On Wed, Aug 3, 2016 at 1:10 AM, Kefeh Collins <[email protected]>
wrote:

> Hello,
>
>     after i merged the fixes on the cmakefiles, i tried building it again
> to no avail then i tried rebuilding atomspace and hit a couple of warnings:
>
>
> *warnings from 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!
>
> ..
> ..
> ..
>
> CMake Warning (dev) in CMakeLists.txt:
>   No cmake_minimum_required command is present.  A line of code such as
>
>     cmake_minimum_required(VERSION 3.5)
>
>   should be added at the top of the file.  The version specified may be
> lower
>   if you wish to support older CMake versions for this project.  For more
>   information run "cmake --help-policy CMP0000".
> This warning is for project developers.  Use -Wno-dev to suppress it.
>
> -- Configuring done
> CMake Warning (dev) at opencog/atoms/base/CMakeLists.txt:13 (ADD_LIBRARY):
>   Policy CMP0003 should be set before this line.  Add code such as
>
>     if(COMMAND cmake_policy)
>       cmake_policy(SET CMP0003 NEW)
>     endif(COMMAND cmake_policy)
>
>   as early as possible but after the most recent call to
>   cmake_minimum_required or cmake_policy(VERSION).  This warning appears
>   because target "atombase" links to some libraries for which the linker
> must
>   search:
>
>     pthread, pthread
>
>   and other libraries with known full path:
>
>     /home/kefeh/atomspace/build/opencog/truthvalue/libtruthvalue.so
>     /usr/local/lib/libcogutil.so
>
>   CMake is adding directories in the second list to the linker search path
> in
>   case they are needed to find libraries from the first list (for backwards
>   compatibility with CMake 2.4).  Set policy CMP0003 to OLD or NEW to
> enable
>   or disable this behavior explicitly.  Run "cmake --help-policy CMP0003"
> for
>   more information.
>
>
>
> *from 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
>
>
> Thanks
> Kefeh
>
> On Fri, Jul 29, 2016 at 2:09 AM, Linas Vepstas <[email protected]>
> wrote:
>
>>
>>
>> On Thu, Jul 28, 2016 at 10:12 AM, Kefeh Collins <[email protected]>
>> wrote:
>>
>>> Hello,
>>>
>>> My cmake version is verson 3.5.1, i don't know if that posses a problem.
>>>
>>>
>>>
>> Ahh, OK, that is a newer version of cmake than what is in trusty.
>>
>> I think I may have fixed this in
>> https://github.com/opencog/atomspace/pull/841
>> https://github.com/opencog/opencog/pull/2327
>>
>> I think that will fix it for you, but also, I suspect opencog works only
>> in trusty, so you are likely to hit additional bugs.
>>
>> --linas
>>
>> --
>> 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/topic/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/msgid/opencog/CAHrUA37Z2gOTjHDGm-d7fyiNu-W5%2B_JVoZQ7i-Fa%3DUfEBs1SdA%40mail.gmail.com
>> <https://groups.google.com/d/msgid/opencog/CAHrUA37Z2gOTjHDGm-d7fyiNu-W5%2B_JVoZQ7i-Fa%3DUfEBs1SdA%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%2BMoPXPCQ2%2B%2ByGv4Um5RLgq_74xi8czv1yLU7s2QoTm%3DZNg%40mail.gmail.com
> <https://groups.google.com/d/msgid/opencog/CAN9z%2BMoPXPCQ2%2B%2ByGv4Um5RLgq_74xi8czv1yLU7s2QoTm%3DZNg%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/CAHrUA34iWvi-J5e8N0gPP2%2Bi0YcrFfGD-XQWmJpMwt_9DWCq6A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to