Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / Perl / July 2005



Tip: Looking for answers? Try searching our database.

building 5.8.7 on 10.4

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Joel Rees - 07 Jul 2005 11:57 GMT
Just accepted all the defaults.

    sudo make

gave one error:

    [...]
    cc -L/usr/local/lib -force_flat_namespace -o miniperl \
        miniperlmain.o opmini.o libperl.a -ldl -lm -lc
    ./miniperl -w -Ilib -MExporter -e '<?>' || make minitest
    make: [extra.pods] Error 1 (ignored)
    [...]

and

    make test

gave this:

    [...]
    lib/Locale/Maketext/t/90_utf8.............ok
    lib/locale................................FAILED at test 99
    [...]
    Failed 1 test script out of 883, 99.89% okay.
    ### Since not all tests were successful, you may want to run  
some of
    ### them individually and examine any diagnostic messages they  
produce.
    ### See the INSTALL document's section on "make test".
    ### You have a good chance to get more information by running
    ###   ./perl harness
    ### in the 't' directory since most (>=80%) of the tests succeeded.
    ### You may have to set your dynamic library search path,
    ### DYLD_LIBRARY_PATH, to point to the build directory:
    ###   setenv DYLD_LIBRARY_PATH `pwd`; cd t; ./perl harness
    ###   DYLD_LIBRARY_PATH=`pwd`; export DYLD_LIBRARY_PATH; cd t; ./
perl harness
    ###   export DYLD_LIBRARY_PATH=`pwd`; cd t; ./perl harness
    ### for csh-style shells, like tcsh; or for traditional/modern
    ### Bourne-style shells, like bash, ksh, and zsh, respectively.
    u=4.19  s=3.41  cu=268.95  cs=62.32  scripts=883  tests=100132
    make[2]: *** [_test_tty] Error 1
    make[1]: *** [_test] Error 2
    make: *** [test] Error 2

I suppose I should ask after I run harness, but I thought I'd ask if  
I was supposed to have set the locale to locale_C or whatever that  
was. (Guess I could try that and have an answer in another half hour.)

Man this Mac Mini is _fast_ for a cheap computer. Keeps reasonably  
close to my AMD Sempron 2600 with 256M more RAM and regular sized ATA  
hard drives. (Sorry about getting in a snit about the iNTEL stuff,  
but I just don't see why everyone can't see that even iNTEL has hit  
the wall here, still wishing Jobs would just add iNTEL based hardware  
to their product line. They can afford it, and it would treble their  
customer base easily. No need to drop PowerPC. Guess I'm not sorry  
enough about being in a snit to shut up.)
Dominic Dunlop - 07 Jul 2005 14:39 GMT
>     lib/locale................................FAILED at test 99

This is perfectly normal. Unfortunately. The problem is that Mac OS X  
10.4 ships with more locale definitions than previous versions, and  
eu_ES, one of the new locales, has a really weird (read, buggy) value  
for the decimal separator -- "\' ". This confuses perl into believing  
that a number using this string in place of a decimal point is two  
numbers, and a test which runs through various features of every  
installed locale fails. It's in the perl bug database as #35895, and  
I reported it to Apple as their bug ID# 4139653. But I have not had  
any feedback from Apple so far.
Signature

Dominic Dunlop

Joel Rees - 08 Jul 2005 10:09 GMT
On 2005/07/07, at 22:39, Dominic Dunlop wrote

>>     lib/locale................................FAILED at test 99
>>
[quoted text clipped - 7 lines]
> database as #35895, and I reported it to Apple as their bug ID#  
> 4139653. But I have not had any feedback from Apple so far.

Okay, I tried the make test VERBOSE, as Ken suggested, and it reports  
the file you mention.

I suppose I could simply fix that myself, if I knew the decimal  
separator should be the comma. But I'm not using Spanish, so I'll  
forego learning where Apple hid the locales today. (Hmm. I see /
System/Library/LocalePlugins, but that only has something apparently  
for Thai text breaks.)

Install completes without complaint.

Thanks.

joel
Ken Williams - 07 Jul 2005 16:56 GMT
> Just accepted all the defaults.
>
[quoted text clipped - 12 lines]
>
>     make test

You shouldn't run "sudo make" and then "make test" without sudo.  The
first step may create items that the second step can't deal with.

In general the only step that you should use sudo for is "sudo make
install".  All previous steps should be done as your regular
non-privileged user.

 -Ken
Robert - 07 Jul 2005 17:28 GMT
>> Just accepted all the defaults.
>>
[quoted text clipped - 19 lines]
> install".  All previous steps should be done as your regular
> non-privileged user.

Thanks Ken I did not realize that!

Robert
Joel Rees - 08 Jul 2005 00:04 GMT
2005-07-07 (木) の 10:56 -0500 に Ken Williams さんは書きました:

> > Just accepted all the defaults.
> >
[quoted text clipped - 14 lines]
>
> You shouldn't run "sudo make" and then "make test" without sudo.

Heh. I was in a hurry last night, didn't watch what I was copying from
the saved text. I did indeed try to make test without the sudo first,
but I figured that out immediately.

>   The
> first step may create items that the second step can't deal with.
>
> In general the only step that you should use sudo for is "sudo make
> install".  All previous steps should be done as your regular
> non-privileged user.

Well, I have the thing in the admin user's local directory, where I
would expect there should be even less problem, and make still wouldn't
run without sudo. I wonder why.

>   -Ken

Anyway, I should be able to just install it, then?

Thanks,

Joel
Ken Williams - 08 Jul 2005 02:04 GMT
> Anyway, I should be able to just install it, then?

Yeah, it sounds like it - I wasn't familiar with that locale issue, but
if Dominic says it's okay then it probably is.

If you want more details about the failure, you might be able to run
"make test VERBOSE=1 TEST_FILES=lib/locale.t" and look at the output.

 -Ken
Joseph Alotta - 07 Jul 2005 17:44 GMT
Man this Mac Mini is _fast_ for a cheap computer. Keeps reasonably  
close to my AMD Sempron 2600 with 256M more RAM and regular sized ATA  
hard drives. (Sorry about getting in a snit about the iNTEL stuff,  
but I just don't see why everyone can't see that even iNTEL has hit  
the wall here, still wishing Jobs would just add iNTEL based hardware  
to their product line. They can afford it, and it would treble their  
customer base easily. No need to drop PowerPC. Guess I'm not sorry  
enough about being in a snit to shut up.)

Hi Joel,

I am thinking that if Jobs picked AMD instead, he would a) have a  
better chip set, b) have a company that would be more responsive to  
his needs c) sided with a David rather than capitulating to the house  
of Goliath, d) preserved the Mac culture as different than the  
Windoze culture.   I am glad AMD is suing Intel.  I wish them the  
very best.

Joe.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.