in reply to WARNINGS

Things that might help:

#1: Post some code.
#2: Post some code.
#3: Try it with perl-5.6.
#4: Post some code.
#5: Do you actually have the development tools (eg. gcc, ld, etc) installed? which gcc should return a path if you do.
#6: Post some code.


$ echo '$0 & $0 &' > foo; chmod a+x foo; foo;

Replies are listed 'Best First'.
by Anonymous Monk on Dec 12, 2002 at 20:02 UTC

    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:

    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 <>', ABSTRACT => 'Verilog language utilities and parsing', VERSION_FROM => '', 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 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