Re: [Fink-users] G5, OSX 10.4, and 64bit-cpu

2007-07-19 Thread Dominique Dhumieres
  works on my system.

 Yes, but it wouldn't work on intels.

Yes indeed! this was precisely why I wrote works on my system.
The simple addition of the pipe yields hundreds of warning about
uninitialized stuff. I have tried unsuccessfully to get rid of
them to finally settle to something specific to my config.

Dominique

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Java Compiler Exception on running fink selfupdate

2007-07-19 Thread Alexander K. Hansen
kalkin- wrote:

 Am 19.07.2007 um 04:35 schrieb Alexander K. Hansen:

 Apple's installer has been known to drop a file here and there.

 I can try to reinstall java, but it's very strange that there is a 
 file missing on 3 different JDK's!

 What can I else do, if the java reinstallation don't work?
 
That would be strange, I agree.  I don't know if it could be a common 
file used by all of them--I'm not well-versed in how the java compiler 
works.

One other option would be to use a pre-compiled binary for that version 
of dpkg, although then you may still have java issues later on.  There 
are a couple of unofficial (but trustworthy) binary distributions that 
you can use, by adding lines to your /sw/etc/apt/sources.list file:

deb http://fink.sodan.ecc.u-tokyo.ac.jp/apt/10.4 unstable main crypto
deb http://xanana.ucsc.edu/fink_10.4/ unstable main crypto

Or if you prefer, I can send you URL for the actual binary file on my 
system, and then you can download and install it.

-- 
Alexander K. Hansen
Fink User Liaison/Documenter
akh AT finkproject DOT org


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Java Compiler Exception on running fink selfupdate

2007-07-19 Thread Martin Costabel
Alexander K. Hansen wrote:
 kalkin- wrote:

 /bin/sh ../lib/javacomp.sh -d . ./gnu/gettext/DumpResource.java 
 An exception has occurred in the compiler (1.5.0_07).
[]
 What can I else do, if the java reinstallation don't work?
 

What should be checked is also the Java compiler itself. From the error 
message it looks to me that this is Apple's /usr/bin/javac that is 
crashing here. In my build logs for dpkg I see that for me it was using 
/sw/bin/gcj from the gcc42 package.

This in itself is a slightly unhealthy situation - First of all that 
there is a Java compiler involved at all in the building of a package as 
basic as dpkg, and then that it uses the first one it finds on the 
street. Do we know that the resulting deb does not depend on the Java 
compiler found? More basically: Does dpkg really need to build all those 
tests and examples from gettext?

Maybe kalkin can find a javac.crash.log somewhere that would give a more 
detailed error message? Even knowing which javac is used and where it 
comes from would help.

-- 
Martin



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] G5, OSX 10.4, and 64bit-cpu

2007-07-19 Thread Benjamin Reed
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Martin Costabel wrote:

 Yes, but it wouldn't work on intels. Also it kind of defeats the whole 
 paragraph of code. There was a one-liner there before, but it was 
 replaced by a supposedly more generally working (but untested) code.

Heh, yeah, that's what I get for testing it with fink-virtual-pkgs
- --debug | less -- I didn't see the pages of warnings that were spit out
to STDERR.  ;)

I've fixed it in trunk and the branch.


- --
Benjamin Reed a.k.a. Ranger Rick
Fink, KDE, and Mac OS X development
http://www.racoonfink.com/

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGn2rlUu+jZtP2Zf4RAk1cAJ4jteD7zcLBmWtEBuCBLgGl6ZKkEwCeI/eQ
ZnisSo5dTufHO25ZI0WIRTw=
=k8w6
-END PGP SIGNATURE-

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Odd issues with Fink-0.8.1-Intel

2007-07-19 Thread William Scott
 
 Message: 1
 Date: Wed, 18 Jul 2007 12:35:00 -0700 (PDT)
 From: Enzo [EMAIL PROTECTED]
 Subject: [Fink-users] Odd issues with Fink-0.8.1-Intel
 To: fink-users@lists.sourceforge.net
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; charset=iso-8859-1
 
 I just upgraded my mac from a G5 to an Intel mac. So,
 I needed to reinstall fink. My office mate did the
 same thing about a week earlier and doesn't have any
 of the problems I am having.
 
 I used the installer, added unstable/main and cyrpto,
 configured to not use binaries and use the nearest
 site (US). Then selfupate-cvs, and update-all. It
 built a bunch of stuff and then off I went to start
 installing my missing apps.
 
 I tried to install python25 and it failed on db44 and
 tckl, which it didn't for my office mate (reported to
 fink-dev list). I installed them with apt-get and they
 seem to work. That is I could build and use python2.5
 
 I did notice that some of the download mirror sites
 didn't work and I had to tell it to try the next one
 several times.
 
 Does anyone have any suggestions at to what is going?  


I just rebuilt tcltk and  db44 on my intel iMac with no problems,
so it must be something other than the packages. Be sure you have
the most recent Xcode and X11 installed.

You need to post the failures to diagnose what went wrong.

fink -y update-all will keep hunting for mirros until it finds a good one.




-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] G5, OSX 10.4, and 64bit-cpu

2007-07-19 Thread Dominique Dhumieres
Applying the latest changes, i.e.:


# different sysctl variables for intel and ppc
my $is64bit = 0;
if (open(SYSCTL, 'sysctl -a 2/dev/null |')) {
my ($key, $value);
while (SYSCTL) { 
($key, $value) = $_ =~ /^(\S+)\s*\:\s*(.*?)\s*$/;
next unless (defined $key and defined $value);
if ($key =~ 
/^(hw.optional.x86_64|hw.optional.64bitops|hw.cpu64bit_capable)$/ and $value eq 
1) {
$is64bit = 1;
last;
}
}
close(SYSCTL);
} 

works for me.

Thanks.

Dominique

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Odd issues with Fink-0.8.1-Intel

2007-07-19 Thread Enzo

--- Alexander K. Hansen [EMAIL PROTECTED] wrote:

 Enzo wrote:
 snip
  I did notice that some of the download mirror
 sites
  didn't work and I had to tell it to try the next
 one
  several times.
 

 It would be nice for us to know which ones were
 causing problems and a 
 bit more specific information:  were these Fink
 Master mirror sites or  
 those from the original source.  That is, paste up a
 sample.
 
Failed sites below

From selfupdate-cvs:
http://distfiles.uox.ms.us.finkmirrors.net/fink-mirrors-0.25.1.3.tar.gz
http://distfiles.msn.wi.us.finkmirrors.net/fink-mirrors-0.25.1.3.tar.gz

From install python25:
http://distfiles.msn.wi.us.finkmirrors.net/Python-2.5.1.tgz
http://distfiles.lis.pt.eu.finkmirrors.net/Python-2.5.1.tgz
http://distfiles.msn.wi.us.finkmirrors.net/html-2.5.1.zip



  

Shape Yahoo! in your own image.  Join our Network Research Panel today!   
http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Odd issues with Fink-0.8.1-Intel

2007-07-19 Thread Alexander K. Hansen
Enzo wrote:
 --- Alexander K. Hansen [EMAIL PROTECTED] wrote:

   
 Enzo wrote:
 snip
 
 I did notice that some of the download mirror
   
 sites
 
 didn't work and I had to tell it to try the next
   
 one
 
 several times.

   
   
 It would be nice for us to know which ones were
 causing problems and a 
 bit more specific information:  were these Fink
 Master mirror sites or  
 those from the original source.  That is, paste up a
 sample.

 
 Failed sites below

 From selfupdate-cvs:
 http://distfiles.uox.ms.us.finkmirrors.net/fink-mirrors-0.25.1.3.tar.gz
 http://distfiles.msn.wi.us.finkmirrors.net/fink-mirrors-0.25.1.3.tar.gz

 From install python25:
 http://distfiles.msn.wi.us.finkmirrors.net/Python-2.5.1.tgz
 http://distfiles.lis.pt.eu.finkmirrors.net/Python-2.5.1.tgz
 http://distfiles.msn.wi.us.finkmirrors.net/html-2.5.1.zip



   
 __
   
OK that's good to know--it was specific to the distfiles system.

uox died a while ago--the update to fink-mirrors should clear that up.

-- 
Alexander K. Hansen
Fink User Liaison/Documenter
akh AT finkproject DOT org


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] G5, OSX 10.4, and 64bit-cpu

2007-07-19 Thread David R. Morrison
Fixed in fink-0.27.6.  Thanks for all the help.

   -- Dave


On Jul 19, 2007, at 8:14 AM, Dominique Dhumieres wrote:

 Applying the latest changes, i.e.:


 # different sysctl variables for intel and ppc
 my $is64bit = 0;
 if (open(SYSCTL, 'sysctl -a 2/dev/null |')) {
 my ($key, $value);
 while (SYSCTL) {
 ($key, $value) = $_ =~ /^(\S+)\s*\:\s*(.*?)\s*$/;
 next unless (defined $key and defined $value);
 if ($key =~ /^(hw.optional.x86_64|hw.optional.64bitops| 
 hw.cpu64bit_capable)$/ and $value eq 1) {
 $is64bit = 1;
 last;
 }
 }
 close(SYSCTL);
 }

 works for me.

 Thanks.

 Dominique


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users