I was afraid someone would ask that... -- but seriously, thanks for asking. The last 35 lines of output from the "perl Makefile.PL" step (following ~190 lines of "checking ..." reports) look like this:
configure: creating ./config.status config.status: creating PerlQt/Makefile.PL Note (probably harmless): No library found for -lsmokeqt Note (probably harmless): No library found for -lqt-mt Note (probably harmless): No library found for -lpng Writing Makefile for Qt config.status: creating Makefile config.status: creating puic/Makefile config.status: creating smoke/qt/qtguess.pl Checking how Qt was built... Threshold is set to 14 Number of defines to be tested : 6/122 Found 29 predefined symbols in qglobal.h Found 13 undefined symbols in qglobal.h Trying to compile and link a small program... FAILED : check your configuration. Failed program was: #include <qapplication.h> int main( int argc, char **argv ) { QApplication foo( argc, argv ); return 0; } Compiled with: g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpoi +nter-arith -Wmissing-prototypes -Wwrite-strings -O2 -fno-exceptions - +fno-check-new -fno-common -I/ldc/include -I/pkg/lib/qt-3.3.8/include +-I/pkg/lib/xorg-7.2/include -L/pkg/lib/xorg-7.2/lib -L${exec_prefix} +/lib -o ./29980-qtguess ./29980-qtguess.cpp -lqt-mt -ldl -lresolv +-lpng -lz -lm -lSM -lICE -lXext -lX11 -lSM -lICE -lpthread Compiler output: cc1plus: warning: command line option "-Wmissing-prototypes" is valid +for Ada/C/ObjC but not for C++ /pkg/bin/ld: cannot find -lqt-mt collect2: ld returned 1 exit status config.status: creating smoke/qt/generate.pl config.status: error: cannot find input file: smoke/qt/generate.pl.in
So near the top I see "Note (probably harmless): No library found for -lqt-mt", and then near the bottom I see "/pkg/bin/ld: cannot find -lqt-mt" followed by "ld returned 1 exit status". So I guess the "probably harmless" comment is a bit off the mark?

The very last line ("cannot find input file") seems like a red herring, because I checked, and smoke/qt/generate.pl.in is there (having been modified as described in the OP update).

For that matter, the qt-3.8.8 path I'm using (via "--with-qt-dir=...") happens to have a "lib" directory that contains (among other things):

libqt-mt.la libqt-mt.prl libqt-mt.so libqt-mt.so.3 libqt-mt.so.3.3 libqt-mt.so.3.3.8
So, I'm sure it's just my own lack of experience with complicated library packages like Qt, but... Why is there a problem? (Let alone, what exactly is the problem?) Beats me.

And wouldn't you know, this is the same result I got before I modified all the perl files in the distro, so in fact, it seems that (so far) the perl path issue is not the current cause of installation problem.


In reply to Re^2: Module Installation Puzzle: using a non-default perl by graff
in thread Module Installation Puzzle: using a non-default perl by graff

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.