The "make clean" problem is probably caused by line 305 of Makefile.PL:

'OBJECT'  => q[ARS$(OBJ_EXT) support$(OBJ_EXT) supportrev$(OBJ_EXT) 
].($ARSVERSION >= 5.0 ? q[supportrev_generated$(OBJ_EXT) ] : 
'').($WINDOWS ? '' : $ARS_STATIC_LIB),

The last parenthesized expression seems to be the culprit here 
($ARS_STATIC_LIB = .../libar.a). It looks like it was added when ARSperl 
was updated to enable compilation against 6.3.
The check for ($WINDOWS? ...) was added later by myself, because on 
Windows the reference to libar.a resulted in a linker error.
Of course, on Windows it would work without the last expression:

'OBJECT'  => q[ARS$(OBJ_EXT) support$(OBJ_EXT) supportrev$(OBJ_EXT) 
].($ARSVERSION >= 5.0 ? q[supportrev_generated$(OBJ_EXT) ] : ''),

I will test this on Linux, but unfortunately I have no possibility to 
test it on other Unix flavours.
Could you try to compile ARSperl on Solaris with the modified Makefile.PL?


Regards
Thilo


Andrew Hicox wrote:
> 
> 
> Hello Everyone:
> 
>  
> I'm attempting to compile ARSPerl-1.90 on Solaris 10, with perl 5.8..8 
> and gcc 3.4.3
>  
> compile seems to go fine, but make test (and all other attempts to use 
> the module) result in the following error:
>  
> Can't load 
> '/prod/remedy/STAGE/PERL_UPGRADE/ARSperl-1.90/blib/arch/auto/ARS/ARS.so' 
> for module ARS: ld.so.1: perl: fatal: relocation error: file 
> /prod/remedy/STAGE/PERL_UPGRADE/ARSperl-1.90/blib/arch/auto/ARS/ARS.so: 
> symbol ucnv_compareNames_3_2: referenced symbol not found at 
> /prod/remedy/lib/perl5/5.8.8/sun4-solaris/DynaLoader.pm line 230.
>  
> yeah, I've got some custom paths in there, but I'm fairly certain that's 
> not the issue.
> I noted Thilo's earlier post with the suggestion of editing the 
> supportrev_generated.h & .c files. I tried this but it did not seem to 
> make a difference.
>  
> ALSO ... and this is a BIG issue ... 'make realclean' and 'make clean' 
> will REMOVE the libar.a file from your api directory (OUTSIDE THE BUILD 
> DIRECTORY). It's fortunate I made a backup of my api directory prior ;-)
>  
> In any case ... is there anything maybe in a nightly build or CVS out 
> there that would address this issue? I'm afraid it goes a bit deeper 
> than my knowledge can take me. I've got quite a bit of infrastructure 
> built on ARSPerl ... I really need this to compile against the ARS7 api 
> in this environment.
>  
> Any suggestions?
>  
> thanks,
>  
> -Andrew Hicox
>  
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Arsperl-users mailing list
> Arsperl-users@arsperl.org
> https://lists.sourceforge.net/lists/listinfo/arsperl-users


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Arsperl-users mailing list
Arsperl-users@arsperl.org
https://lists.sourceforge.net/lists/listinfo/arsperl-users

Reply via email to