[linux] The tslib functionality test failed while installing qtlib
The tslib functionality test failed! You might need to modify the include and library search paths by editing QMAKE_INCDIR and QMAKE_LIBDIR in /usr/local/Qt_ARM/mkspecs/qws/linux-arm-g++. 1.If installed tslib or not? If not,install it. 2.If defined tslib path exactlly in ...标签: linux
[linux]__sync_add_and_fetch is not defined
There's an error that "__sync_add_and_fetch is not defined" while I'm building Qt. Just because of gcc I used is version 3.4, It works after I changed gcc to version 4.6.标签: linux
[linux]Create multi virtual host in apache
In http.conf or its sub config file: Must define like this: NameVirtualHost *:443 <VirtualHost *:443> DocumentRoot "/alidata/www/log" ServerName log.anycle.com:443 ServerAdmin you@example.com ErrorLog "/alidata/server/httpd/logs/error_log" TransferLog "/alidata/server/ht...标签: linux
[linux]Install mod_ssl.so in apache without rebuild apache
1.Find my source code and apxs: ~$locate apxs /alidata/server/httpd-2.2.29/bin/apxs ... /home/tmp/sh-1.4.1/httpd-2.2.29/ 2.Enter the ssl directory of source code: cd /home/tmp/sh-1.4.1/httpd-2.2.29/modules/ssl 3.Run apxs: /alidata/server/httpd-2.2.29/bin/apxs -i -c -a -D HAVE_OPENSSL=1 -...标签: linux
[c]linux下构建lib库
来来来,新技能,linux下构建lib库的步骤: 1、准备库函数源文件; my_add.c int add(int a, int b){ printf("Here is my_add.c\n"); return a+b; } my_sub.c int sub(int a, int b){ printf("Here is my_sub.c \n"); return a-b; } 2、生成目标文件; gcc -c my_add.c...[linux]useradd与adduser的区别
1. 在root权限下,useradd只是创建了一个用户名,如 (useradd +用户名 ),它并没有在/home目录下创建同名文件夹,也没有创建密码,因此利用这个用户登录系统,是登录不了的,为了避免这样的情况出现,可以用 (useradd -m +用户名)的方式创建,它会在/home目录下创建同名文件夹,然后利用( passwd + 用户名)为指定的用户名设置密码。 2. 可以直接利用adduser创建新用户(adduser +用户名)这样在/home目录下会自动创建同名文件夹 3. 删除用户,只需使用一个简单的命令“userdel 用户名”即可。不过最好将它留...标签: linux
[c]mosquitto编码实现websockets协议
mosquitto虽然本身是支持websockets协议的,但却依懒libwebsockets库,而libwebsockets库是基于poll的,所以如果想把mosquitto改为epoll模式很容易,却不能兼容websockets了。 为了解决这个纠结的问题,这几天把websockets协议用C语言重新实现了一遍,然后将mosquitto中调用libwebsockets的部分用自己的代码取代,今天终于实现了websockets下的mqtt通讯功能。 首先一些websockets的结构放在websockets.h中: typedef struct _WebSo...[linux]cmake:Could NOT find ZLIB
$cmake .. -- CMAKE_TOOLCHAIN_FILE='' fatal: Not a git repository (or any of the parent directories): .git Git commit hash: nicholas@ubuntu- CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91 (MESSAGE): Could NOT find ZLIB (missing: ZLIB_LIBRARY) (found ver...标签: linux
[embeded]qtopia:libqtopia.so: undefined reference to `uuid_generate'
libqtopia.so: undefined reference to `uuid_generate' 这么一个错误,困扰了我好几天,网上的解决方案如下: #tar -zxvf e2fsprogs-1.39.tar.gz #cd e2fsprogs-1.39 #./configure --enable-elf-shlibs #make #cp -rf lib/libuuid.so* /usr/lib #sudo vim tmake/lib/linux-g++/tmake.conf TMAKE_LIBS_X11 = -lXext -lX11...[linux]阿里云数据库启动不了
阿里云的数据库跑了快一年了,今天登上终端打算看下数据的,结果mysql -u *** 弹回一个错误。ps aux|grep mysql结果如下 root 988 0.0 0.0 4400 740 ? S Jan04 0:00 /bin/sh /alidata/server/mysql/bin/mysqld_safe --datadir=/alidata/server/mysql/data --pid-f...标签: linux
日历
最新微语
- 有的时候,会站在分叉路口,不知道向左还是右
2023-12-26 15:34
- 繁花乱开,鸟雀逐风。心自宁静,纷扰不闻。
2023-03-14 09:56
- 对于不可控的事,我们保持乐观,对于可控的事情,我们保持谨慎。
2023-02-09 11:03
- 小时候,
暑假意味着无忧无虑地玩很长一段时间,
节假意味着好吃好喝还有很多长期不见的小朋友来玩...
长大后,
这是女儿第一个暑假,
一个半月...
2022-07-11 08:54
- Watching the autumn leaves falling as you grow older together
2018-10-25 09:45
分类
最新评论
- Goonog
i get it now :) - 萧
@Fluzak:The web host... - Fluzak
Nice blog here! Also... - Albertarive
In my opinion you co... - ChesterHep
What does it plan? - ChesterHep
No, opposite. - mojoheadz
Everything is OK!... - Josephmaigh
I just want to say t... - ChesterHep
What good topic - AnthonyBub
Certainly, never it ...