[csw-users] jabberd2 packaging problems :-(

Mick Weiss mweiss at building-b.com
Thu Mar 6 05:37:13 CET 2008


I am trying to package jabberd2, and I don't know how to extract the 
files automatically under "work". I thought that `gmake extract` would 
work (it doesn't). So for now I cp -r'ed it manually. After this it 
seems that it isn't pulling libgsasl libraries - even though the 
configure script does add the path to /opt/csw/lib (where it resides).

Here is what I'm doing:

bash-3.00# gmake
[===== NOW BUILDING:    jabberd2-2.1.23 =====]
        [prerequisite] complete for jabberd2.
        [fetch] complete for jabberd2.
        [checksum] complete for jabberd2.
        [extract] complete for jabberd2.
        [patch] complete for jabberd2.
 ==> Running configure in work/root-xmpp-test.d/jabberd2-2.1.23
cd work/root-xmpp-test.d/jabberd2-2.1.23 && prefix="/opt/csw" 
exec_prefix="/opt/csw" bindir="/opt/csw/bin" 
optbindir="/opt/csw/bin/sparc" sbindir="/opt/csw/sbin" 
libexecdir="/opt/csw/libexec" datadir="/opt/csw/share" 
sysconfdir="/opt/csw/etc" sharedstatedir="/opt/csw/share" 
localstatedir="/opt/csw/var" libdir="/opt/csw/lib" 
optlibdir="/opt/csw/lib/sparc" infodir="/opt/csw/share/info" 
lispdir="/opt/csw/share/emacs/site-lisp" includedir="/opt/csw/include" 
mandir="/opt/csw/share/man" docdir="/opt/csw/share/doc" 
sourcedir="/opt/csw/src" CPPFLAGS=" 
-I/opt/blastwave/staging/opt/csw/include -I/opt/csw/include" 
CFLAGS="-I/opt/blastwave/staging/opt/csw/include -I/opt/csw/include 
-L/opt/csw/lib" CXXFLAGS=" -I/opt/blastwave/staging/opt/csw/include 
-I/opt/csw/include" LDFLAGS="-L/opt/blastwave/staging/opt/csw/lib 
-L/opt/csw/lib" ASFLAGS="" OPTFLAGS="" CC="" CXX="" 
LD_OPTIONS="-R/opt/csw/lib/\$ISALIST -R/opt/csw/lib" CC_HOME="" 
CC_VERSION="" CXX_VERSION="" VENDORNAME="" VENDORSTAMP="" GARCH="sparc" 
GAROSREL="5.10" GARPACKAGE="jabberd2" 
PKG_CONFIG_PATH="/opt/blastwave/staging/opt/csw/lib/pkgconfig:/opt/csw/lib/pkgconfig:" 
DESTDIR="/opt/blastwave/staging" ./configure --prefix=/opt/csw 
--exec_prefix=/opt/csw --bindir=/opt/csw/bin --sbindir=/opt/csw/sbin 
--libexecdir=/opt/csw/libexec --datadir=/opt/csw/share 
--sysconfdir=/opt/csw/etc --sharedstatedir=/opt/csw/share 
--localstatedir=/opt/csw/var --libdir=/opt/csw/lib 
--infodir=/opt/csw/share/info --includedir=/opt/csw/include 
--mandir=/opt/csw/share/man
/bin/sh: ./configure: not found
gmake: *** [configure-work/root-xmpp-test.d/jabberd2-2.1.23/configure] 
Error 1
bash-3.00# cd work/root-xmpp-test.d/jabberd2-2.1.23/
bash-3.00# ls
bash-3.00# cp -r /opt/src/csw/server/jabberd2/files/jabberd-2.1.23/* .
bash-3.00# ls
AUTHORS          INSTALL          README           UPGRADE          
c2s              config.log       configure.ac     install-sh       
mio              s2s              sx
COPYING          Makefile.am      README.protocol  ac-stdint.h      
compile          config.rpath     contrib          libtool          
missing          sm               tools
ChangeLog        Makefile.in      README.win32     acinclude.m4     
config.guess     config.sub       depcomp          ltmain.sh        
resolver         storage          util
Doxyfile.in      NEWS             TODO             aclocal.m4       
config.h.in      configure        etc              man              
router           subst
bash-3.00# pwd
/opt/src/csw/server/jabberd2/work/root-xmpp-test.d/jabberd2-2.1.23
bash-3.00# cd ../../../
bash-3.00# gmake
[===== NOW BUILDING:    jabberd2-2.1.23 =====]
        [prerequisite] complete for jabberd2.
        [fetch] complete for jabberd2.
        [checksum] complete for jabberd2.
        [extract] complete for jabberd2.
        [patch] complete for jabberd2.
 ==> Running configure in work/root-xmpp-test.d/jabberd2-2.1.23
cd work/root-xmpp-test.d/jabberd2-2.1.23 && prefix="/opt/csw" 
exec_prefix="/opt/csw" bindir="/opt/csw/bin" 
optbindir="/opt/csw/bin/sparc" sbindir="/opt/csw/sbin" 
libexecdir="/opt/csw/libexec" datadir="/opt/csw/share" 
sysconfdir="/opt/csw/etc" sharedstatedir="/opt/csw/share" 
localstatedir="/opt/csw/var" libdir="/opt/csw/lib" 
optlibdir="/opt/csw/lib/sparc" infodir="/opt/csw/share/info" 
lispdir="/opt/csw/share/emacs/site-lisp" includedir="/opt/csw/include" 
mandir="/opt/csw/share/man" docdir="/opt/csw/share/doc" 
sourcedir="/opt/csw/src" CPPFLAGS=" 
-I/opt/blastwave/staging/opt/csw/include -I/opt/csw/include" 
CFLAGS="-I/opt/blastwave/staging/opt/csw/include -I/opt/csw/include 
-L/opt/csw/lib" CXXFLAGS=" -I/opt/blastwave/staging/opt/csw/include 
-I/opt/csw/include" LDFLAGS="-L/opt/blastwave/staging/opt/csw/lib 
-L/opt/csw/lib" ASFLAGS="" OPTFLAGS="" CC="" CXX="" 
LD_OPTIONS="-R/opt/csw/lib/\$ISALIST -R/opt/csw/lib" CC_HOME="" 
CC_VERSION="" CXX_VERSION="" VENDORNAME="" VENDORSTAMP="" GARCH="sparc" 
GAROSREL="5.10" GARPACKAGE="jabberd2" 
PKG_CONFIG_PATH="/opt/blastwave/staging/opt/csw/lib/pkgconfig:/opt/csw/lib/pkgconfig:" 
DESTDIR="/opt/blastwave/staging" ./configure --prefix=/opt/csw 
--exec_prefix=/opt/csw --bindir=/opt/csw/bin --sbindir=/opt/csw/sbin 
--libexecdir=/opt/csw/libexec --datadir=/opt/csw/share 
--sysconfdir=/opt/csw/etc --sharedstatedir=/opt/csw/share 
--localstatedir=/opt/csw/var --libdir=/opt/csw/lib 
--infodir=/opt/csw/share/info --includedir=/opt/csw/include 
--mandir=/opt/csw/share/man
checking for a BSD-compatible install... /opt/csw/bin/ginstall -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /opt/csw/bin/ginstall -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking build system type... sparc-sun-solaris2.10
checking host system type... sparc-sun-solaris2.10
checking for a sed that does not truncate output... /opt/csw/bin/gsed
checking for grep that handles long lines and -e... /opt/csw/bin/ggrep
checking for egrep... /opt/csw/bin/ggrep -E
checking for ld used by gcc... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for /usr/ccs/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/ccs/bin/nm -p
checking how to recognize dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 786240
checking command to parse /usr/ccs/bin/nm -p output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/ccs/bin/ld) supports shared 
libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... solaris2.10 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking whether the g++ linker (/usr/ccs/bin/ld) supports shared 
libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/ccs/bin/ld) supports shared 
libraries... yes
checking dynamic linker characteristics... solaris2.10 ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking CFLAGS optimization level... fine
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for sys/types.h... (cached) yes
checking for netinet/in.h... yes
checking for arpa/nameser.h... yes
checking for netdb.h... yes
checking for resolv.h... yes
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking for arpa/nameser.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for netinet/in.h... (cached) yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/filio.h usability... yes
checking sys/filio.h presence... yes
checking for sys/filio.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking winsock2.h usability... no
checking winsock2.h presence... no
checking for winsock2.h... no
checking for resolv.h... (cached) yes
checking for windns.h... no
checking for an ANSI C-conforming const... yes
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... no
checking whether tzname is declared... yes
checking for tzname... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint8_t... yes
checking for stdint-types....... "(putting them into ac-stdint.h)"
checking for uintptr_t... yes
checking for uint64_t... yes
... seen our uintptr_t in stdint.h (uint64_t too)
creating ac-stdint.h : _AC_STDINT_H
checking for int_least32_t... yes
checking for int_fast32_t... yes
..adding include stdint.h
... seen good stdint.h inttypes
... seen good uint64_t
... DONE ac-stdint.h
checking whether closedir returns void... no
checking for working alloca.h... yes
checking for alloca... yes
checking for mbstate_t... yes
checking for working POSIX fnmatch... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether gcc needs -traditional... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for alarm... yes
checking for working mktime... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking return type of signal handlers... void
checking whether lstat dereferences a symlink specified with a trailing 
slash... yes
checking whether stat accepts an empty string... no
checking for vprintf... yes
checking for _doprnt... yes
checking for sys/select.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... (cached) int,fd_set *,struct 
timeval *
checking for close... yes
checking for dup2... yes
checking for fcntl... yes
checking for _findfirst... no
checking for gethostname... yes
checking for getopt... yes
checking for getpagesize... yes
checking for getpid... yes
checking for gettimeofday... yes
checking for inet_aton... no
checking for inet_ntoa... no
checking for ioctl... yes
checking for isascii... yes
checking for memchr... yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for _mkdir... yes
checking for modf... yes
checking for select... yes
checking for setenv... yes
checking for sleep... yes
checking for Sleep... no
checking for socket... no
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for stricmp... no
checking for strncasecmp... yes
checking for strndup... no
checking for strnicmp... no
checking for strstr... yes
checking for tzset... yes
checking for uname... yes
checking for connect... no
checking for connect in -lsocket... yes
checking for _head_libws2_32_a in -lws2_32... no
checking for gethostbyname... no
checking for gethostbyname in -lresolv... no
checking for gethostbyname... (cached) no
checking for gethostbyname in -lnsl... yes
checking for res_query... no
checking for res_query in -lresolv... yes
checking for inet_ntop... yes
checking for inet_ntop... yes
checking for inet_pton... yes
checking for syslog... yes
checking for vsyslog... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking if snprintf can handle NULL arguments... no
checking if vsnprintf can handle NULL arguments... no
checking for XML_ParserCreate in -lexpat... yes
checking for stringprep_check_version in -lidn... yes
checking for Libidn version >= 0.3.0... yes
checking gsasl.h usability... yes
checking gsasl.h presence... yes
checking for gsasl.h... yes
checking for gsasl_check_version in -lgsasl... no
configure: error: no SASL backend available out of: gsasl
gmake: *** [configure-work/root-xmpp-test.d/jabberd2-2.1.23/configure] 
Error 1

bash-3.00# cd /opt/csw/lib
bash-3.00# ls libgsasl*
libgsasl.a         libgsasl.la        libgsasl.so        
libgsasl.so.7      libgsasl.so.7.4.4

-L/opt/csw/lib <--- this is in the top part of the ./configure so I'm 
not sure why it doesn't see it.

thanks,

- Mick



More information about the users mailing list