uname -a SunOS solaris-devx 5.11 snv_64a i86pc i386 i86pc
Output of ./configure http://pastebin.ca/637290 bash-3.00$ which gmake /opt/csw/bin/gmake bash-3.00$ gmake -v GNU Make 3.81 Copyright (C) 2006 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. This program built for i386-pc-solaris2.8 bash-3.00$ which gcc /opt/csw/gcc4/bin/gcc bash-3.00$ gcc -v Reading specs from /opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/4.0.2/specs Target: i386-pc-solaris2.8 Configured with: ../sources/gcc-4.0.2/configure --prefix=/opt/csw/gcc4 --with-local-prefix=/opt/csw --with-gnu-as --with-as=/opt/csw/bin/gas --without-gnu-ld --with-ld=/usr/ccs/bin/ld --enable-threads=posix --enable-shared --enable-multilib --enable-nls --with-included-gettext --with-libiconv-prefix=/opt/csw --with-x --enable-java-awt=xlib --with-system-zlib --enable-languages=c,c++,f95,java,objc,ada Thread model: posix gcc version 4.0.2 bash-3.00$ which g++ /opt/csw/gcc4/bin/g++ bash-3.00$ g++ -v Reading specs from /opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/4.0.2/specs Target: i386-pc-solaris2.8 Configured with: ../sources/gcc-4.0.2/configure --prefix=/opt/csw/gcc4 --with-local-prefix=/opt/csw --with-gnu-as --with-as=/opt/csw/bin/gas --without-gnu-ld --with-ld=/usr/ccs/bin/ld --enable-threads=posix --enable-shared --enable-multilib --enable-nls --with-included-gettext --with-libiconv-prefix=/opt/csw --with-x --enable-java-awt=xlib --with-system-zlib --enable-languages=c,c++,f95,java,objc,ada Thread model: posix gcc version 4.0.2 bash-3.00$ bash-3.00$ gmake Making all in libltdl gmake[1]: Entering directory `/tmp/cxxtools-1.4.5/libltdl' gmake all-am gmake[2]: Entering directory `/tmp/cxxtools-1.4.5/libltdl' /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c -o ltdl.lo ltdl.c gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c -fPIC -DPIC -o .libs/ltdl.o gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c -o ltdl.o >/dev/null 2>&1 /bin/bash ./libtool --tag=CC --mode=link gcc -g -O2 -o libltdlc.la ltdl.lo -ldl false cru .libs/libltdlc.a .libs/ltdl.o gmake[2]: *** [libltdlc.la] Error 1 gmake[2]: Leaving directory `/tmp/cxxtools-1.4.5/libltdl' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory `/tmp/cxxtools-1.4.5/libltdl' gmake: *** [all-recursive] Error 1 bash-3.00$ === Hello List readers, I have done this several times on a debian Linux system, now I try it on a Solaris Express, Developer Edition; an OpenSolaris-based operating system This solaris offers g++ and gcc fom gnu and sunstudio 12 from sun. also dtrace is installed. However I cannot compile cxxtools, Whith the sun distributed make this happens, bash-3.00$ make Making all in libltdl make all-am /bin/bash ./libtool --tag=CC --mode=link gcc -g -O2 -o libltdlc.la ltdl.lo -ldl false cru .libs/libltdlc.a .libs/ltdl.o *** Error code 1 make: Fatal error: Command failed for target `libltdlc.la' Current working directory /tmp/cxxtools-1.4.5/libltdl *** Error code 1 make: Fatal error: Command failed for target `all' Current working directory /tmp/cxxtools-1.4.5/libltdl *** 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='libltdl src include demo'; 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 && make $local_target) \ || eval $failcom; \ done; \ if test "$dot_seen" = "no"; then \ make "$target-am" || exit 1; \ fi; test -z "$fail" make: Fatal error: Command failed for target `all-recursive' bash-3.00$ which make /usr/bin/make I have tried this before I installed anything from the sunfreeware site or blastwave, which offers many important gnu tools ported to solaris. but I had to install both gnumake and the gnu gcc g++ compiler, which happens to work fine on other code examples, My question has anyone compiled this on a solaris machine, with perhaps dtrace? Is the output from my configure ok? Do I need automake or autoconfigure in order to create a new configure script, can I simply import all source code files to my sunstudio and create a SFW package for solaris 10 x86_64 http://www.blastwave.org/packages.php has no cxxtools or tntnet. Di I need GnuTLS updated? http://www.blastwave.org/packages.php/gnutls if so why isn't that displayed in the error msg? gmake[2]: *** [libltdlc.la] Error 1 what can I do? best regards Morten Gulbrandsen ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Tntnet-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tntnet-general
