perl程序在Linux下面使用perlcc编译成功,而在solaris下就不成

perl程序在Linux下面使用perlcc编译成功,而在solaris下就不成

perl程序在Linux下面使用perlcc编译成功,而在solaris下就不成
[b]perl程序在Linux下面使用perlcc编译成功,而在solaris下就不成,报错呀,有TX有类似经验吗?
错误信息如下:[/b]


perlcc -o SK_SG SK_SG.1.0.pl

--------------------------------------------------------------------------------
Compiling SK_SG.1.0.pl:
--------------------------------------------------------------------------------
Making C(SK_SG.1.0.pl.c) for SK_SG.1.0.pl!
/usr/local/bin/perl -I/usr/local/lib/perl5/5.6.0/sun4-solaris -I/usr/local/lib/perl5/5.6.0 -I/usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris -I/usr/local/lib/perl5/site_perl/5.6.0 -I/usr/local/lib/perl5/site_perl -I. -MB::Stash -c SK_SG.1.0.pl
/usr/local/bin/perl -I/usr/local/lib/perl5/5.6.0/sun4-solaris -I/usr/local/lib/perl5/5.6.0 -I/usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris -I/usr/local/lib/perl5/site_perl/5.6.0 -I/usr/local/lib/perl5/site_perl -I. -MO=C,-umain,-uMainWindow,-uXEvent,-uExporter,-uExporter::Heavy,-uWin32,-uSymbol,-ustrict,-uVMS,-uVMS::Filespec,-uattributes,-ubase,-uAutoLoader,-uDB,-uConfig,-ufields,-uwarnings,-uwarnings::register,-uTk,-uTk::FBox,-uTk::MainWindow,-uTk::ColorEditor,-uTk::Xrm,-uTk::Configure,-uTk::Submethods,-uTk::::ISA::CACHE,-uTk::Event,-uTk::Event::::ISA::CACHE,-uTk::Event::IO,-uTk::Event::Source,-uTk::Adjuster,-uTk::Pretty,-uTk::Widget,-uTk::Widget::::ISA::CACHE,-uTk::Derived,-uTk::Interp,-uTk::Image,-uTk::Image::::ISA::CACHE,-uTk::Callback,-uTk::Menubutton,-uTk::Dialog,-uTk::Wm,-uTk::After,-uTk::Frame,-uTk::widgets,-uTk::Toplevel,-uTk::Menu,-uTk::Menu::Cascade,-uTk::Menu::Separator,-uTk::Menu::Checkbutton,-uTk::Menu::Item,-uTk::Menu::Radiobutton,-uTk::Menu::Button,-uTk::CmdLine,-uTk::Font,-uTk::Optionmenu,-uDos,-uCwd,-uvars,-uCarp,-uCarp::Heavy SK_SG.1.0.pl
In string, @site now must be written as \@site at SK_SG.1.0.pl line 327, near "default login anonymous password user@site"
SK_SG.1.0.pl had compilation errors.
Starting compile
Walking tree
No definition for sub main::WRITE_netrc
No definition for sub main::WRITE_netrc (unable to autoload)
Tk::Menu::Item saved (it is in Tk::Menu::Radiobutton's @ISA)
Tk::MainWindow saved (it is in MainWindow's @ISA)
Tk::Toplevel saved (it is in Tk::MainWindow's @ISA)
Tk::Wm saved (it is in Tk::Toplevel's @ISA)
Tk::Frame saved (it is in Tk::Toplevel's @ISA)
Tk::Derived saved (it is in Tk::Frame's @ISA)
Tk::Widget saved (it is in Tk::Frame's @ISA)
Forcing bootstrap of Tk::Widget
DynaLoader saved (it is in Tk::Widget's @ISA)
Tk saved (it is in Tk::Widget's @ISA)
Exporter saved (it is in Tk's @ISA)
Forcing bootstrap of Tk::Image
Prescan
Saving methods
Bootstrap attributes SK_SG.1.0.pl
No definition for sub Cwd::fastgetcwd
No definition for sub Cwd::fastgetcwd (unable to autoload)
No definition for sub Tk::Receive
No definition for sub Tk::Receive (unable to autoload)
No definition for sub Tk::break
No definition for sub Tk::break (unable to autoload)
No definition for sub Tk::tabFocus
No definition for sub Tk::tabFocus (unable to autoload)
No definition for sub Tk::TraverseToMenu
No definition for sub Tk::TraverseToMenu (unable to autoload)
No definition for sub Tk::Error
No definition for sub Tk::Error (unable to autoload)
No definition for sub Tk::focusFollowsMouse
No definition for sub Tk::focusFollowsMouse (unable to autoload)
No definition for sub Tk::CancelRepeat
No definition for sub Tk::CancelRepeat (unable to autoload)
Bootstrap Tk::Event /usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris/Tk/Event.pm
Bootstrap Tk /usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris/Tk.pm
No definition for sub Tk::FirstMenu
No definition for sub Tk::FirstMenu (unable to autoload)
No definition for sub Tk::interps
No definition for sub Tk::interps (unable to autoload)
No definition for sub Tk::Widget::Photo
No definition for sub Tk::Widget::Photo (unable to autoload)
No definition for sub Tk::Widget::Scrollbar
No definition for sub Tk::Widget::Scrollbar (unable to autoload)
No definition for sub Tk::Widget::ASkludge
No definition for sub Tk::Widget::ASkludge (unable to autoload)
No definition for sub Tk::Widget::Entry
No definition for sub Tk::Widget::Entry (unable to autoload)
No definition for sub Tk::Widget::Label
No definition for sub Tk::Widget::Label (unable to autoload)
No definition for sub Tk::Widget::Pixmap
No definition for sub Tk::Widget::Pixmap (unable to autoload)
No definition for sub Tk::Widget::Button
No definition for sub Tk::Widget::Button (unable to autoload)
No definition for sub Tk::Widget::Listbox
No definition for sub Tk::Widget::Listbox (unable to autoload)
No definition for sub Tk::Widget::Bitmap
No definition for sub Tk::Widget::Bitmap (unable to autoload)
No definition for sub Tk::Widget::Radiobutton
No definition for sub Tk::Widget::Radiobutton (unable to autoload)
No definition for sub Tk::Widget::Scale
No definition for sub Tk::Widget::Scale (unable to autoload)
No definition for sub Tk::Widget::Checkbutton
No definition for sub Tk::Widget::Checkbutton (unable to autoload)
No definition for sub Tk::Widget::Canvas
No definition for sub Tk::Widget::Canvas (unable to autoload)
No definition for sub Tk::Widget::clipboardKeysyms
No definition for sub Tk::Widget::clipboardKeysyms (unable to autoload)
No definition for sub Tk::Widget::Message
No definition for sub Tk::Widget::Message (unable to autoload)
No definition for sub Tk::Widget::pathname
No definition for sub Tk::Widget::pathname (unable to autoload)
No definition for sub Tk::Widget::Text
No definition for sub Tk::Widget::Text (unable to autoload)
No definition for sub Tk::focusNext
No definition for sub Tk::focusNext (unable to autoload)
No definition for sub Tk::focusPrev
No definition for sub Tk::focusPrev (unable to autoload)
No definition for sub Tk::RepeatId
No definition for sub Tk::RepeatId (unable to autoload)
No definition for sub Tk::Selection
No definition for sub Tk::Selection (unable to autoload)
No definition for sub Tk::FocusChildren
No definition for sub Tk::FocusChildren (unable to autoload)
No definition for sub Tk::ImageNames
No definition for sub Tk::ImageNames (unable to autoload)
Bootstrap Tk::Menubutton /usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris/Tk/Menubutton.pm
No definition for sub Tk::Wm::AnchorAdjust
No definition for sub Tk::Wm::AnchorAdjust (unable to autoload)
No definition for sub Tk::Wm::Popup
No definition for sub Tk::Wm::Popup (unable to autoload)
No definition for sub Tk::Wm::iconposition
No definition for sub Tk::Wm::iconposition (unable to autoload)
No definition for sub Tk::Wm::Post
No definition for sub Tk::Wm::Post (unable to autoload)
No definition for sub Tk::Wm::FullScreen
No definition for sub Tk::Wm::FullScreen (unable to autoload)
No definition for sub Tk::Frame::FindMenu
No definition for sub Tk::Frame::FindMenu (unable to autoload)
No definition for sub Tk::Frame::AddScrollbars
No definition for sub Tk::Frame::AddScrollbars (unable to autoload)
No definition for sub Tk::Frame::labelPack
No definition for sub Tk::Frame::labelPack (unable to autoload)
No definition for sub Tk::Frame::label
No definition for sub Tk::Frame::label (unable to autoload)
No definition for sub Tk::Frame::queuePack
No definition for sub Tk::Frame::queuePack (unable to autoload)
No definition for sub Tk::Frame::sbset
No definition for sub Tk::Frame::sbset (unable to autoload)
No definition for sub Tk::Frame::packscrollbars
No definition for sub Tk::Frame::packscrollbars (unable to autoload)
No definition for sub Tk::Frame::freeze_on_map
No definition for sub Tk::Frame::freeze_on_map (unable to autoload)
No definition for sub Tk::Frame::scrollbars
No definition for sub Tk::Frame::scrollbars (unable to autoload)
No definition for sub Tk::Frame::labelVariable
No definition for sub Tk::Frame::labelVariable (unable to autoload)
No definition for sub Tk::Toplevel::FG_Create
No definition for sub Tk::Toplevel::FG_Create (unable to autoload)
No definition for sub Tk::Toplevel::FG_In
No definition for sub Tk::Toplevel::FG_In (unable to autoload)
No definition for sub Tk::Toplevel::FG_BindOut
No definition for sub Tk::Toplevel::FG_BindOut (unable to autoload)
No definition for sub Tk::Toplevel::FG_Destroy
No definition for sub Tk::Toplevel::FG_Destroy (unable to autoload)
No definition for sub Tk::Toplevel::FG_BindIn
No definition for sub Tk::Toplevel::FG_BindIn (unable to autoload)
No definition for sub Tk::Toplevel::FG_Out
No definition for sub Tk::Toplevel::FG_Out (unable to autoload)
No definition for sub Tk::ImageTypes
No definition for sub Tk::ImageTypes (unable to autoload)
No definition for sub Tk::lsearch
No definition for sub Tk::lsearch (unable to autoload)
No definition for sub Tk::updateWidgets
No definition for sub Tk::updateWidgets (unable to autoload)
No definition for sub Tk::EnterFocus
No definition for sub Tk::EnterFocus (unable to autoload)
No definition for sub Tk::FocusOK
No definition for sub Tk::FocusOK (unable to autoload)
Writing output
Loaded B
Loaded IO
Loaded Fcntl
Loaded Tk::Event
bootstrapping Tk::Event added to xs_init
Loaded Tk
bootstrapping Tk added to xs_init
Loaded Tk::Menubutton
bootstrapping Tk::Menubutton added to xs_init
ERROR: In generating code for SK_SG.1.0.pl!
这个包含TK部分...
这个包含TK部分的代码能在linux下编译成功吗?看来是服务器没搞清楚依赖关系。

你用伪编译技术吧,那个比较容易些。PDK里的solaris版本就可以。记得不要crack。
在Linux下是没问题的,看来还得研究下,不过没暂时没精力...@_@
好象说用par打包就很好啊。