2012/1/8 A u <[email protected]>: > When I run "cpanm Spreadsheet::ParseExcel" command I am getting > > bash-3.2# cpanm Spreadsheet::ParseExcel > Spreadsheet::ParseExcel is up to date. (0.59) > As you can see in the error message, Spreadsheet/ParseExcel.pm is not found in @INC. It means that it is not in a directory where perl expects it. Either put it to the correct directory, or at the beginning of your perl program (before require or use Spredsheet::ParseExcel) put the following code:
unshift @INC, 'directory_containing_Spreadsheet_dir'; This is a perl problem, not XeTeX problem. > but when I followed the example given on this site I am getting below > error. > > his is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011) > restricted \write18 enabled. > entering extended mode > (./example.tex > LaTeX2e <2009/09/24> > Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, > ge > rman-x-2009-06-19, ngerman-x-2009-06-19, afrikaans, ancientgreek, ibycus, > arabi > c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, > danis > h, dutch, ukenglish, usenglishmax, esperanto, estonian, ethiopic, farsi, > finnis > h, french, galician, german, ngerman, swissgerman, monogreek, greek, > hungarian, > icelandic, assamese, bengali, gujarati, hindi, kannada, malayalam, marathi, > or > iya, panjabi, tamil, telugu, indonesian, interlingua, irish, italian, > kurmanji, > lao, latin, latvian, lithuanian, mongolian, mongolianlmc, bokmal, nynorsk, > pol > ish, portuguese, romanian, russian, sanskrit, serbian, serbianc, slovak, > sloven > ian, spanish, swedish, turkish, turkmen, ukrainian, uppersorbian, welsh, > loaded > . > (/usr/local/texlive/2011/texmf-dist/tex/latex/base/article.cls > Document Class: article 2007/10/19 v1.4h Standard LaTeX document class > (/usr/local/texlive/2011/texmf-dist/tex/latex/base/size10.clo)) > (/usr/local/texlive/2011/texmf-dist/tex/latex/base/exceltex.sty > This is exceltex v0.5.0 > (/usr/local/texlive/2011/texmf-dist/tex/latex/ulem/ulem.sty) > (/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/color.sty > (/usr/local/texlive/2011/texmf-dist/tex/latex/latexconfig/color.cfg) > (/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/dvips.def) > (/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/dvipsnam.def))) > (./example.aux) [1] (./example.aux) ) > Output written on example.dvi (1 page, 508 bytes). > Transcript written on example.log. > Can't locate Spreadsheet/ParseExcel.pm in @INC (@INC contains: > /Library/Perl/Updates/5.10.0 > /System/Library/Perl/5.10.0/darwin-thread-multi-2level > /System/Library/Perl/5.10.0 /Library/Perl/5.10.0/darwin-thread-multi-2level > /Library/Perl/5.10.0 /Network/Library/Perl/5.10.0/darwin-thread-multi-2level > /Network/Library/Perl/5.10.0 /Network/Library/Perl > /System/Library/Perl/Extras/5.10.0/darwin-thread-multi-2level > /System/Library/Perl/Extras/5.10.0 .) at /usr/local/bin/exceltex line 733. > BEGIN failed--compilation aborted at /usr/local/bin/exceltex line 733. > This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011) > restricted \write18 enabled. > entering extended mode > (./example.tex > LaTeX2e <2009/09/24> > Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, > ge > rman-x-2009-06-19, ngerman-x-2009-06-19, afrikaans, ancientgreek, ibycus, > arabi > c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, > danis > h, dutch, ukenglish, usenglishmax, esperanto, estonian, ethiopic, farsi, > finnis > h, french, galician, german, ngerman, swissgerman, monogreek, greek, > hungarian, > icelandic, assamese, bengali, gujarati, hindi, kannada, malayalam, marathi, > or > iya, panjabi, tamil, telugu, indonesian, interlingua, irish, italian, > kurmanji, > lao, latin, latvian, lithuanian, mongolian, mongolianlmc, bokmal, nynorsk, > pol > ish, portuguese, romanian, russian, sanskrit, serbian, serbianc, slovak, > sloven > ian, spanish, swedish, turkish, turkmen, ukrainian, uppersorbian, welsh, > loaded > . > (/usr/local/texlive/2011/texmf-dist/tex/latex/base/article.cls > Document Class: article 2007/10/19 v1.4h Standard LaTeX document class > (/usr/local/texlive/2011/texmf-dist/tex/latex/base/size10.clo)) > (/usr/local/texlive/2011/texmf-dist/tex/latex/base/exceltex.sty > This is exceltex v0.5.0 > (/usr/local/texlive/2011/texmf-dist/tex/latex/ulem/ulem.sty) > (/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/color.sty > (/usr/local/texlive/2011/texmf-dist/tex/latex/latexconfig/color.cfg) > (/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/dvips.def) > (/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/dvipsnam.def))) > (./example.aux) [1] (./example.aux) ) > Output written on example.dvi (1 page, 508 bytes). > Transcript written on example.log. > > I am attaching the log file as well. I would appreciate your help > Thanks > Raama > > PS : I have texlive 2011, Active perl, and running on 2011 Macbook Pro > > > > -------------------------------------------------- > Subscriptions, Archive, and List information, etc.: > http://tug.org/mailman/listinfo/xetex > -- Zdeněk Wagner http://hroch486.icpf.cas.cz/wagner/ http://icebearsoft.euweb.cz -------------------------------------------------- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
