Re: Unable to update these files

James Kolata via Fink-beginners <[email protected]>
Newsgroups gmane.os.apple.fink.beginners
Message-ID <[email protected]>
Here is the list of installed (and uninstalled) versions of extutils-makemaker-pmXXXX.  I re-installed extutils-makemaker-pm5184 as a test, but
that didn’t fix the problem.

p   extutils-makemaker-pm5182                         [virtual package]
     extutils-makemaker-pm5182-                        [virtual package]
 i   extutils-makemaker-pm5184   7.62-1                Perl module to create a module Makefile
 p   extutils-makemaker-pm5184-                        [virtual package]
     extutils-makemaker-pm5282   7.62-1                Perl module to create a module Makefile
     extutils-makemaker-pm5282-                        [virtual package]
 i   extutils-makemaker-pm5302   7.62-1                Perl module to create a module Makefile
 p   extutils-makemaker-pm5302-                        [virtual package]
 i   extutils-makemaker-pm5303   7.62-1                Perl module to create a module Makefile
 p   extutils-makemaker-pm5303- 

Here is what I got after rebuilding fink as per your earlier message:

Package manager version: 0.45.99.git
Distribution version: selfupdate-rsync Thu Jun 22 09:14:48 2023, 13.0, x86_64
Trees: local/main stable/main local/injected 




> On Jun 26, 2023, at 6:19 AM, Hanspeter Niederstrasser <[email protected]> wrote:
> 
> On 6/22/23 9:49 AM, James Kolata via Fink-beginners wrote:
>> params-util-pm5184
>> params-util-pm5302
>> scalar-list-utils-pm5184
>> scalar-list-utils-pm5302
>> sub-name-pm5184
>> sub-name-pm5302
>> These updates all terminate with the same error message below ('EXTERN.h' file not found).
>> Note: the corresponding packages for pm5303 update perfectly.
>> gcc -c   -I/opt/sw/include -fno-common -DPERL_DARWIN -no-cpp-precomp -mmacosx-version-min=12.6 -fno-strict-aliasing -pipe -fstack-protector -I/opt/sw/include -Wno-error=implicit-function-declaration -O3   -DVERSION=\"0.27\" -DXS_VERSION=\"0.27\"  -iwithsysroot "/opt/sw/lib/perl5-core/5.18.4/darwin-thread-multi-2level/CORE"   Name.c
>> Name.xs:7:10: fatal error: 'EXTERN.h' file not found
>> #include "EXTERN.h"
>>          ^~~~~~~~~~
>> 1 error generated.
>> make: *** [Name.o] Error 1
> 
> Our compiler commands are quite different. This is what I get on 13.4:
> 
> gcc -c   -I/opt/sw/include -fno-common -DPERL_DARWIN -no-cpp-precomp -mmacosx-version-min=12.0 -fno-strict-aliasing -pipe -fstack-protector -I/opt/sw/include -O3   -DVERSION=\"0.27\" -DXS_VERSION=\"0.27\" "-I/opt/sw/lib/perl5-core/5.18.4/darwin-thread-multi-2level/CORE"   Name.c
> 
> Your command has extra flags (like -Wno-error), changes the macosx-version-min from 12.0 to 12.6, and then it uses -iwithsysroot instead of -I.
> Do you have extutils-makemaker-pmXXXX installed? extutils-makemaker does patch -I to -iwithsysroot, but sub-name-pm doesn't seem to use it. It also doesn't explain where your -Wno-error=implicit-function-declaration flag comes from, which is not part of Fink's perls.
> 
> Hanspeter
> -- 
> ........\|/......\|/........
> ........~@-/ oO \-@~........
> ......../_( \__/ )_\........
> ...........\__U_/...........
> ....NEENER NEENER NEENER....
>

_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners
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.