文章列表
 
2012-03-02 20:02

>>> import cocos

OSError: dlopen(/System/Library/Frameworks/QuickTime.framework/QuickTime, 6): no suitable image found.  Did find:

/System/Library/Frameworks/QuickTime.framework/QuickTime: mach-o, but wrong architecture

/System/Library/Frameworks/QuickTime.framework/QuickTime: mach-o, but wrong architecture

 

解决是这篇文章: http://twistedpairdevelopment.wordpr

 
2011-12-17 13:54

由于Lion不支持64位的oracleclient,在Python里考虑安装JayDeBeApi通过jdbc访问Oracle,JayDeBeApi有个依赖是JPype,安装编译的时候提示 jni.h: No such file or directory .

解决办法是,找到jni.h所在, 在 setup.py里的

    def setupInclusion(self):

        self.includeDirs = [

            self.javaHome+"/include",

       

 
2011-12-03 12:09

下载解压 PDO_OCI-1.0.tgz

oracle client 安装在/opt/oracle/instantclient_10_2, 编译

$phpize

$./configure --with-pdo-oci=instantclient,/opt/oracle/instantclient_10_2,10.2

提示错误:

checking for oci.h... configure: error: I'm too dumb to figure out where the include dir is in your instant client install

研究configure 文件,发现它要求固定格式的客户端路

 
2011-08-19 16:48

出了这个问题,网上简单搜了一下没结果,想到之前对PhpStorm类似问题的解决方法,试了一下竟成功了,记下到这里。

修改文件 /Applications/FreeMind.app/Contents/Info.plist 

最后面找到这行

<string>-Xms64m -Xmx512m -Xss8M -Dapple.laf.useScreenMenuBar=true</string>

加上 -J-Djava.awt.im.style=on-the-spot 

<string>-Xms64m -Xmx512m -Xss8M -Dapple.laf.useScreenMenuBar=true -J-Djava.awt.im.style=on-the-spot</string

 
2011-08-05 10:31

看到Netbeans上类似问题的解决办法:

修改文件

/Applications/netbeans/NetBeans 6.7.1/Content/Resource/netbeans/etc/netbeans.conf

 netbeans_default_options 里加入

-J-Djava.awt.im.style=on-the-spot  

受到启发,找到PhpStorm的启动文件:/Applications/PhpStorm 2.1.2.app/bin/idea.sh

在 REQUIRED_JVM_ARGS 参数里同样加上 -J-Djava.awt.im.style=on-the-spot  

可以输入中文了!

 
2011-08-05 9:51

Snow Leopard 上编译安装php后,运行python等程序就报这个错:

dyld: Symbol not found: __cg_jpeg_resync_to_restart

  Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO

  Expected in: /usr/local/lib/libJPEG.dylib

 in /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO

 

/usr/local/lib/l

 
2010-12-23 9:33

这个bug已经有人登记了:http://bugs.php.net/bug.php?id=52943

Description:
------------
I have PHP 5.3.3 and libiconv 1.13 on a Solaris machine.

When I run the following script. it coredumps.
The same script runs fine with PHP 5.2.6 and libiconv 1.11.

$ more test.php
<?php
$str = "économiques";
$str = iconv('UTF-8', 'UTF-8//IGNORE', $str);

print "$str\n";
?>


$php test.php
Segmentation Fault (core dumped)

 

 
2010-08-20 9:39
make的时候提示 ./.libs/libxml2.so: undefined reference to `gzopen64' 删掉 /usr/lib64 下 libxml2.* 后正常
 
2009-12-02 10:35

下载,解包,我的是最新的1.8.5

python -v setup.py --quiet install --record=install.log

默认的 Wiki 模板文件被安装在 /usr/share/moin 目录下

创建 Moin实例
# mkdir /export/moin
# cp -rf /usr/share/moin/data /export/moin
# cp -rf /usr/share/moin/underlay /export/moin
# cp /usr/share/moin/config/wikiconfig.py /export/moin
# cp /usr/share/moin/server/wikiserverconfig.py /export/moin

简单使用,使用moin自身提供http服务

wikiserverconfig.

 
2009-10-23 17:02
防止CSRF攻击 http://www.hanguofeng.cn/archives/security/preventing-csrf
 
   
 
 
文章分类
 
 
 
Ruby(1)
 
Web(7)
 
Mail(4)
 
 
Fp(2)
 
 
Php(1)
 
   
 
文章存档
 
     
 
最新文章评论
  

你的图画得好漂亮啊
 

不得不说,太佩服了
 

换个输入法试试,我用的QQ拼音无法输入,换fit就可以了
 

写的太好了,茅塞顿开~~
 

谢谢,转载了
   
帮助中心 | 空间客服 | 投诉中心 | 空间协议
©2012 Baidu