On Mon, Mar 22, 2010 at 08:34:53AM +0100, Martin Costabel wrote: > Itai Seggev wrote: > [] >> kmail(36470)/nepomuk (library) <unnamed>::GlobalModelContainer::init: >> Connecting to local socket >> "/Users/itais/Library/Preferences/KDE/share/apps/nepomuk/socket" >> "/sw32/opt/kde4/mac/bin/kmail.app/Contents/MacOS/kmail(36470)" Error in >> thread >> 0xa0888720 : "QLocalSocket::connectToServer: Invalid name" >> kmail(36470)/nepomuk (library) <unnamed>::GlobalModelContainer::init: >> Failed to >> connect to Nepomuk server via local socket >> "/Users/itais/Library/Preferences/KDE/share/apps/nepomuk/socket" > [etc] > > I don't know anything about kde, but all of your error messages look like > they could be explained if the directory > /Users/itais/Library/Preferences/KDE/ is not accessible. What do you get > from > > ls -la /Users/itais/Library/Preferences/KDE/
That's for the tip, but it seems to be red herring. 115:itaismaclap:~> ls -la ~/Library/Preferences/KDE total 16 drwx------ 9 itais 100 306 Mar 22 14:47 ./ drwx------ 141 itais 100 4794 Mar 23 00:48 ../ drwx------ 7 itais 100 238 Mar 22 22:32 cache-itaismaclap.local/ drwx------ 5 itais 100 170 Mar 22 14:47 cache-itaismaclap.wri.wolfram.com/ drwx------ 4 itais 100 136 Mar 21 11:11 share/ drwx------ 5 itais 100 170 Mar 22 22:28 socket-itaismaclap.local/ lrwxr-xr-x 1 itais 100 61 Mar 22 14:46 socket-itaismaclap.wri.wolfram.com@ -> /Users/itais/Library/Preferences/KDE/socket-itaismaclap.local drwx------ 3 itais 100 102 Mar 22 22:28 tmp-itaismaclap.local/ lrwxr-xr-x 1 itais 100 58 Mar 22 14:46 tmp-itaismaclap.wri.wolfram.com@ -> /Users/itais/Library/Preferences/KDE/tmp-itaismaclap.local I played around and discovered that I can launch all sorts of KDE apps: kwrite, konqueror, even kwallet. The stumbpling block seems to be this akonadi. There are perhaps some path problems also. After executing the following, I was able to kmail.app to launch PATH=/sw32/opt/akonadi/mac/bin:/sw32/opt/soprano/mac/bin:/sw32/opt/kde4/mac/bin:$PATH However, it produce an error dialog staying that it could not start akonadi. Full output beloow. It claims that it is looking for 'QMYSQL' but is only able to find 'QSQLITE'. I was able to find a libqsqlite in /sw32/lib/qt4-mac/plugins/sqldrivers, and that appeared to be the only plugin available. 185:itaismaclap:/sw32/opt/kde4/mac/bin> dir /sw32/lib/qt4-mac/plugins/sqldrivers/ total 2376 -rwxr-xr-x 1 root admin 498448 Mar 21 07:29 libqsqlite.bundle* -rwxr-xr-x 1 root admin 715812 Mar 21 07:29 libqsqlite_debug.bundle* Does this mean the problem is actually in qt4-mac, as it's not building the correct driver? Thanks, --Itai Akonadi Server Self-Test Report =============================== Test 1: ERROR -------- Database driver not found. Details: The QtSQL driver 'QMYSQL' is required by your current Akonadi server configuration. The following drivers are installed: QSQLITE. Make sure the required driver is installed. File content of '/Users/itais/.config/akonadi/akonadiserverrc': [QMYSQL] StartServer=true ServerPath=/sw/bin/mysql Name=akonadi Host= User= Password= Options= Test 2: WARNING -------- MySQL found with unexpected name. Details: You currently have configured Akonadi to use the MySQL server '/sw/bin/mysql'. Make sure you have the MySQL server installed, set the correct path and ensure you have the necessary read and execution rights on the server executable. The server executable is typically called 'mysqld', its locations varies depending on the distribution. Test 3: SUCCESS -------- MySQL server is executable. Details: MySQL server found: /sw/bin/mysql Ver 14.12 Distrib 5.0.45, for apple-darwin9.8.0 (i686) using readline 5.0 Test 4: SUCCESS -------- No current MySQL error log found. Details: The MySQL server did not report any errors during this startup into '/Users/itais/.local/share/akonadi/db_data/mysql.err'. Test 5: SUCCESS -------- MySQL server default configuration found. Details: The default configuration for the MySQL server was found and is readable at <a href='/sw32/opt/akonadi/mac/share/config/akonadi/mysql-global.conf'>/sw32/opt/akonadi/mac/share/config/akonadi/mysql-global.conf</a>. File content of '/sw32/opt/akonadi/mac/share/config/akonadi/mysql-global.conf': # # Global Akonadi MySQL server settings, # These settings can be adjusted using $HOME/.config/akonadi/mysql-local.conf # # Based on advice by Kris Köhntopp <k...@mysql.com> # [mysqld] skip_grant_tables skip_networking # strict query parsing/interpretation # TODO: make Akonadi work with those settings enabled #sql_mode=strict_trans_tables,strict_all_tables,strict_error_for_division_by_zero,no_auto_create_user,no_auto_value_on_zero,no_engine_substitution,no_zero_date,no_zero_in_date,only_full_group_by,pipes_as_concat #sql_mode=strict_trans_tables # use InnoDB for transactions and better crash recovery default_storage_engine=innodb # case-insensitive table names, avoids trouble on windows lower_case_table_names=1 character_set_server=latin1 collation_server=latin1_general_ci table_cache=200 thread_cache_size=3 log_bin=mysql-bin expire_logs_days=3 #sync_bin_log=0 # error log file name, relative to datadir log_error=mysql.err log_warnings=2 # log all queries, useful for debugging but generates an enormous amount of data #log=mysql.full # log queries slower than n seconds, log file name relative to datadir (for debugging only) #log_slow_queries=mysql.slow #long_query_time=1 # log queries not using indices, debug only, disable for production use #log_queries_not_using_indexes=1 # maximum blob size max_allowed_packet=32M max_connections=256 # makes sense when having the same query multiple times # makes no sense with prepared statements and/or transactions query_cache_type=0 query_cache_size=0 innodb_file_per_table=1 innodb_log_buffer_size=1M innodb_additional_mem_pool_size=1M # messure database size and adjust # SELECT sum(data_length) as bla, sum(index_length) as blub FROM information_schema.tables WHERE table_schema not in ("mysql", "information_schema"); innodb_buffer_pool_size=80M # size of average write burst, keep Innob_log_waits small, keep Innodb_buffer_pool_wait_free small (see show global status like "inno%", show global variables) innodb_log_file_size=64M innodb_flush_log_at_trx_commit=2 Test 6: SKIP -------- MySQL server custom configuration not available. Details: The custom configuration for the MySQL server was not found but is optional. Test 7: ERROR -------- MySQL server configuration not found or not readable. Details: The MySQL server configuration was not found or is not readable. Test 8: SUCCESS -------- akonadictl found and usable Details: The program '/sw32/opt/akonadi/mac/bin/akonadictl' to control the Akonadi server was found and could be executed successfully. Result: Akonadi 1.3.1 Test 9: ERROR -------- Akonadi control process not registered at D-Bus. Details: The Akonadi control process is not registered at D-Bus which typically means it was not started or encountered a fatal error during startup. Test 10: ERROR -------- Akonadi server process not registered at D-Bus. Details: The Akonadi server process is not registered at D-Bus which typically means it was not started or encountered a fatal error during startup. Test 11: ERROR -------- Nepomuk search service not registered at D-Bus. Details: The Nepomuk search service is not registered at D-Bus which typically means it was not started or encountered a fatal error during startup. Test 12: SKIP -------- Protocol version check not possible. Details: Without a connection to the server it is not possible to check if the protocol version meets the requirements. Test 13: ERROR -------- No resource agents found. Details: No resource agents have been found, Akonadi is not usable without at least one. This usually means that no resource agents are installed or that there is a setup problem. The following paths have been searched: '/sw32/opt/kde4/mac/share/akonadi/agents'. The XDG_DATA_DIRS environment variable is set to '/sw32/share', make sure this includes all paths where Akonadi agents are installed to. Directory listing of '/sw32/opt/kde4/mac/share/akonadi/agents': nepomukemailfeeder.desktop Environment variable XDG_DATA_DIRS is set to '/sw32/share' Test 14: ERROR -------- Current Akonadi server error log found. Details: The Akonadi server did report error during startup into <a href='/Users/itais/.local/share/akonadi/akonadiserver.error'>/Users/itais/.local/share/akonadi/akonadiserver.error</a>. File content of '/Users/itais/.local/share/akonadi/akonadiserver.error': "[ 0: 0 akonadiserver 0x0000a5d9 _Z11akBacktracev + 57 1: 1 akonadiserver 0x0000abab _Z11akBacktracev + 1547 2: 2 libSystem.B.dylib 0x96e502bb _sigtramp + 43 3: 3 ??? 0xffffffff 0x0 + 4294967295 4: 4 libSystem.B.dylib 0x96ec423a raise + 26 5: 5 libSystem.B.dylib 0x96ed0679 abort + 73 6: 6 QtCore 0x0039d325 _Z17qt_message_output9QtMsgTypePKc + 149 7: 7 akonadiserver 0x0000bc0c _ZN15FileDebugStream9writeDataEPKcx + 204 8: 8 QtCore 0x0043c7c5 _ZN9QIODevice5writeEPKcx + 149 9: 9 QtCore 0x00449c4a _ZNK11QTextStream3posEv + 730 10: 10 QtCore 0x00449f78 _ZN11QTextStreamD2Ev + 104 11: 11 libakonadiprivate.1.dylib 0x0026bafa _ZN14DbConfigStaticC2Ev + 7786 12: 12 libakonadiprivate.1.dylib 0x002676e6 _ZN14QThreadStorageIPN7Akonadi9DataStoreEE10deleteDataEPv + 662 13: 13 libakonadiprivate.1.dylib 0x001d90d9 _ZN7Akonadi13AkonadiServerC2EP7QObject + 105 14: 14 libakonadiprivate.1.dylib 0x001dad8e _ZN7Akonadi13AkonadiServer8instanceEv + 78 15: 15 akonadiserver 0x00005c15 main + 613 16: 16 akonadiserver 0x00005936 start + 54 ] " Test 15: ERROR -------- Previous Akonadi server error log found. Details: The Akonadi server did report error during its previous startup into <a href='/Users/itais/.local/share/akonadi/akonadiserver.error.old'>/Users/itais/.local/share/akonadi/akonadiserver.error.old</a>. File content of '/Users/itais/.local/share/akonadi/akonadiserver.error.old': "[ 0: 0 akonadiserver 0x0000a5d9 _Z11akBacktracev + 57 1: 1 akonadiserver 0x0000abab _Z11akBacktracev + 1547 2: 2 libSystem.B.dylib 0x96e502bb _sigtramp + 43 3: 3 ??? 0xffffffff 0x0 + 4294967295 4: 4 libSystem.B.dylib 0x96ec423a raise + 26 5: 5 libSystem.B.dylib 0x96ed0679 abort + 73 6: 6 0x0039d325 _Z17qt_message_output9QtMsgTypePKc + 149 7: 7 akonadiserver 0x0000bc0c _ZN15FileDebugStream9writeDataEPKcx + 204 8: 8 QtCore 0x0043c7c5 _ZN9QIODevice5writeEPKcx + 149 9: 9 QtCore 0x00449c4a _ZNK11QTextStream3posEv + 730 10: 10 QtCore 0x00449f78 _ZN11QTextStreamD2Ev + 104 11: 11 libakonadiprivate.1.dylib 0x0026bafa _ZN14DbConfigStaticC2Ev + 7786 12: 12 libakonadiprivate.1.dylib 0x002676e6 _ZN14QThreadStorageIPN7Akonadi9DataStoreEE10deleteDataEPv + 662 13: 13 libakonadiprivate.1.dylib 0x001d90d9 _ZN7Akonadi13AkonadiServerC2EP7QObject + 105 14: 14 libakonadiprivate.1.dylib 0x001dad8e _ZN7Akonadi13AkonadiServer8instanceEv + 78 15: 15 akonadiserver 0x00005c15 main + 613 16: 16 akonadiserver 0x00005936 start + 54 ] " Test 16: SUCCESS -------- No current Akonadi control error log found. Details: The Akonadi control process did not report any errors during its current startup. Test 17: SUCCESS -------- No previous Akonadi control error log found. Details: The Akonadi control process did not report any errors during its previous startup. -- Itai In 1997 a group of programmers started writing a desktop environment to fix a travesty they didn't create. Their program promptly found its way onto un*x systems everywhere. Today, still opposed by a software monopolist, they survive as soldiers of fortune. If you share their vision, if you know you can help, and if you can connect to internet, maybe you can join... the K-Team. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users