wxWidgets port

Jyrki Wahlstedt jwa at macports.org
Fri Nov 30 04:39:11 PST 2007


On 30.11.2007, at 14.09, Russel Winder wrote:

> Jyrki,
>
>> What system are you on (10.4.11?), what architecture (Intel?), what
>> Xcode do you have? (I have 10.4.11, Intel, Xcode 2.5.0)
>
> It is definitely 10.4 Intel I haven't logged into the console and done
> an upgrade in the last few days but I did a couple of weeks ago.  Is
> there a way of checking from a SSH login over the Ethernet (which  
> is my
> usual mode of use).
>
> |> uname -a
> Darwin andred.russel.org.uk 8.11.1 Darwin Kernel Version 8.11.1:  
> Wed Oct
> 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 i386
>
> I have no idea how to check the XCode version but:
>
> |> which gcc ; gcc -v
> /usr/bin/gcc
> Using built-in specs.
> Target: i686-apple-darwin8
> Configured with: /private/var/tmp/gcc/gcc-5250.obj~20/src/configure
> --disable-checking -enable-werror --prefix=/usr --mandir=/share/man
> --enable-languages=c,objc,c++,obj-c++
> --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/
> --with-gxx-include-dir=/include/c++/4.0.0 --build=powerpc-apple- 
> darwin8
> --with-arch=pentium-m --with-tune=prescott --program-prefix=
> --host=i686-apple-darwin8 --target=i686-apple-darwin8
> Thread model: posix
> gcc version 4.0.1 (Apple Computer, Inc. build 5250)

Well, I have:
jwa at messiaen:tmp> which gcc; gcc -v
/usr/bin/gcc
Using built-in specs.
Target: i686-apple-darwin8
Configured with: /var/tmp/gcc/gcc-5370~2/src/configure --disable- 
checking -enable-werror --prefix=/usr --mandir=/share/man --enable- 
languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/ 
$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/ 
lib --build=powerpc-apple-darwin8 --with-arch=nocona --with- 
tune=generic --program-prefix= --host=i686-apple-darwin8 -- 
target=i686-apple-darwin8
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5370)

So it seems that you have a wee bit older one (Xcode 2.4.0 or .1, or  
even older). Anyway: the failure explanation 'load command 20 unknown  
cmd field' is a usable search term and produces hits that indicate  
you ought to upgrade the development environment
>
>> You could try to use the nonmonolithic variant to see, what library
>> is causing problems.
>
> Can you point me at a page of instructions?

If you do an upgrade, you use the variant settings from the installed  
one. If you do a new installation, you could do: sudo port install  
wxWidgets +nonmonolithic. In this way you break the libraries in  
smaller independent libraries (this is the recommended way for  
pgAdmin, for instance).
>
> Thanks.
>
> -- 
> Russel.
> ====================================================
> Dr Russel Winder                 Partner
>
> Concertant LLP                   t: +44 20 7193 9203
> 41 Buckmaster Road,              f: +44 8700 516 084
> London SW11 1EN, UK.             m: +44 7770 465 077



More information about the macports-users mailing list