因為想在我的 iDevice 上安裝如同我 Utuntu server 一樣的LAMP開發環境
外加 perl
我的iDEVICE: ipod touch 3
ios: 5.0.1
現在安裝了 gcc, perl , mySQL,
但在 make Perl DBI 時 出現錯誤
/usr/local/lib/perl5/5.10.0/arm-iphoneos/CORE/perl.h:5685:63: error: libutil.h: No such file or directory
make: *** [Perl.o] Error 1
TIMB/DBI-1.622.tar.gz
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Failed during this command:
TIMB/DBI-1.622.tar.gz : make NO
請問有大大知道SOLUTION嗎?
感謝
libutil.h 的問題解決了
編譯似乎完成, 但好像仍不能順利 use DBI;

Can't locate loadable object for module DBI in @INC (@INC contains: /usr/local/lib/perl5/5.10.0/arm-iphoneos /usr/local/lib/perl5/5.10.0 /usr/local/lib/perl5/site_perl/5.10.0/arm-iphoneos /usr/local/lib/perl5/site_perl/5.10.0 /usr/local/lib/perl5/5.10.0/arm-iphoneos /usr/local/lib/perl5/5.10.0 . .) at /usr/local/lib/perl5/5.10.0/arm-iphoneos/DBI.pm line 266
BEGIN failed--compilation aborted at /usr/local/lib/perl5/5.10.0/arm-iphoneos/DBI.pm line 266.
Compilation failed in require at createTableTest1.pl line 7.
BEGIN failed--compilation aborted at createTableTest1.pl line 7.
line 7 就是 use DBI;
不知是不是路徑問題, 不能偷懶, 要看一下 DBI 的 readme 了
THANKS AGAIN!!!
內文搜尋

X