I have reuploaded the qt 4.6 beta 1 this time i have added libqt4-
phonon-dev - it was missing by mistake so it will not remove all the kde packages this time :)
also arora 0.10.1 was recompiled with new qt 4.6 features
https://edge.launchpad.net/~mapopa/+archive/qt4.6
Tuesday, November 10, 2009
Wednesday, November 04, 2009
Debugging #Firebird and #Drupal #php #pdo driver
I started by installing latest php : 5.3.1 rc3 and then with the help of ddd
I can step and put breakpoints in the driver source
cd /opt/build/php-5.3.1RC3
sudo ddd /usr/sbin/apache2
Load the drupal install and follow this guide
also I have started to use the debug_backtrace to figure the error without text that i have (empty exception text)
print_r(debug_backtrace());
I can step and put breakpoints in the driver source
cd /opt/build/php-5.3.1RC3
sudo ddd /usr/sbin/apache2
Load the drupal install and follow this guide
also I have started to use the debug_backtrace to figure the error without text that i have (empty exception text)
print_r(debug_backtrace());
Thursday, October 29, 2009
I have joined to #Alioth #Firebird #Debian project
Seems that i need alioth account http://wiki.debian.org/Alioth to modify the firebird packages , in fact i will modify just the Git repository , maybe i will help with manual pages for firebird 2.5 and with packaging bugs
Tuesday, October 20, 2009
git insufficient permission for adding an object to repository database ./objects
this is a shared group repository
so i had to enter the repository dir and make sure group can write into it
ssh to server
cd repository.git
sudo chmod -R g+ws *
sudo chgrp -R mygroup *
git repo-config core.sharedRepository true
and the try to push origin master again
so i had to enter the repository dir and make sure group can write into it
ssh to server
cd repository.git
sudo chmod -R g+ws *
sudo chgrp -R mygroup *
git repo-config core.sharedRepository true
and the try to push origin master again
Sunday, October 18, 2009
#etckeeper is using #bzr by default in !ubuntu #karmic
sudo apt-get install etckeeper
grep VCS /etc/etckeeper/etckeeper.conf
VCS="bzr"
to see the changes in a graphical way
sudo apt-get install bzr-gtk
cd /etc
olive-gtk &
wait a few seconds/minutes ....
grep VCS /etc/etckeeper/etckeeper.conf
VCS="bzr"
to see the changes in a graphical way
sudo apt-get install bzr-gtk
cd /etc
olive-gtk &
wait a few seconds/minutes ....
Thursday, October 15, 2009
#qt 4.6 beta ppa for #ubuntu #karmic , soon I will upload #arora soon
Use it at your own risk https://edge.launchpad.net/~mapopa/+archive/qt4.6
I used the qt preview tp1 and sometimes it crashed so needed the new beta ,
I tested it on my kde desktop + I will upload arora recompiled with 4.6 version soon
The arora from karmic should work ok with 4.6 too but maybe a
recompile is needed
before you upgrade is better to save your list of pachages
dpkg --get-selections > installed-software.log
then you can reinstall qt/kde packages from console if you have problems with (revert to qt 4.5.3 if you want)
with
sudo dpkg --set-selections < installed-software.log
sudo dselect
and press I to install all the packages saved
On my sistem i had before qt tp1 packages and in deb name i had "tp1" > "beta1" if you think as a
package manager so i had to remove all qt packages and kde too and
reinstall them
sudo apt-get purge libqtcore4
Then i did the steps from above
I used the qt preview tp1 and sometimes it crashed so needed the new beta ,
I tested it on my kde desktop + I will upload arora recompiled with 4.6 version soon
The arora from karmic should work ok with 4.6 too but maybe a
recompile is needed
before you upgrade is better to save your list of pachages
dpkg --get-selections > installed-software.log
then you can reinstall qt/kde packages from console if you have problems with (revert to qt 4.5.3 if you want)
with
sudo dpkg --set-selections < installed-software.log
sudo dselect
and press I to install all the packages saved
On my sistem i had before qt tp1 packages and in deb name i had "tp1" > "beta1" if you think as a
package manager so i had to remove all qt packages and kde too and
reinstall them
sudo apt-get purge libqtcore4
Then i did the steps from above
Tuesday, October 06, 2009
#nginx and #wsgi on #ubuntu howto
I wanted to install mod_wsgi for nginx on ubuntu here are some basic steps for compiling it
wget http://sysoev.ru/nginx/nginx-0.7.62.tar.gz
cd nginx-0.7.62/
./configure --add-module=../mod_wsgi/ --with-debug
make
sudo make install
wget http://sysoev.ru/nginx/nginx-0.7.62.tar.gz
tar -zxvf nginx-0.7.62.tar.gz
hg clone http://hg.mperillo.ath.cx/nginx/mod_wsgi/
wget http://lophus.org/~fred/mod_wsgi_patch.diff
see why you need that patch
cd mod_wsgi/
patch -p1 < ../mod_wsgi_patch.diff
cd ..
cd nginx-0.7.62/
./configure --add-module=../mod_wsgi/ --with-debug
make
sudo make install
How can i use linux low level/posix api with #qt ?
well i was searching the google about the above question and i remembered that you can use c api in c++ like any other function
you can see these posix linux threads examples that can be compiled with c++ like this $ g++ -lpthread pthread1.c
Next step was to create a simple example with qt creator
something like get_pid.c example from advanced linux programming book
so after an empty gui project is created do small modification like this and run it
it should give you no errors and it should print in the console the pid
you can see these posix linux threads examples that can be compiled with c++ like this $ g++ -lpthread pthread1.c
Next step was to create a simple example with qt creator
something like get_pid.c example from advanced linux programming book
so after an empty gui project is created do small modification like this and run it
it should give you no errors and it should print in the console the pid
Starting /home/mariuz/work/qtgetpid/qtgetpid/qtgetpid...
/proc/self reports process id 7977
getpid() reports process id 7977
Subscribe to:
Posts (Atom)







