Skip Menu |

This queue is for tickets about the Proc-ProcessTable CPAN distribution.

Report information
The Basics
Id: 102530
Status: resolved
Priority: 0/
Queue: Proc-ProcessTable

People
Owner: Nobody in particular
Requestors: pgajer [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Proc::ProcessTable does not compile on mac os x v. 10.10.2
Date: Thu, 5 Mar 2015 11:51:54 -0500
To: bug-Proc-ProcessTable [...] rt.cpan.org
From: Pawel G <pgajer [...] gmail.com>
Here are the errors I am getting Proc-ProcessTable-0.45]$ make cp ProcessTable.pm blib/lib/Proc/ProcessTable.pm cp Killfam.pm blib/lib/Proc/Killfam.pm cp Killall.pm blib/lib/Proc/Killall.pm cp example.pl blib/lib/Proc/example.pl cp Process.pm ../blib/lib/Proc/ProcessTable/Process.pm AutoSplitting ../blib/lib/Proc/ProcessTable/Process.pm (../blib/lib/auto/Proc/ProcessTable/Process) Manifying ../blib/man3/Proc::ProcessTable::Process.3pm /usr/bin/perl /System/Library/Perl/5.18/ExtUtils/xsubpp -typemap /System/Library/Perl/5.18/ExtUtils/typemap ProcessTable.xs > ProcessTable.xsc && mv ProcessTable.xsc ProcessTable.c cc -c -arch x86_64 -arch i386 -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -Os -DVERSION=\"0.45\" -DXS_VERSION=\"0.45\" "-I/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE" ProcessTable.c ProcessTable.xs:391:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] croak(error); ^~~~~ 1 warning generated. ProcessTable.xs:391:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] croak(error); ^~~~~ 1 warning generated. cc -c -arch x86_64 -arch i386 -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -Os -DVERSION=\"0.45\" -DXS_VERSION=\"0.45\" "-I/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE" OS.c OS.c:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif TH_USAGE_SCALE ^ // OS.c:724:30: error: use of undeclared identifier 'GLOBAL_SHARED_TEXT_SEGMENT' vm_address_t address = GLOBAL_SHARED_TEXT_SEGMENT; ^ OS.c:737:36: error: use of undeclared identifier 'SHARED_TEXT_REGION_SIZE' if (b_info.reserved && size == (SHARED_TEXT_REGION_SIZE) && ^ OS.c:738:36: error: use of undeclared identifier 'SHARED_TEXT_REGION_SIZE' ki->tasks_info.virtual_size > (SHARED_TEXT_REGION_SIZE + SHARED_DATA_REG... ^ OS.c:738:62: error: use of undeclared identifier 'SHARED_DATA_REGION_SIZE' ki->tasks_info.virtual_size > (SHARED_TEXT_REGION_SIZE + SHARED_DATA_REG... ^ OS.c:739:38: error: use of undeclared identifier 'SHARED_TEXT_REGION_SIZE' ki->tasks_info.virtual_size -= (SHARED_TEXT_REGION_SIZE + SHARED... ^ OS.c:739:64: error: use of undeclared identifier 'SHARED_DATA_REGION_SIZE' ki->tasks_info.virtual_size -= (SHARED_TEXT_REGION_SIZE + SHARED... ^ 1 warning and 6 errors generated. make: *** [OS.o] Error 1
I was just able to successfully install Proc::ProcessTable on OSX 10.10.2 using a perlbrewed perl, version 5.21.6. Some different compiler options must have been used for this perl, I guess?
Subject: Re: [rt.cpan.org #102530] Proc::ProcessTable does not compile on mac os x v. 10.10.2
Date: Thu, 5 Mar 2015 13:00:52 -0500
To: bug-proc-processtable <bug-Proc-ProcessTable [...] rt.cpan.org>
From: Pawel G <pgajer [...] gmail.com>
I was trying to install version 0.45 but then tried version 0.51 and this one installed without problem, so I guess we can close the ticket. Thanks :) pawel On Thu, Mar 5, 2015 at 12:05 PM, Karen Etheridge via RT < bug-Proc-ProcessTable@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=102530 > > > I was just able to successfully install Proc::ProcessTable on OSX 10.10.2 > using a perlbrewed perl, version 5.21.6. Some different compiler options > must have been used for this perl, I guess? >
Reporter tells issue went away by building most recent version