Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: WARNINGS

by ibanix (Hermit)
on Dec 12, 2002 at 04:18 UTC ( #219247=note: print w/replies, xml ) Need Help??


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.

Cheers,
ibanix

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

Replies are listed 'Best First'.
Re: Re: WARNINGS
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: 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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://219247]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2021-05-15 05:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Perl 7 will be out ...





    Results (150 votes). Check out past polls.

    Notices?