1:BUILD_BY[name] student5 1:BUILD_ENVIRONMENT[operating system 32 vs 64] 1:END_BUILD_ENVIRONMENT 1:DEPENDENCIES[list of dependencies with where to get them] openfst postgresql 1:END_DEPENDENCIES 1:NOTES[notes on attempted build] Tried different versions of gcc but returned errors. Error while building pre-requisites openfst1.1: flags.cc: In function ‘void SetFlags(const char*, int*, char***, bool)’: flags.cc:33:6: internal compiler error: Aborted Please submit a full bug report, with preprocessed source if appropriate. See for instructions. Preprocessed source stored into /tmp/cczqMYk4.out file, please attach this to your bugreport. make[3]: *** [flags.lo] Error 1 make[3]: Leaving directory `/home/student/Downloads/builds/vldb12_new/KumarR11/staccatoV2/openfst-1.1/src/lib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/student/Downloads/builds/vldb12_new/KumarR11/staccatoV2/openfst-1.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/student/Downloads/builds/vldb12_new/KumarR11/staccatoV2/openfst-1.1' make: *** [all] Error 2 student@ubuntu:~/Downloads/builds/vldb12_new/KumarR11/staccatoV2/openfst-1.1$ 1:END_NOTES 2:BUILD_BY[name] student4 2:BUILD_ENVIRONMENT[operating system 32 vs 64] Virtual Machine in VMWare 2:END_BUILD_ENVIRONMENT 2:DEPENDENCIES[list of dependencies with where to get them] 2:END_DEPENDENCIES 2:NOTES[notes on attempted build] Tried building as above but saw that a virtual machine was available, so I got that set up: http://hazy.cs.wisc.edu/hazy/staccato/ staccato@ubuntu:~$ cat Desktop/VM.README Staccato VM Usage ----------------- This VM has Staccato preinstalled and ready to use. The dataset from the webpage are also loaded into a PostgreSQL instance. Here, we provide concrete usage examples, that illustrate the Usage Documentation on the webpage: $> source ~/Downloads/staccato/staccato.path cd ~/Downloads/staccatoData export PGDATABASE=staccato export PGPORT=5432 pg_ctl init -D PGDATA pg_ctl start -D PGDATA -l logfile cd ~/Downloads/staccato $> bin/fullfstSQL staccato 5432 "select docname, fstname, exists data in_top 10 from cong where data like" "President" $> bin/kmapSQL staccato 5432 "select docname, fstname, exists data in_top 10 from cong where data like" "U.S.C. 2\d\d\d" -k 10 $> bin/staccatoSQL staccato 5432 "select docname, fstname, exists data in_top 10 from cong where data like" "Congress" -k 10 -m 10 $> bin/staccatoSQLIndex staccato 5432 "select docname, fstname, exists data in_top 10 from cong where data like" "Public Law (8|9)\d" -k 10 -m 10 -i public staccato@ubuntu:~$ source ~/Downloads/staccato/staccato.path staccato@ubuntu:~$ cd ~/Downloads/staccatoData staccato@ubuntu:~/Downloads/staccatoData$ export PGDATABASE=staccato staccato@ubuntu:~/Downloads/staccatoData$ export PGPORT=5432 staccato@ubuntu:~/Downloads/staccatoData$ pg_ctl init -D PGDATA The files belonging to this database system will be owned by user "staccato". This user must also own the server process. The database cluster will be initialized with locale en_US.UTF-8. The default database encoding has accordingly been set to UTF8. The default text search configuration will be set to "english". initdb: directory "PGDATA" exists but is not empty If you want to create a new database system, either remove or empty the directory "PGDATA" or run initdb with an argument other than "PGDATA". pg_ctl: database system initialization failed staccato@ubuntu:~/Downloads/staccatoData$ export PGDATABASE=staccato staccato@ubuntu:~/Downloads/staccatoData$ pg_ctl init -D PGDATA The files belonging to this database system will be owned by user "staccato". This user must also own the server process. The database cluster will be initialized with locale en_US.UTF-8. The default database encoding has accordingly been set to UTF8. The default text search configuration will be set to "english". initdb: directory "PGDATA" exists but is not empty If you want to create a new database system, either remove or empty the directory "PGDATA" or run initdb with an argument other than "PGDATA". pg_ctl: database system initialization failed staccato@ubuntu:~/Downloads/staccatoData$ pg_ctl start -D PGDATA -l logfile server starting staccato@ubuntu:~/Downloads/staccatoData$ cd ~/Downloads/staccato staccato@ubuntu:~/Downloads/staccato$ bin/fullfstSQL staccato 5432 "select docname, fstname, exists data in_top 10 from cong where data like" "President" docname fstname Probability (-log weight) book-29-dir/ 010035.fst.mbin 0.940128 (0.0617388) book-32-dir/ 010008.fst.mbin 0.937256 (0.0647987) book-31-dir/ 010028.fst.mbin 0.935005 (0.0672031) book-10-dir/ 010006.fst.mbin 0.931191 (0.071291) book-5-dir/ 01000a.fst.mbin 0.930668 (0.0718529) book-39-dir/ 01000b.fst.mbin 0.930068 (0.0724971) book-10-dir/ 010005.fst.mbin 0.928321 (0.0743774) book-21-dir/ 010004.fst.mbin 0.926314 (0.0765416) book-32-dir/ 010020.fst.mbin 0.926084 (0.0767904) book-5-dir/ 01000d.fst.mbin 0.922894 (0.080241) staccato@ubuntu:~/Downloads/staccato$ bin/kmapSQL staccato 5432 "select docname, fstname, exists data in_top 10 from cong where data like" "U.S.C. 2\d\d\d" -k 10 docname fstname Probability (-log weight) book-18-dir/ 01000a.fst.mbin 0.504571 (0.684046) book-33-dir/ 01001e.fst.mbin 0.473312 (0.748001) book-16-dir/ 010034.fst.mbin 0.400715 (0.914504) book-17-dir/ 010011.fst.mbin 0.33379 (1.09724) book-18-dir/ 010014.fst.mbin 0.188071 (1.67094) book-39-dir/ 010029.fst.mbin 0.0566771 (2.87039) book-38-dir/ 010008.fst.mbin 0.0117948 (4.44009) book-21-dir/ 010018.fst.mbin 0.0032104 (5.74136) book-39-dir/ 010021.fst.mbin 0.000804484 (7.12531) staccato@ubuntu:~/Downloads/staccato$ bin/staccatoSQLIndex staccato 5432 "select docname, fstname, exists data in_top 10 from cong where data like" "Public Law (8|9)\d" -k 10 -m 10 -i public docname fstname Probability (-log weight) book-37-dir/ 010022.fst.mbin 0.724544 (0.322213) book-39-dir/ 010010.fst.mbin 0.724034 (0.322917) book-35-dir/ 01000a.fst.mbin 0.720987 (0.327134) book-33-dir/ 010016.fst.mbin 0.705109 (0.349403) book-10-dir/ 01001c.fst.mbin 0.704749 (0.349914) book-33-dir/ 010023.fst.mbin 0.703426 (0.351792) book-31-dir/ 010005.fst.mbin 0.701429 (0.354635) book-7-dir/ 010009.fst.mbin 0.697873 (0.359718) book-6-dir/ 010009.fst.mbin 0.696897 (0.361118) book-40-dir/ 01001a.fst.mbin 0.696215 (0.362097) staccato@ubuntu:~/Downloads/staccato$ 2:END_NOTES