After installing the ubuntu package
openjdk-8-jdk
It looks like it finally completed successfully.
~c
On Wednesday, November 8, 2017 at 3:10:36 PM UTC-5, Charlie Derr wrote:
>
> On Wed, 8 Nov 2017 17:27:24 +0200
> Nil Geisweiller <[email protected]> wrote:
>
> > Based on that sort of lines
> >
> > https://github.com/opencog/ocpkg/blob/master/ocpkg#L862
> >
> > I believe ocpkg now supports Ubuntu 16.04
> >
> > Charlie, could you try again using ocpkg instead of ocpkg16?
> >
> > Thanks,
> > Nil
> >
> > On 11/08/2017 04:00 PM, charlie derr wrote:
> > > On Wed, 8 Nov 2017 09:20:30 +0200
> > > Nil Geisweiller <[email protected]> wrote:
> > >
> > >> Hi,
> > >>
> > >> On 11/07/2017 02:26 PM, Charlie Derr wrote:
> > >>> Hey Mike!
> > >>> Thanks much for the advice, I suspected that's what I wanted
> > >>> to do. I cloned the cogutil repo and then created a build
> > >>> directory inside and then executed "cmake .." then "make" then
> > >>> "sudo make install". After clearing away CMakeCache.txt I got a
> > >>> similar error with regard to atomspace, so I'm
> > >>> building/installing that now.
> > >>>
> > >>> It might make sense to update the wiki with these details.
> > >>
> > >> Sure! I didn't fully understand what should be updated. Could you
> > >> do it? Do you have the permissions to edit the wiki page? If not,
> > >> or if you don't have time, could you explain what should be
> > >> updated?
> > >>
> > >> Thanks,
> > >> Nil
> > >>
>
> Nil,
>
> It looked like it was going to succeed (cogutil and atomspace were
> fetched and built prior to the build for opencog itself proceeding),
> but in the end it errored out due to a misconfiguration of the java
> environment:
>
> BUILD FAILED
> /tmp/link-grammar-5.4.2/build/bindings/java/build.xml:21: Unable to
> find a javac compiler; com.sun.tools.javac.Main is not on the classpath.
> Perhaps JAVA_HOME does not point to the JDK.
> It is currently set to "/usr/lib/jvm/java-8-openjdk-amd64/jre"
>
> Total time: 0 seconds
> Makefile:588: recipe for target 'linkgrammar-5.4.2.jar' failed
> make[2]: *** [linkgrammar-5.4.2.jar] Error 1
> make[2]: Leaving directory '/tmp/link-grammar-5.4.2/build/bindings/java'
> Makefile:438: recipe for target 'all-recursive' failed
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory '/tmp/link-grammar-5.4.2/build/bindings'
> Makefile:535: recipe for target 'all-recursive' failed
> make: *** [all-recursive] Error 1
>
>
> Just let me know if I can be of help testing anything else further.
>
> ~c
>
>
> > >
> > > I did just create an account so as to be able to edit the wiki, but
> > > I'm reluctant to do that for a couple reasons. The first is that
> > > I'm brand new to opencog and so have very little experience with it
> > > and wouldn't want to introduce an error due to my newbie status.
> > > The second is that I'm not sure exactly what the correct solution
> > > should be (in terms of what the wiki ought to say). Let me try to
> > > explain.
> > >
> > > https://wiki.opencog.org/w/Building_OpenCog_(Hands_On) is the wiki
> > > page I was using to try to get started, and as I had an ubuntu
> > > 16.04 VM available, I was using the instructions from:
> > > 3. Installing dependencies on Ubuntu
> > >
> > > The command to install octool16 worked great, but when I ran:
> > >
> > > ./octool16 -rsdpcalv
> > >
> > > I (eventually) got the build error about no CogUtil. I have no idea
> > > how octool works, but I think ideally, that above command ought to
> > > be tweaked/edited to check out, build and install from the cogutil
> > > and atomspace git repos prior to attempting to build opencog
> > > itself. Which may be more than a wiki edit.
> > >
> > > After seeing your message this morning and looking more closely at
> > > the wiki, I noticed that I still had this other tab open:
> > >
> https://wiki.opencog.org/w/Installing_OpenCog_for_Noobs#First_Steps_for_.2A.2Aexpert.2A.2A_users:_those_familiar_with_git.2C_Github.2C_and_Linux
>
> > >
> > > As it only referenced an earlier version of ubuntu (versions > 14) I
> > > hadn't looked closely at it. But I now see that under the "New
> > > Instructions" section, that the correct procedure is outlined
> > > (manually though, not using octool).
> > >
> > > I hope this helps. And I'm willing to provide more feedback if
> > > necessary. Just ask.
> > >
> > > best,
> > > ~c
> > >
> > >>>
> > >>> thanks again,
> > >>> ~c
> > >>>
> > >>>
> > >>> On Tuesday, November 7, 2017 at 6:21:50 AM UTC-5, Michael Duncan
> > >>> wrote:
> > >>>
> > >>> hi, fellow sr soccer alumnus! the cogutil binary is built
> > >>> from a seperate github repo so make sure it's getting installed
> > >>> and check where it's getting installed (on my ubuntu 16.04 it's in
> > >>> /usr/local/lib/cogutil.so). also a bunch of code just got
> > >>> changed from "cogutils" to "cogutil" for consistency. try looking
> > >>> for "cogutil.h", at this point i think "cogutils.h" would be
> > >>> incorrect.
> > >>>
> > >>> mike "sweeper" duncan
> > >>>
> > >>> On Tuesday, November 7, 2017 at 6:50:12 PM UTC+8, Charlie
> > >>> Derr wrote:
> > >>>
> > >>> I've tried to follow the instructions here (using an
> > >>> ubuntu 16.04 VM and octool16) and I get:
> > >>>
> > >>> CMake Error at CMakeLists.txt:144 (MESSAGE):
> > >>> CogUtil missing: it is needed for everything!
> > >>>
> > >>>
> > >>> -- Configuring incomplete, errors occurred!
> > >>> See also
> > >>> "/home/ni/opencog/build/CMakeFiles/CMakeOutput.log". See also
> > >>> "/home/ni/opencog/build/CMakeFiles/CMakeError.log".
> > >>>
> > >>> I've googled this error, but don't see any current
> > >>> results. I've searched for cogutils.h and it is not present on my
> > >>> system anywhere. Please advise.
> > >>>
> > >>> thanks so very much in advance,
> > >>> ~c
> > >>>
> > >>>
> > >>>
> > >>> On Saturday, October 21, 2017 at 6:00:14 AM UTC-4, Nil
> > >>> wrote:
> > >>>
> > >>> Hi Selva,
> > >>>
> > >>> this is typically a good place to start
> > >>>
> > >>> http://wiki.opencog.org/w/Hands_On_With_OpenCog
> > >>> <http://wiki.opencog.org/w/Hands_On_With_OpenCog>
> > >>>
> > >>> it seems down though at the moment.
> > >>>
> > >>> Nil
> > >>>
> > >>> On 10/20/2017 01:36 PM, Vanangamudi wrote:
> > >>> > Hi,
> > >>> >
> > >>> > how do I get started with solving toy problems
> > >>> > with
> > >>> opencog to head
> > >>> > grasp of where things are?
> > >>> >
> > >>> >
> > >>> > Thanks,
> > >>> >
> > >>> > Selva.
> > >>> >
> > >>>
> > >>> --
> > >>> 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]
> > >>> <mailto:[email protected]>.
> > >>> To post to this group, send email to [email protected]
> > >>> <mailto:[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/17d18f76-fcc6-4247-9a1a-33ce225e29b7%40googlegroups.com
>
> > >>> <
> https://groups.google.com/d/msgid/opencog/17d18f76-fcc6-4247-9a1a-33ce225e29b7%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/msgid/opencog/1cf94191-039b-47e1-b35a-f21366592d68%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.