I can't get the package to "configure" on the mac. I've tried using macports but i get the same error through macports.
It first gave out an error of not finding gcc... then i added /Developer/usr/bin to the PATH variable.
when i run configure i get the following error
configure: error: C compiler cannot create executables
See `config.log' for more details.
=============================
When i look into config.log i see the following interesting section
...........................
configure:2910: gcc --version >&5
i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5488)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2913: $? = 0
configure:2920: gcc -v >&5
Using built-in specs.
Target: i686-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5488~2/src/configure --disable-checking -enable-we
rror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --progr
am-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0
--with-slibdir=/usr/lib --build=i686-apple-darwin9 --with-arch=apple --with-tune=gen
eric --host=i686-apple-darwin9 --target=i686-apple-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5488)
configure:2923: $? = 0
configure:2930: gcc -V >&5
gcc-4.0: argument to `-V' is missing
configure:2933: $? = 1
configure:2956: checking for C compiler default output file name
configure:2983: gcc conftest.c >&5
ld: library not found for -lcrt1.10.5.o
collect2: ld returned 1 exit status
configure:2986: $? = 1
configure:3024: result:
configure: failed program was:
..........
===============================
Now it looks like the libraries i'm interested in are here
/Developer/SDKs/MacOSX10.5.sdk/usr/lib
Anyone have any ideas of how i can install cppunit on the mac...?
Also if you have any tips on using it with Xcode..
Tutu
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I can't get the package to "configure" on the mac. I've tried using macports but i get the same error through macports.
It first gave out an error of not finding gcc... then i added /Developer/usr/bin to the PATH variable.
when i run configure i get the following error
configure: error: C compiler cannot create executables
See `config.log' for more details.
=============================
When i look into config.log i see the following interesting section
...........................
configure:2910: gcc --version >&5
i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5488)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2913: $? = 0
configure:2920: gcc -v >&5
Using built-in specs.
Target: i686-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5488~2/src/configure --disable-checking -enable-we
rror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --progr
am-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0
--with-slibdir=/usr/lib --build=i686-apple-darwin9 --with-arch=apple --with-tune=gen
eric --host=i686-apple-darwin9 --target=i686-apple-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5488)
configure:2923: $? = 0
configure:2930: gcc -V >&5
gcc-4.0: argument to `-V' is missing
configure:2933: $? = 1
configure:2956: checking for C compiler default output file name
configure:2983: gcc conftest.c >&5
ld: library not found for -lcrt1.10.5.o
collect2: ld returned 1 exit status
configure:2986: $? = 1
configure:3024: result:
configure: failed program was:
..........
===============================
Now it looks like the libraries i'm interested in are here
/Developer/SDKs/MacOSX10.5.sdk/usr/lib
Anyone have any ideas of how i can install cppunit on the mac...?
Also if you have any tips on using it with Xcode..
Tutu