Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Help with Perl on OSX

Help with Perl on OSX
Thread Tools
Leonel
Guest
Status:
Reply With Quote
Nov 15, 2000, 11:13 AM
 
I have been trying to build and run Interchange (an online store software built on Perl from Akopia) on Mac OS X.

It all went more or less OK except for the fact that Interchange needs to add some modules to the standard Perl installation (it downloads them form CPAN.org).

Almost every module installed without problems except SQL-Statement (version 0.10.16).

I first run (from the SQL-Statement directory) "perl Makefile.PL" then "make" and "make test". "perl Makefile.PL" and "make" do not generate any errors but "make test" generates the following output with errors:

PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/System/Library/Perl/darwin -I/System/Library/Perl -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/10base............dyld: /usr/bin/perl Undefined symbols:
__alloca
t/10base............dubious
Test returned status 67 (wstat 17152, 0x4300)
t/20parser..........dyld: /usr/bin/perl Undefined symbols:
__alloca
t/20parser..........dubious
Test returned status 67 (wstat 17152, 0x4300)
DIED. FAILED tests 1-43
Failed 43/43 tests, 0.00% okay
t/30features........dyld: /usr/bin/perl Undefined symbols:
__alloca
t/30features........dubious
Test returned status 67 (wstat 17152, 0x4300)
t/40where...........dyld: /usr/bin/perl Undefined symbols:
__alloca
t/40where...........dubious
Test returned status 67 (wstat 17152, 0x4300)
t/50eval............dyld: /usr/bin/perl Undefined symbols:
__alloca
t/50eval............dubious
Test returned status 67 (wstat 17152, 0x4300)
t/60hash............main::ArrEq() called too early to check prototype at t/60hash.t line 32.
dyld: /usr/bin/perl Undefined symbols:
__alloca
t/60hash............dubious
Test returned status 67 (wstat 17152, 0x4300)
Failed Test Status Wstat Total Fail Failed List of failed
-------------------------------------------------------------------------------
t/10base.t 67 17152 ?? ?? % ??
t/20parser.t 67 17152 43 43 100.00% 1-43
t/30features.t 67 17152 ?? ?? % ??
t/40where.t 67 17152 ?? ?? % ??
t/50eval.t 67 17152 ?? ?? % ??
t/60hash.t 67 17152 ?? ?? % ??
Failed 6/6 test scripts, 0.00% okay. 43/43 subtests failed, 0.00% okay.
make: *** [test_dynamic] Error 2

Does anyone know how to correct this?

The module SQL-Statement is needed to correctly run Interchange.

Please help me!

------------------
Leonel Silva
     
Leonel
Guest
Status:
Reply With Quote
Nov 16, 2000, 04:12 AM
 
This is just to say that I did managed to install SQL-Statement on Mac OS X and now Interchange is working jus fine.

The workaround is simple, just change alloca to _alloca on the file sql_yacc.c inside SQL-Statement directory, then run perl Makefile.PL, make, make test (all tests return ok) and make install.

I hope my experience may be of some help to my fellows beta testers of Mac OS X.

Interchange is in fact a very good open source store and catalogue software and it comes for free.

Regards to all,

------------------
Leonel Silva
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:44 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2