https://metacpan.org/source/VKON/Tcl-1.05/Makefile.PL tries to be helpful by taking non standard arguments ( not ExtUtils::MakeMaker )
GetOptions("tclsh=s", \$tclsh, # Use this tclsh executable as
+a
# base to find the lib info nee
+ded
"tclconfig=s", \$tclconfig, # Use the specified Tcl config file
# instead of basing the values
+on
# the tclsh exe found
"buildspec", \$buildspec, # Used with --tclconfig, use the
# build (instead of install) va
+lues
# for determining lib info
"usestubs!", \$usestubs, # we want to use the Tcl stubs
# mechanism by default
"library=s", \$libpath, # Use this specific Tcl library
"include=s", \$incpath, # Use this specific include path
"define=s", \$defs, # Use this specific set of defines
)
|| _die <<EOT;
Usage: perl Makefile.PL [--tclsh <path>] [--tclconfig <path>]
[--buildspec] [--nousestubs] [<makemaker opts>
+...]
or for expert compilation:
perl --library=-l/path/to/tcl(stub).a --include=-I/path/to/tcl/
+include
--define="-DLIB_RUNTIME_DIR=... -DTCL_LIB_FILE=..."
EOT
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|