Forums » Installation »
Installing Verilog-Perl in FreeBSD
Added by Otacílio de Araújo Ramos Neto about 4 years ago
Hello dears!
I'm trying install Verilog-Perl in FreeBSD. Initially I do:
[ota@squitch /usr/home/ota/OpenRISC1000]$ tar -zxvf Verilog-Perl-3.121.tar.gz [ota@squitch /usr/home/ota/OpenRISC1000]$ cd Verilog-Perl-3.12 [ota@squitch /usr/home/ota/OpenRISC1000/Verilog-Perl-3.121]$ perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Verilog::Parser Writing Makefile for Verilog::Preproc Writing Makefile for Verilog::Language [ota@squitch /usr/home/ota/OpenRISC1000/Verilog-Perl-3.121]$ gmake cp Netlist/Net.pm blib/lib/Verilog/Netlist/Net.pm cp Netlist/Cell.pm blib/lib/Verilog/Netlist/Cell.pm cp Getopt.pm blib/lib/Verilog/Getopt.pm cp Netlist/Logger.pm blib/lib/Verilog/Netlist/Logger.pm cp Netlist/Port.pm blib/lib/Verilog/Netlist/Port.pm cp Verilog-Perl.pod blib/lib/Verilog/Verilog-Perl.pod cp Language.pm blib/lib/Verilog/Language.pm cp Netlist/Pin.pm blib/lib/Verilog/Netlist/Pin.pm cp Netlist.pm blib/lib/Verilog/Netlist.pm cp Netlist/Subclass.pm blib/lib/Verilog/Netlist/Subclass.pm cp Netlist/File.pm blib/lib/Verilog/Netlist/File.pm cp Netlist/Module.pm blib/lib/Verilog/Netlist/Module.pm cp EditFiles.pm blib/lib/Verilog/EditFiles.pm "Makefile", line 758: Missing dependency operator "Makefile", line 760: Need an operator "Makefile", line 762: Need an operator make: fatal errors encountered -- cannot continue gmake: ** [subdirs] Erro 1
What I do about it?
Thanks
Replies (7)
RE: Installing Verilog-Perl in FreeBSD - Added by Wilson Snyder about 4 years ago
Use gmake and then you'll hit your other problem with flex
http://www.veripool.org/boards/1/topics/show/95
Oh, I see you've solved that, great!
RE: Installing Verilog-Perl in FreeBSD - Added by Otacílio de Araújo Ramos Neto about 4 years ago
Ok Wilson!
I did a
[ota@squitch /usr/home/ota/OpenRISC1000/Verilog-Perl-3.121]$ make MAKE=gmake
and the the compile runs OK
Thanks
RE: Installing Verilog-Perl in FreeBSD - Added by Otacílio de Araújo Ramos Neto about 4 years ago
Ow
The
[ota@squitch /usr/home/ota/OpenRISC1000/Verilog-Perl-3.121]$ gmake test MAKE=gmake
Is failing with@Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/02_help.t 15 8 2-3 5-6 8-9 11-12 t/30_preproc.t 2 512 12 24 1-12 t/32_noinc.t 2 512 7 14 1-7 t/34_parser.t 2 512 6 12 1-6 t/35_sigparser.t 2 512 4 8 1-4 t/36_sigmany.t 2 512 3 6 1-3 t/40_netlist.t 2 512 19 38 1-19 t/41_example.t 2 512 2 4 1-2 t/42_dumpcheck.t 2 512 10 20 1-10 t/44_create.t 2 512 2 4 1-2 t/46_link.t 2 512 2 4 1-2 t/50_vrename.t 2 512 6 12 1-6 t/60_vpassert.t 17 4352 5 10 1-5 t/80_vppreproc.t 17 4352 6 12 1-6 t/85_vhier.t 2 512 10 20 1-10 19 subtests skipped. Failed 15/25 test scripts. 102/310 subtests failed. Files=25, Tests=310, 3 wallclock secs ( 1.91 cusr + 1.08 csys = 2.99 CPU) Failed 15/25 test programs. 102/310 subtests failed. gmake: ** [test_dynamic] Erro 2 @
What is hit about it?
Thank you.
RE: Installing Verilog-Perl in FreeBSD - Added by Wilson Snyder about 4 years ago
What does
"t/30_preproc.t" print out?
Then see if you can intuit what's broken.
RE: Installing Verilog-Perl in FreeBSD - Added by Otacílio de Araújo Ramos Neto about 4 years ago
I changed the line
PMLIBDIRS => ['lib', 'Verilog', 'Netlist',],
In Makefile.Pl to
PMLIBDIRS => ['lib', '../Verilog', 'Netlist',],
Then i run
[ota@squitch /usr/home/ota/OpenRISC1000/Verilog-Perl-3.121]$ gmake test MAKE=gmake
After run I get
All tests successful, 21 subtests skipped.
I think that is because I dont have VCS/NC-Verilog installed.
Ok thanks.
RE: Installing Verilog-Perl in FreeBSD - Added by Wilson Snyder about 4 years ago
Great, thanks for finding the key. That particular solution won't be portable though, does this also work?
PMLIBDIRS => ['lib', 'Parser', 'Preproc', 'Netlist',],RE: Installing Verilog-Perl in FreeBSD - Added by Otacílio de Araújo Ramos Neto about 4 years ago
Yes, this works too.
(1-7/7)
![[logo]](/img/veripool_small.png)