免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 5257 | 回复: 5
打印 上一主题 下一主题

使用perl在linux下生成word文件 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-07-05 00:23 |只看该作者 |倒序浏览
想使用Win32-Word-Writer在linux下生成doc文件,可是安装这个包时报了很多错,搞来搞去都不行,还望高手指教~~

论坛徽章:
0
2 [报告]
发表于 2007-07-05 08:38 |只看该作者
post the error information, pls

论坛徽章:
0
3 [报告]
发表于 2007-07-05 09:07 |只看该作者
error的信息只有晚上给出了
想问下,楼上的就安装了word的包和提到的几个包就OK了?还是有什么需要注意的?谢谢!

论坛徽章:
0
4 [报告]
发表于 2007-07-05 18:10 |只看该作者
先make test的时候报这个错” Error:  Can't locate Win32/OLE.pm“
于是我安装Win32::OLE,就报这样的错:gcc -c   -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -m32 -march=i386 -mtune=pentium4   -DVERSION=\"0.30\" -DXS_VERSION=\"0.30\" -fPIC "-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE"   Win32.c
Win32.xs:2:21: windows.h: No such file or directory
Win32.xs:3:20: shlobj.h: No such file or directory

帮忙看看怎么回事,谢谢!

论坛徽章:
0
5 [报告]
发表于 2007-07-05 22:49 |只看该作者
原帖由 yy_lc 于 2007-7-5 00:23 发表
想使用Win32-Word-Writer在linux下生成doc文件,可是安装这个包时报了很多错,搞来搞去都不行,还望高手指教~~

Hi,

Module Win32-Word-Write is only for Microsoft Windows * PLattform only, not for Linux!

If you want to create a MS Word document under Linux. try to to use
RTF-Writer-1.11, RTF is Word Format.
also see under:
    http://search.cpan.org/~sburke/RTF-Writer-1.11/


-- ulmer

论坛徽章:
0
6 [报告]
发表于 2007-07-05 23:26 |只看该作者
原帖由 ulmer 于 2007-7-5 22:49 发表

Hi,

Module Win32-Word-Write is only for Microsoft Windows * PLattform only, not for Linux!

If you want to create a MS Word document under Linux. try to to use
RTF-Writer-1.11, RTF is Wor ...



一直纳闷,为什么linux下可以用win32的包……原来自己想错了~~
我试试RTF呢~
多谢!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP