Re: [Fink-users] Metacity on 10.7 builds but does not build

2012-03-31 Thread Peter Dyballa

Am 31.3.2012 um 02:52 schrieb Stefan Bruda:

 I am sure I am missing something, but what would be the difference
 between the fink environment and the shell?  Advice is appreciated.

This can be checked quite easily: copy the INFO (and possible PATCH) file of a 
package into your local repository, /sw/fink/dists/local/main/finkinfo (bits 
left out). In the INFO file add an l to the revision number. Below you can 
find an inline shell script block called CompileScript. Here you can add

set
env
...

whatever else (for example: exit) is necessary to determine the environment in 
which the compilation will happen.


Me, I prefer to think that one cannot trust the Apple compilers. This cannot be 
that a compilation once fails and next time succeeds.

--
Greetings

  Pete

Debugging? Klingons do not debug. Our software does not coddle the weak.


--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Metacity on 10.7 builds but does not build

2012-03-31 Thread Stefan Bruda
Hello,

At 11:33 +0200 on 2012-3-31 Peter Dyballa wrote:
 
  Am 31.3.2012 um 02:52 schrieb Stefan Bruda:
  
   I am sure I am missing something, but what would be the difference
   between the fink environment and the shell?  Advice is appreciated.
  
  This can be checked quite easily: copy the INFO (and possible
  PATCH) file of a package into your local repository,
  /sw/fink/dists/local/main/finkinfo (bits left out). In the INFO
  file add an l to the revision number. Below you can find an
  inline shell script block called CompileScript. Here you can add
  
   set
   env
   ...
  
  whatever else (for example: exit) is necessary to determine the
  environment in which the compilation will happen.
  
  
  Me, I prefer to think that one cannot trust the Apple
  compilers. This cannot be that a compilation once fails and next
  time succeeds.

I wholeheartedly agree, it is just mystifying when things can happen
differently (yet on the same machine).

Thank you all for the help, it's been illuminating.

Best regards,
Stefan

-- 
If it was so, it might be; and if it were so, it would be; but as it 
isn't, it ain't.  That's logic.  --Lewis Carroll, Through the Looking-Glass

No HTML emails and proprietary attachments please http://bruda.ca/ascii

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Metacity on 10.7 builds but does not build

2012-03-31 Thread Daniel Macks
On Sat, 31 Mar 2012 11:33:16 +0200, Peter Dyballa 
peter_dyba...@freenet.de wrote:

 Am 31.3.2012 um 02:52 schrieb Stefan Bruda:

  I am sure I am missing something, but what would be the difference
  between the fink environment and the shell?  Advice is appreciated. 

 This can be checked quite easily: copy the INFO (and possible PATCH) 
 file of a package into your local repository, 
 /sw/fink/dists/local/main/finkinfo (bits left out). In the INFO file 
 add an l to the revision number. Below you can find an inline shell 
 script block called CompileScript. Here you can add

  set
  env
  ...

 whatever else (for example: exit) is necessary to determine the 
 environment in which the compilation will happen. 

'fink dumpinfo -fenv THEPACKAGENAME' tells you the environment that 
fink uses when running the scripts in THEPACKAGENAME, no need to hack 
.info

dan

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



--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users