]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/bugs/2.45_Compilation_error.mdwn
response
[ikiwiki.git] / doc / bugs / 2.45_Compilation_error.mdwn
index b9e5ad3e1fd904b9958e7a755e7192cdd4a6aa3f..82dbc3e45b920658d8fffbd2ab73d94d57a2c882 100644 (file)
@@ -24,4 +24,20 @@ I have perl 5.10.0. Ikiwiki 2.44 compiles fine. Compiling 2.45 fails after 'make
 >>> understand why they would be seen, since -Iblib/lib is passed to perl.
 >>> --[[Joey]]
 
 >>> understand why they would be seen, since -Iblib/lib is passed to perl.
 >>> --[[Joey]]
 
+>>>> They were under /usr/local/{bin,lib,share}. I can try to provide more info,
+>>>> or try to reproduce it, if you need me to.
+
+>>>>> Well, here are some things to try.
+
+       perl -Iblib/lib -V
+
+>>>>> This should have blib/lib first in the listed @INC
+
+       joey@kodama:~/src/ikiwiki>strace perl -Iblib/lib -e 'use IkiWiki' 2>&1 |grep IkiWiki.pm
+       stat64("blib/lib/IkiWiki.pmc", 0xbfa1594c) = -1 ENOENT (No such file or directory)
+       stat64("blib/lib/IkiWiki.pm", {st_mode=S_IFREG|0444, st_size=31982, ...}) = 0
+       open("blib/lib/IkiWiki.pm", O_RDONLY|O_LARGEFILE) = 5
+
+>>>>> This is how perl finds IkiWiki.pm here. Note that I've run "make" first.
+
 [[done]]
 [[done]]