Login  Register

ppc-darwin, failed compile

Posted by Jonas Hansbo on Oct 26, 2001; 3:23am
URL: http://quantlib.414.s1.nabble.com/ppc-darwin-failed-compile-tp1784.html

I downloaded QuantLib-0.2.0 (Unix version) and attempted to compile for
Mac OS X (=BSD 4.4). It failed.
Jonas

localhost> ./configure
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets ${MAKE}... yes
checking for a BSD compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for gcc... no
checking for cc... cc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of cc... gcc
checking for g++... no
checking for c++... c++
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc
checking build system type... powerpc-apple-darwin1.4
checking host system type... powerpc-apple-darwin1.4
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -p
checking whether ln -s works... yes
checking how to recognise dependant libraries... file_magic Mach-O
dynamically linked shared library
checking command to parse /usr/bin/nm -p output... ok
checking how to run the C++ preprocessor... c++ -E
checking for dlfcn.h... no
checking for ranlib... (cached) ranlib
checking for strip... strip
checking for objdir... .libs
checking for cc option to produce PIC... -fno-common
checking if cc PIC flag -fno-common works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... no
checking if we can lock with hard links... yes
checking if cc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries...
yes
checking how to hardcode library paths into programs... unsupported
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... darwin1.4 dyld
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
creating libtool
checking for sed... /usr/bin/sed
checking if C++ compiler supports namespaces (required)... yes
checking if C++ environment has working string class (required)... yes
checking for math.h... yes
checking for cmath... yes
checking for ctype.h... yes
checking for cctype... yes
checking for ctime... yes
checking for time.h... yes
checking for limits... no
checking for climits... yes
checking for limits.h... yes
checking for float.h... yes
checking if C++ environment has sqrt... found in std
checking if C++ environment has fabs... found in std
checking if C++ environment has exp... found in std
checking if C++ environment has log... found in std
checking if C++ environment has sin... found in std
checking if C++ environment has cos... found in std
checking if C++ environment has pow... found in std
checking if C++ environment has modf... found in std
checking if C++ environment has toupper... found in std
checking if C++ environment has strlen... found in std
checking if C++ environment has tolower... found in std
checking if C++ environment has clock... found in std
checking if C++ environment has time... found in std
checking if C++ environment has max... found in std
checking if C++ environment has min... found in std
checking if C++ environment has iterator... not found
checking if C++ environment has iterator_traits... found in std
configure: creating ./config.status
config.status: creating Makefile
sed: 40: /tmp/cs21675-2472/subs-1.sed: unescaped newline inside
substitute pattern
sed: 3: /tmp/cs21675-2472/subs-2.sed: invalid command code j
config.status: creating ql/Makefile
sed: 40: /tmp/cs21675-2472/subs-1.sed: unescaped newline inside
substitute pattern
sed: 3: /tmp/cs21675-2472/subs-2.sed: invalid command code j
config.status: creating ql/Calendars/Makefile
sed: 40: /tmp/cs21675-2472/subs-1.sed: unescaped newline inside
substitute pattern
sed: 3: /tmp/cs21675-2472/subs-2.sed: invalid command code j
config.status: creating ql/CashFlows/Makefile
sed: sed: 40: /tmp/cs21675-2472/subs-1.sed: 3:
/tmp/cs21675-2472/subs-2.sed: invalid command code j
unescaped newline inside substitute pattern
config.status: creating ql/DayCounters/Makefile
sed: 40: /tmp/cs21675-2472/subs-1.sed: unescaped newline inside
substitute pattern
sed: 3: /tmp/cs21675-2472/subs-2.sed: invalid command code j
config.status: creating ql/FiniteDifferences/Makefile
sed: 40: /tmp/cs21675-2472/subs-1.sed: unescaped newline inside
substitute pattern
sed: 3: /tmp/cs21675-2472/subs-2.sed: invalid command code j
config.status: creating ql/Indexes/Makefile
sed: 40: /tmp/cs21675-2472/subs-1.sed: unescaped newline inside
substitute pattern
sed: 3: /tmp/cs21675-2472/subs-2.sed: invalid command code j
config.status: creating ql/Instruments/Makefile
sed: 40: /tmp/cs21675-2472/subs-1.sed: unescaped newline inside
substitute pattern
sed: 3: /tmp/cs21675-2472/subs-2.sed: invalid command code j
config.status: creating ql/Math/Makefile
sed: 3: /tmp/cs21675-2472/subs-2.sed: invalid command code j
sed: 40: /tmp/cs21675-2472/subs-1.sed: unescaped newline inside
substitute pattern
config.status: creating ql/MonteCarlo/Makefile
sed: 40: /tmp/cs21675-2472/subs-1.sed: unescaped newline inside
substitute pattern
sed: 3: /tmp/cs21675-2472/subs-2.sed: invalid command code j
config.status: creating ql/Patterns/Makefile
sed: 40: /tmp/cs21675-2472/subs-1.sed: unescaped newline inside
substitute pattern
sed: 3: /tmp/cs21675-2472/subs-2.sed: invalid command code j
config.status: creating ql/Pricers/Makefile
sed: 40: /tmp/cs21675-2472/subs-1.sed: unescaped newline inside
substitute pattern
sed: 3: /tmp/cs21675-2472/subs-2.sed: invalid command code j
config.status: creating ql/Solvers1D/Makefile
sed: 40: /tmp/cs21675-2472/subs-1.sed: unescaped newline inside
substitute pattern
sed: 3: /tmp/cs21675-2472/subs-2.sed: invalid command code j
config.status: creating ql/TermStructures/Makefile
sed: 40: /tmp/cs21675-2472/subs-1.sed: unescaped newline inside
substitute pattern
sed: 3: /tmp/cs21675-2472/subs-2.sed: invalid command code j
config.status: creating ql/Utilities/Makefile
sed: 40: /tmp/cs21675-2472/subs-1.sed: unescaped newline inside
substitute pattern
sed: 3: /tmp/cs21675-2472/subs-2.sed: invalid command code j
config.status: creating Examples/Makefile
sed: 40: /tmp/cs21675-2472/subs-1.sed: unescaped newline inside
substitute pattern
sed: 3: /tmp/cs21675-2472/subs-2.sed: invalid command code j
config.status: creating Examples/Parities/Makefile
sed: 40: /tmp/cs21675-2472/subs-1.sed: unescaped newline inside
substitute pattern
sed: 3: /tmp/cs21675-2472/subs-2.sed: invalid command code j
config.status: creating Examples/DiscreteHedging/Makefile
sed: 40: /tmp/cs21675-2472/subs-1.sed: unescaped newline inside
substitute pattern
sed: 3: /tmp/cs21675-2472/subs-2.sed: invalid command code j
config.status: creating quantlib-config
sed: 40: /tmp/cs21675-2472/subs-1.sed: unescaped newline inside
substitute pattern
sed: 3: /tmp/cs21675-2472/subs-2.sed: invalid command code j
config.status: creating ql/config.hpp
localhost> make clean
make: *** Warning: File `Makefile' has modification time in the future
(2001-10-25 18:50:55 > 2001-10-25 18:50:44)
make: *** No rule to make target `clean'.  Stop.
localhost> make
make: *** Warning: File `Makefile' has modification time in the future
(2001-10-25 18:50:55 > 2001-10-25 18:50:49)
make: *** No targets.  Stop.
localhost>