Resending as I sent this from a new email address that needed to be
registered in the mailing list.
Sorry to jump in here. Installing PDL on Ubuntu should be very straight
forward from the command line:
sudo apt-get install pdl pgplot5 libpgplot-perl
This *should* also install other PDL dependencies.
More info on http://pdl.perl.org/?page=install
Thanks,
Alfredo
On Monday 16 March 2015 04:41:40 Ted Pedersen wrote:
This is something you do from the command line. Are you using CPAN to
install the modules? If so, then what you can do is
cpan
> force install PDL
So these are two commands you run from the command line (in sudo
mode).
I hope this helps, and that it works!
Good luck,
Ted
On Sun, Mar 15, 2015 at 3:00 PM, <[email protected][1]> wrote:
Hi,
Sorry I am not very familiar with perl, which file should I modify to addthese
lines? Or are these the command that I should type in my shell? Ifyou can
provide more detail about how to fix this PDL issue I will bereally
appreciated. Thanks!
[email protected]_> wrote:>>> Hi,>>>> After I install F77 and
ExtUtils:F77, the error messages are definitely>> different now. Yet while
installing PDL, at the end it still shows>>>> ****>> Cannot find Proj
library, libproj.a. Please add the correct>> library path to Makefile.PL or
install Proj. Cannot find Proj>> header file, proj_api.h. Please add
the correct library path>> to Makefile.PL or install Proj. Skipping build of
PDL::GIS::Proj.>> ****>> make[3]: Leaving directory>>
`/usr1/jchiu1/.cpan/build/PDL-2.007-ifLc9Q/Lib/GIS/Proj'>> make[3]:
Entering directory>> `/usr1/jchiu1/.cpan/build/PDL-2.007-
ifLc9Q/Lib/GIS/Proj'>> ****>> Cannot find Proj library, libproj.a.
Please add the correct>> library path to Makefile.PL or install Proj.
Cannot find Proj>> header file, proj_api.h. Please add the correct
library path>> to Makefile.PL or install Proj. Skipping build of
PDL::GIS::Proj.>> ****>> make[3]: Leaving directory>>
`/usr1/jchiu1/.cpan/build/PDL-2.007-ifLc9Q/Lib/GIS/Proj'>> make[2]: Leaving
directory>> `/usr1/jchiu1/.cpan/build/PDL-2.007-ifLc9Q/Lib/GIS'>> make[2]:
Entering directory>> `/usr1/jchiu1/.cpan/build/PDL-2.007-
ifLc9Q/Lib/Transform'>> make[3]: Entering directory>>
`/usr1/jchiu1/.cpan/build/PDL-2.007-ifLc9Q/Lib/Transform/Cartography'>>
make[3]: Leaving directory>> `/usr1/jchiu1/.cpan/build/PDL-2.007-
ifLc9Q/Lib/Transform/Cartography'>> make[3]: Entering directory>>
`/usr1/jchiu1/.cpan/build/PDL-2.007-ifLc9Q/Lib/Transform/Proj4'>> ****>>
Will skip build of PDL::Transform::Proj4 on this system>> ****>> make[3]:
Leaving directory>> `/usr1/jchiu1/.cpan/build/PDL-2.007-
ifLc9Q/Lib/Transform/Proj4'>> make[3]: Entering directory>>
`/usr1/jchiu1/.cpan/build/PDL-2.007-ifLc9Q/Lib/Transform/Cartography'>> No
tests defined for PDL::Transform::Cartography extension.>> make[3]:
Leaving directory>> `/usr1/jchiu1/.cpan/build/PDL-2.007-
ifLc9Q/Lib/Transform/Cartography'>> make[3]: Entering directory>>
`/usr1/jchiu1/.cpan/build/PDL-2.007-ifLc9Q/Lib/Transform/Proj4'>> ****>>
Will skip build of PDL::Transform::Proj4 on this system>> ****>> make[3]:
Leaving directory>> `/usr1/jchiu1/.cpan/build/PDL-2.007-
ifLc9Q/Lib/Transform/Proj4'>> make[2]: Leaving directory>>
`/usr1/jchiu1/.cpan/build/PDL-2.007-ifLc9Q/Lib/Transform'>> make[2]:
Entering directory>> `/usr1/jchiu1/.cpan/build/PDL-2.007-
ifLc9Q/Lib/Minuit'>> No tests defined for PDL::Minuit extension.>> make[2]:
Leaving directory>> `/usr1/jchiu1/.cpan/build/PDL-2.007-
ifLc9Q/Lib/Minuit'>> make[2]: Entering directory>>
`/usr1/jchiu1/.cpan/build/PDL-2.007-ifLc9Q/Lib/Compression'>> No tests
defined for PDL::Compression extension.>> make[2]: Leaving directory>>
`/usr1/jchiu1/.cpan/build/PDL-2.007-ifLc9Q/Lib/Compression'>> make[1]:
Leaving directory>> `/usr1/jchiu1/.cpan/build/PDL-2.007-ifLc9Q/Lib'>>
make[1]: Entering directory>> `/usr1/jchiu1/.cpan/build/PDL-2.007-
ifLc9Q/Perldl2'>> make[2]: Entering directory>>
`/usr1/jchiu1/.cpan/build/PDL-2.007-ifLc9Q/Perldl2/Profile'>> make[2]:
Leaving directory>> `/usr1/jchiu1/.cpan/build/PDL-2.007-
ifLc9Q/Perldl2/Profile'>> make[2]: Entering directory>>
`/usr1/jchiu1/.cpan/build/PDL-2.007-ifLc9Q/Perldl2/Plugin'>> make[2]:
Leaving directory>> `/usr1/jchiu1/.cpan/build/PDL-2.007-
ifLc9Q/Perldl2/Plugin'>> /usr/bin/perl -MPod::Select -e "podselect('pdl2');" >
pdl2.pod>> Skip ../blib/lib/PDL/Perldl2/Script.pm (unchanged)>> Skip
../blib/lib/PDL/pdl2.pod (unchanged)>> make[2]: Entering directory>>
`/usr1/jchiu1/.cpan/build/PDL-2.007-ifLc9Q/Perldl2/Profile'>> No tests
defined for PDL::Perldl2::Profile extension.>> make[2]: Leaving directory>>
`/usr1/jchiu1/.cpan/build/PDL-2.007-ifLc9Q/Perldl2/Profile'>> make[2]:
Entering directory>> `/usr1/jchiu1/.cpan/build/PDL-2.007-
ifLc9Q/Perldl2/Plugin'>> No tests defined for PDL::Perldl2::Plugin
extension.>> make[2]: Leaving directory>>
`/usr1/jchiu1/.cpan/build/PDL-2.007-ifLc9Q/Perldl2/Plugin'>> make[1]:
Leaving directory>> `/usr1/jchiu1/.cpan/build/PDL-2.007-ifLc9Q/Perldl2'>>
CHM/PDL-2.007.tar.gz>> Tests succeeded but one dependency not OK
(Module::Compile)>> CHM/PDL-2.007.tar.gz>> [dependencies] -- NA>>
Running make install>> make test had returned bad status, won't install
without force>>>> It seems like there is some Proj4 stuff missing? I
wonder is there any>> other toolkit I need to install.>>>> Justin>>>> >
It looks like this has to do with ExtUtils::F77. Do you have a fortran>> >
compiler installed? :) If not, go ahead and install one (usually the>>
name>> > includes f77). Then install ExtUtils::F77 individually, and then
try>> PDL>> > again. This is a PDL dependency issue and so doesn't
really have much>> to>> > do>> > with SenseClusters itself, but it's
something I've run into from time>> to>> > time. Hopefully this gets all
the dependencies installed so that>> > SenseClusters can then be re-
installed.>> >>> > Let us know how it goes.>> >>> > Good luck,>> >
Ted>> >>> > On Fri, Mar 13, 2015 at 8:56 PM,
<[email protected]_> wrote:>> >>> >> Hi,>> >>>> >> When I
directly use the command "sudo perl -MCPAN -e 'install PDL' ;">> to>> >>
install PDL, the message shows up>> >>>> >> make[3]: Leaving
directory>> >> `/usr1/jchiu1/.cpan/build/PDL-2.007-3VrP6p/Lib/GIS/Proj'>>
>> make[2]: Leaving directory>> >>
`/usr1/jchiu1/.cpan/build/PDL-2.007-3VrP6p/Lib/GIS'>> >> make[2]:
Entering directory>> >>
`/usr1/jchiu1/.cpan/build/PDL-2.007-3VrP6p/Lib/Transform'>> >> make[3]:
Entering directory>> >>
`/usr1/jchiu1/.cpan/build/PDL-2.007-3VrP6p/Lib/Transform/Cartography'>>
>> make[3]: Leaving directory>> >>
`/usr1/jchiu1/.cpan/build/PDL-2.007-3VrP6p/Lib/Transform/Cartography'>>
>> make[3]: Entering directory>> >>
`/usr1/jchiu1/.cpan/build/PDL-2.007-3VrP6p/Lib/Transform/Proj4'>> >>
****>> >> Will skip build of PDL::Transform::Proj4 on this system>> >>
****>> >> make[3]: Leaving directory>> >>
`/usr1/jchiu1/.cpan/build/PDL-2.007-3VrP6p/Lib/Transform/Proj4'>> >>
make[3]: Entering directory>> >>
`/usr1/jchiu1/.cpan/build/PDL-2.007-3VrP6p/Lib/Transform/Cartography'>>
>> No tests defined for PDL::Transform::Cartography extension.>> >>
make[3]: Leaving directory>> >>
`/usr1/jchiu1/.cpan/build/PDL-2.007-3VrP6p/Lib/Transform/Cartography'>>
>> make[3]: Entering directory>> >>
`/usr1/jchiu1/.cpan/build/PDL-2.007-3VrP6p/Lib/Transform/Proj4'>> >>
****>> >> Will skip build of PDL::Transform::Proj4 on this system>> >>
****>> >> make[3]: Leaving directory>> >>
`/usr1/jchiu1/.cpan/build/PDL-2.007-3VrP6p/Lib/Transform/Proj4'>> >>
make[2]: Leaving directory>> >>
`/usr1/jchiu1/.cpan/build/PDL-2.007-3VrP6p/Lib/Transform'>> >> make[2]:
Entering directory>> >>
`/usr1/jchiu1/.cpan/build/PDL-2.007-3VrP6p/Lib/Minuit'>> >> ****>> >>
Can't locate ExtUtils/F77.pm in @INC (@INC contains:>> >>
/usr1/jchiu1/.cpan/build/PDL-2.007-3VrP6p/inc /etc/perl>> >>
/usr0/local/lib/perl/5.14.2 /usr0/local/share/perl/5.14.2>> /usr/lib/perl5>>
>> /usr/share/perl5 /usr/lib/perl/5.14.2 /usr/share/perl/5.14.2>> >>
/usr/local/lib/site_perl /usr1/jchiu1/.cpan/build/PDL-2.007-3VrP6p>> >>
/usr1/jchiu1/.cpan/build/PDL-2.007-3VrP6p/Lib .) at (eval 250) line>> >>
2.BEGIN failed--compilation aborted at (eval 250) line 2.>> >>
ExtUtils::F77>> >> module not found. Ought not build PDL::Minuit>> >>
****>> >> make[2]: Leaving directory>> >>
`/usr1/jchiu1/.cpan/build/PDL-2.007-3VrP6p/Lib/Minuit'>> >> make[2]:
Entering directory>> >>
`/usr1/jchiu1/.cpan/build/PDL-2.007-3VrP6p/Lib/Compression'>> >> No
tests defined for PDL::Compression extension.>> >> make[2]: Leaving
directory>> >>
`/usr1/jchiu1/.cpan/build/PDL-2.007-3VrP6p/Lib/Compression'>> >>
make[1]: Leaving directory>> >>
`/usr1/jchiu1/.cpan/build/PDL-2.007-3VrP6p/Lib'>> >> make[1]: Entering
directory>> >> `/usr1/jchiu1/.cpan/build/PDL-2.007-3VrP6p/Perldl2'>> >>
make[2]: Entering directory>> >>
`/usr1/jchiu1/.cpan/build/PDL-2.007-3VrP6p/Perldl2/Profile'>> >> make[2]:
Leaving directory>> >>
`/usr1/jchiu1/.cpan/build/PDL-2.007-3VrP6p/Perldl2/Profile'>> >> make[2]:
Entering directory>> >>
`/usr1/jchiu1/.cpan/build/PDL-2.007-3VrP6p/Perldl2/Plugin'>> >> make[2]:
Leaving directory>> >>
`/usr1/jchiu1/.cpan/build/PDL-2.007-3VrP6p/Perldl2/Plugin'>> >>
/usr/bin/perl -MPod::Select -e "podselect('pdl2');" > pdl2.pod>> >> Skip
../blib/lib/PDL/Perldl2/Script.pm (unchanged)>> >> Skip
../blib/lib/PDL/pdl2.pod (unchanged)>> >> make[2]: Entering directory>>
>> `/usr1/jchiu1/.cpan/build/PDL-2.007-3VrP6p/Perldl2/Profile'>> >> No
tests defined for PDL::Perldl2::Profile extension.>> >> make[2]: Leaving
directory>> >>
`/usr1/jchiu1/.cpan/build/PDL-2.007-3VrP6p/Perldl2/Profile'>> >> make[2]:
Entering directory>> >>
`/usr1/jchiu1/.cpan/build/PDL-2.007-3VrP6p/Perldl2/Plugin'>> >> No tests
defined for PDL::Perldl2::Plugin extension.>> >> make[2]: Leaving
directory>> >>
`/usr1/jchiu1/.cpan/build/PDL-2.007-3VrP6p/Perldl2/Plugin'>> >> make[1]:
Leaving directory>> >>
`/usr1/jchiu1/.cpan/build/PDL-2.007-3VrP6p/Perldl2'>> >>
CHM/PDL-2.007.tar.gz>> >> Tests succeeded but one dependency not OK
(Module::Compile)>> >> CHM/PDL-2.007.tar.gz>> >> [dependencies] --
NA>> >> Running make install>> >> make test had returned bad
status, won't install without force>> >>>> >> It seems like a similar
errors. Actually I think most of the required>> >> component shows up
similar errors. Thanks.>> >>>> >> Justin>> >>>> >> > It looks like PDL
failed to install. Did you try and install PDL>> >> > separately? If so, what
kind of errors did you get with that?>> >> >>> >> > Thanks!>> >> >
Ted>> >> >>> >> > On Fri, Mar 13, 2015 at 3:42 PM,
<[email protected]_> wrote:>> >> >>> >> >> Hi All,>> >>
>>>> >> >> Right now I am trying to install Senseclusters on my
ubuntu>> machine.>> >> I>> >> >> do>> >> >> have sudo account,
so I just use the "perl -MCPAN -e 'install>> >> >>
Bundle::Text::SenseClusters';" command as the documentation>> >>
mentioned.>> >> >>>> >> >> However, after the process is completed,
there is no perl script>> >> >> installed>> >> >> to my /usr/local/bin
folder. At the end of the installation, it>> says>> >> >>>> >> >>
Running make test>> >> >> PERL_DL_NONLAZY=1 /usr/bin/perl "-
MExtUtils::Command::MM">> >> >> "-MTest::Harness" "-e" "undef
*Test::Harness::Switches;>> >> test_harness(0,>> >> >> 'blib/lib',
'blib/arch')" t/*.t>> >> >> t/Text-SenseClusters.t .. ok>> >> >> All tests
successful.>> >> >> Files=1, Tests=1, 0 wallclock secs ( 0.01 usr 0.00
sys + 0.01>> cusr>> >> >> 0.00 csys = 0.02 CPU)>> >> >> Result:
PASS>> >> >> TPEDERSE/Text-SenseClusters-1.03.tar.gz>> >> >> Tests
succeeded but one dependency not OK (PDL)>> >> >> TPEDERSE/Text-
SenseClusters-1.03.tar.gz>> >> >> [dependencies] -- NA>> >> >>
Running make install>> >> >> make test had returned bad status, won't
install without force>> >> >> Running install for module
'Module::Compile'>> >> >> Running make install>> >> >> make test
had returned bad status, won't install without force>> >> >> Running
make for C/CH/CHM/PDL-2.007.tar.gz>> >> >> Has already been
unwrapped into directory>> >> >> /usr1/jchiu1/.cpan/build/PDL-2.007-
M4Shkn>> >> >> Warning: Prerequisite 'Module::Compile => 0.23' for>>
>> >> 'CHM/PDL-2.007.tar.gz'>> >> >> failed when processing
'INGY/Module-Compile-0.35.tar.gz' with>> >> 'make_test>> >> >> => NO'.
Continuing, but chances to succeed are limited.>> >> >> Has already
been made>> >> >> Running make test>> >> >> Has already been
tested within this command>> >> >> Running make install>> >> >>
make test had returned bad status, won't install without force>> >>
>>>> >> >> So I try to manually install each of the component, and it
still>> >> shows>> >> >> the>> >> >> same error. (Seems like the
make install step just can't work as>> it>> >> >> should) Does anyone
know how to fix that? Thank you for reading>> this>> >> >> e-mail.>>
>> >>>> >> >> Justin>> >> >>>> >> >>>> >> >>>> >> >>>> >>
>>>> >> >>>> >>>> ------------------------------------------------------------------------------
>> >> >> Dive into the World of Parallel Programming The Go Parallel>>
Website,>> >> >> sponsored>> >> >> by Intel and developed in
partnership with Slashdot Media, is your>> >> hub>> >> >> for>> >>
>> all>> >> >> things parallel software development, from weekly
thought>> leadership>> >> >> blogs>> >> >> to>> >> >> news,
videos, case studies, tutorials and more. Take a look and>> join>> >>
the>> >> >> conversation now. http://goparallel.sourceforge.net/[2]------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
senseclusters-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/senseclusters-users