Skip to content

Tag: linux

iconv any encoding to UTF-8

I am trying to point iconv to a directory and all files will be converted UTF-8 regardless of the current encoding I am using this script but you have to specify what encoding you are going FROM. How can I make it autdetect the current encoding? dir_iconv.sh terminal line Answer Maybe you are looking for enca…

mysql_upgrade not found

I’ve just upgrade my system, but Mysql don’t start: so I am asked to run myslq_upgrade, but it’s not present on the system… Any help? Answer Finally, I had to manually remove some of the package, rename old database and configuration file, reinstall things and it worked, but still no m…

How to create a zip file without entire directory structure

I am trying to create a zip file and want to preserve most of the directory structure, but not the rootdir as defined from the command line. The command I’m using is: I’d like it to recurse through bar and add all files with preserved directory structure (which it does). However I do not want &#82…

CMake complains “The CXX compiler identification is unknown”

I am following this thread and this one to build my own KDE without a sudo permission. Since there was no Git and CMake installed on the workstation. I just had them both installed under /home/< user> and added /home/< user>/bin and /home/< user>/lib to both PATH and LD_LIBRARY_PATH. Since K…

auto_start error in ld86 compiling

I’m trying to compile a fairly basic program under Linux and I’m having trouble with ld86. Anyone have an idea as to what auto_start is? UPDATE 3/12/2012: Seems to go away when I define my own printf()… Answer Huzzah! I have found it. When calling main() in main.c I was using parameters like…