perl.macosx...Re: perl 5.10.0 osx 10.5.2 'make' dies at "error: redefinition of 'union semun'" by Edward Moy- March 5, 2008 On Mar 5, 2008, at 11:38 AM, snowcrash+perl wrote:> On Wed, Mar 5, 2008 at 11:17 AM, Edward Moy <emoyapple.com> wrote:>> Configure determines this by trying to compile:>>>> ----------- try.c ----------->> include <systypes.h>>> include <sysipc.h>>> include <syssem.h>>> int main () union semun semun; semun.buf = 0; >> ------------------------------>>>> What happens when you try to compile the above...http://www.nntp.perl.org/group/perl.macosx/2008/03/msg10640.html Re: perl 5.10.0 osx 10.5.2 'make' dies at "error: redefinition of 'union semun'" by snowcrash+perl- March 5, 2008 hi,On Wed, Mar 5, 2008 at 11:17 AM, Edward Moy <emoyapple.com> wrote:> Configure determines this by trying to compile:>> ----------- try.c -----------> include <systypes.h>> include <sysipc.h>> include <syssem.h>> int main () union semun semun; semun.buf = 0; > ------------------------------>> What happens when you try to compile the above programwith gcc --version powerpc-apple-darwin9-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5531) gcc -v..http://www.nntp.perl.org/group/perl.macosx/2008/03/msg10639.html Re: perl 5.10.0 osx 10.5.2 'make' dies at "error: redefinition of 'union semun'" by Edward Moy- March 5, 2008 On Mar 5, 2008, at 11:02 AM, snowcrash+perl wrote:> hi edward,>> On Wed, Mar 5, 2008 at 10:34 AM, Edward Moy <emoyapple.com> wrote:>> When I build 5.10.0, I don&39;t have this problem. In config.h, I have:>>>>>> define HAS_UNION_SEMUN >>>> Did you run Configure>> yes>>> and does your config.h define HAS_UNION_SEMUN>> if i>> .Configure -Dfirstmakefile=&39;GNUmakefile&39; ...>> as usual,>> grep...http://www.nntp.perl.org/group/perl.macosx/2008/03/msg10638.html Re: perl 5.10.0 osx 10.5.2 'make' dies at "error: redefinition of 'union semun'" by snowcrash+perl- March 5, 2008 hi edward,On Wed, Mar 5, 2008 at 10:34 AM, Edward Moy <emoyapple.com> wrote:> When I build 5.10.0, I don&39;t have this problem. In config.h, I have:>>> define HAS_UNION_SEMUN >> Did you run Configureyes> and does your config.h define HAS_UNION_SEMUNif i .Configure -Dfirstmakefile=&39;GNUmakefile&39; ...as usual, grep HAS_UNION_SEMUN config.h HAS_UNION_SEMUN: define HAS_UNION_SEMUN after digging abt in perl src, i note that if i ADD .Configure...http://www.nntp.perl.org/group/perl.macosx/2008/03/msg10637.html Re: Using Perl to Read jar file MANIFEST file. by Claes Jakobsson- March 5, 2008 !usrbinperluse strict;use warnings;use Archive::Zip qw(:ERROR_CODES :CONSTANTS);use Archive::Zip::MemberRead;my $archive = Archive::Zip->new();die "read error" if $archive->read(shift) != AZ_OK;my $fh = Archive::Zip::MemberRead->new($archive, "META-INF MANIFEST.MF");while (defined($_ = $fh->getline())) print "$_n";galaxy: claes$ perl jar_reader.pl usrsharejavajunit.jarManifest-Version: 1.0Ant-Version: Apache Ant 1.6.5Created-By: 1.5.0_04-b05 (Sun..http://www.nntp.perl.org/group/perl.macosx/2008/03/msg10636.html Re: Using Perl to Read jar file MANIFEST file. by Claes Jakobsson- March 5, 2008 On 5 mar 2008, at 19.23, Michael Barto wrote:> Has anybody every tried to create a Perl program ro read the > contents of the MANIFEST file in java jar file We are trying to > develop something to provide comparisons for change between > different implementations. Is this a simple Perl backtic, system or > exec of the jar command or is there a more exotic way to do it > Also, we need to extract Checksum. But that seems documented.If I remember correctly JAR files are...http://www.nntp.perl.org/group/perl.macosx/2008/03/msg10635.html Re: perl 5.10.0 osx 10.5.2 'make' dies at "error: redefinition of 'union semun'" by Edward Moy- March 5, 2008 When I build 5.10.0, I don&39;t have this problem. In config.h, I have:define HAS_UNION_SEMUN Did you run Configure and does your config.h define HAS_UNION_SEMUN--------------------------------------------------------------------------Edward MoyApple Inc.emoyapple.comOn Mar 5, 2008, at 10:20 AM, snowcrash+perl wrote:> i&39;m building perl 5.10.0 on>> Darwin Kernel Version 9.2.0: Tue Feb 5 16:15:19 PST 2008;> root:xnu-1228.3.131RELEASE_PPC> powerpc-apple-darwin9-gcc-4.2.1...http://www.nntp.perl.org/group/perl.macosx/2008/03/msg10634.html Using Perl to Read jar file MANIFEST file. by Michael Barto- March 5, 2008 Has anybody every tried to create a Perl program ro read the contents of the MANIFEST file in java jar file We are trying to develop something to provide comparisons for change between different implementations. Is this a simple Perl backtic, system or exec of the jar command or is there a more exotic way to do it Also, we need to extract Checksum. But that seems documented.-- ------------------------------------------------------------------------Michael BartoSoftware Architect LogiQwest...http://www.nntp.perl.org/group/perl.macosx/2008/03/msg10633.html perl 5.10.0 osx 10.5.2 'make' dies at "error: redefinition of 'union semun'" by snowcrash+perl- March 5, 2008 i&39;m building perl 5.10.0 on Darwin Kernel Version 9.2.0: Tue Feb 5 16:15:19 PST 2008;root:xnu-1228.3.131RELEASE_PPC powerpc-apple-darwin9-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5531)currently, makedies "redef of &39;union semun&39;" cd buildperl-5.10.0 make ... In file included from miniperlmain.c:36: perl.h:5431: error: redefinition of &39;union semun&39; make: miniperlmain.o Error 1looking perl.h:5427...ifdef HAS_SEM include <sysipc.h> include <syssem.h> ...http://www.nntp.perl.org/group/perl.macosx/2008/03/msg10632.html |