Software Notes
This page will simply contain solutions to small, random little problems I've run across.
Subversion can't recode string under Debian Unstable/Sid
The error is:
svn: Can't recode string
Solution:
# apt-get install locales# dkpg-reconfigure locales(Make sure that the UTF-8 version of your locale is selected and made default).$ export LC_ALL="en_AU.UTF-8"(For Australia, for example).
Then feel free to update/checkout/etc away. (Of course, if the problem is a co-worker using another charset, then this solution won't help, since AFAIK, you must be using the same charset for svn to work properly.
Invalid module format while inserting NDISWrapper under Debian Unstable/Sid
The error is:
Invalid Module Format
Solution:
# rm /usr/bin/gcc(This was simply a symlink)# ln -s /usr/bin/gcc-3.3 /usr/bin/gcc
This problem was simply caused by the kernel being compiled with a different version of GCC to the module that you are trying to insert. There's probably a better way to do the above, but I was in a rush. Apparently this problem also sometimes occurs with Nvidia drivers.
Update: As Dan suggests below, just run the command: export CC=gcc-3.3 first, and there's no need for symlinks.
LaTeX / pdfTeX / XeLaTeX / XeTeX hanging
The error is that when running LaTeX or XeLaTeX, there is an infinite freeze or hang with no error messages, and CTRL-C is needed to stop the process.
Solution:
I managed to cause this problem by having the following definition in my header:
\renewcommand{\cite}[1]{\cite{#1}}
Apparently using \renewcommand to create a recursive definition will cause a hang. Instead, it should have read (in my case):
\renewcommand{\cite}[1]{\citep{#1}}
Comments:
|

