Re: Error building io-socket-ssl-pm5302

Hisashi T Fujinaka <[email protected]>
Newsgroups gmane.os.apple.fink.general
Message-ID <[email protected]>
On Wed, 22 Dec 2021, [email protected] wrote:

> On 2021-12-06 21:01, Hisashi T Fujinaka wrote:
>> I reinstalled command-line-tools but that didn't fix things.
>> 
>> Full logs are at https://www.i8u.org/~htodd/io-socket-ssl-pm5302.log
>> 
>> gcc -c  -I"/opt/sw/include" -I/opt/sw/include -fno-strict-aliasing
>> -pipe -fstack-protector-strong -I/opt/sw/include
>> -DPERL_USE_SAFE_PUTENV -Wno-error=implicit-function-declaration -O3
>> -DVERSION=\"1.90\" -DXS_VERSION=\"1.90\"  -iwithsysroot
>> "/opt/sw/lib/perl5-core/5.30.2/darwin-thread-multi-2level/CORE"
>> SSLeay.c
>> SSLeay.xs:140:10: fatal error: 'EXTERN.h' file not found
>
> I have a 12.1 system to test this on. The compiler command there for me is:
> gcc -c  -I"/opt/sw/include" -I/opt/sw/include -fno-strict-aliasing -pipe 
> -fstack-protector-strong -I/opt/sw/include -DPERL_USE_SAFE_PUTENV 
> -Wno-error=implicit-function-declaration -O3   -DVERSION=\"1.90\" 
> -DXS_VERSION=\"1.90\" 
> "-I/opt/sw/lib/perl5-core/5.30.2/darwin-thread-multi-2level/CORE"   SSLeay.c
>
> The only difference is that you have `-iwithsysroot "/opt/.../CORE"`, whereas 
> I have `"-I/opt/.../CORE"`
>
> Do you have some local patch applied that might be switching flags? 
> -iwithsysroot is not used anywhere in Fink's code, and the only place I see 
> it in perlmods is as part of extutils-makemaker-pm-sdk.patch, but I can build 
> net-ssleay-pm5302 OK with or without any extutils-makemaker-pm#### installed.

I don't seem to have any local patches according to git. I think this is
because I sometimes carry along my fink from OS to OS.

Unfortutunately I got rid of all the 5.30.2 that I could because those
packages were annoying me.

-- 
Hisashi T Fujinaka - [email protected]
BSEE + BSChem + BAEnglish + MSCS + $2.50 = coffee


_______________________________________________
Fink-users mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.