ryansroberts / hdt-it Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/hdt-it
Automatically exported from code.google.com/p/hdt-it
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:
[deleted issue]
[deleted issue]
[deleted issue]
[deleted issue]
[deleted issue]
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
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
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
[deleted issue]
[deleted issue]
[deleted issue]
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.