Re: [Fink-devel] how to use gcc43 or greater?

2010-06-29 Thread Koen van der Drift

On Jun 29, 2010, at 3:02 PM, David R. Morrison wrote:

> I'm pretty sure its just %p/bin/g++-4 (without the .N)
>
>  -- Dave


You are correct.


The package I'm working on uses the waf compiler to configure and  
build the sourcecode.

I've added this to the info file:

SetCC: %p/bin/gcc-4
SetCXX: %p/bin/g++-4

And here's the output I'm getting:

Checking for program g++,c++ : ok /sw/bin/g++-4
Checking for program cpp : ok /usr/bin/cpp
Checking for program ar  : ok /usr/bin/ar
Checking for program ranlib  : ok /usr/bin/ranlib
Checking for g++ : ok
powerpc-apple-darwin9-gcc-4.0.1: no input files
  error: !!! Compiler version 4.3.5 didn't support std=c++0x flag !!!


So it uses gcc43 from fink (at the moment I am still building gcc44),  
but also parts from gcc4.0 from Xcode.  Is there anything else I can  
do in the info file to force the newer gcc?

Thanks,

- Koen.

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] build failure for io-stty-pm0.03-1 on 10.5.8

2010-06-29 Thread Daniel E. Macks
Alexander Hansen  said:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Setting up fink-buildlock-io-stty-pm-0.03-1 (2010.06.29-16.12.05) ...
>
> gzip -dc /sw/src/IO-Stty-0.03.tar.gz | /sw/bin/tar -xvf -
> - --no-same-owner --no-same-permissions
> IO-Stty-0.03
> IO-Stty-0.03/Build.PL
> IO-Stty-0.03/Changes
> IO-Stty-0.03/META.yml
> IO-Stty-0.03/README
> IO-Stty-0.03/lib
> IO-Stty-0.03/lib/IO
> IO-Stty-0.03/lib/IO/Stty.pm
> IO-Stty-0.03/scripts
> IO-Stty-0.03/scripts/stty.pl
> IO-Stty-0.03/t
> IO-Stty-0.03/t/00-load.t
> IO-Stty-0.03/t/98-pod-coverage.t
> IO-Stty-0.03/t/99-pod.t
> /var/tmp/tmp.1.oA9Ks2
> #!/bin/sh -ev
>   exec 2>&1
>   perl$perlversion Build.PL \
>   --install_path
> arch=/sw/src/fink.build/root-io-stty-pm-0.03-1/sw/lib/perl5 \
>   --install_path bin=/sw/src/fink.build/root-io-stty-pm-0.03-1/sw/bin \
>   --install_path
> bindoc=/sw/src/fink.build/root-io-stty-pm-0.03-1/sw/share/man/man1 \
>   --install_path 
> lib=/sw/src/fink.build/root-io-stty-pm-0.03-1/sw/lib/perl5 \
>   --install_path
> libdoc=/sw/src/fink.build/root-io-stty-pm-0.03-1/sw/share/man/man3 \
>   --install_path script=/sw/src/fink.build/root-io-stty-pm-0.03-1/sw/bin
> Can't locate Module/Build.pm in @INC (@INC contains:
> /sw/lib/perl5/5.8.6/darwin-thread-multi-2level /sw/lib/perl5/5.8.6
> /sw/lib/perl5/darwin-thread-multi-2level
> /sw/lib/perl5/5.8.6/darwin-thread-multi-2level /sw/lib/perl5
> /sw/lib/perl5/darwin /sw/lib/perl5-core/5.8.6/darwin-thread-multi-2level
> /sw/lib/perl5-core/5.8.6
> /sw/lib/perl5/site_perl/5.8.6/darwin-thread-multi-2level
> /sw/lib/perl5/site_perl/5.8.6
> /sw/lib/perl5/site_perl/5.8.6/darwin-thread-multi-2level
> /sw/lib/perl5/site_perl .) at Build.PL line 3.
> BEGIN failed--compilation aborted at Build.PL line 3.
>
> ...
>
> And indeed:
>
> Fiona:~ hansen$ fink list -t module-build-pm
> Information about 10495 packages read in 1 seconds.
>  imodule-build-pm 1:0.36.07-201   Module::Build for /usr/bin/perl
>  imodule-build-pm5100 1:0.36.07-1 Alternative installer for Perl 
> modules
>   module-build-pm586  1:0.36.07-1 Alternative installer for Perl 
> modules
>  imodule-build-pm588  1:0.36.07-1 Alternative installer for Perl 
> modules
>
> $ which perl
> /sw/bin/perl
> Fiona:~ hansen$ perl -v
>
> This is perl, v5.8.6 built for darwin-thread-multi-2level
>
> It doesn't happen with perl5100 as the first Perl in the PATH, I guess
> since that includes Module::Build.  Presumably there's something
> insufficiently perlverted in the third line of the CompileScript?

Half-perlverted (it's not a -pmXXX, so it should be running
/usr/bin/perl explicitly. The $perlversion variable isn't even set
because it was blindly cut'n'pasted from some other probably
perlversioned correctly pkg:/ Fixed that bug.

dan

-- 
Daniel Macks
dma...@netspace.org
http://www.netspace.org/~dmacks


--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] build failure for io-stty-pm0.03-1 on 10.5.8

2010-06-29 Thread Alexander Hansen
On 6/29/10 4:40 PM, Hanspeter Niederstrasser wrote:
> I get a different result in my buildworld (10.5.8/i386/unstable).  It 
> builds here, but not correctly...
> 
> Setting up fink-buildlock-io-stty-pm-0.03-1 (2010.06.29-15.34.35) ...
> 
> gzip -dc /sw/src/IO-Stty-0.03.tar.gz | /sw/bin/tar -xvf - 
> --no-same-owner --no-same-permissions
> IO-Stty-0.03
> IO-Stty-0.03/Build.PL
> IO-Stty-0.03/Changes
> IO-Stty-0.03/META.yml
> IO-Stty-0.03/README
> IO-Stty-0.03/lib
> IO-Stty-0.03/lib/IO
> IO-Stty-0.03/lib/IO/Stty.pm
> IO-Stty-0.03/scripts
> IO-Stty-0.03/scripts/stty.pl
> IO-Stty-0.03/t
> IO-Stty-0.03/t/00-load.t
> IO-Stty-0.03/t/98-pod-coverage.t
> IO-Stty-0.03/t/99-pod.t
> /var/tmp/tmp.1.rfqr2Z
> #!/bin/sh -ev
>   exec 2>&1
>   perl$perlversion Build.PL \
>   --install_path 
> arch=/sw/src/fink.build/root-io-stty-pm-0.03-1/sw/lib/perl5 \
>   --install_path bin=/sw/src/fink.build/root-io-stty-pm-0.03-1/sw/bin \
>   --install_path 
> bindoc=/sw/src/fink.build/root-io-stty-pm-0.03-1/sw/share/man/man1 \
>   --install_path 
> lib=/sw/src/fink.build/root-io-stty-pm-0.03-1/sw/lib/perl5 \
>   --install_path 
> libdoc=/sw/src/fink.build/root-io-stty-pm-0.03-1/sw/share/man/man3 \
>   --install_path script=/sw/src/fink.build/root-io-stty-pm-0.03-1/sw/bin
> Creating new 'MYMETA.yml' with configuration results
> Creating new 'Build' script for 'IO-Stty' version '0.03'
>   ./Build
> Building IO-Stty
> /bin/rm -rf /sw/src/fink.build/root-io-stty-pm-0.03-1
> /bin/mkdir -p /sw/src/fink.build/root-io-stty-pm-0.03-1/sw
> /bin/mkdir -p /sw/src/fink.build/root-io-stty-pm-0.03-1/DEBIAN
> /usr/sbin/chown -R root:admin /sw/src/fink.build/root-io-stty-pm-0.03-1
> ./Build install
> Building IO-Stty
> Installing /sw/src/fink.build/root-io-stty-pm-0.03-1/sw/lib/perl5/IO/Stty.pm
> Installing 
> /sw/src/fink.build/root-io-stty-pm-0.03-1/sw/share/man/man3/IO::Stty.3pm
> Installing /sw/src/fink.build/root-io-stty-pm-0.03-1/sw/bin/stty.pl
> /bin/mkdir -p /sw/src/fink.build/root-io-stty-pm-0.03-1/sw/share/podfiles
> for i in `find /sw/src/fink.build/root-io-stty-pm-0.03-1/sw -name 
> perllocal.pod`; do /bin/cat $i | sed -e 
> s,/sw/src/fink.build/root-io-stty-pm-0.03-1/sw/lib/perl5,/sw/lib/perl5, 
>  >> 
> /sw/src/fink.build/root-io-stty-pm-0.03-1/sw/share/podfiles/perllocal.io-stty-pm.pod;
>  
> /bin/rm -rf $i; done;
> /usr/bin/install -d -m 700 
> /sw/src/fink.build/root-io-stty-pm-0.03-1/sw/share/doc/io-stty-pm
> /bin/cp -r README 
> /sw/src/fink.build/root-io-stty-pm-0.03-1/sw/share/doc/io-stty-pm/
> /bin/chmod -R go=u-w 
> /sw/src/fink.build/root-io-stty-pm-0.03-1/sw/share/doc/io-stty-pm
> /bin/rm -f /sw/src/fink.build/root-io-stty-pm-0.03-1/sw/info/dir 
> /sw/src/fink.build/root-io-stty-pm-0.03-1/sw/info/dir.old 
> /sw/src/fink.build/root-io-stty-pm-0.03-1/sw/share/info/dir 
> /sw/src/fink.build/root-io-stty-pm-0.03-1/sw/share/info/dir.old
> Writing control file...
> Writing package script postinst...
> Writing package script postrm...
> dpkg-deb -b root-io-stty-pm-0.03-1 
> /sw/fink/10.5/unstable/main/binary-darwin-i386/libs/perlmods
> dpkg-deb: building package `io-stty-pm' in 
> `/sw/fink/10.5/unstable/main/binary-darwin-i386/libs/perlmods/io-stty-pm_0.03-1_darwin-i386.deb'.
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-io-stty-pm-0.03-1
> (Reading database ... 4809 files and directories currently installed.)
> Removing fink-buildlock-io-stty-pm-0.03-1 ...
> *
> 
> but when expect-pm58{6,8} tried to install it, it fails thusly:
> 
> *
> The package 'expect-pm588' will be built without being installed.
> Reading dependency for expect-pm588-1.21-1...
> Reading build dependency for expect-pm588-1.21-1...
> Reading build conflict for expect-pm588-1.21-1...
> The package 'io-tty-pm588' will be installed.
> Reading dependency for io-tty-pm588-1.08-1...
> The package 'io-stty-pm' will be installed.
> Reading dependency for io-stty-pm-0.03-1...
> The following package will be rebuilt:
>   expect-pm588
> The following 2 additional packages will be installed:
>   io-stty-pm io-tty-pm588
> Do you want to continue? [Y/n] (assuming default)
> Reading buildlock packages...
>   All buildlocks accounted for.
> /sw/bin/dpkg-lockwait -i /sw/fink/debs/io-stty-pm_0.03-1_darwin-i386.deb
> (Reading database ... 4092 files and directories currently installed.)
> Preparing to replace io-stty-pm 0.03-1 (using 
> .../io-stty-pm_0.03-1_darwin-i386.deb) ...
> Unpacking replacement io-stty-pm ...
> Setting up io-stty-pm (0.03-1) ...
> cat: /sw/share/podfiles/*.pod: No such file or directory
> /sw/bin/dpkg: error processing io-stty-pm (--install):
>   subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
>   io-stty-pm
> ### execution of /sw/bin/dpkg-lockwait failed, exit code 1
> Failed: can't install package io-stty-pm-0.03-1
> *
> 
> And if fact, io-stty-pm does lack .pod files:
> 
> $ dpkg-de

Re: [Fink-devel] build failure for io-stty-pm0.03-1 on 10.5.8

2010-06-29 Thread Hanspeter Niederstrasser
I get a different result in my buildworld (10.5.8/i386/unstable).  It 
builds here, but not correctly...

Setting up fink-buildlock-io-stty-pm-0.03-1 (2010.06.29-15.34.35) ...

gzip -dc /sw/src/IO-Stty-0.03.tar.gz | /sw/bin/tar -xvf - 
--no-same-owner --no-same-permissions
IO-Stty-0.03
IO-Stty-0.03/Build.PL
IO-Stty-0.03/Changes
IO-Stty-0.03/META.yml
IO-Stty-0.03/README
IO-Stty-0.03/lib
IO-Stty-0.03/lib/IO
IO-Stty-0.03/lib/IO/Stty.pm
IO-Stty-0.03/scripts
IO-Stty-0.03/scripts/stty.pl
IO-Stty-0.03/t
IO-Stty-0.03/t/00-load.t
IO-Stty-0.03/t/98-pod-coverage.t
IO-Stty-0.03/t/99-pod.t
/var/tmp/tmp.1.rfqr2Z
#!/bin/sh -ev
exec 2>&1
perl$perlversion Build.PL \
--install_path 
arch=/sw/src/fink.build/root-io-stty-pm-0.03-1/sw/lib/perl5 \
--install_path bin=/sw/src/fink.build/root-io-stty-pm-0.03-1/sw/bin \
--install_path 
bindoc=/sw/src/fink.build/root-io-stty-pm-0.03-1/sw/share/man/man1 \
--install_path 
lib=/sw/src/fink.build/root-io-stty-pm-0.03-1/sw/lib/perl5 \
--install_path 
libdoc=/sw/src/fink.build/root-io-stty-pm-0.03-1/sw/share/man/man3 \
--install_path script=/sw/src/fink.build/root-io-stty-pm-0.03-1/sw/bin
Creating new 'MYMETA.yml' with configuration results
Creating new 'Build' script for 'IO-Stty' version '0.03'
./Build
Building IO-Stty
/bin/rm -rf /sw/src/fink.build/root-io-stty-pm-0.03-1
/bin/mkdir -p /sw/src/fink.build/root-io-stty-pm-0.03-1/sw
/bin/mkdir -p /sw/src/fink.build/root-io-stty-pm-0.03-1/DEBIAN
/usr/sbin/chown -R root:admin /sw/src/fink.build/root-io-stty-pm-0.03-1
./Build install
Building IO-Stty
Installing /sw/src/fink.build/root-io-stty-pm-0.03-1/sw/lib/perl5/IO/Stty.pm
Installing 
/sw/src/fink.build/root-io-stty-pm-0.03-1/sw/share/man/man3/IO::Stty.3pm
Installing /sw/src/fink.build/root-io-stty-pm-0.03-1/sw/bin/stty.pl
/bin/mkdir -p /sw/src/fink.build/root-io-stty-pm-0.03-1/sw/share/podfiles
for i in `find /sw/src/fink.build/root-io-stty-pm-0.03-1/sw -name 
perllocal.pod`; do /bin/cat $i | sed -e 
s,/sw/src/fink.build/root-io-stty-pm-0.03-1/sw/lib/perl5,/sw/lib/perl5, 
 >> 
/sw/src/fink.build/root-io-stty-pm-0.03-1/sw/share/podfiles/perllocal.io-stty-pm.pod;
 
/bin/rm -rf $i; done;
/usr/bin/install -d -m 700 
/sw/src/fink.build/root-io-stty-pm-0.03-1/sw/share/doc/io-stty-pm
/bin/cp -r README 
/sw/src/fink.build/root-io-stty-pm-0.03-1/sw/share/doc/io-stty-pm/
/bin/chmod -R go=u-w 
/sw/src/fink.build/root-io-stty-pm-0.03-1/sw/share/doc/io-stty-pm
/bin/rm -f /sw/src/fink.build/root-io-stty-pm-0.03-1/sw/info/dir 
/sw/src/fink.build/root-io-stty-pm-0.03-1/sw/info/dir.old 
/sw/src/fink.build/root-io-stty-pm-0.03-1/sw/share/info/dir 
/sw/src/fink.build/root-io-stty-pm-0.03-1/sw/share/info/dir.old
Writing control file...
Writing package script postinst...
Writing package script postrm...
dpkg-deb -b root-io-stty-pm-0.03-1 
/sw/fink/10.5/unstable/main/binary-darwin-i386/libs/perlmods
dpkg-deb: building package `io-stty-pm' in 
`/sw/fink/10.5/unstable/main/binary-darwin-i386/libs/perlmods/io-stty-pm_0.03-1_darwin-i386.deb'.
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-io-stty-pm-0.03-1
(Reading database ... 4809 files and directories currently installed.)
Removing fink-buildlock-io-stty-pm-0.03-1 ...
*

but when expect-pm58{6,8} tried to install it, it fails thusly:

*
The package 'expect-pm588' will be built without being installed.
Reading dependency for expect-pm588-1.21-1...
Reading build dependency for expect-pm588-1.21-1...
Reading build conflict for expect-pm588-1.21-1...
The package 'io-tty-pm588' will be installed.
Reading dependency for io-tty-pm588-1.08-1...
The package 'io-stty-pm' will be installed.
Reading dependency for io-stty-pm-0.03-1...
The following package will be rebuilt:
  expect-pm588
The following 2 additional packages will be installed:
  io-stty-pm io-tty-pm588
Do you want to continue? [Y/n] (assuming default)
Reading buildlock packages...
All buildlocks accounted for.
/sw/bin/dpkg-lockwait -i /sw/fink/debs/io-stty-pm_0.03-1_darwin-i386.deb
(Reading database ... 4092 files and directories currently installed.)
Preparing to replace io-stty-pm 0.03-1 (using 
.../io-stty-pm_0.03-1_darwin-i386.deb) ...
Unpacking replacement io-stty-pm ...
Setting up io-stty-pm (0.03-1) ...
cat: /sw/share/podfiles/*.pod: No such file or directory
/sw/bin/dpkg: error processing io-stty-pm (--install):
  subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
  io-stty-pm
### execution of /sw/bin/dpkg-lockwait failed, exit code 1
Failed: can't install package io-stty-pm-0.03-1
*

And if fact, io-stty-pm does lack .pod files:

$ dpkg-deb --contents io-stty-pm_0.03-1_darwin-i386.deb
drwxr-xr-x root/admin0 2010-06-29 15:34 ./
drwxr-xr-x root/admin0 2010-06-29 15:34 ./sw/
drwxr-xr-x root/admin0 2010-06-29 15:34 ./sw/bin/
-r-xr-xr-x root/admin  273 2010-06-29 15:34 ./sw/bin

[Fink-devel] build failure for io-stty-pm0.03-1 on 10.5.8

2010-06-29 Thread Alexander Hansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Setting up fink-buildlock-io-stty-pm-0.03-1 (2010.06.29-16.12.05) ...

gzip -dc /sw/src/IO-Stty-0.03.tar.gz | /sw/bin/tar -xvf -
- --no-same-owner --no-same-permissions
IO-Stty-0.03
IO-Stty-0.03/Build.PL
IO-Stty-0.03/Changes
IO-Stty-0.03/META.yml
IO-Stty-0.03/README
IO-Stty-0.03/lib
IO-Stty-0.03/lib/IO
IO-Stty-0.03/lib/IO/Stty.pm
IO-Stty-0.03/scripts
IO-Stty-0.03/scripts/stty.pl
IO-Stty-0.03/t
IO-Stty-0.03/t/00-load.t
IO-Stty-0.03/t/98-pod-coverage.t
IO-Stty-0.03/t/99-pod.t
/var/tmp/tmp.1.oA9Ks2
#!/bin/sh -ev
exec 2>&1
perl$perlversion Build.PL \
--install_path
arch=/sw/src/fink.build/root-io-stty-pm-0.03-1/sw/lib/perl5 \
--install_path bin=/sw/src/fink.build/root-io-stty-pm-0.03-1/sw/bin \
--install_path
bindoc=/sw/src/fink.build/root-io-stty-pm-0.03-1/sw/share/man/man1 \
--install_path 
lib=/sw/src/fink.build/root-io-stty-pm-0.03-1/sw/lib/perl5 \
--install_path
libdoc=/sw/src/fink.build/root-io-stty-pm-0.03-1/sw/share/man/man3 \
--install_path script=/sw/src/fink.build/root-io-stty-pm-0.03-1/sw/bin
Can't locate Module/Build.pm in @INC (@INC contains:
/sw/lib/perl5/5.8.6/darwin-thread-multi-2level /sw/lib/perl5/5.8.6
/sw/lib/perl5/darwin-thread-multi-2level
/sw/lib/perl5/5.8.6/darwin-thread-multi-2level /sw/lib/perl5
/sw/lib/perl5/darwin /sw/lib/perl5-core/5.8.6/darwin-thread-multi-2level
/sw/lib/perl5-core/5.8.6
/sw/lib/perl5/site_perl/5.8.6/darwin-thread-multi-2level
/sw/lib/perl5/site_perl/5.8.6
/sw/lib/perl5/site_perl/5.8.6/darwin-thread-multi-2level
/sw/lib/perl5/site_perl .) at Build.PL line 3.
BEGIN failed--compilation aborted at Build.PL line 3.

...

And indeed:

Fiona:~ hansen$ fink list -t module-build-pm
Information about 10495 packages read in 1 seconds.
 i  module-build-pm 1:0.36.07-201   Module::Build for /usr/bin/perl
 i  module-build-pm5100 1:0.36.07-1 Alternative installer for Perl 
modules
module-build-pm586  1:0.36.07-1 Alternative installer for Perl 
modules
 i  module-build-pm588  1:0.36.07-1 Alternative installer for Perl 
modules

$ which perl
/sw/bin/perl
Fiona:~ hansen$ perl -v

This is perl, v5.8.6 built for darwin-thread-multi-2level

It doesn't happen with perl5100 as the first Perl in the PATH, I guess
since that includes Module::Build.  Presumably there's something
insufficiently perlverted in the third line of the CompileScript?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwqVtAACgkQB8UpO3rKjQ8YhwCfbrin0kWTY8Q8jSlRBBPw6mmP
RUQAoIbIOpum1K1BFN58JAxupmtGYlv1
=u76I
-END PGP SIGNATURE-

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] how to use gcc43 or greater?

2010-06-29 Thread David R. Morrison
I'm pretty sure its just %p/bin/g++-4 (without the .N)

  -- Dave

On Jun 29, 2010, at 12:53 PM, Koen van der Drift wrote:

> And then I guess I use
> 
> SetCXX=%p/bin/g++-4.N (or whatever the name of the excecutable is), correct?
> 
> - Koen.
> 
> 
> 
> 
> On Tue, Jun 29, 2010 at 2:39 PM, Koen van der Drift
>  wrote:
>> On Tue, Jun 29, 2010 at 2:31 PM, Alexander Hansen
>>  wrote:
>> 
>>> 
>>> Check the linked library contents of your package.  More often than not,
>>> it will wind up linked to a library from the gcc4N that you used to
>>> build it.  In such a case there is no choice:  you pick a gcc4N and
>>> users build that if they don't have it installed.
>>> 
>>> gcc44 is now the minimum recommended version, since it works on all of
>>> our platforms, which gcc43 does not.
>> 
>> Alright, I will use gcc44 in the info file. And I haven't even gotten
>> to build the package without errors, so cannot check the linked
>> libraies (if any) yet.
>> 
>> Thanks,
>> 
>> - Koen.
>> 
> 
> --
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> ___
> Fink-devel mailing list
> Fink-devel@lists.sourceforge.net
> http://news.gmane.org/gmane.os.apple.fink.devel
> Subscription management:
> https://lists.sourceforge.net/lists/listinfo/fink-devel


--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] how to use gcc43 or greater?

2010-06-29 Thread Koen van der Drift
And then I guess I use

SetCXX=%p/bin/g++-4.N (or whatever the name of the excecutable is), correct?

- Koen.




On Tue, Jun 29, 2010 at 2:39 PM, Koen van der Drift
 wrote:
> On Tue, Jun 29, 2010 at 2:31 PM, Alexander Hansen
>  wrote:
>
>>
>> Check the linked library contents of your package.  More often than not,
>> it will wind up linked to a library from the gcc4N that you used to
>> build it.  In such a case there is no choice:  you pick a gcc4N and
>> users build that if they don't have it installed.
>>
>> gcc44 is now the minimum recommended version, since it works on all of
>> our platforms, which gcc43 does not.
>
> Alright, I will use gcc44 in the info file. And I haven't even gotten
> to build the package without errors, so cannot check the linked
> libraies (if any) yet.
>
> Thanks,
>
> - Koen.
>

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Re: [Fink-devel] how to use gcc43 or greater?

2010-06-29 Thread Koen van der Drift
On Tue, Jun 29, 2010 at 2:31 PM, Alexander Hansen
 wrote:

>
> Check the linked library contents of your package.  More often than not,
> it will wind up linked to a library from the gcc4N that you used to
> build it.  In such a case there is no choice:  you pick a gcc4N and
> users build that if they don't have it installed.
>
> gcc44 is now the minimum recommended version, since it works on all of
> our platforms, which gcc43 does not.

Alright, I will use gcc44 in the info file. And I haven't even gotten
to build the package without errors, so cannot check the linked
libraies (if any) yet.

Thanks,

- Koen.

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Re: [Fink-devel] how to use gcc43 or greater?

2010-06-29 Thread Alexander Hansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 6/29/10 2:13 PM, Koen van der Drift wrote:
> I'm working on a package that requires gcc43 or greater. How do I
> define this in the info file? I could use (Build)Depends: gcc43, but
> if someone already has gcc44 installed, they'll end up with more than
> one gcc (and a lot of compilation time). The gcc version from Xcode on
> my system is 4.0.1 (10.5/PPC), so I need to add gcc to the info file.
> But maybe newer Xcode versions already have gcc43? 

Nope.  They have gcc-4.2.

I that case I
> assume don't need to add gcc43.
> 
> What's the recommended way to do this?
> 
> Thanks,
> 
> - Koen.
> 

Check the linked library contents of your package.  More often than not,
it will wind up linked to a library from the gcc4N that you used to
build it.  In such a case there is no choice:  you pick a gcc4N and
users build that if they don't have it installed.

gcc44 is now the minimum recommended version, since it works on all of
our platforms, which gcc43 does not.

- -- 
Alexander Hansen
Fink User Liaison
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwqO/gACgkQB8UpO3rKjQ/acQCdH4mlNqqIHNtKhttIlN2x2ME9
55UAn3oukXwRTnaPG86sxGzLW6r/xFS0
=wKnc
-END PGP SIGNATURE-

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


[Fink-devel] how to use gcc43 or greater?

2010-06-29 Thread Koen van der Drift
I'm working on a package that requires gcc43 or greater. How do I
define this in the info file? I could use (Build)Depends: gcc43, but
if someone already has gcc44 installed, they'll end up with more than
one gcc (and a lot of compilation time). The gcc version from Xcode on
my system is 4.0.1 (10.5/PPC), so I need to add gcc to the info file.
But maybe newer Xcode versions already have gcc43? I that case I
assume don't need to add gcc43.

What's the recommended way to do this?

Thanks,

- Koen.

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] mayavi2 fink

2010-06-29 Thread Alexander Hansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 6/29/10 11:40 AM, Jed Frechette wrote:
> On Tue, 29 Jun 2010 09:20:54 -0600, RaDaniel Christian 성준  
>  wrote:
> 
>> I have found your fink package for MayaVi2-py25, but I can't install
>> it. I was wondering if you could help me with this:
>>
>> choel...@bcm-17-82:~/ > fink install mayavi2-py25
>> Password:
>> Scanning package description files..
>> Information about 9034 packages read in 2 seconds.
>> Can't resolve dependency "vtk-py25 (>= 5.0)" for package
>> "mayavi2-py25-3.2.0-2" (no matching packages/versions found)
>> Exiting with failure.
> ...
>> I have the 64 bit version of fink installed, and I have also installed
>> http://stronginference.com/scipy-superpack/ with the .sh script
>> provided.
>> However, I have not been able to find or run any of the commands to
>> start up the program.
> 
>

Fink isn't guaranteed to work with any arbitrary third-party stuff.

vtk-py25 has been pulled from the 10.6 distribution because it doesn't
work, and mayavi2 should be pulled as well, until somebody can modify it
to build.

- -- 
Alexander Hansen
Fink User Liaison
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwqNCsACgkQB8UpO3rKjQ85hACghi/JySVdc4dU9DSkLjBDJdt2
ghQAnAyRd0f5O2z79VccUTp1miZkei0x
=mUuZ
-END PGP SIGNATURE-

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Re: [Fink-devel] mayavi2 fink

2010-06-29 Thread Jed Frechette
On Tue, 29 Jun 2010 09:20:54 -0600, RaDaniel Christian 성준  
 wrote:

> I have found your fink package for MayaVi2-py25, but I can't install
> it. I was wondering if you could help me with this:
>
> choel...@bcm-17-82:~/ > fink install mayavi2-py25
> Password:
> Scanning package description files..
> Information about 9034 packages read in 2 seconds.
> Can't resolve dependency "vtk-py25 (>= 5.0)" for package
> "mayavi2-py25-3.2.0-2" (no matching packages/versions found)
> Exiting with failure.
...
> I have the 64 bit version of fink installed, and I have also installed
> http://stronginference.com/scipy-superpack/ with the .sh script
> provided.
> However, I have not been able to find or run any of the commands to
> start up the program.

Unfortunately, I no longer have the ability to maintain the mayavi package  
and do not have commit access to the Fink repository to update the  
maintainer field. I'm CCing fink-devel as someone there should know the  
status of the VTK python bindings. Last time I checked they were a bit of  
a mess and at the moment I don't have access to an Apple system to test on.

Good luck,

-- 
Jed Frechette

University of New Mexico Lidar Lab
www.unm.edu/~lidar

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel