Re: [Fink-devel] system-java-dev problem on Mountain Lion

2012-08-05 Thread Alexander Hansen
On 8/2/12 3:59 AM, Martin Costabel wrote:
> On 2/08/12 02:24, Alexander Hansen wrote:
> []
>> This appears to be related to https://github.com/fink/fink/issues/42 .
>>
>> We also had one of our maintainers mention that he does _not_ have this
>> issue, but he may well not have done a clean install.
> 
> I have 2 ML machines here, both upgraded from 10.7 via appstore (I
> didn't know they still provide DVDs). I also updated xcode to 4.4 via
> appstore. I never downloaded any Java related packages directly from the
> Apple web site. On both machines, Fink was bootstrapped on 10.7 and then
> upgraded to 10.8. It didn't complain about missing java-dev, but then I
> didn't ask specifically.
> I remember that on one of the machines I noticed that some java
> components were missing (when trying to run matlab), so I typed "javac",
> upon which there was the usual Apple window asking if one wants to
> install a Java runtime environment. It then downloaded some unspecified
> packages. Looking in /var/db/receipts, I see that it must have been
> 
> com.apple.pkg.JavaMDNS
> com.apple.pkg.JavaSecurity
> com.apple.pkg.JavaEssentials
> com.apple.pkg.JavaForMacOSX107
> 
> In particular, the directory
> /System/Library/Frameworks/JavaVM.framework/Versions, which previously
> was pretty empty, was populated from com.apple.pkg.JavaEssentials.
> On the other machine, I see that the same packages were installed
> shortly after the upgrade to 10.8, but I don't remember what caused the
> installation, probably also a matlab test.
> 
> Maybe fink should trigger the java installation not only during
> bootstrap, but at other occasions when it finds that java-dev packages
> are missing.
> 

I just upgraded.

I found that I had no system-java* packages initially (no real
surprise), so I ran 'javac', and that gave me the system-java1N but not
system-java1N-dev packages.

Then I recalled that I hadn't updated the Xcode 4.4 CLI tools yet.
After doing that, I now have all of the system-java-dev packages.

-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] zsh update?

2012-08-05 Thread Alexander Hansen
On 8/5/12 11:45 AM, Daniel Macks wrote:
> On Sun, 5 Aug 2012 11:37:58 -0700, "William G. Scott" 
>  wrote:
> 
>> Hi folks:
>>
>> I would like to update zsh (the Z shell) packages to the recent 5.0.0 
>> release. 
>>
>> Also, a few years ago, when multibyte support was offered, I created 
>> a second package.  At this point enabling the multibyte feature isn't 
>> experimental, and Apple's own zsh 4.3.11 has this enabled by default,
>> so it is kind of silly not to do this with Fink's 5.0.0 package. 
>>
>> So I would like to merge the two packages and remove zsh-multibyte.info. 
>>
>> Any objections?
> 
> Sounds like a good idea. You could make one final release of the 
> zsh-multibyte package that is
> 
> Type: bundle
> RuntimeDepends: fink-obsolete-packages, zsh ( >= 5.0.0-1)
> 

Also,

BuildDepends: fink ( >= 0.32 )

to use RuntimeDepends.

> to help users who do have that alternate package installed easily and 
> automatically migrate to the now fully-featured main one. 
> 
> dan
> 
>   --
> Daniel Macks
> dma...@netspace.org
> 
> 
> 


-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] zsh update?

2012-08-05 Thread Daniel Macks
On Sun, 5 Aug 2012 11:37:58 -0700, "William G. Scott" 
 wrote:

> Hi folks:
>
> I would like to update zsh (the Z shell) packages to the recent 5.0.0 
> release. 
>
> Also, a few years ago, when multibyte support was offered, I created 
> a second package.  At this point enabling the multibyte feature isn't 
> experimental, and Apple's own zsh 4.3.11 has this enabled by default,
> so it is kind of silly not to do this with Fink's 5.0.0 package. 
>
> So I would like to merge the two packages and remove zsh-multibyte.info. 
>
> Any objections?

Sounds like a good idea. You could make one final release of the 
zsh-multibyte package that is

Type: bundle
RuntimeDepends: fink-obsolete-packages, zsh ( >= 5.0.0-1)

to help users who do have that alternate package installed easily and 
automatically migrate to the now fully-featured main one. 

dan

  --
Daniel Macks
dma...@netspace.org



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


[Fink-devel] zsh update?

2012-08-05 Thread William G. Scott

Hi folks:

I would like to update zsh (the Z shell) packages to the recent 5.0.0 release.

Also, a few years ago, when multibyte support was offered, I created a second 
package.  At this point 
enabling the multibyte feature isn't experimental, and Apple's own zsh 4.3.11 
has this enabled by default,
so it is kind of silly not to do this with Fink's 5.0.0 package.

So I would like to merge the two packages and remove zsh-multibyte.info.

Any objections?

Just to be certain, I also checked on the zsh mailing list, and got the 
following reply:

> }Currently we have two packages,
> } differing only in being compiled with or without multibyte support. Is
> } there any valid reason to do this, or is there any potential harm done
> } or lack of functionality with always having it on?
> 
> As of 5.0.0 there really isn't any reason to disable multibyte support
> at compile time.  The remaining bugs with it are all in very obscure
> cases, and it should suffice to 'unsetopt multibyte' if there is some
> backwards-compatibility reason why it isn't wanted.



Thanks.

Bill Scott
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


[Fink-devel] cpp error with gcc47

2012-08-05 Thread Kevin Horton
I'm trying to get the latest cadabra to build on 10.8, and these efforts have 
run afoul of a configure failure with gcc47.

Cadabra 1.31 won't compile with the Fink's default compilers - g++ complains 
about a syntax error.  I tried gcc47 to see if that would work.  I put "SetCXX: 
g++-4.7" in the info file, and added Depends and BuildDepends on gcc47-shlibs 
and gcc47 respectively.  

configure fails with:

checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
### execution of /tmp/fink.ySYFx failed, exit code 1
### execution of /tmp/fink.zSk50 failed, exit code 1
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-cadabra-1.31-1
(Reading database ... 197960 files and directories currently installed.)
Removing fink-buildlock-cadabra-1.31-1 ...
Failed: phase compiling: cadabra-1.31-1 failed

===
config.log has:
##  ##
## Cache variables. ##
##  ##
ac_cv_prog_CXXCPP=/lib/cpp

## - ##
## Output variables. ##
## - ##
CXXCPP='/lib/cpp'

|Syntax error
configure:3505: /lib/cpp -I/sw/lib/pango-ft219/include/pango-1.0 
-I/sw/lib/pango-ft219/include -I/sw/lib/freetype219/include/freetype2 
-I/sw/lib/freetype219/include -I/sw/lib/fontconfig2/include -I/sw/include 
-DX_LOCALE -fnested-functions conftest.cpp
./configure: line 3506: /lib/cpp: No such file or directory


===
I don't have a /lib/cpp.  I've got /usr/bin/cpp.  Why is configure looking for 
/lib/cpp?

Any advice is appreciated.

Thanks,

--
Kevin Horton
Ottawa, Canada




--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] cpp error with gcc47

2012-08-05 Thread Kevin Horton
On 2012-08-04, at 21:32 , Alexander Hansen  wrote:

> On 8/4/12 6:28 PM, Kevin Horton wrote:
>> I'm trying to get the latest cadabra to build on 10.8, and these efforts 
>> have run afoul of a configure failure with gcc47.
>> 
>> Cadabra 1.31 won't compile with the Fink's default compilers - g++ complains 
>> about a syntax error.  I tried gcc47 to see if that would work.  I put 
>> "SetCXX: g++-4.7" in the info file, and added Depends and BuildDepends on 
>> gcc47-shlibs and gcc47 respectively.  
>> 
>> configure fails with:
>> 
>> checking how to run the C++ preprocessor... /lib/cpp
>> configure: error: C++ preprocessor "/lib/cpp" fails sanity check
>> See `config.log' for more details.
>> ### execution of /tmp/fink.ySYFx failed, exit code 1
>> ### execution of /tmp/fink.zSk50 failed, exit code 1
>> Removing runtime build-lock...
>> Removing build-lock package...
>> /sw/bin/dpkg-lockwait -r fink-buildlock-cadabra-1.31-1
>> (Reading database ... 197960 files and directories currently installed.)
>> Removing fink-buildlock-cadabra-1.31-1 ...
>> Failed: phase compiling: cadabra-1.31-1 failed
>> 
>> ===
>> config.log has:
>> ##  ##
>> ## Cache variables. ##
>> ##  ##
>> ac_cv_prog_CXXCPP=/lib/cpp
>> 
>> ## - ##
>> ## Output variables. ##
>> ## - ##
>> CXXCPP='/lib/cpp'
>> 
>> | Syntax error
>> configure:3505: /lib/cpp -I/sw/lib/pango-ft219/include/pango-1.0 
>> -I/sw/lib/pango-ft219/include -I/sw/lib/freetype219/include/freetype2 
>> -I/sw/lib/freetype219/include -I/sw/lib/fontconfig2/include -I/sw/include 
>> -DX_LOCALE -fnested-functions conftest.cpp
>> ./configure: line 3506: /lib/cpp: No such file or directory
>> 
>> 
>> ===
>> I don't have a /lib/cpp.  I've got /usr/bin/cpp.  Why is configure looking 
>> for /lib/cpp?
>> 
>> Any advice is appreciated.
>> 
>> Thanks,
>> 
>> --
>> Kevin Horton
>> Ottawa, Canada
>> 
>> 
>> 
> 
> That'd be because "gcc-4.7" doesn't exist as an executable name.  Try
> "g++-fsf-4.7".

Thanks, but I still get the same failure even with "SetCXX: g++-fsf-4.7":

checking whether g++-fsf-4.7 accepts -g... no
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /sw/bin/ginstall -c
checking CFLAGS for maximum warnings... -Wall
checking for lie... yes
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
### execution of /tmp/fink.QIBab failed, exit code 1
### execution of /tmp/fink.jr19R failed, exit code 1
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-cadabra-1.31-1
(Reading database ... 197960 files and directories currently installed.)
Removing fink-buildlock-cadabra-1.31-1 ...
Failed: phase compiling: cadabra-1.31-1 failed

--
Kevin Horton
Ottawa, Canada




--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel