On Wed, 30 Sep 2009 16:35:42 +0200 Philipp Thomas <pth@suse.de> wrote:
* Ricky Tompu Breaky (ricky.breaky@uni.de) [20090930 02:08]:
After 2 weeks trying to install iVia which I downloaded from "http://ivia.ucr.edu/" without success on OpenSuSE11.1, I think I have been desperated already.
As my crystal ball is currently out of order, please describe in more detail the steps you have already taken. Oherwise it's kind of hard to help you.
Philipp
Dear Philips. Firstly, thank you very much for your generousity. I've downloaded the 'libiViaCore-6.0.1 ==== sussy:/home/ivia/libiViaCore-6.0.1 # ./configure --prefix=/home/ivia/libiViaCore-installed checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for uname... /bin/uname checking machine architecture... i686 checking for g++... g++ checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... gcc3 checking for a BSD-compatible install... /usr/bin/install -c checking for ranlib... ranlib checking whether ln -s works... yes checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking for xml2-config... /usr/bin/xml2-config checking for libxml - version >= 2.0.0... yes (version 2.7.1) checking for cp... /bin/cp checking for cat... /bin/cat checking for diff... /usr/bin/diff checking for gdb... /usr/bin/gdb checking for gunzip... /usr/bin/gunzip checking for ispell... /usr/bin/ispell checking for pdftotext... /usr/bin/pdftotext checking for zip... /usr/bin/zip checking for main in -lpcre... yes checking for main in -ldb... yes checking for main in -lrt... yes checking for main in -lssl... yes checking for main in -lmagic... yes checking for main in -ltokyocabinet... yes checking for main in -lcurl... yes checking for main in -lwv2... yes checking for main in -lUnitTest++... no checking for main in -lunittest++... no configure: creating ./config.status config.status: creating Makefile.common config.status: creating Makefile config.status: creating Doxyfile config.status: creating Doxygen.h config.status: creating db_updates/Makefile config.status: creating debian/Makefile config.status: creating mkdep/Makefile config.status: creating pdftoxml/Makefile config.status: creating programs/Makefile config.status: creating rexa-pstotext/Makefile config.status: creating share/Makefile config.status: creating share/doc/Makefile config.status: creating share/doc/libiViaCore/Makefile config.status: creating share/language_models/Makefile config.status: creating share/man/Makefile config.status: creating share/man/man1/Makefile config.status: creating share/man/man5/Makefile config.status: creating share/names/Makefile config.status: creating tests/Makefile config.status: creating tests/unittests/Makefile config.status: creating utils/Makefile config.status: executing depfiles commands sussy:/home/ivia/libiViaCore-6.0.1 # make make -C programs all make[1]: Entering directory `/home/ivia/libiViaCore-6.0.1/programs' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/ivia/libiViaCore-6.0.1/programs' make -C rexa-pstotext all make[1]: Entering directory `/home/ivia/libiViaCore-6.0.1/rexa-pstotext' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/ivia/libiViaCore-6.0.1/rexa-pstotext' make -C tests all make[1]: Entering directory `/home/ivia/libiViaCore-6.0.1/tests' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/ivia/libiViaCore-6.0.1/tests' sussy:/home/ivia/libiViaCore-6.0.1 # make install make -C programs all make[1]: Entering directory `/home/ivia/libiViaCore-6.0.1/programs' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/ivia/libiViaCore-6.0.1/programs' make -C rexa-pstotext all make[1]: Entering directory `/home/ivia/libiViaCore-6.0.1/rexa-pstotext' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/ivia/libiViaCore-6.0.1/rexa-pstotext' make -C tests all make[1]: Entering directory `/home/ivia/libiViaCore-6.0.1/tests' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/ivia/libiViaCore-6.0.1/tests' Installing headers... cd install-scripts && ./update-config-files ./update-config-files: Creating custom '/home/ivia/.iViaCore/BannedUrlRegExps.conf' ./update-config-files: skipping '/home/ivia/.iViaCore/BannedUrlRegExps.conf' ./update-config-files: Creating custom '/home/ivia/.iViaCore/Blacklister.conf' ./update-config-files: skipping '/home/ivia/.iViaCore/Blacklister.conf' ./update-config-files: Creating custom '/home/ivia/.iViaCore/CachedPageFetcher.conf' ./update-config-files: skipping '/home/ivia/.iViaCore/CachedPageFetcher.conf' ./update-config-files: Creating custom '/home/ivia/.iViaCore/UrlBlacklist.conf' ./update-config-files: skipping '/home/ivia/.iViaCore/UrlBlacklist.conf' ./update-config-files: Creating custom '/home/ivia/.iViaCore/UrlBlacklist.txt' ./update-config-files: skipping '/home/ivia/.iViaCore/UrlBlacklist.txt' ./update-config-files: Creating custom '/home/ivia/.iViaCore/UrlGetSite.conf' ./update-config-files: skipping '/home/ivia/.iViaCore/UrlGetSite.conf' ./update-config-files: Creating custom '/home/ivia/.iViaCore/UrlMaps.conf' ./update-config-files: skipping '/home/ivia/.iViaCore/UrlMaps.conf' ./update-config-files: Creating custom '/home/ivia/.iViaCore/corpora.conf' ./update-config-files: skipping '/home/ivia/.iViaCore/corpora.conf' ./update-config-files: Creating custom '/home/ivia/.iViaCore/iVia.conf' ./update-config-files: skipping '/home/ivia/.iViaCore/iVia.conf' ./update-config-files: Creating custom '/home/ivia/.iViaCore/noise_words' ./update-config-files: skipping '/home/ivia/.iViaCore/noise_words' Installing library... #@/usr/bin/install -c -m600 lib/libiViaCore.a /home/ivia/libiViaCore-installed/lib make[1]: Entering directory `/home/ivia/libiViaCore-6.0.1/mkdep' Installing iViaCore-mkdep ... make[1]: Leaving directory `/home/ivia/libiViaCore-6.0.1/mkdep' make[1]: Entering directory `/home/ivia/libiViaCore-6.0.1/pdftoxml' Installing programs... make[1]: Leaving directory `/home/ivia/libiViaCore-6.0.1/pdftoxml' make[1]: Entering directory `/home/ivia/libiViaCore-6.0.1/programs' Installing programs... make[1]: Leaving directory `/home/ivia/libiViaCore-6.0.1/programs' make[1]: Entering directory `/home/ivia/libiViaCore-6.0.1/rexa-pstotext' Installing rexa-pstotext... make[1]: Leaving directory `/home/ivia/libiViaCore-6.0.1/rexa-pstotext' make[1]: Entering directory `/home/ivia/libiViaCore-6.0.1/share' Installing... make[2]: Entering directory `/home/ivia/libiViaCore-6.0.1/share/doc' Installing documentation... make[3]: Entering directory `/home/ivia/libiViaCore-6.0.1/share/doc/libiViaCore' ... make[3]: Leaving directory `/home/ivia/libiViaCore-6.0.1/share/doc/libiViaCore' make[2]: Leaving directory `/home/ivia/libiViaCore-6.0.1/share/doc' make[2]: Entering directory `/home/ivia/libiViaCore-6.0.1/share/language_models' Installing language models... make[2]: Leaving directory `/home/ivia/libiViaCore-6.0.1/share/language_models' make[2]: Entering directory `/home/ivia/libiViaCore-6.0.1/share/man' Installing man pages... make[3]: Entering directory `/home/ivia/libiViaCore-6.0.1/share/man/man1' Installing man1... make[3]: Leaving directory `/home/ivia/libiViaCore-6.0.1/share/man/man1' make[3]: Entering directory `/home/ivia/libiViaCore-6.0.1/share/man/man5' Installing man5... make[3]: Leaving directory `/home/ivia/libiViaCore-6.0.1/share/man/man5' make[2]: Leaving directory `/home/ivia/libiViaCore-6.0.1/share/man' make[2]: Entering directory `/home/ivia/libiViaCore-6.0.1/share/names' Installing common name data... make[2]: Leaving directory `/home/ivia/libiViaCore-6.0.1/share/names' make[1]: Leaving directory `/home/ivia/libiViaCore-6.0.1/share' make[1]: Entering directory `/home/ivia/libiViaCore-6.0.1/utils' Installing utils... make[1]: Leaving directory `/home/ivia/libiViaCore-6.0.1/utils' make[1]: Entering directory `/home/ivia/libiViaCore-6.0.1/db_updates' ./update_database.sh iViaCore-exec-sql: Error: error: iViaCore-exec-sql: DbConnection::connect: PQsetdbLogin() failed: fe_sendauth: no password supplied (host: localhost, port: 5432, username: ivia, database: iVia)! StackTrace::getNonGdbBacktrace()+0x3b Exception::Exception(std::string const&)+0xd0 DbConnection::connect(std::string const&, unsigned short, std::string const&, std::string const&)+0x261 DbConnection::DbConnection(std::string const&, unsigned short, std::string const&, std::string const&)+0x94 iViaCore-exec-sql(main+0x163) [0x804a8f3] libc.so.6(__libc_start_main+0xe5) [0x40a45705] iViaCore-exec-sql [0x8049871] in sql statement 0) Error: Unable to fetch database version from database. Server down? make[1]: *** [install] Error 1 make[1]: Leaving directory `/home/ivia/libiViaCore-6.0.1/db_updates' make: *** [install] Error 2 sussy:/home/ivia/libiViaCore-6.0.1 # ===== But the PostgreSQL is OK, look: " sussy:/home/ivia/libiViaCore-6.0.1 # rcpostgresql status Checking for PostgreSQL: running sussy:/home/ivia/libiViaCore-6.0.1 # ". Here is my 'iVia.conf': " sussy:/home/ivia/libiViaCore-6.0.1/etc # cat iVia.conf [DbAuth] database_name = "iVia" host_name = "localhost" port = POSTGRESQL_PORT user_name = "postgres" password = "<<mypassword>>" sussy:/home/ivia/libiViaCore-6.0.1/etc # ". Sigh.... when I use the '/home/ivia/libiViaCore-6.0.1/install-scripts/root-install' than I'm stucked on this error: " sussy:/home/ivia/libiViaCore-6.0.1/install-scripts # ./root-install === ./root-install: Checking needed packages... === ... ... ... ./update_database.sh Database revision number before updates: 06000003 Applying database update: 06000004.sql Query: CREATE OR REPLACE FUNCTION insert_robots_entry(canonical_name varchar(255), expires TIMESTAMP, contents TEXT) returns bool as $$ retval = plpy.execute("SELECT robots_id FROM robots_dot_txts WHERE canonical_hostname = '%s'"%(canonical_name)) insert_robots_stmt = "INSERT INTO robots_dot_txts (canonical_hostname, expiration, contents) VALUES ('%s','%s','%s') RETURNING robots_id" update_robots_stmt = "UPDATE robots_dot_txts SET canonical_hostname='%s', expiration='%s', contents='%s' WHERE robots_id = %d " insert_alias_stmt = "INSERT INTO aliases_and_canonical_hostnames VALUES ('%s', %d)" plpy.execute("BEGIN WORK") if (retval.nrows() == 0) : results=plpy.execute(insert_robots_stmt%(canonical_name,expires,contents)) plpy.execute(insert_alias_stmt%(canonical_name, results[0]['robots_id'])) else : plpy.execute(update_robots_stmt%(canonical_name, expires, contents, retval[0]['robots_id'])) plpy.execute("COMMIT") return retval.nrows() != 0 $$ LANGUAGE 'plpythonu' iViaCore-exec-sql: Error: error: iViaCore-exec-sql: in DbConnection::execSql: CREATE OR REPLACE FUNCTION insert_robots_entry(canonical_name varchar(255), expires TIMESTAMP, conte...: FEHLER: keine Berechtigung f�r Sprache plpythonu (my translation: no access right to plpythonu). StackTrace::getNonGdbBacktrace()+0x3b Exception::Exception(std::string const&)+0xd0 DbConnection::execSql(std::string const&)+0x1c2 iViaCore-exec-sql(main+0x28f) [0x804aa1f] libc.so.6(__libc_start_main+0xe5) [0x40a45705] iViaCore-exec-sql [0x8049871] in sql statement 0) CREATE OR REPLACE FUNCTION insert_robots_entry(canonical_name varchar(255), expires TIMESTAMP, contents TEXT) returns bool as $$ retval = plpy.execute("SELECT robots_id FROM robots_dot_txts WHERE canonical_hostname = '%s'"%(canonical_name)) insert_robots_stmt = "INSERT INTO robots_dot_txts (canonical_hostname, expiration, contents) VALUES ('%s','%s','%s') RETURNING robots_id" update_robots_stmt = "UPDATE robots_dot_txts SET canonical_hostname='%s', expiration='%s', contents='%s' WHERE robots_id = %d " insert_alias_stmt = "INSERT INTO aliases_and_canonical_hostnames VALUES ('%s', %d)" plpy.execute("BEGIN WORK") if (retval.nrows() == 0) : results=plpy.execute(insert_robots_stmt%(canonical_name,expires,contents)) plpy.execute(insert_alias_stmt%(canonical_name, results[0]['robots_id'])) else : plpy.execute(update_robots_stmt%(canonical_name, expires, contents, retval[0]['robots_id'])) plpy.execute("COMMIT") return retval.nrows() != 0 $$ LANGUAGE 'plpythonu' make[1]: *** [install] Error 1 make[1]: Leaving directory `/home/ivia/libiViaCore-6.0.1/db_updates' make: *** [install] Error 2 *** ./build-libiViaCore: Error in building your libiViaCore installation! *** ./root-install: Error in building your libiViaCore installation! ". Thank you very much in advance. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org