Re: [gentoo-user] [OT?] How to get WebDAV going on Apache?
On Friday 28 Feb 2014 16:31:39 Nilesh Govindrajan wrote: You don't need moddav for owncloud. Owncloud implements it via php. Now I am confused. Do I need to add or remove a USE flag from php or owncloud? # emerge -pv owncloud php ... [ebuild R ~] www-apps/owncloud-6.0.1:6.0.1 USE=curl mysql -postgres - sqlite -vhosts 0 kB [ebuild R] dev-lang/php-5.5.9:5.5 USE=apache2 berkdb bzip2 calendar cgi cli crypt ctype curl exif fileinfo filter fpm ftp gd gdbm gmp hash iconv intl json mysql mysqli nls opcache pdo phar posix readline session simplexml sqlite ssl tokenizer truetype unicode xml xmlwriter zip zlib -bcmath -cdb -cjk -debug -embed -enchant -firebird -flatfile -frontbase -imap -inifile -iodbc -ipv6 -kerberos -ldap -ldap-sasl -libedit -libmysqlclient -mhash -mssql -oci8- instant-client -odbc -pcntl -postgres -qdbm -recode (-selinux) -sharedmem - snmp -soap -sockets -spell -sybase-ct -systemd -sysvipc -threads -tidy -wddx - xmlreader -xmlrpc -xpm -xslt 0 kB I decided to try mysql (mariadb, actually) rather than sqlite; maybe I should revert to the simpler setup, or maybe I've missed something here: wstn / # emerge -pv mysql mariadb ... [ebuild R ~] dev-db/mariadb-5.5.32 USE=community pam perl ssl -cluster - debug -embedded -extraengine -jemalloc -latin1 -max-idx-128 -minimal -oqgraph (-pbxt) -profiling (-selinux) -sphinx -static -systemtap -tcmalloc {-test} 0 kB [ebuild R ~] virtual/mysql-5.5 USE=-embedded -minimal -static 0 kB -- Regards Peter
[gentoo-user] custom boost in /usr/local = problem with libkolabxml, libixion
Hello list, I've installed newest boost into /usr/local - it's a custom installation and not via emerge/portage. Today, after upgrading system, I've found that I need to use emerge --update --newuse --deep --with-bdeps=y @world to rebuild some dependencies. In the process of recompiling I first noticed this strange thing: checking for Boost headers version = 1.36.0... yes checking for Boost's header version... 1_55 Portage installed boost is 1.52, my custom installed one is 1.55. Then after a few seconds I saw this: x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\libixion\ -DPACKAGE_TARNAME=\libixion\ - DPACKAGE_VERSION=\0.5.0\ -DPACKAGE_STRING=\libixion\ 0.5.0\ -DPACKAGE_BUGREPORT=\\ -DPACKAGE_URL=\\ -DPACKAGE=\libixion\ -DVERSION=\0.5.0\ -DSTDC_HEADERS=1 - DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 - DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 - DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\.libs/\ -DHAVE_STDLIB_H=1 - DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 - DHAVE_GETTIMEOFDAY=1 -DHAVE_BOOST=1 -DHAVE_BOOST_UNORDERED_MAP_HPP=1 - DHAVE_MDDS_RECTANGLE_SET_HPP=1 -DHAVE_MDDS_MIXED_TYPE_MATRIX_HPP=1 - DHAVE_MDDS_MULTI_TYPE_VECTOR_TRAIT_HPP=1 -DHAVE_BOOST_SYSTEM_ERROR_CODE_HPP=1 - DHAVE_BOOST_THREAD_HPP=1 -DHAVE_BOOST_PROGRAM_OPTIONS_HPP=1 -I. -I../include - I../lib/libixion/libixion.la -D_REENTRANT -DMDDS_HASH_CONTAINER_BOOST - D__IXION_BUILDING_DLL -g -Os -fvisibility=hidden -O2 -pipe -march=native -c -o ixion_sorter- sort_input_parser.o `test -f 'sort_input_parser.cpp' || echo './'`sort_input_parser.cpp /bin/sh ../libtool --tag=CXX --mode=link x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -Wl,- O1 -Wl,--as-needed -o ixion-parser ixion_parser-ixion_parser.o ixion_parser-model_parser.o libixion/libixion-0.6.la -lboost_thread-mt -lboost_system-mt -pthread -lboost_program_options-mt libtool: link: x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -Wl,-O1 -Wl,--as-needed -o .libs/ixion-parser ixion_parser-ixion_parser.o ixion_parser-model_parser.o -pthread libixion/.libs/libixion-0.6.so -lboost_thread-mt -lboost_system-mt -lboost_program_options-mt - pthread libixion/.libs/libixion-0.6.so: undefined reference to `boost::thread::start_thread_noexcept()' libixion/.libs/libixion-0.6.so: undefined reference to `boost::thread::join_noexcept()' collect2: error: ld returned 1 exit status make[2]: *** [ixion-parser] Error 1 make[2]: *** Waiting for unfinished jobs make[2]: Leaving directory `/var/tmp/portage/dev-libs/libixion-0.5.0/work/libixion-0.5.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-libs/libixion-0.5.0/work/libixion-0.5.0/src' make: *** [all-recursive] Error 1 * ERROR: dev-libs/libixion-0.5.0::gentoo failed (compile phase): ...so it failed because it tried to use my custom boost... I think. To be sure that this is because of this I moved /usr/local/lib and /usr/local/include to /root and another compilation of this library went fine. After doing so I runned revdep-rebuild and it had to recompile libkolabxml because it was linked to boost in /usr/local/lib. So here is my question: If libreoffice does need boost to compile, and I compiled libreoffice after I installed boost to /usr/local, then why it was able to use correct version of boost (from /usr not /usr/local)? Libreoffice is just an example - there are many other programs that depend on boost, and the boost.thread library is very popular one. libkolabxml at version 1.0.1 libixion at version 0.5.0 Should I create a bug for these two libraries or this is expected behaviour? -- Kacper Kopczyński
Re: [gentoo-user] Debian just voted in systemd for default init system in jessie
On Friday 28 Feb 2014 13:45:12 Stroller wrote: On Fri, 28 February 2014, at 8:05 am, Samuli Suominen ssuomi...@gentoo.org wrote: This must be a US -only thing since I've never even heard of AOL desktop/suite before, even while lived through the 90's and the bulletin board times (as being a SysOp myself ;-) I'm in the UK, myself. The AOL software is browser, email, IM and ads, all wrapped up in a single Windows application. http://i.imgur.com/bUin2ki.png I doubt there's anyone on this list who wouldn't find it obnoxious, but there are people who are really happy with it. I think it also comes with its own (branded) antivirus, since most of its users couldn't be trusted to set up or keep up with updates on their PC. I can't recall if it also turns on and runs MSWindows Updates too. :-p -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] [OT?] How to get WebDAV going on Apache?
On Saturday 01 Mar 2014 11:13:40 Peter Humphrey wrote: On Friday 28 Feb 2014 16:31:39 Nilesh Govindrajan wrote: You don't need moddav for owncloud. Owncloud implements it via php. Now I am confused. Do I need to add or remove a USE flag from php or owncloud? I can't advise on owncloud, because I hadn't heard of it until now. In a vanilla apache installation you would need to do the following: 1. Set up the dav, dav_fs, dav_lock USE flags in apache, remerge it and restart it. 2. Check that /etc/apache2/httpd.conf shows: IfDefine DAV LoadModule dav_module modules/mod_dav.so /IfDefine IfDefine DAV LoadModule dav_fs_module modules/mod_dav_fs.so /IfDefine IfDefine DAV LoadModule dav_lock_module modules/mod_dav_lock.so /IfDefine 3. Set up your vhost fs to enable webdav access to it: VirtualHost *:80 ServerName example.com ServerAlias my_example.com DocumentRoot /var/www/dev.example.com/htdocs Location / Dav On AuthType Basic AuthUserFile /var/www/.basic_password AuthName My WebDav Site - Admin Access Only! Require user My_User /Location /VirtualHost 4. Configure your corresponding modules.d vhost file: Directory /var/www/dev.example.com/htdocs Options FollowSymlinks AllowOverride All Order deny,allow Allow from all /Directory 5. Configure the installed webdav module file. I don't know what are the defaults but this is what I have in my /etc/apache2/modules.d/45_mod_dav.conf: IfDefine DAV DavLockDB /var/lib/dav/lockdb # The following directives disable redirects on non-GET requests for # a directory that does not include the trailing slash. This fixes a # problem with several clients that do not appropriately handle # redirects for folders with DAV methods. IfModule setenvif_module BrowserMatch Microsoft Data Access Internet Publishing Provider redirect- carefully BrowserMatch MS FrontPage redirect-carefully BrowserMatch ^WebDrive redirect-carefully BrowserMatch ^WebDAVFS/1.[012345678] redirect-carefully BrowserMatch ^gnome-vfs/1.0 redirect-carefully BrowserMatch ^XML Spy redirect-carefully BrowserMatch ^Dreamweaver-WebDAV-SCM1 redirect-carefully /IfModule /IfDefine 6. Set up /etc/conf.d/apache2 to start the DAV option. In mine I have both '- D DAV' and '-D DAV_FS', but I don't know if apache-2.4 needs the latter to be explicitly started by apachectl or if it is loaded by the DAV module. Restart apache and you should be able to access the fs from a browser, with username 'My_User' and whatever password you have created with htpasswd. If you don't trust the network and therefore you don't want to be sending credentials in the clear, enable SSL. I hope I haven't missed anything important here. Have a look at the online apache documentation for more advanced settings, if you want to lock down what webdav will allow, otherwise keep an eye on your apache logs to see if there are any errors. HTH. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] custom boost in /usr/local = problem with libkolabxml, libixion
Hi! Suppose, this is because different programs and libs by default use different installation paths. And libixion uses /usr/local by default as I can understand by it's configure script. I think this is depends on developer of each particular lib/prog. Best regards. On Sat, Mar 1, 2014 at 1:23 PM, Kacper Kopczyński cap...@v-matrix.orgwrote: Hello list, I've installed newest boost into /usr/local - it's a custom installation and not via emerge/portage. Today, after upgrading system, I've found that I need to use emerge --update --newuse --deep --with-bdeps=y @world to rebuild some dependencies. In the process of recompiling I first noticed this strange thing: checking for Boost headers version = 1.36.0... yes checking for Boost's header version... 1_55 Portage installed boost is 1.52, my custom installed one is 1.55. Then after a few seconds I saw this: x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\libixion\ -DPACKAGE_TARNAME=\libixion\ -DPACKAGE_VERSION=\0.5.0\ -DPACKAGE_STRING=\libixion\ 0.5.0\ -DPACKAGE_BUGREPORT=\\ -DPACKAGE_URL=\\ -DPACKAGE=\libixion\ -DVERSION=\0.5.0\ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\.libs/\ -DHAVE_STDLIB_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_BOOST=1 -DHAVE_BOOST_UNORDERED_MAP_HPP=1 -DHAVE_MDDS_RECTANGLE_SET_HPP=1 -DHAVE_MDDS_MIXED_TYPE_MATRIX_HPP=1 -DHAVE_MDDS_MULTI_TYPE_VECTOR_TRAIT_HPP=1 -DHAVE_BOOST_SYSTEM_ERROR_CODE_HPP=1 -DHAVE_BOOST_THREAD_HPP=1 -DHAVE_BOOST_PROGRAM_OPTIONS_HPP=1 -I. -I../include -I../lib/libixion/ libixion.la -D_REENTRANT -DMDDS_HASH_CONTAINER_BOOST -D__IXION_BUILDING_DLL -g -Os -fvisibility=hidden -O2 -pipe -march=native -c -o ixion_sorter-sort_input_parser.o `test -f 'sort_input_parser.cpp' || echo './'`sort_input_parser.cpp /bin/sh ../libtool --tag=CXX --mode=link x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -Wl,-O1 -Wl,--as-needed -o ixion-parser ixion_parser-ixion_parser.o ixion_parser-model_parser.o libixion/ libixion-0.6.la -lboost_thread-mt -lboost_system-mt -pthread -lboost_program_options-mt libtool: link: x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -Wl,-O1 -Wl,--as-needed -o .libs/ixion-parser ixion_parser-ixion_parser.o ixion_parser-model_parser.o -pthread libixion/.libs/libixion-0.6.so-lboost_thread-mt -lboost_system-mt -lboost_program_options-mt -pthread libixion/.libs/libixion-0.6.so: undefined reference to `boost::thread::start_thread_noexcept()' libixion/.libs/libixion-0.6.so: undefined reference to `boost::thread::join_noexcept()' collect2: error: ld returned 1 exit status make[2]: *** [ixion-parser] Error 1 make[2]: *** Waiting for unfinished jobs make[2]: Leaving directory `/var/tmp/portage/dev-libs/libixion-0.5.0/work/libixion-0.5.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-libs/libixion-0.5.0/work/libixion-0.5.0/src' make: *** [all-recursive] Error 1 * ERROR: dev-libs/libixion-0.5.0::gentoo failed (compile phase): ...so it failed because it tried to use my custom boost... I think. To be sure that this is because of this I moved /usr/local/lib and /usr/local/include to /root and another compilation of this library went fine. After doing so I runned revdep-rebuild and it had to recompile libkolabxml because it was linked to boost in /usr/local/lib. So here is my question: If libreoffice does need boost to compile, and I compiled libreoffice after I installed boost to /usr/local, then why it was able to use correct version of boost (from /usr not /usr/local)? Libreoffice is just an example - there are many other programs that depend on boost, and the boost.thread library is very popular one. libkolabxml at version 1.0.1 libixion at version 0.5.0 Should I create a bug for these two libraries or this is expected behaviour? -- Kacper Kopczyński
Re: [gentoo-user] custom boost in /usr/local = problem with libkolabxml, libixion
On 01/03/14 13:23, Kacper Kopczyński wrote: Hello list, I've installed newest boost into /usr/local - it's a custom installation and not via emerge/portage. Today, after upgrading system, I've found that I need to use emerge --update --newuse --deep --with-bdeps=y @world to rebuild some dependencies. In the process of recompiling I first noticed this strange thing: checking for Boost headers version = 1.36.0... yes checking for Boost's header version... 1_55 Portage installed boost is 1.52, my custom installed one is 1.55. Then after a few seconds I saw this: x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\libixion\ -DPACKAGE_TARNAME=\libixion\ -DPACKAGE_VERSION=\0.5.0\ -DPACKAGE_STRING=\libixion\ 0.5.0\ -DPACKAGE_BUGREPORT=\\ -DPACKAGE_URL=\\ -DPACKAGE=\libixion\ -DVERSION=\0.5.0\ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\.libs/\ -DHAVE_STDLIB_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_BOOST=1 -DHAVE_BOOST_UNORDERED_MAP_HPP=1 -DHAVE_MDDS_RECTANGLE_SET_HPP=1 -DHAVE_MDDS_MIXED_TYPE_MATRIX_HPP=1 -DHAVE_MDDS_MULTI_TYPE_VECTOR_TRAIT_HPP=1 -DHAVE_BOOST_SYSTEM_ERROR_CODE_HPP=1 -DHAVE_BOOST_THREAD_HPP=1 -DHAVE_BOOST_PROGRAM_OPTIONS_HPP=1 -I. -I../include -I../lib/libixion/libixion.la -D_REENTRANT -DMDDS_HASH_CONTAINER_BOOST -D__IXION_BUILDING_DLL -g -Os -fvisibility=hidden -O2 -pipe -march=native -c -o ixion_sorter-sort_input_parser.o `test -f 'sort_input_parser.cpp' || echo './'`sort_input_parser.cpp /bin/sh ../libtool --tag=CXX --mode=link x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -Wl,-O1 -Wl,--as-needed -o ixion-parser ixion_parser-ixion_parser.o ixion_parser-model_parser.o libixion/libixion-0.6.la -lboost_thread-mt -lboost_system-mt -pthread -lboost_program_options-mt libtool: link: x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -Wl,-O1 -Wl,--as-needed -o .libs/ixion-parser ixion_parser-ixion_parser.o ixion_parser-model_parser.o -pthread libixion/.libs/libixion-0.6.so -lboost_thread-mt -lboost_system-mt -lboost_program_options-mt -pthread libixion/.libs/libixion-0.6.so: undefined reference to `boost::thread::start_thread_noexcept()' libixion/.libs/libixion-0.6.so: undefined reference to `boost::thread::join_noexcept()' collect2: error: ld returned 1 exit status make[2]: *** [ixion-parser] Error 1 make[2]: *** Waiting for unfinished jobs make[2]: Leaving directory `/var/tmp/portage/dev-libs/libixion-0.5.0/work/libixion-0.5.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-libs/libixion-0.5.0/work/libixion-0.5.0/src' make: *** [all-recursive] Error 1 * ERROR: dev-libs/libixion-0.5.0::gentoo failed (compile phase): ...so it failed because it tried to use my custom boost... I think. To be sure that this is because of this I moved /usr/local/lib and /usr/local/include to /root and another compilation of this library went fine. After doing so I runned revdep-rebuild and it had to recompile libkolabxml because it was linked to boost in /usr/local/lib. So here is my question: If libreoffice does need boost to compile, and I compiled libreoffice after I installed boost to /usr/local, then why it was able to use correct version of boost (from /usr not /usr/local)? Libreoffice is just an example - there are many other programs that depend on boost, and the boost.thread library is very popular one. libkolabxml at version 1.0.1 libixion at version 0.5.0 Should I create a bug for these two libraries or this is expected behaviour? -- Kacper Kopczyński There are multiple factors in play, some per package ./configure scripts add -I/usr/local/include so that headers are picked up from there by default, if compiler alone doesn't have that in it's default search path already. There are -L/usr/local/lib added by some, and /usr/local/lib in /etc/ld.so.conf What I'm really trying to say is that you can't install boost safely into /usr/local/lib and include, but you should put it in it's own directory outside of compilers or ld.so's scope, like for example, /home/username/boost, and then when you want something to use it, point the package to search it from there using package specific configure flags and environment variables like LD_LIBRARY_PATH, PKG_CONFIG_PATH, and so forth Bottom line is, It's not a bug you can file to Gentoo's bugzilla, it is expected behavior
Re: [gentoo-user] [OT?] How to get WebDAV going on Apache?
On Friday 28 Feb 2014 11:01:07 Neil Bothwick wrote: On Fri, 28 Feb 2014 10:55:59 +, Peter Humphrey wrote: Apologies if this is off-topic here but I don't know where else to ask. I'm having trouble getting owncloud installed on my LAN mini-server. Its post-inst check complains the WebDAV interface seems to be broken. It works for me here. I was sure it would ;-) ---8 Do you have the modules installed? Here APACHE_MODULES contains dav dav_fs dav_lock I don't have APACHE2_MODULES set in make.conf; portage includes a default set. and /etc/conf.d/apache2 has only one line APACHE2_OPTS=-D DEFAULT_VHOST -D INFO -D SSL -D SSL_DEFAULT_VHOST -D LANGUAGE -D SUEXEC -D PHP5 -D PHP -D DAV Mine's the same except that it doesn't have -D PHP. After what Nilesh said I'll take -D DAV out again. I didn't have -D SUEXEC and I thought that might be my problem, but putting it in didn't fix it. -- Regards Peter
Re: [gentoo-user] [OT?] How to get WebDAV going on Apache?
On Sat, Mar 1, 2014 at 4:43 PM, Peter Humphrey pe...@prh.myzen.co.ukwrote: On Friday 28 Feb 2014 16:31:39 Nilesh Govindrajan wrote: You don't need moddav for owncloud. Owncloud implements it via php. Now I am confused. Do I need to add or remove a USE flag from php or owncloud? # emerge -pv owncloud php ... [ebuild R ~] www-apps/owncloud-6.0.1:6.0.1 USE=curl mysql -postgres - sqlite -vhosts 0 kB [ebuild R] dev-lang/php-5.5.9:5.5 USE=apache2 berkdb bzip2 calendar cgi cli crypt ctype curl exif fileinfo filter fpm ftp gd gdbm gmp hash iconv intl json mysql mysqli nls opcache pdo phar posix readline session simplexml sqlite ssl tokenizer truetype unicode xml xmlwriter zip zlib -bcmath -cdb -cjk -debug -embed -enchant -firebird -flatfile -frontbase -imap -inifile -iodbc -ipv6 -kerberos -ldap -ldap-sasl -libedit -libmysqlclient -mhash -mssql -oci8- instant-client -odbc -pcntl -postgres -qdbm -recode (-selinux) -sharedmem - snmp -soap -sockets -spell -sybase-ct -systemd -sysvipc -threads -tidy -wddx - xmlreader -xmlrpc -xpm -xslt 0 kB I decided to try mysql (mariadb, actually) rather than sqlite; maybe I should revert to the simpler setup, or maybe I've missed something here: wstn / # emerge -pv mysql mariadb ... [ebuild R ~] dev-db/mariadb-5.5.32 USE=community pam perl ssl -cluster - debug -embedded -extraengine -jemalloc -latin1 -max-idx-128 -minimal -oqgraph (-pbxt) -profiling (-selinux) -sphinx -static -systemtap -tcmalloc {-test} 0 kB [ebuild R ~] virtual/mysql-5.5 USE=-embedded -minimal -static 0 kB -- Regards Peter Nothing to get confused. Just install ownCloud like you'd install Wordpress on Apache server, i.e. configure apache to run php scripts some way and run the owncloud installer. That's it. Since ownCloud has automatic update facility, I don't install it using portage.
Re: [gentoo-user] [OT?] How to get WebDAV going on Apache?
Nilesh Govindrajan m...@nileshgr.com wrote: On Sat, Mar 1, 2014 at 4:43 PM, Peter Humphrey pe...@prh.myzen.co.ukwrote: On Friday 28 Feb 2014 16:31:39 Nilesh Govindrajan wrote: You don't need moddav for owncloud. Owncloud implements it via php. Now I am confused. Do I need to add or remove a USE flag from php or owncloud? # emerge -pv owncloud php ... [ebuild R ~] www-apps/owncloud-6.0.1:6.0.1 USE=curl mysql -postgres - sqlite -vhosts 0 kB [ebuild R] dev-lang/php-5.5.9:5.5 USE=apache2 berkdb bzip2 calendar cgi cli crypt ctype curl exif fileinfo filter fpm ftp gd gdbm gmp hash iconv intl json mysql mysqli nls opcache pdo phar posix readline session simplexml sqlite ssl tokenizer truetype unicode xml xmlwriter zip zlib -bcmath -cdb -cjk -debug -embed -enchant -firebird -flatfile -frontbase -imap -inifile -iodbc -ipv6 -kerberos -ldap -ldap-sasl -libedit -libmysqlclient -mhash -mssql -oci8- instant-client -odbc -pcntl -postgres -qdbm -recode (-selinux) -sharedmem - snmp -soap -sockets -spell -sybase-ct -systemd -sysvipc -threads -tidy -wddx - xmlreader -xmlrpc -xpm -xslt 0 kB I decided to try mysql (mariadb, actually) rather than sqlite; maybe I should revert to the simpler setup, or maybe I've missed something here: wstn / # emerge -pv mysql mariadb ... [ebuild R ~] dev-db/mariadb-5.5.32 USE=community pam perl ssl -cluster - debug -embedded -extraengine -jemalloc -latin1 -max-idx-128 -minimal -oqgraph (-pbxt) -profiling (-selinux) -sphinx -static -systemtap -tcmalloc {-test} 0 kB [ebuild R ~] virtual/mysql-5.5 USE=-embedded -minimal -static 0 kB -- Regards Peter Nothing to get confused. Just install ownCloud like you'd install Wordpress on Apache server, i.e. configure apache to run php scripts some way and run the owncloud installer. That's it. Since ownCloud has automatic update facility, I don't install it using portage. I installed owncloud, but I could not sync an iphone -- at least not to the calendar part of owncloud. It didn't complain about the password or anything, but just sat there after I created the account on the phone. Has anyone gotten such a thing to actually work? -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici cov...@ccs.covici.com
Re: [gentoo-user] [OT?] How to get WebDAV going on Apache?
On Saturday 01 Mar 2014 15:21:48 Peter Humphrey wrote: APACHE2_OPTS=-D DEFAULT_VHOST -D INFO -D SSL -D SSL_DEFAULT_VHOST -D LANGUAGE -D SUEXEC -D PHP5 -D PHP -D DAV Mine's the same except that it doesn't have -D PHP. After what Nilesh said I'll take -D DAV out again. I didn't have -D SUEXEC and I thought that might be my problem, but putting it in didn't fix it. Also try '-D DAV_FS'. You will need -D PHP if your owncloud is running on php code. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] custom boost in /usr/local = problem with libkolabxml, libixion
Dnia sobota, 1 marca 2014 14:57:23 Samuli Suominen pisze: On 01/03/14 13:23, Kacper Kopczyński wrote: Hello list, I've installed newest boost into /usr/local - it's a custom installation and not via emerge/portage. Today, after upgrading system, I've found that I need to use emerge --update --newuse --deep --with-bdeps=y @world to rebuild some dependencies. In the process of recompiling I first noticed this strange thing: checking for Boost headers version = 1.36.0... yes checking for Boost's header version... 1_55 Portage installed boost is 1.52, my custom installed one is 1.55. Then after a few seconds I saw this: x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\libixion\ -DPACKAGE_TARNAME=\libixion\ -DPACKAGE_VERSION=\0.5.0\ -DPACKAGE_STRING=\libixion\ 0.5.0\ -DPACKAGE_BUGREPORT=\\ -DPACKAGE_URL=\\ -DPACKAGE=\libixion\ -DVERSION=\0.5.0\ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\.libs/\ -DHAVE_STDLIB_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_BOOST=1 -DHAVE_BOOST_UNORDERED_MAP_HPP=1 -DHAVE_MDDS_RECTANGLE_SET_HPP=1 -DHAVE_MDDS_MIXED_TYPE_MATRIX_HPP=1 -DHAVE_MDDS_MULTI_TYPE_VECTOR_TRAIT_HPP=1 -DHAVE_BOOST_SYSTEM_ERROR_CODE_HPP=1 -DHAVE_BOOST_THREAD_HPP=1 -DHAVE_BOOST_PROGRAM_OPTIONS_HPP=1 -I. -I../include -I../lib/libixion/libixion.la -D_REENTRANT -DMDDS_HASH_CONTAINER_BOOST -D__IXION_BUILDING_DLL -g -Os -fvisibility=hidden -O2 -pipe -march=native -c -o ixion_sorter-sort_input_parser.o `test -f 'sort_input_parser.cpp' || echo './'`sort_input_parser.cpp /bin/sh ../libtool --tag=CXX --mode=link x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -Wl,-O1 -Wl,--as-needed -o ixion-parser ixion_parser-ixion_parser.o ixion_parser-model_parser.o libixion/libixion-0.6.la -lboost_thread-mt -lboost_system-mt -pthread -lboost_program_options-mt libtool: link: x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -Wl,-O1 -Wl,--as-needed -o .libs/ixion-parser ixion_parser-ixion_parser.o ixion_parser-model_parser.o -pthread libixion/.libs/libixion-0.6.so -lboost_thread-mt -lboost_system-mt -lboost_program_options-mt -pthread libixion/.libs/libixion-0.6.so: undefined reference to `boost::thread::start_thread_noexcept()' libixion/.libs/libixion-0.6.so: undefined reference to `boost::thread::join_noexcept()' collect2: error: ld returned 1 exit status make[2]: *** [ixion-parser] Error 1 make[2]: *** Waiting for unfinished jobs make[2]: Leaving directory `/var/tmp/portage/dev-libs/libixion-0.5.0/work/libixion-0.5.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-libs/libixion-0.5.0/work/libixion-0.5.0/src' make: *** [all-recursive] Error 1 * ERROR: dev-libs/libixion-0.5.0::gentoo failed (compile phase): ...so it failed because it tried to use my custom boost... I think. To be sure that this is because of this I moved /usr/local/lib and /usr/local/include to /root and another compilation of this library went fine. After doing so I runned revdep-rebuild and it had to recompile libkolabxml because it was linked to boost in /usr/local/lib. So here is my question: If libreoffice does need boost to compile, and I compiled libreoffice after I installed boost to /usr/local, then why it was able to use correct version of boost (from /usr not /usr/local)? Libreoffice is just an example - there are many other programs that depend on boost, and the boost.thread library is very popular one. libkolabxml at version 1.0.1 libixion at version 0.5.0 Should I create a bug for these two libraries or this is expected behaviour? Kacper Kopczyński There are multiple factors in play, some per package ./configure scripts add -I/usr/local/include so that headers are picked up from there by default, if compiler alone doesn't have that in it's default search path already. There are -L/usr/local/lib added by some, and /usr/local/lib in /etc/ld.so.conf What I'm really trying to say is that you can't install boost safely into /usr/local/lib and include, but you should put it in it's own directory outside of compilers or ld.so's scope, like for example, /home/username/boost, and then when you want something to use it, point the package to search it from there using package specific configure flags and environment variables like LD_LIBRARY_PATH, PKG_CONFIG_PATH, and so forth Bottom line is, It's not a bug you can file to Gentoo's bugzilla, it is expected behavior
Re: [gentoo-user] [OT?] How to get WebDAV going on Apache?
On Saturday 01 Mar 2014 16:09:16 Mick wrote: On Saturday 01 Mar 2014 15:21:48 Peter Humphrey wrote: APACHE2_OPTS=-D DEFAULT_VHOST -D INFO -D SSL -D SSL_DEFAULT_VHOST -D LANGUAGE -D SUEXEC -D PHP5 -D PHP -D DAV Mine's the same except that it doesn't have -D PHP. After what Nilesh said I'll take -D DAV out again. I didn't have -D SUEXEC and I thought that might be my problem, but putting it in didn't fix it. Also try '-D DAV_FS'. I should have said I tried that as well as -D DAV. But Nilesh said I don't need DAV support in apache2 at all for owncloud because it comes bundled. You will need -D PHP if your owncloud is running on php code. But I do have -D PHP5. Isn't that enough? -- Regards Peter
Re: [gentoo-user] [OT?] How to get WebDAV going on Apache?
On Saturday 01 Mar 2014 20:55:46 Nilesh Govindrajan wrote: Nothing to get confused. Just install ownCloud like you'd install Wordpress on Apache server, i.e. configure apache to run php scripts some way and run the owncloud installer. That's it. So no need for vhosts then? I'll set it up that way if I have to, but I'd rather avoid the extra complication pro tem. Since ownCloud has automatic update facility, I don't install it using portage. Ah. I hadn't thought of bypassing portage. Perhaps I should. -- Regards Peter
Re: [gentoo-user] [OT?] How to get WebDAV going on Apache?
On 02-Mar-2014 7:05 am, Peter Humphrey pe...@prh.myzen.co.uk wrote: On Saturday 01 Mar 2014 16:09:16 Mick wrote: On Saturday 01 Mar 2014 15:21:48 Peter Humphrey wrote: APACHE2_OPTS=-D DEFAULT_VHOST -D INFO -D SSL -D SSL_DEFAULT_VHOST -D LANGUAGE -D SUEXEC -D PHP5 -D PHP -D DAV Mine's the same except that it doesn't have -D PHP. After what Nilesh said I'll take -D DAV out again. I didn't have -D SUEXEC and I thought that might be my problem, but putting it in didn't fix it. Also try '-D DAV_FS'. I should have said I tried that as well as -D DAV. But Nilesh said I don't need DAV support in apache2 at all for owncloud because it comes bundled. You will need -D PHP if your owncloud is running on php code. But I do have -D PHP5. Isn't that enough? -- Regards Peter I don't use mod_php, so no idea about that. But just note that Apache must be able to run php scripts. Maybe try executing a script like ?php phpinfo (); ?
[gentoo-user] Two identical systems - different!
Hello list, While wrestling with my owncloud problem I decided to re-install the server box from scratch. It's a little Atom box so I keep a 32-bit chroot on this machine (the one I'm writing this on), nfs-mount the server's packages directory in the chroot and do all the heavy emerge work on the i5 here. The contents of /etc/portage/* are identical in both systems, with minor exceptions detailing --jobs= and the proxies (the server serves the portage tree and is the rsync host, and it can't do that for itself until http- replicator etc. are in place). I got as far as installing a recent stage 3 and adding nfs-utils so that I could export the package directory. Then I ran emerge -eavK world (I'd already rebuilt all the packages in the chroot before zapping the server). You'll never guess what happened. Well, actually, I hope someone can because I'm stumped again. $ OPTIONS=backtrack=100 emerge -pvKe world ... !!! All ebuilds that could satisfy app-arch/bzip2 have been masked. !!! One of the following masked packages is required to complete your request: - app-arch/bzip2-1.0.6-r3::gentoo (masked by: backtracking: slot conflict) Bzip2 installs happily if specified by itself. Portage is at version 2.2.7, and I did remember to set the active python version to 2.7 before starting all this. Now that I think of it, this slot conflict over bzip2 was among the reasons I decided to zap the server and start anew. The cure hasn't fixed the ailment. Has anyone any ideas? -- Regards Peter
Re: [gentoo-user] [OT?] How to get WebDAV going on Apache?
On Saturday 01 Mar 2014 12:08:17 Mick wrote: ---8 I hope I haven't missed anything important here. Have a look at the online apache documentation for more advanced settings, if you want to lock down what webdav will allow, otherwise keep an eye on your apache logs to see if there are any errors. HTH. I must thank you for the work you put into that, Mick, but Nilesh has said I don't need DAV in Apache because it comes bundled with owncloud. I believe him too, from an earlier, successful attempt on the same box but with the now defunct spinning disk. (Surely, substituting an SSD can't have affected this? It's the only difference I can think of at the moment, though.) -- Regards Peter
[gentoo-user] more bluetooth troubles with 5.14
Hi. I am getting more troubles with bluetooth 5.14 -- 4 worked fine, 5 seems to have a lot of quirks. I get the following lines from a program I am running called brltty: Mar 1 15:25:35 ccs bluetoothd[2684]: No agent available for request type 0 Mar 1 15:25:35 ccs bluetoothd[2684]: device_request_pin: Operation not permitted Mar 1 15:25:35 ccs brltty[16004]: RFCOMM connect error 111: Connection refused. HOw can I fix this? There is a new program under bluetooth 5 called bluetoothctl, and I paired, trusted and connected, and still no joy. Any ideas would be appreciated. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici cov...@ccs.covici.com