[prev in list] [next in list] [prev in thread] [next in thread] 

List:       macports-dev
Subject:    Problem compiling / installing octave
From:       boeyms () macports ! org (Boey Maun Suang)
Date:       2007-04-21 1:19:16
Message-ID: 8044BBDC-3595-4B5C-B364-56D6591FF495 () macports ! org
[Download RAW message or body]

Hi all,

On 21/04/2007, at 03:02, Andre Stechert wrote:

> Same problem here:
>
> stechert@kirin:~ [1027] $ sudo port install gmp
> --->  Fetching gmp
> --->  Verifying checksum(s) for gmp
> --->  Extracting gmp
> --->  Configuring gmp
> Error: Target com.apple.configure returned: can't read  
> "configure.cflags": no such variable
> Error: Status 1 encountered during processing.

I've tested this with gmp, and the results are in:

  * setting configure.cflags in Portfiles doesn't work, as  
demonstrated above.
  * setting configure.cflags-append in Portfiles _does_ work; it  
worked for gmp, and for courier-authlib (which I maintain, and  
successfully built using configure.cflags-append before committing).

It's the same thing that was mentioned elsewhere (by pguyot on  
macports-dev or in a commit log, I think -- sorry for being too lazy  
to look it up) about redefining the universal variant in Portfiles:  
if you try to do so, "universal" disappears entirely.  I don't  
understand the base code well enough to understand why it works this  
way (comments?), but that's how it works.

Kind regards,


Maun Suang

-- 
Boey Maun Suang (Boey is my surname)
Email: boeyms@macports.org



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic