2018-05-21 20:20 GMT+02:00 Csányi Pál <csanyipal@gmail.com>:
Show quoted text> 2018-05-21 19:33 GMT+02:00 Andreas Faafeng via RT
> <bug-Parse-Dia-SQL@rt.cpan.org>:
>
> Yes, I have.
I solved the installation, like this:
svn checkout
https://github.com/aff/Parse-Dia-SQL.git
emerge -a app-portage/g-cpan
In an xterm window run cpan
did answer to questions, and finally
Would you like me to append that to /home/pali/.bashrc now? [yes]
commit: wrote '/home/pali/.local/share/.cpan/CPAN/MyConfig.pm'
Then run cpan in an xterm window and in cpan shell did run these commands:
install Log::Log4perl
install HTML::Lint
install IO::All
install Test::Exception
install Text::Table
install Parse::Dia::SQL
After that I did followings:
cd Parse-Dia-SQL.git/trunk/
perl Makefile.PL
make
make test
All tests successful.
Files=93, Tests=1433, 43 wallclock secs ( 0.49 usr 0.13 sys + 40.22
cusr 1.99 csys = 42.83 CPU)
Result: PASS
make install
Installing /home/pali/perl5/ ..
..
Installing /home/pali/perl5/bin/parsediasql
Appending installation info to
/home/pali/perl5/lib/perl5/x86_64-linux/perllocal.pod
In ~/.bashrc I have now these lines:
PATH="/home/pali/perl5/bin${PATH:+:${PATH}}"; export PATH;
PERL5LIB="/home/pali/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5LIB;
PERL_LOCAL_LIB_ROOT="/home/pali/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}";
export
PERL_LOCAL_LIB_ROOT;
PERL_MB_OPT="--install_base \"/home/pali/perl5\""; export PERL_MB_OPT;
PERL_MM_OPT="INSTALL_BASE=/home/pali/perl5"; export PERL_MM_OPT;
Then I try it out like this:
parsediasql --file Oraim_Osztaly_Diagram.dia --db sqlite3
Can't locate Log/Log4perl.pm in @INC (you may need to install the
Log::Log4perl module) (@INC contains: . lib
/home/pali/perl5/lib/perl5/x86_64-linux /home/pali/perl5/lib/perl5
/etc/perl /usr/local/lib64/perl5/5.24.3/x86_64-linux
/usr/local/lib64/perl5/5.24.3
/usr/lib64/perl5/vendor_perl/5.24.3/x86_64-linux
/usr/lib64/perl5/vendor_perl/5.24.3 /usr/local/lib64/perl5
/usr/lib64/perl5/vendor_perl/5.24.1 /usr/lib64/perl5/vendor_perl
/usr/lib64/perl5/5.24.3/x86_64-linux /usr/lib64/perl5/5.24.3) at
/home/pali/perl5/lib/perl5/Parse/Dia/SQL/Logger.pm line 28.
BEGIN failed--compilation aborted at
/home/pali/perl5/lib/perl5/Parse/Dia/SQL/Logger.pm line 28.
Compilation failed in require at
/home/pali/perl5/lib/perl5/Parse/Dia/SQL/Utils.pm line 29.
BEGIN failed--compilation aborted at
/home/pali/perl5/lib/perl5/Parse/Dia/SQL/Utils.pm line 29.
Compilation failed in require at
/home/pali/perl5/lib/perl5/Parse/Dia/SQL.pm line 184.
BEGIN failed--compilation aborted at
/home/pali/perl5/lib/perl5/Parse/Dia/SQL.pm line 184.
Compilation failed in require at /home/pali/perl5/bin/parsediasql line 12.
BEGIN failed--compilation aborted at /home/pali/perl5/bin/parsediasql line 12.
So, what am I missing?
How can I solve this problem?
--
Best, Pali