OK, I could be off-base here but maybe if I post some code it might help ;-)
I’m trying to install a package called Verilog-Perl 2.214. The entire package is 300KB and can be downloaded at: http://search.cpan.org/author/WSNYDER/Verilog-Perl-2.214/
Perl is used to create a makefile. When I execute the perl script I get the following:
efw@localhost Verilog-Perl-2.214$ perl Makefile.PL
WARNING: CC is not a known parameter.
WARNING: CC is not a known parameter.
WARNING: LD is not a known parameter.
Writing Makefile for Verilog::Preproc::lib
Writing Makefile for Verilog::Preproc
Writing Makefile for Verilog::Language
efw@localhost Verilog-Perl-2.214$
I don’t know for certain that perl is issuing these warnings. That is what I was told by the author of the code.
Here is the listing of Makefile.PL:
# $Revision: #23 $$Date: 2002/08/08 $$Author: wsnyder $
# DESCRIPTION: Perl ExtUtils: Type 'perl Makefile.PL' to create a Make
+file for this package
use ExtUtils::MakeMaker;
use Carp;
$DOLLAR = '$$'; # Quoted properly for make
sub MY::postamble {
"
README: readme.texi
-rm \$@
makeinfo \$< --output \$@ --no-headers --no-validate
clean::
-rm -rf simv .vpm test_dir
dist: maintainer-copy distcheck README
## Maintainer use:
tag:
p4 label -d \$(DISTNAME)_\$(VERSION_SYM) || true
p4 label \$(DISTNAME)_\$(VERSION_SYM)
p4 labelsync -l \$(DISTNAME)_\$(VERSION_SYM) ...
# cvs tag -F \$(DISTNAME)_\$(VERSION_SYM) .
maintainer-dist: dist tag
cp \$(DISTVNAME).tar.gz \$(HOME)/src/kits
mv \$(DISTVNAME).tar.gz \$(HOME)/backpack
maintainer-copy:
#vpm maintainer-copy:
# perl -pe '${DOLLAR}skip = 1 if /--MAKER--/; print ${DOLLAR}_ if !
+ ${DOLLAR}skip; ${DOLLAR}skip = 0 if /--ENDMAKER--/; ${DOLLAR}_=qq{};
+' < ../../vpm > vpm
# chmod a+x vpm
maintainer-clean: distclean
-rm README Makefile
";
}
local $! = undef;
`flex --version`; ($?==0) or die "\n%Error: 'flex' must be installed t
+o build\n";
`g++ --version`; ($?==0) or die "\n%Error: 'gcc/g++' must be installed
+ to build\n";
WriteMakefile(
DISTNAME => 'Verilog-Perl',
NAME => 'Verilog::Language',
AUTHOR => 'Wilson Snyder <wsnyder@wsnyder.org>',
ABSTRACT => 'Verilog language utilities and parsing',
VERSION_FROM => 'Language.pm',
PMLIBDIRS => ['lib', 'Verilog', 'Netlist',],
EXE_FILES => [qw( vrename vpm )],
'clean' => {FILES => qw (test_dir signals.vrename .vpm si
+mv ),},
'dist' => {COMPRESS => 'gzip -9f',
SUFFIX => '.gz',
DIST_DEFAULT => 'README all tardist',
},
);
Here is some system information:
efw@localhost efw$ uname -a
Linux localhost.localdomain 2.4.18-14 #1 Wed Sep 4 13:35:50 EDT 2002 i686 i686 i386 GNU/Linux
efw@localhost efw$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/u
sr/share/info --enable-shared --enable-threads=posix --disable-checking --host=i
386-redhat-linux --with-system-zlib --enable-__cxa_atexit
Thread model: posix
gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
efw@localhost efw$ ld -v
GNU ld version 2.13.90.0.2 20020802
efw@localhost efw$ perl -v
This is perl, v5.8.0 built for i386-linux-thread-multi
Copyright 1987-2002, Larry Wall
efw@localhost efw$ make -v
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for i386-redhat-linux-gnu
Thanks!! efw
-
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.