Tag Archives: dapper

粗体过粗的问题

ubuntu dapper下,一直没有注意到这个问题,今天看到http://my.opera.com/nilarcs/blog/show.dml/332583才意识到这个问题。 我注意看了一下 ~/.fonts.conf文件已经自动进行了相关的修改了,但还是没有作用,因此需要修改/etc/fonts/language-selector.conf

Posted in Linux | Tagged , , , | Leave a comment

话筒突然不工作了

UBUNTU dapper,前段时间一直工作的,今天一用skype,居然罢工了。 首先怀疑是硬件的原因,但无法检查,再怀疑是OS的问题,于是切换到WIN下,一切正常。 问题应该处在最近安装的软件上,检查系统的历史记录,发现最近只安装过SKYPE 1.3。 有可能是skype的问题,于是google之。找到了答案: http://taint.org/2006/06/07/150917a.html There is a solution for the Skype microphone problem: 1. Install Skype 1.3 beta (see http://www.macewan.org/2006/06/28/skype-13-ubuntu-dapper/#comments) Do NOT run it during working on next point. 2. Go to your sound channel settings (i.e. … Continue reading

Posted in Linux | Tagged , , , | Leave a comment

ubuntu dapper下编译mapserver

好久没有安装mapserver了,今天才发现mapserver都已经进入官方的源了。 看来已经出了好长时间了,今天要重装mapserver才发现。 ubuntu dapper中的版本是4.6.1 apt-cache search mapserver cgi-mapserver – cgi module of mapserver mapserver-bin – mapserver binary utilities mapserver-doc – documentation for mapserver perl-mapscript – perl mapserver library php4-mapscript – module for php4-cgi to use mapserver php5-mapscript – module for … Continue reading

Posted in Linux, MapServer | Tagged , , | Leave a comment

cross compile QT4 program for windows on ubuntu dapper

1、首先安装基础程序: sudo wine mingw32 mingw32-binutils mingw32-runtime 2、安装QT4支持(LINUX下的支持): sudo apt-get install libqt4-core libqt4-gui libqt4-qt3support libqt4-sql libqt4-debug-dev libqt4-dev 3、下载QT4 for win程序: wget http://wftp.tu-chemnitz.de/pub/Qt/qt/source/qt-win-opensource-4.1.2-mingw.exe 4、安装: wine qt-win-opensource-4.1.2-mingw.exe 中间会提示找不到MINGW32的位置,没关系,可以直接跳过。 5、修改specs文件 sudo cp -Rf /usr/share/qt4/mkspecs/win32-g++ /usr/share/qt4/mkspecs/win32-x-g++ sudo nano /usr/share/qt4/mkspecs/win32-x-g++/qmake.conf 把和下面相关的内容都进行修改: QMAKE_CXX = i586-mingw32msvc-g++ QMAKE_INCDIR = … Continue reading

Posted in Linux, Program | Tagged , , , , , | Leave a comment

传统的postgis安装方法@dapper

首先下载postgis source code,然后解开: 运行传统的安装方法: ./configure make 注意若提示缺少相关的lib,如pam,krb5等库,可从库中安装。 然后: checkinstall -D sudo dpkg -i 若不想用deb安装,也可以直接: make install

Posted in Linux, PostGIS | Tagged , , | 1 Comment

glGo 1.4 @dapper

默认的DEB包没有检查下面2个包,因此需要手工安装一下: sudo aptitude install libsdl-image1.2 sudo aptitude install libsdl-ttf2.0-0

Posted in GO, Linux | Tagged , , | Leave a comment

编译sqlite for windows on ubuntu dapper

参考其中的SQLITE部分: http://mpa.itc.it/radim/wingrass/INSTALL 下载源码,解压缩: cd sqlite-3.3.5 nano Makefile.linux-gcc #modify: #TOP = ../sqlite-3.3.5 #这个修改不知道有没有意义 # Note: SQLite is using for example its own parser (lemon) which must be compiled first for Linux make -f Makefile.linux-gcc lemon keywordhash.h cp Makefile.linux-gcc Makefile.mingw-gcc nano Makefile.mingw-gcc … Continue reading

Posted in Linux, Program | Tagged , , , , , | Leave a comment

编译wxWidgets for windows on ubuntu dapper

原文:http://www.wxwidgets.org/wiki/index.php/Cross-Compiling_Under_Linux 下载allportscombine包,然后: ./configure –with-msw –target=i586-mingw32msvc –host=i586-mingw32msvc –build=i386-linux –enable-unicode –prefix=/usr/i586-mingw32msvc/ make make install 注意编译的时候要分两步走,不能象G++那样一步到位: i586-mingw32msvc-g++ -c -o minimal.o minimal.cpp `/usr/i586-mingw32/bin/wx-config –cxxflags` i586-mingw32msvc-g++ -o minimal.exe minimal.o `/usr/i586-mingw32/bin/wx-config –libs` 因为wxWidgets是以动态库的方式编译的,还需要拷贝相关的DLL: cp /usr/i586-mingw32msvc/lib/wx*.dll . 同时,还要拷贝mingw32的一个库过来: cp /usr/share/doc/mingw32-runtime/mingwm10.dll.gz . gzip -d *.gz 然后就可以进行测试了: wine minimal.exe

Posted in Linux, Program | Tagged , , , , , | 2 Comments

thuban 1.1.0@dapper

源中的thuban应该1.0版本,而且存在依赖问题。 从官方下载source,解开: mv Thuban-1.1.0 thuban-1.1.0 cd thuban-1.1.0 nano debian/control #修改几个相关依赖,主要是gdal和python相关的部分 #libwxgtk2.6-dev, libgdal1-1.3.1-dev, python-wxgtk2.6 dch -i dpkgbuildpackage -rfakeroot cd .. sudo dpkg -i *.deb 我印象中原来thuban是用C++写的,怎么现在改成python+wxWidgets了。

Posted in GIS, Linux | Tagged , , | Leave a comment

背单词@dapper

感觉原来的背单词,在DAPPER下不稳定,不知道是什么原因,决定在DAPPER下重新编译一下。 编译还是比较顺利的,注意要把prefix设置为/usr,这样方便和别的包配合使用。 ./configure –prefix=/usr make checkinstall -D sudo dpkg -i *.deb

Posted in Linux | Tagged , , | Leave a comment