[jadmin] Problem building server (FreeBSD 3.4)

Ron Smits rons at ronsmits.com
Fri Mar 2 12:23:41 CST 2001


You should install the Gnu Portable thread library, the readme from 
jabber tells you where to find it

Jeffrey Yeo wrote:

> I am trying to install Jabber on a box running FreeBSD 3.4,
> and it fails when it starts compiling jabberd. 
> 
> ----
> Output from configure: (I used script to capture this, and 
> edited out the ANSI highlighting codes. There is some
> chance that there are some missing/extra characters where
> there would have been highlighted text)
> 
> Running Jabber Configure
> ========================
> 
> Getting pth settings...pth-config: not found
> pth-config: not found
> pth-config: not found
> pth-config: not found
> Configuring GNU Pth (Portable Threads), Version 1m1.3.7
> (29-Jul-2000)
> Copyright (c) 1999-2000 Ralf S. Engelschall
> <rse at engelschall.com>
> loading cache ./config.cache
> Platform: i486-pc-freebsd3.4
> 
> Build Tools:
> checking for gcc... (cached) 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... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking how to run the C preprocessor... (cached) gcc -E
> checking whether make sets ${MAKE}... (cached) yes
> checking for compiler option -pipe... (cached) yes
> checking for compilation debug mode... disabled
> checking for compilation profile mode... disabled
> checking for compilation optimization mode... disabled
> checking for ranlib... ranlib
> 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 ... no
> checking if gcc static flag -static works... -static
> checking whether ln -s works... yes
> checking for ld used by GCC... /usr/libexec/elf/ld
> checking if the linker (/usr/libexec/elf/ld) is GNU ld...
> yes
> checking whether the linker (/usr/libexec/elf/ld) supports
> shared libraries... yes
> checking for BSD-compatible nm... /usr/bin/nm -B
> checking command to parse /usr/bin/nm -B output... ok
> checking how to hardcode library paths into programs...
> immediate
> checking for /usr/libexec/elf/ld option to reload object
> files... -r
> checking dynamic linker characteristics... freebsd3.4 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... (cached) yes
> checking for stdio.h... (cached) yes
> checking for stdlib.h... (cached) yes
> checking for stdarg.h... (cached) yes
> checking for string.h... (cached) yes
> checking for signal.h... (cached) yes
> checking for unistd.h... (cached) yes
> checking for setjmp.h... (cached) yes
> checking for fcntl.h... (cached) yes
> checking for errno.h... (cached) yes
> checking for sys/types.h... (cached) yes
> checking for sys/time.h... (cached) yes
> checking for sys/wait.h... (cached) yes
> checking for sys/socket.h... (cached) yes
> checking for function gettimeofday... (cached) yes
> checking for function select... (cached) yes
> checking for function sigaction... (cached) yes
> checking for function sigprocmask... (cached) yes
> checking for function sigpending... (cached) yes
> checking for function sigsuspend... (cached) yes
> decision on mandatory system headers and functions... all
> fine
> 
> Optional Platform Environment:
> checking for number of signals... 32
> checking for function poll... (cached) yes
> checking for define POLLIN in poll.h... (cached) yes
> checking whether poll(2) facility has to be faked... no
> checking for sys/uio.h... (cached) yes
> checking for function readv... (cached) yes
> checking for function writev... (cached) yes
> checking whether readv(2)/writev(2) facility has to be
> faked... no
> checking for function usleep... (cached) yes
> checking for function strerror... (cached) yes
> checking for sys/resource.h... (cached) yes
> checking for net/errno.h... (cached) no
> checking for gethostname in -lnsl... (cached) no
> checking for gethostbyname in -lnsl... (cached) no
> checking for accept in -lsocket... (cached) no
> checking for sys/select.h... (cached) yes
> checking for typedef sig_atomic_t... (cached) yes
> checking for typedef pid_t... (cached) yes
> checking for typedef size_t... (cached) yes
> checking for typedef ssize_t... (cached) yes
> checking for typedef off_t... (cached) yes
> checking for typedef stack_t... (cached) no
> checking for attribute ss_base in struct sigaltstack from
> sys/signal.h... (cached) no
> checking for attribute ss_sp in struct sigaltstack from
> sys/signal.h... (cached) yes
> checking for a single-argument based gettimeofday... no
> checking for struct timespec... yes
> checking for typedef socklen_t... (cached) yes
> checking for type of argument 3 for accept()... (cached)
> int *
> checking for fallback socklen_t... (cached) socklen_t
> checking for typedef nfds_t... (cached) no
> checking for type of argument 2 for poll()... (cached)
> unsigned
> checking for fallback nfds_t... (cached) unsigned
> 
> Machine Context Implementation:
> checking for ucontext.h... (cached) no
> checking for function makecontext... (cached) no
> checking for function swapcontext... (cached) no
> checking for function getcontext... (cached) no
> checking for function setcontext... (cached) no
> checking for usable SVR4/SUSv2
> makecontext(2)/swapcontext(2)... (cached) no
> checking for signal.h... (cached) yes
> checking for function sigsetjmp... (cached) yes
> checking for function siglongjmp... (cached) yes
> checking for function setjmp... (cached) yes
> checking for function longjmp... (cached) yes
> checking for function _setjmp... (cached) yes
> checking for function _longjmp... (cached) yes
> checking for function sigaltstack... (cached) yes
> checking for function sigstack... (cached) no
> checking for signal-mask aware setjmp(3)/longjmp(3)...
> (cached) yes: ssjlj
> checking for typedef stack_t... (cached) no
> checking for direction of stack growth... (cached) down
> checking for function makecontext... (cached) no
> checking for stack setup via makecontext... (cached) N.A.
> checking for function sigaltstack... (cached) yes
> checking for typedef stack_t... (cached) no
> checking for stack setup via sigaltstack... (cached) ok
> checking for function sigstack... (cached) no
> checking for stack setup via sigstack... (cached) N.A.
> decision on mctx implementation... sjlj/ssjlj/sas
> 
> System Call Mapping:
> checking for function syscall... (cached) yes
> checking for sys/syscall.h... (cached) yes
> checking for sys/socketcall.h... (cached) no
> checking for define SYS_read in sys/syscall.h... (cached)
> 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
> pth_acdef.h is unchanged
> 
> 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.
> ----
> 
> Output from make:
> Making all in pthsock
> gcc -g -Wall -fPIC -I. -I..
> -I/usr/local/jabber/jabber-1.4/jabberd/pth-1.3.7
> -I../jabberd/ -shared -o pthsock_client.so client.o  
> Making all in xdb_file
> gcc -g -Wall -fPIC -I. -I..
> -I/usr/local/jabber/jabber-1.4/jabberd/pth-1.3.7
> -I../jabberd -shared -o xdb_file.so xdb_file.o  
> Making all in dnsrv
> gcc -g -Wall -fPIC -I. -I..
> -I/usr/local/jabber/jabber-1.4/jabberd/pth-1.3.7
> -I../jabberd/ -shared -o dnsrv.so dnsrv.o srv_resolv.o
> Making all in jsm
> Making all in modules
> gcc -g -Wall -fPIC -I. -I..
> -I/usr/local/jabber/jabber-1.4/jabberd/pth-1.3.7 
> -I../jabberd/ -shared -o jsm.so deliver.o  jsm.o  modules.o
>  offline.o  server.o  authreg.o  sessions.o  users.o 
> util.o modules/mod_admin.o  modules/mod_agents.o 
> modules/mod_browse.o  modules/mod_announce.o 
> modules/mod_auth_plain.o  modules/mod_auth_digest.o 
> modules/mod_auth_0k.o  modules/mod_echo.o 
> modules/mod_filter.o  modules/mod_groups.o 
> modules/mod_presence.o  modules/mod_xml.o 
> modules/mod_roster.o  modules/mod_time.o 
> modules/mod_vcard.o  modules/mod_version.o 
> modules/mod_register.o  modules/mod_log.o 
> modules/mod_last.o  modules/mod_offline.o  
> Making all in dialback
> gcc -g -Wall -fPIC -I. -I..
> -I/usr/local/jabber/jabber-1.4/jabberd/pth-1.3.7
> -I../jabberd -shared -o dialback.so dialback.o
> dialback_in.o dialback_out.o  
> Making all in jabberd
> "Makefile", line 6: Missing dependency operator
> "Makefile", line 8: Need an operator
> "Makefile", line 10: Need an operator
> "Makefile", line 11: Missing dependency operator
> "Makefile", line 13: Need an operator
> make: fatal errors encountered -- cannot continue
> *** Error code 1
> 
> Stop.
> ----
> 
> Does anyone have any idea what the problem could be? I'm
> afraid my limited familiarity with make is not up to the
> task!
> 
> Thanks,
> 
> Jeff Yeo
> 
> _______________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.ca address at http://mail.yahoo.ca
> 
> _______________________________________________
> jadmin mailing list
> jadmin at jabber.org
> http://mailman.jabber.org/listinfo/jadmin


-- 
Yahoo: ron_master_of_kitten
ICQ: 26279431

We will assimilate





More information about the JAdmin mailing list