Same problem here:

[EMAIL PROTECTED]:~ [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.

[EMAIL PROTECTED]:~/Repositories/svn/macports/trunk/dports/audio/faad2 [1028] $ sudo port version
Version: 1.430

As the octave maintainer, I'm happy to mention that the configure.cflags
feature is not yet used in the octave Portfile.  A quick scan however,
shows that these other Portfiles are not so lucky.

[EMAIL PROTECTED]:~/Repositories/svn/macports/trunk/dports [1011] $ find . -name Portfile | xargs grep configure.cflags
./audio/faac/Portfile:configure.cflags-append   "-D__unix__"
./audio/faad2/Portfile: configure.cflags-append  -DHAS_LRINTF
./audio/herrie/Portfile:        configure.cflags-append -g
>>> ./devel/gmp/Portfile:configure.cflags -force_cpusubtype_ALL
>>> ./devel/gmp/Portfile: configure.cflags-delete - force_cpusubtype_ALL >>> ./devel/gmp/Portfile: configure.cflags-delete - force_cpusubtype_ALL >>> ./devel/gmp-cxx-wrappers/Portfile:configure.cflags - force_cpusubtype_ALL >>> ./devel/gmp-cxx-wrappers/Portfile: configure.cflags-delete - force_cpusubtype_ALL >>> ./devel/gmp-cxx-wrappers/Portfile: configure.cflags-delete - force_cpusubtype_ALL
./multimedia/ffmpeg/Portfile:configure.cflags-append    -DHAVE_LRINTF
./security/courier-authlib/Portfile:configure.cflags- append -I${prefix}/include/db44 ./sysutils/fhist/Portfile:configure.cflags-append $ {configure.cppflags} ${configure.ldflags}
./x11/Eterm/Portfile:configure.cflags-append -DDARWIN

gmp is the dependency that's preventing Octave from getting installed. Perhaps Paul G. and Mark D.
have installations that can handle the cflags keyword?

Andre

On Apr 20, 2007, at 8:59 AM, Elias Pipping wrote:

On Apr 20, 2007, at 5:33 PM, Mark Duling wrote:

Ryan Schmidt <[EMAIL PROTECTED]> on Friday, April 20, 2007 at 12:44
AM -0800 wrote:
I'm having trouble installing octave. I keep getting the following
error message:

stephen-dones-computer:~ srdone$ sudo port install octave
--->  Configuring gmp
Error: Target com.apple.configure returned: can't read
"configure.cflags": no such variable
Error: The following dependencies failed to build: gcc42 gmp libiconv
mpfr glpk gnuplot expat fontconfig freetype zlib gd2 jpeg libpng
ncurses ncursesw pdflib readline teTeX gawk gettext ghostscript gsed
texi2html texinfo hdf5 pcre
Error: Status 1 encountered during processing.

configure.cflags is new... Are you running MacPorts 1.4.3? If not,
please "sudo port selfupdate" to get it, then try again.

Wait a minute. I'm getting the same error. Apparently, configure.cflags
is not in MP 1.4.3.  I used it in a port also.

Mark

If that is the case I apologize for bugging you to use configure.cflags instead of configure.env the other day ;)


Regards,

Elias
_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to