On the new Sabayon installation (I guess the problem is in Gentoo too, though), I'm getting errors when accessing to an https repository which does not have a valid certificate (of course I trust that site):
svn checkout https://xxx svn: OPTIONS of 'https://xxx': SSL negotiation failed: SSL error: Key usage violation in certificate has been detected. (https://xxx)
I found this post on ubuntu forums which seems to be related to this very same problem: the neon library, which svn uses to access https sites, uses GNU TLS which does not like this kind of certificates (that's may be fine, but at least, I should give the possibility of choosing, shouldn't I?).
In Sabayon it's pretty easy to solve this problem because you can use emerge and use flags to rebuild the binaries as you wish :-)
In particular, you need to rebuild the neon package disabling the gnutls use option. I did this by changing (or adding) in /etc/portage/package.use this line:
net-misc/neon -gnutls
and then I emerged neon and subversion packages.
Hope this helps :-)
Wednesday, October 29, 2008
Svn problems in Sabayon with https
Friday, May 04, 2007
Thunderbird 2 (crash problem)
Thunderbird 2 made it into Gentoo!
I was really excited to try it! Unfortunately, at the beginning, I got a very bad surprise: thunderbird crashes as soon as a message gets into the Inbox :-(
And it looked like I was not the only one: http://forums.gentoo.org/viewtopic-t-554755-highlight-.html.
Fortunately, the problem was only due to the theme I was using (Azerty), which seems to be responsible for the crash problem! Switching to the default theme solved all the crash problems.
So now I'm enjoying the new thunderbird with some new nice features :-)
Pubblicato da
betto
a
9:36 AM
2
commenti
Etichette: gentoo, thunderbird
Monday, March 12, 2007
Unicode problems when emerging Nano
Today I was performing an emerge --update in my Gentoo box and got this error when emerging the editor nano:
*** UTF-8 support was requested, but insufficient UTF-8 support was
*** detected in your curses and/or C libraries. Please verify that your
*** slang was built with UTF-8 support or your curses was built with
*** wide character support, and that your C library was built with wide
*** character support.
The problem was due to the fact that I had added the unicode USE flag and I hadn't re-emerged ncurses.
Thus, re-emerging ncurses and then nano fixed this problem.
Pubblicato da
betto
a
1:53 PM
2
commenti
Etichette: gentoo
Monday, March 05, 2007
Copy / Cut is very flakey in Eclipse 3.2 on Linux (interferences with Klipper)
I was experiencing this problem since I upgraded eclipse to 3.2 under Linux (both Debian and Gentoo): when I select test and copy it or cut it, most of the time not all the selected test is not copied (or cut). With cut you can see that since some part of the selected text is not cut, but with copy you realize it only when you paste and you don't see all the text. See also this bug report.
Similar problems happen when you select a file in the file view and copy it or cut it (in order to move it to a different location): often you get a message box saying that there were problems accessing the clipboard; alternatively, you can get a null pointer exception during pasting the file.
The message saying that there were problems accessing the clipboard made me think that the problem could have been in the KDE panel applet Klipper, the cut and paste history applet. So I tried to remove it from the panel and everything in eclipse worked fine again!
Thursday, February 15, 2007
Eclipse, Php Ide and Gentoo
As I said yesterday, I successfully installed eclipse and phpide in my Gentoo box. I had also set up the link to mysql socket, as I had explained in my previous post.
However, as soon as I tried to run a php script that uses mysql functions I got this error:
Warning: mysql_connect() [function.mysql-connect]: Client does not support authentication protocol requested by server; consider upgrading MySQL client in /home/bettini/workspaces/php/dbtophp/share/db.php on line 23
could not connect to database
Fortunately, this is a known error in mysql documentation: http://dev.mysql.com/doc/refman/5.0/en/old-client.html.
In fact, I just did what that page says, i.e., reset the password to the "old" style:
mysql> SET PASSWORD FOR 'some user'@localhost = OLD_PASSWORD('your password');
and the error went away.
Probably this was due to the fact that mysql is version 5.0, but the php engine that comes with phpide (and that I use for running and debugging scripts from within Eclipse) still uses the old mysql functions for connecting to the database.
Wednesday, February 14, 2007
Apache2, PHP, MySql (Gentoo Linux)

I've just installed Apache, Php and MySql in my Gentoo box; I've always used these programs and servers only under Debian since they looked easier to install (or probably they looked harder to install in Gentoo :-). I actually found out that it's quite easy to install them in Gentoo either!
I followed some documents found on the web, but basically the installation procedure was even faster than that found on the web:
I put these lines in /etc/make.conf:
USE="apache2 mysql php pam ssl xml xml2 berkdb innodb jpeg png"
If you want to install also phpmyadmin, then you should also add pcre session unicode:
USE="apache2 mysql php pam ssl xml xml2 berkdb innodb jpeg png pcre session unicode"
then I simply ran:
emerge dev-db/mysql apache php
after few minutes (well... half an hour would be more appropriate) the installation terminated successfully.

I then changed the file /etc/init.d/apache2, in order to enable public_html folders for users (corresponding to the ~ directory), setting -D USERDIR:
APACHE2_OPTS="-D DEFAULT_VHOST -D PHP5 -D USERDIR"
Before starting mysql, you must create (once and for all) the mysql main database, and this can be done simply by running:
/usr/bin/mysql_install_db
then you're ready to start apache and mysql.
Wednesday, October 04, 2006
Gentoo, Cups & Foomatic (stopped with status 22)
I've been using the Linux distribution Gentoo for a long while now and I've always enjoyed (and in spite of what I read on some web sites, I found it the most performant distribution). Packages are installed by compiling sources and thus it might take quite a long time to set up or upgrade a system, but then it's quite easy to maintain.
For some days I've been struggling with Cups when I was trying to install a Xerox printer, a Phaser 4500 DT (by using the drivers found on their website): everything is installed fine but when I tried to print something, nothing happened :-(
By taking a look at the log /var/log/cups/error_log, I found this line:
PID 7265 stopped with status 22By searching on Google I didn't find much, but someone mentioned a similar problem due to missing footmatic packages...
Well, installing foomatic with
emerge foomaticsolved everything :-)
I hope this avoids some headache to other facing the same problem!
Pubblicato da
betto
a
1:00 PM
4
commenti

