[Slackbuilds-users] Upgraded to -14.1: Cannot Run Perl App in Apache

Nick Warne nick at linicks.net
Tue Mar 11 16:23:17 UTC 2014


On 11/03/14 15:56, jens at tuxane.com wrote:
> Am 11.03.2014 16:33, schrieb Rich Shepard:
>>   Sunday, I upgraded my desktop server/workstation to -14.1. The only
>> application that I cannot get running is my business accounting software
>> (Ledger123; an improved SQL-Ledger). After a day of futzing, searching
>> the
>> Web, and advice from folks on the local linux mail list I learned that I
>> cannot yet run a perl application in httpd-2.4.6, even with ponce's
>> mod_perl
>> from his svn repository.
>>
>>   So, I removed httpd-2.4.6 and installed httpd-2.2.25 from -13.37
>> patches.
>> When I tried building mod_perl-2.0.6 from SBo it failed with these
>> errors:
>>
>> modperl_perl.c: In function 'modperl_perl_init_ids':
>> modperl_perl.c:105:5: error: 'PL_uid' undeclared (first use in this
>> function)
>>      PL_uid  = ids->uid;
>> modperl_perl.c:105:5: note: each undeclared identifier is reported
>> only once for each function it appears in
>> modperl_perl.c:106:5: error: 'PL_euid' undeclared (first use in this
>> function)
>>      PL_euid = ids->euid;
>> modperl_perl.c:107:5: error: 'PL_gid' undeclared (first use in this
>> function)
>>      PL_gid  = ids->gid;
>> modperl_perl.c:108:5: error: 'PL_egid' undeclared (first use in this
>> function)
>>      PL_egid = ids->egid;
>> modperl_perl.c: In function 'modperl_hash_seed_set':
>> modperl_perl.c:270:9: error: 'PL_rehash_seed' undeclared (first use in
>> this function)
>>          PL_rehash_seed     = MP_init_hash_seed;
>> modperl_perl.c:271:9: error: 'PL_rehash_seed_set' undeclared (first
>> use in this function)
>>          PL_rehash_seed_set = MP_init_hash_seed_set;
>> make[1]: *** [modperl_perl.lo] Error 1
>> make[1]: Leaving directory /tmp/SBo/mod_perl-2.0.6/src/modules/perl'
>> make: *** [modperl_lib] Error 2
>>
>>   The accounting software is a critical application for me and I would be
>> grateful for assistance in getting a working httpd/mod_perl
>> combination so I
>> can run it.
>>
>> TIA,
>>
>> Rich
>> _______________________________________________
>> SlackBuilds-users mailing list
>> SlackBuilds-users at slackbuilds.org
>> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
>> Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
>> FAQ - http://slackbuilds.org/faq/
>>
>
> The first thing which comes to my mind is that we have perl 5.18.1 in
> 14.1 and perl 5.12.3 in 13.37 (patches)
> Second thing is that you must also reinstall the apr / apr-util stuff
> for the right Apache version as far as I know

Personally, I do not use distro perl packages, but cpanminus.  That 
always seems to pull in and build the correct versions:

http://search.cpan.org/~miyagawa/App-cpanminus-1.7001/lib/App/cpanminus.pm

Nick
-- 
"A bug in the code is worth two in the documentation."
FSF Associate Member 5508
http://linicks.net/
http://pi.linicks.net/


More information about the SlackBuilds-users mailing list