error : ./Build: -: invalid parameters

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

error : ./Build: -: invalid parameters

sandip kale
This post has NOT been accepted by the mailing list yet.
Hello All,

I tried to install cmap on local server, however, I am getting following error at ./Build:

dadu@CEG:~/cmap-1.01$ sudo perl Build.PL
It looks like you have installed cmap before.
Should I use the settings in '/home/dadu/cmap-1.01/cmap_install.conf'? [y ]y
Using previous settings from '/home/dadu/cmap-1.01/cmap_install.conf.'
The following options will be used to install CMap:

              CONF: /usr/local/apache2/conf/cmap.conf
            CGIBIN: /usr/local/apache2/cgi-bin
         TEMPLATES: /usr/local/apache2/templates/cmap
 WEB_DOCUMENT_ROOT: /usr/local/apache2/htdocs
            HTDOCS: /usr/local/apache2/htdocs/cmap
             CACHE: /usr/local/apache2/htdocs/cmap/tmp
          SESSIONS: /usr/local/apache2/htdocs/cmap/tmp/sessions

Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'cmap' version '1.01'
Now run './Build' and './Build install'
(Other Build targets include 'html' and 'templates')
dadu@CEG:~/cmap-1.01$ sudo ./Build
Building cmap
pod2html /home/dadu/cmap-1.01/INSTALL.pod -> /home/dadu/cmap-1.01/htdocs/INSTALL.html
Option backlink does not take an argument
./Build: -: invalid parameters
Usage:  ./Build --help --htmlroot=<name> --infile=<name> --outfile=<name>
           --podpath=<name>:...:<name> --podroot=<name> --cachedir=<name>
           --recurse --verbose --index --norecurse --noindex

  --[no]backlink  - turn =head1 directives into links pointing to the top of
                      the page (off by default).
  --cachedir      - directory for the directory cache files.
  --css           - stylesheet URL
  --flush         - flushes the directory cache.
  --[no]header    - produce block header/footer (default is no headers).
  --help          - prints this message.
  --htmldir       - directory for resulting HTML files.
  --htmlroot      - http-server base directory from which all relative paths
                      in podpath stem (default is /).
  --[no]index     - generate an index at the top of the resulting html
                      (default behaviour).
  --infile        - filename for the pod to convert (input taken from stdin
                      by default).
  --outfile       - filename for the resulting html file (output sent to
                      stdout by default).
  --[no]poderrors - include a POD ERRORS section in the output if there were
                      any POD errors in the input (default behavior).
  --podpath       - colon-separated list of directories containing library
                      pods (empty by default).
  --podroot       - filesystem base directory from which all relative paths
                      in podpath stem (default is .).
  --[no]quiet     - suppress some benign warning messages (default is off).
  --[no]recurse   - recurse on those subdirectories listed in podpath
                      (default behaviour).
  --title         - title that will appear in resulting html file.
  --[no]verbose   - self-explanatory (off by default).

Please help
Reply | Threaded
Open this post in threaded view
|

Re: error : ./Build: -: invalid parameters

paula
This post has NOT been accepted by the mailing list yet.
pod2html Option backlink does not take an argument

Edit out argument "=Back to the top"
sudo vi CMapBuilder.pm

214:            $pod, "--outfile=$outpath", "--backlink",