UNIX Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsOperating SystemsUNIX Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 23rd, 2012, 07:51 PM
Cross44 Cross44 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2012
Posts: 2 Cross44 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 9 m 6 sec
Reputation Power: 0
Xls2csv

Hello everyone!
I tried to install the xls2csv from the pack "catdoc" on my shared hosting. but I cant do that.. that I did for it:
1) I installed the module Locale::Recode (path $HOME/perl). the xls2csv need it
2) I created a file .profile with strings:
Code:
PERL5LIB=$HOME:$HOME/lib:$HOME/lib/perl5
export PERL5LIB

3) downloaded pack "catdoc" and did commands:
Code:
./configure -prefix=$HOME/perl
make
make install

no errors after

and that happen if I try to use xls2csv
Code:
xls2csv -x test.xls -c test.csv
Cannot load charset koi8-r - file not found
Cannot load target charset koi8-r


but i can see these files - $HOME/perl/share/catdoc/koi8-r.txt

if i change encoding on uft-8:
Code:
xls2csv -d utf-8 -x test.xls -c test.csv

then:
Code:
Cannot read substitution map ascii.specchars


Can anybody help me? Thanks for some help!

Reply With Quote
  #2  
Old November 10th, 2012, 04:09 PM
Cross44 Cross44 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2012
Posts: 2 Cross44 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 9 m 6 sec
Reputation Power: 0
Talking

sorry , was busy. cencerning a my mistake
basically everything is correct, problem is the module and the instruction was from a different module with the same name

so, we have to start from point 3 - everything should work

there is an instruction on creation of the config. file:
URL=http://linux.die.net/man/1/catdoc of course, if we will want to change something

we may use it:
Code:
xls2csv -s cp1252 -d cp1252 -x "Path_of_xls" > "Path_of_csv"

-s - source
-d - destination

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsUNIX Help > Xls2csv

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap