しゃある通信

#29-01 [Ubuntu,perl]USE_64_BIT_INTでrebuild
apt-get source perl して sudo apt-get build-dep perl して dch -i して

perl (5.8.8-12ubuntu0.4sharl1) hardy; urgency=low

  * Add -DUSE_64_BIT_INT to debian/config.debian.

 -- Sharl Morlaroll <sharl@hauN.org>  Wed, 29 Jul 2009 03:27:57 +0900
config.debian をほげる。
$ diff -u config.debian.old config.debian
--- config.debian.old   2009-07-29 02:36:30.000000000 +0900
+++ config.debian       2009-07-29 03:29:24.000000000 +0900
@@ -4,7 +4,7 @@
 SETver=PERL_REVISION.PERL_VERSION;
 SETfullver=$ver.PERL_SUBVERSION' | gcc -E - | sed -n '/^SET/{s///;s/ //gp;}')

-ccflags=-DDEBIAN
+ccflags="-DDEBIAN -DUSE_64_BIT_INT"
 arch_cpu=${DEB_BUILD_ARCH_CPU:-$(dpkg-architecture -qDEB_BUILD_ARCH_CPU)}
 gnu_type=${DEB_BUILD_GNU_TYPE:-$(dpkg-architecture -qDEB_BUILD_GNU_TYPE)}
 optimize=
署名はしないのでdebuild -uc -usで完成。
$ sudo dpkg -i perl-base_5.8.8-12ubuntu0.4sharl1_i386.deb libperl5.8_5.8.8-12ubuntu0.4sharl1_i386.deb
$ sudo dpkg -i perl_5.8.8-12ubuntu0.4sharl1_i386.deb perl-modules_5.8.8-12ubuntu0.4sharl1_all.deb
しかしいろいろ不具合が出るので戻す(汗;



マクロミルへ登録

© 2009 Kazuya 'Sharl' Masuda
(C)Willoo Entertainment Inc. (C)Konami Digital Entertainment 株式会社ウィローエンターテイメント及び株式会社コナミデジタルエンタテインメントの著作権を侵害する行為は禁止されています。 0.005260 cached