Git Product home page Git Product logo

hdt-it's People

Contributors

ryansroberts avatar

Watchers

 avatar  avatar

hdt-it's Issues

Compiling fails on Ubuntu 13.10

What steps will reproduce the problem?
1. Download the package and installed the optional Kyoto and Raptor libraries. 
Install the system's Libz
2. make
3. Install fails (see below)

What is the expected output? What do you see instead?

(see full log attached)

$ make

[...]

 [HDT] Compiling src/dictionary/KyotoDictionary.cpp
src/dictionary/KyotoDictionary.cpp: In member function ‘virtual void 
hdt::KyotoDictionary::startProcessing(hdt::ProgressListener*)’:
src/dictionary/KyotoDictionary.cpp:135:23: error: ‘unlink’ was not declared 
in this scope
  unlink("subjects.kct");
                       ^
make[1]: *** [src/dictionary/KyotoDictionary.o] Errore 1
make[1]: uscita dalla directory 
"/home/cristian/Desktop/wikidata-ldf/hdt-it/hdt-lib-rc1-src"
make: *** [all] Errore 2


What version of the product are you using? On what operating system?
hdt-lib-rc1

Please provide any additional information below.
The same error occours with src/triples/TriplesKyoto.cpp

[...]

 [HDT] Compiling src/triples/TriplesKyoto.cpp
src/triples/TriplesKyoto.cpp: In constructor 
‘hdt::TriplesKyoto::TriplesKyoto(hdt::HDTSpecification&)’:
src/triples/TriplesKyoto.cpp:63:22: error: ‘unlink’ was not declared in 
this scope
  unlink("triples.kct");
                      ^
make[1]: *** [src/triples/TriplesKyoto.o] Errore 1
make[1]: uscita dalla directory 
"/home/cristian/Desktop/wikidata-ldf/hdt-it/hdt-lib-rc1-src"
make: *** [all] Errore 2

== FIX ==
In both cases the solution is to add the following line to the files:
#include <unistd.h>

This lead to successful compilation.

Cristian

Original issue reported on code.google.com by [email protected] on 25 Oct 2014 at 10:27

Attachments:

Typo in src/hdt/util/filemap.h

The current filemap.h contains

#ifndef FILE_MAP_H
#define FILE_MAP_H_

which should probably become

#ifndef FILE_MAP_H_
#define FILE_MAP_H_

(note the trailing underscore on the first line).

Original issue reported on code.google.com by [email protected] on 29 Jul 2014 at 5:55

Windows: illegal filename

The filename con.cpp in hdt-it/hdt-lib/test is illegal on any Windows OS, 
because it is interpreted as CON: which is a device. This make it impossible to 
check out the svn repository on any Windows computer.

Could you rename that file, please?


Original issue reported on code.google.com by [email protected] on 13 Feb 2013 at 8:26

Compiling tests on Ubuntu 64bit 13.04

What steps will reproduce the problem?
1. compiling with make tests all

What is the expected output? What do you see instead?
compiled libraries - an error that an instruction is missing getopt.

error: ‘getopt’ was not declared in this scope

On Ubuntu 64bit 13.04:

Suggested (partly) fix:

add 
#include <unistd.h>
to tests/confpfc.cpp

Original issue reported on code.google.com by [email protected] on 24 Mar 2014 at 1:52

Unable to build src


What steps will reproduce the problem?
1.  check out source per instructions on wiki
svn checkout http://hdt-it.googlecode.com/svn/trunk/ hdt-it-read-only

2.  notice no INSTALL guide
3.  run make at top level

What is the expected output? What do you see instead?

-bash tharsch@eldo16 hdt-it-read-only$ make
 [MSG] Entering directory src
make: *** src: No such file or directory.  Stop.
make: *** [clean] Error 2


What version of the product are you using? On what operating system?
Last Changed Rev: 188
Last Changed Date: 2012-03-13 15:40:30 -0500 (Tue, 13 Mar 2012)

Please provide any additional information below.
Would live to try it out :-)

Original issue reported on code.google.com by [email protected] on 27 Apr 2012 at 4:56

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.