[jadmin] Building Jabber server, failed......

Chris Josephes cpj1 at visi.com
Fri Mar 2 14:13:02 CST 2001


Barry,
Either you don't have the "ar" program, or the "/usr/ccs/bin" directory
isn't in your path variable.  Check the path, and also make sure you have
the "SUNWBtool" package installed.

On Fri, 2 Mar 2001 barry.s.skidmore at mail.sprint.com wrote:

> All,
> 
>       I can not get jabber server 1.4 to build on my system and was
> wondering if anyone else has run into this or knows a fix.  I have
> included my configure script results as well as the directory failure
> during build.  I am running Solaris 8 on an Ultra 1.  Using the latest
> available version of GNU make and gcc.  Thanks for any assist.
> 
> * I am not much of a coder, just have a project to find a suitable chat
> server for my department and checking out jabber as an option.
> 
> configure script run:
> 
> unknown% ./configure
> Running Jabber Configure
> ========================
> 
> Getting pth settings..../configure: pth-config: not found
> ./configure: pth-config: not found
> ./configure: pth-config: not found
> ./configure: pth-config: not found
> Configuring GNU Pth (Portable Threads), Version 1.3.7 (29-Jul-2000)
> Copyright (c) 1999-2000 Ralf S. Engelschall <rse at engelschall.com>
> loading cache ./config.cache
> Platform: sparc-sun-solaris2.8
> 
> Build Tools:
> checking for gcc... gcc
> checking whether the C compiler (gcc  ) works... yes
> checking whether the C compiler (gcc  ) is a cross-compiler... no
> checking whether we are using GNU C... yes
> checking whether gcc accepts -g... yes
> checking how to run the C preprocessor... gcc -E
> checking whether make sets ${MAKE}... yes
> checking for compiler option -pipe... yes
> checking for compilation debug mode... disabled
> checking for compilation profile mode... disabled
> checking for compilation optimization mode... disabled
> checking for ranlib... no
> checking for object suffix... o
> checking for executable suffix... no
> checking for gcc option to produce PIC... -fPIC
> checking if gcc PIC flag -fPIC works... yes
> checking if gcc supports -c -o file.o... yes
> checking if gcc supports -c -o file.lo... yes
> checking if gcc supports -fno-rtti -fno-exceptions ... yes
> checking if gcc static flag -static works... -static
> checking whether ln -s works... yes
> checking for ld used by GCC... /usr/ccs/bin/ld
> checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
> checking whether the linker (/usr/ccs/bin/ld) supports shared
> libraries... yes
> checking for BSD-compatible nm... /usr/ccs/bin/nm -p
> checking command to parse /usr/ccs/bin/nm -p output... ok
> checking how to hardcode library paths into programs... immediate
> checking for /usr/ccs/bin/ld option to reload object files... -r
> checking dynamic linker characteristics... solaris2.8 ld.so
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> checking for objdir... .libs
> creating libtool
> 
> Mandatory Platform Environment:
> checking for ANSI C header files... yes
> checking for stdio.h... yes
> checking for stdlib.h... yes
> checking for stdarg.h... yes
> checking for string.h... yes
> checking for signal.h... yes
> checking for unistd.h... yes
> checking for setjmp.h... yes
> checking for fcntl.h... yes
> checking for errno.h... yes
> checking for sys/types.h... yes
> checking for sys/time.h... yes
> checking for sys/wait.h... yes
> checking for sys/socket.h... yes
> checking for function gettimeofday... yes
> checking for function select... yes
> checking for function sigaction... yes
> checking for function sigprocmask... yes
> checking for function sigpending... yes
> checking for function sigsuspend... yes
> decision on mandatory system headers and functions... all fine
> 
> Optional Platform Environment:
> checking for number of signals... 46
> checking for function poll... yes
> checking for define POLLIN in poll.h... yes
> checking whether poll(2) facility has to be faked... no
> checking for sys/uio.h... yes
> checking for function readv... yes
> checking for function writev... yes
> checking whether readv(2)/writev(2) facility has to be faked... no
> checking for function usleep... yes
> checking for function strerror... yes
> checking for sys/resource.h... yes
> checking for net/errno.h... no
> checking for gethostname in -lnsl... yes
> checking for accept in -lsocket... yes
> checking for sys/select.h... yes
> checking for typedef sig_atomic_t... yes
> checking for typedef pid_t... yes
> checking for typedef size_t... yes
> checking for typedef ssize_t... yes
> checking for typedef off_t... yes
> checking for typedef stack_t... yes
> checking for attribute ss_base in struct sigaltstack from
> sys/signal.h... no
> checking for attribute ss_sp in struct sigaltstack from sys/signal.h...
> yes
> checking for a single-argument based gettimeofday... no
> checking for struct timespec... yes
> checking for typedef socklen_t... yes
> checking for type of argument 3 for accept()... Psocklen_t
> checking for fallback socklen_t... socklen_t
> checking for typedef nfds_t... yes
> checking for type of argument 2 for poll()... nfds_t
> checking for fallback nfds_t... nfds_t
> 
> Machine Context Implementation:
> checking for ucontext.h... yes
> checking for function makecontext... yes
> checking for function swapcontext... yes
> checking for function getcontext... yes
> checking for function setcontext... yes
> checking for usable SVR4/SUSv2 makecontext(2)/swapcontext(2)... yes
> checking for signal.h... (cached) yes
> checking for function sigsetjmp... yes
> checking for function siglongjmp... yes
> checking for function setjmp... yes
> checking for function longjmp... yes
> checking for function _setjmp... yes
> checking for function _longjmp... yes
> checking for function sigaltstack... yes
> checking for function sigstack... yes
> checking for signal-mask aware setjmp(3)/longjmp(3)... yes: ssjlj
> checking for typedef stack_t... (cached) yes
> checking for direction of stack growth... down
> checking for function makecontext... (cached) yes
> checking for stack setup via makecontext... ok
> checking for function sigaltstack... (cached) yes
> checking for typedef stack_t... (cached) yes
> checking for stack setup via sigaltstack... ok
> checking for function sigstack... (cached) yes
> checking for stack setup via sigstack... ok
> decision on mctx implementation... mcsc/sc/mc
> 
> System Call Mapping:
> checking for function syscall... yes
> checking for sys/syscall.h... yes
> checking for sys/socketcall.h... no
> checking for define SYS_read in sys/syscall.h... yes
> checking whether soft system call mapping is used... no
> checking whether hard system call mapping is used... no
> 
> Build Parameters:
> checking whether to activate batch build mode... no
> checking whether to activate maintainer build targets... no
> checking whether to activate test build targets... yes
> checking whether to build Pthread library... no
> checking whether to build against Sfio library... no
> checking whether to build against Dmalloc library... no
> 
> Output Substitution:
> updating cache ./config.cache
> creating ./config.status
> creating Makefile
> creating pthread-config
> creating pthread.h
> creating pth-config
> creating pth.h
> creating pth_acmac.h
> creating pth_acdef.h
> 
> Now please type `make' to compile. Good luck.
> 
> Setting Build Parameters...     Done.
> Generating Settings Script...   Done.
> 
> You may now type 'make' to build your new Jabber system.
> 
> Make error:
> 
> make[2]: Entering directory
> `/usr/local/jabber/jabber-1.4/jabberd/pth-1.3.7'
> ./shtool scpp -o pth_p.h -t pth_p.h.in -Dcpp -Cintern -M '==#=='
> pth_compat.c pth_debug.c pth_syscall.c pth_errno.c pth_ring.c pth_mctx.c
> pth_clean.c pth_time.c pth_tcb.c pth_util.c pth_pqueue.c pth_event.c
> pth_sched.c pth_data.c pth_msg.c pth_cancel.c pth_sync.c pth_attr.c
> pth_lib.c pth_fork.c pth_high.c pth_ext.c
> ./libtool --mode=compile --quiet gcc -c -I. -O2 -pipe pth_debug.c
> ./libtool --mode=compile --quiet gcc -c -I. -O2 -pipe pth_ring.c
> ./libtool --mode=compile --quiet gcc -c -I. -O2 -pipe pth_pqueue.c
> ./libtool --mode=compile --quiet gcc -c -I. -O2 -pipe pth_time.c
> ./libtool --mode=compile --quiet gcc -c -I. -O2 -pipe pth_errno.c
> ./libtool --mode=compile --quiet gcc -c -I. -O2 -pipe pth_mctx.c
> ./libtool --mode=compile --quiet gcc -c -I. -O2 -pipe pth_tcb.c
> ./libtool --mode=compile --quiet gcc -c -I. -O2 -pipe pth_sched.c
> ./libtool --mode=compile --quiet gcc -c -I. -O2 -pipe pth_attr.c
> ./libtool --mode=compile --quiet gcc -c -I. -O2 -pipe pth_lib.c
> ./libtool --mode=compile --quiet gcc -c -I. -O2 -pipe pth_event.c
> ./libtool --mode=compile --quiet gcc -c -I. -O2 -pipe pth_data.c
> ./libtool --mode=compile --quiet gcc -c -I. -O2 -pipe pth_clean.c
> ./libtool --mode=compile --quiet gcc -c -I. -O2 -pipe pth_cancel.c
> ./libtool --mode=compile --quiet gcc -c -I. -O2 -pipe pth_msg.c
> ./libtool --mode=compile --quiet gcc -c -I. -O2 -pipe pth_sync.c
> ./libtool --mode=compile --quiet gcc -c -I. -O2 -pipe pth_fork.c
> ./libtool --mode=compile --quiet gcc -c -I. -O2 -pipe pth_util.c
> ./libtool --mode=compile --quiet gcc -c -I. -O2 -pipe pth_high.c
> ./libtool --mode=compile --quiet gcc -c -I. -O2 -pipe pth_syscall.c
> ./libtool --mode=compile --quiet gcc -c -I. -O2 -pipe pth_ext.c
> ./libtool --mode=compile --quiet gcc -c -I. -O2 -pipe pth_compat.c
> ./libtool --mode=link --quiet gcc -o libpth.la pth_debug.lo pth_ring.lo
> pth_pqueue.lo pth_time.lo pth_errno.lo pth_mctx.lo pth_tcb.lo
> pth_sched.lo pth_attr.lo pth_lib.lo pth_event.lo pth_data.lo
> pth_clean.lo pth_cancel.lo pth_msg.lo pth_sync.lo pth_fork.lo
> pth_util.lo pth_high.lo pth_syscall.lo pth_ext.lo pth_compat.lo \
> -rpath /usr/local/lib -version-info `./shtool version -l c -d libtool
> pth_vers.c`
> ./libtool: ar: not found
> make[2]: *** [libpth.la] Error 1
> make[2]: Leaving directory
> `/usr/local/jabber/jabber-1.4/jabberd/pth-1.3.7'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/jabber/jabber-1.4/jabberd'
> make: *** [all-recursive] Error 1
> 
> 
> Barry Skidmore
> PDSC Operations Engineering
> V: 703-689-7086
> P: 800-724-3508 PIN: 552-2114
> 
> 

-----------------------------------------------------------------------
Christopher Josephes    | http://www.visi.com/~cpj1 | 
cpj1 at visi.com           |     Recent Vent Riot      |                  
-----------------------------------------------------------------------





More information about the JAdmin mailing list