Perl / perl5

🐪 The Perl programming language
https://dev.perl.org/perl5/
Other
1.98k stars 559 forks source link

No luck compiling #138

Closed p5pRT closed 20 years ago

p5pRT commented 25 years ago

Migrated from rt.perl.org#943 (status was 'resolved')

Searchable as RT943$

p5pRT commented 25 years ago

From support@teamcpr.com

Using build 5.00503 build 518 on win 98 or 5.00502 on Unix I am having no luck compiling programs. Here are some errors I get​:

************ 1 ************* platform​: windows 98​: Compile​: executable

test.pl containing only​: print "hello world";

I get​: Making C(test.pl.c) for test.pl! D​:\usr\bin\perl.exe -ID​:/usr/lib -ID​:/usr/site/lib -I. -MO=CC\,-otest.pl.c test.p l test.pl syntax OK Compiling C(test) for test.pl! Couldn't open !

The "couldn't open" is in sub _getSharedObjects\, looks like it is trying to open a blank file name.

I tried modifying sub _getSharedObjects to​: . . .   if ($Config{'osname'} eq 'MSWin32')   {   my ($tmpprog);   ($tmpprog = $sourceprog) =~ s"(.*)[\/\\](.*)"$2";   $tmpfile = "$tmpprog.tst";   $incfile = "$tmpprog.val";   }   else . . .

The compiler continues but then I get the error​:

erl.pl syntax OK Compiling C(erl) for erl.pl! D​:\usr\bin\perl.exe -ID​:/usr/lib -ID​:/usr/site/lib -I. erl.pl.tst cl.exe -Od -MD -DNDEBUG -TP -GX -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DPERL_OBJECT -Od -MD -DNDEBUG -TP -GX -Id​:\usr\lib/CORE -o erl erl.pl.c -nologo -nodefaultlib -release -machine​:x86 -Ld​:\usr\lib/CORE -lperl oldnames.lib k ernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib PerlCRT.lib Bad command or file name

perl.exe is located in the d​:\usr\bin directory and is working fine.

************ 2 ************* Platform​: Win 98 / Unix​: Compile​: executable or module

On unix while compiling or if I get further on win98 making an executable\, I get the error​: Can't locate object method "FLAGS" via package "B​::SPECIAL" at D​:/usr/lib/B/Stackobj.pm line 216.

Once or twice I have gotten further but I then get the error​: Undefined symbol `_runops' referenced from text segment

Any help would be greatly apreciated!

Evan CPR Phone​: (609) 727-5358 Email​: support@​teamcpr.com Web​: www.teamcpr.com

p5pRT commented 24 years ago

From [Unknown Contact. See original ticket]

Abandoning pre-5.6.0 install bugs

p5pRT commented 20 years ago

From The RT System itself

Abandoning pre-5.6.0 install bugs