- 전일 18:00 ~ 금일 08:00 변경 건 : 금일 08:20 업데이트
- 금일 08:00 ~ 금일 12:00 변경 건 : 금일 12:20 업데이트
- 금일 12:00 ~ 금일 18:00 변경 건 : 금일 18:20 업데이트

'프로젝트 > 폐기 :: DnsQ' 카테고리의 다른 글

nslookup.php?domain=tistory.com&type=NS  (0) 2007.02.21
nslookup.php?domain=tistory.com&type=A  (0) 2007.02.08
nslookup -type=A tistory.com  (0) 2007.01.27
nslookup -type=A tistory.com  (0) 2007.01.22
nslookup -type=A yahoo.co.kr  (0) 2007.01.22
블로그 이미지

용병

,

gem install mysql
-----------------------------------------------------------------------------
Building native extensions.  This could take a while...
ERROR:  While executing gem ... (Gem::Installer::ExtensionBuildError)
    ERROR: Failed to build gem native extension.

ruby extconf.rb install mysql
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lm... yes
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lz... yes
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lsocket... no
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lnsl... yes
checking for mysql_query() in -lmysqlclient... no
-----------------------------------------------------------------------------

gem install mysql -- --with-mysql-lib=/usr/local/mysql/lib/mysql/

cd /usr/local/ruby/lib/ruby/gems/1.8/gems/mysql-2.7/
ruby extconf.rb --with-mysql-config=/usr/local/mysql/bin/mysql_config
make
make install
gem install mysql -- --with-mysql-lib=/usr/local/mysql/lib/mysql/

'프로그래밍 언어 > Ruby On Rails' 카테고리의 다른 글

mongrel_rails cluster start or stop  (0) 2007.05.10
gem list 보기  (0) 2007.05.09
ror  (0) 2007.05.09
블로그 이미지

용병

,
mongrel_rails cluster::start --config /설치경로/config/mongrel_cluster.yml
mongrel_rails cluster::stop
mongrel_rails cluster::restart --config /설치경로/config/mongrel_cluster.yml

'프로그래밍 언어 > Ruby On Rails' 카테고리의 다른 글

ruby + mysql  (0) 2007.05.10
gem list 보기  (0) 2007.05.09
ror  (0) 2007.05.09
블로그 이미지

용병

,
gem list | grep '^[a-zA-Z]'

'프로그래밍 언어 > Ruby On Rails' 카테고리의 다른 글

ruby + mysql  (0) 2007.05.10
mongrel_rails cluster start or stop  (0) 2007.05.10
ror  (0) 2007.05.09
블로그 이미지

용병

,

'프로그래밍 언어 > Ruby On Rails' 카테고리의 다른 글

ruby + mysql  (0) 2007.05.10
mongrel_rails cluster start or stop  (0) 2007.05.10
gem list 보기  (0) 2007.05.09
블로그 이미지

용병

,
// php < php5 array_combine 용
function array_comb($arr, $arr_to_key) {
    $i = 0;
    foreach ($arr_to_key AS $value){
        $arr_combined[$value] = $arr[$i];
        $i++;
    }

    return $arr_combined;
}

'프로그래밍 언어 > php' 카테고리의 다른 글

libcurl Emulator  (0) 2007.12.06
php header_sent  (0) 2007.11.27
배열 컬럼 정렬  (0) 2007.03.15
php error func  (0) 2007.03.12
str_word_count - 문자열에서 사용한 단어에 대한 정보 반환  (0) 2007.03.11
블로그 이미지

용병

,