- How to add to launcher Chrome in incognito mode:
- Configure Ubuntu inside Virtualbox. Install virtualbox-guest-additions
Welcome to Fer programes, a blog created with the intention to help us and other programmers in the developing of IT applications. It includes some commands used previously to solve specific problems, links to interesting web pages and general explanations about informatic topics. You are free to collaborate with comments when you consider it is oportune.
PYTHONPATH=~/modules easy_install-2.5 --install-dir ~/modules Genshi==0.6
PYTHONPATH=~/modules easy_install-2.5 --install-dir ~/modules Trac==1.0
./trac-admin /home//www/trac/myproject initenv
./trac-admin /home//www/trac/myproject deploy /tmp/deploy
mv /tmp/deploy/* /home//www/trac
Section 5: Small modification
#!/usr/bin/eval PYTHONPATH=/home//modules TRAC_ENV=/home//www/trac/myproject python
Section 6: Small modification
AddHandler fcgid-script .fcgi
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ cgi-bin/trac.fcgi/$1 [QSA,L]
$ htpasswd -c /somewhere/trac.htpasswd admin
New password:
Re-type new password:
Adding password for user admin
$ htpasswd /somewhere/trac.htpasswd john
New password:
Re-type new password:
Adding password for user john
AddHandler fcgid-script .fcgi
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ cgi-bin/trac.fcgi/$1 [QSA,L]
AuthType Basic
AuthName "trac"
AuthUserFile /home//www/trac/trac.htpasswd
Require valid-user
Ok
sudo apt-get install libboost-dev(due to problems with libboost-filesystem)
sudo apt-get install libboost1.40-all-dev
Ok
sudo ./configuresudo make reported a bug when using libtool. I solved them by following the explanation of here. Basically, with the addition of these lines in file Freeling/libtool
sudo make
# An echo program that does not interpret backslashes.Problems with freeling/data/Makefile.am. I solved them by following the explanation of here.
ECHO="echo"
+#well this $ECHO is referred to as $echo everywhere in this file. So:
+echo="$ECHO"
# Used to examine libraries when file_magic_cmd begins with "file".
MAGIC_CMD=file
sudo make
sudo make install
asdata_DATA = es/*to
asdata_DATA = es/*.*These lines refer to asdata, cadata, esdata, gadata, commondata, itdata... (one for each lang).
sudo make installNow all was ok!
g++ -o sample sample.cc -ldb_cxx -lmorfo -lfries -lomlet -lpcreI needed to add the library lboost_filesystem
g++ -o sample sample.cc -ldb_cxx -lmorfo -lfries -lomlet -lpcre
-lboost_filesystem
Problem: An application is running on Linux 7.x which uses gcc 3.2.x. It gets one of the following error messages:
libstdc++.so.5: cannot open shared object file:Explanation: libstdc++.so.5 (the library for gcc 3.2.x) is installed in /usr/local/lib However, the system will only seach /usr/lib (where the 2.95.0 and other older libraries are stored).
No such file or directory
libgcc_s.so.1: cannot open shared object file:
No such file or directory
Solution: Create symbolic links to make the libraries appear in the old folder:
ln -s /usr/local/lib/libblablabla.so.5
/usr/lib/libblablabla.so.5
ln -s /usr/local/lib/libblablabla.so.1
/usr/lib/libblablabla.so.1
configure.inA cada carpeta
Makefile.am
Makefile.amExecutem
aclocal : arxiu aclocal.m4 amb macrosFinalment
autoconf : configure.in -> scripts configuració
automake -a (--foreign) : Makefile.am -> Makefile.in
autoheader : Plantilla configure
./configure
make