Problems compiling with Sun

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Problems compiling with Sun

Gargiulo Enrico
Hi all,
 I need to compile quantlib 0.4.0 on a Sun Solaris architecture with boost 1.34.0 installed and following compiler versions:
Machine hardware:   sun4u
OS version:         5.8
Processor type:     sparc
Hardware:           SUNW,UltraAX-i2
 
The following components are installed on your system:
 

Sun Studio 11
        Sun Studio 11 C Compiler
        Sun Studio 11 C++ Compiler
        Sun Studio 11 Tools.h++ 7.1
        Sun Studio 11 C++ Standard 64-bit Class Library
        Sun Studio 11 Garbage Collector
        Sun Studio 11 Fortran 95
        Sun Studio 11 Debugging Tools (including dbx)
        Sun Studio 11 IDE
        Sun Studio 11 Debugger GUI
        Sun Studio 11 Performance Analyzer (including collect, ...)
        Sun Studio 11 X-Designer
        Sun Studio 11 VIM editor
        Sun Studio 11 XEmacs editor
        Sun Studio 11 Native Connector Tool
        Sun Studio 11 Performance Library
        Sun Studio 11 LockLint
        Sun Studio 11 Building Software (including dmake)
        Sun Studio 11 Documentation Set
 
version of "/opt/SUNWspro/bin/./../prod/bin/../../bin/cc": Sun C 5.8 2005/10/13
version of "/opt/SUNWspro/bin/./../prod/bin/../../bin/CC": Sun C++ 5.8 Patch 121017-10 2007/02/21
version of "/opt/SUNWspro/bin/./../prod/bin/../../bin/f90": Sun Fortran 95 8.2 2005/10/13
version of "/opt/SUNWspro/bin/./../prod/bin/../../bin/dbx": Sun Dbx Debugger 7.5 2005/10/13
version of "/opt/SUNWspro/bin/./../prod/bin/../../bin/analyzer": Sun Performance Analyzer 7.5 2005/10/13
version of "/opt/SUNWspro/bin/./../prod/bin/../../bin/dmake": Sun Distributed Make 7.7 2005/10/13
 
The make on quantlib produces the following error:
 
*** Error code 1
dmake: Fatal error: Command failed for target `indexmanager.lo'
Current working directory /export/home/enrico/quantlib/QuantLib-0.4.0/ql/Indexes
*** Error code 1
The following command caused the error:
failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
  case $f in \
    *=* | --[!k]*);; \
    *k*) failcom='fail=yes';; \
  esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='Calendars  CashFlows  Currencies  DayCounters  FiniteDifferences  Indexes  Instruments  Lattices  MarketModels  Math  MonteCarlo  Optimization  Patterns  Pricers  PricingEngines  Processes  Quotes  RandomNumbers  ShortRateModels  Solvers1D  TermStructures  Utilities  Volatilities  VolatilityModels'; for subdir in $list; do \
  echo "Making $target in $subdir"; \
  if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
  else \
    local_target="$target"; \
  fi; \
  (cd $subdir && dmake  $local_target) \
  || eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
  dmake  "$target-am" || exit 1; \
fi; test -z "$fail"
dmake: Fatal error: Command failed for target `all-recursive'
Current working directory /export/home/enrico/quantlib/QuantLib-0.4.0/ql
*** Error code 1
dmake: Fatal error: Command failed for target `all'
Current working directory /export/home/enrico/quantlib/QuantLib-0.4.0/ql
*** Error code 1
The following command caused the error:
failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
  case $f in \
    *=* | --[!k]*);; \
    *k*) failcom='fail=yes';; \
  esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='config ql man Docs Examples test-suite'; for subdir in $list; do \
  echo "Making $target in $subdir"; \
  if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
  else \
    local_target="$target"; \
  fi; \
  (cd $subdir && dmake  $local_target) \
  || eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
  dmake  "$target-am" || exit 1; \
fi; test -z "$fail"
dmake: Fatal error: Command failed for target `all-recursive'
 
 
Has somebody resolved this problem? Can somebody help me, please?
 
Thanks
Enrico Gargiulo
 

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users