pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Building lighttpd with Sun Studio 12 update 1



Hello

 

I am trying to build Lighttpd of pkgsrc-2009Q4 on a Solaris 10 u8 x86 with Sun Studio 12 update 1

But during the building step, I have some errors :

 

# bmake install

=> Bootstrap dependency digest>=20010302: found digest-20080510

=> Bootstrap dependency tnftp-[0-9]*: found tnftp-20070806

===> Skipping vulnerability checks.

WARNING: No /var/db/pkg/pkg-vulnerabilities file found.

WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.

=> Checksum SHA1 OK for lighttpd-1.4.22.tar.gz

=> Checksum RMD160 OK for lighttpd-1.4.22.tar.gz

===> Installing dependencies for lighttpd-1.4.22

==========================================================================

The supported build options for lighttpd are:

 

        bzip fam gdbm inet6 ldap lua memcache mysql

        ssl

 

The currently selected options are:

 

        ssl

 

You can select which build options to use by setting PKG_DEFAULT_OPTIONS

or the following variable.  Its current value is shown:

 

        PKG_OPTIONS.lighttpd = -inet6

 

==========================================================================

==========================================================================

The following variables will affect the build process of this package,

lighttpd-1.4.22.  Their current value is shown below:

 

        * SSLBASE (defined)

        * SSLCERTS = /usr/pkg/etc/openssl/certs

        * SSLDIR = /usr/pkg/etc/openssl

        * SSLKEYS = /usr/pkg/etc/openssl/private

 

You may want to abort the process now with CTRL-C and change their value

before continuing.  Be sure to run `/usr/pkg/bin/bmake clean' after

the changes.

==========================================================================

=> Build dependency libtool-base>=2.2.6bnb3: found libtool-base-2.2.6bnb3

=> Build dependency nbpatch-[0-9]*: found nbpatch-20091021

=> Build dependency pax>=20040802: found pax-20080110

=> Full dependency openssl>=0.9.8g: found openssl-0.9.8l

=> Full dependency pcre>=6.2: found pcre-8.00

===> Overriding tools for lighttpd-1.4.22

===> Extracting for lighttpd-1.4.22

===> Patching for lighttpd-1.4.22

=> Applying pkgsrc patches for lighttpd-1.4.22

===> Creating toolchain wrappers for lighttpd-1.4.22

===> Configuring for lighttpd-1.4.22

=> Modifying GNU configure scripts to avoid --recheck

=> Replacing config-guess with pkgsrc versions

=> Replacing config-sub with pkgsrc versions

=> Replacing install-sh with pkgsrc version

checking build system type... i386-sun-solaris2

checking host system type... i386-sun-solaris2

checking target system type... i386-sun-solaris2

checking for a BSD-compatible install... /usr/pkg/bin/install-sh -c -o root -g root

checking whether build environment is sane... yes

checking for a thread-safe mkdir -p... ./install-sh -c -d

checking for gawk... /usr/pkg/bin/nawk

checking whether make sets $(MAKE)... yes

checking whether to enable maintainer-specific portions of Makefiles... no

checking for i386-sun-solaris2-gcc... cc

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... no

checking whether cc accepts -g... yes

checking for cc option to accept ISO C89... none needed

checking for style of include used by make... GNU

checking dependency style of cc... none

checking whether cc understands -c and -o together... yes

checking for a sed that does not truncate output... /usr/pkgsrc/www/lighttpd/work/.tools/bin/sed

checking for grep that handles long lines and -e... (cached) /usr/xpg4/bin/grep

checking for egrep... (cached) /usr/xpg4/bin/grep -E

checking for non-GNU ld... /usr/pkgsrc/www/lighttpd/work/.wrapper/bin/ld

checking if the linker (/usr/pkgsrc/www/lighttpd/work/.wrapper/bin/ld) is GNU ld... no

checking for a BSD-compatible install... /usr/pkg/bin/install-sh -c -o root -g root

checking for gawk... (cached) /usr/pkg/bin/nawk

checking how to run the C preprocessor... cc -E

checking whether ln -s works... yes

checking whether make sets $(MAKE)... (cached) yes

checking for AIX... no

checking for library containing strerror... none required

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 minix/config.h usability... no

checking minix/config.h presence... no

checking for minix/config.h... no

checking for function prototypes... yes

checking for string.h... (cached) yes

checking for /usr/pkgsrc/www/lighttpd/work/.wrapper/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 dlfcn.h usability... yes

checking dlfcn.h presence... yes

checking for dlfcn.h... yes

checking whether we are using the GNU C++ compiler... no

checking whether CC accepts -g... no

checking dependency style of CC... none

checking how to run the C++ preprocessor... cc -E

checking for i386-sun-solaris2-g77... f77

checking whether we are using the GNU Fortran 77 compiler... no

checking whether f77 accepts -g... no

checking the maximum length of command line arguments... 786240

checking command to parse /usr/ccs/bin/nm -p output from cc object... ok

checking for objdir... .libs

checking for i386-sun-solaris2-ar... no

checking for ar... ar

checking for i386-sun-solaris2-ranlib... no

checking for ranlib... ranlib

checking for i386-sun-solaris2-strip... no

checking for strip... strip

checking for cc option to produce PIC... -KPIC

checking if cc PIC flag -KPIC works... yes

checking if cc static flag -Bstatic works... yes

checking if cc supports -c -o file.o... yes

checking whether the cc linker (/usr/pkgsrc/www/lighttpd/work/.wrapper/bin/ld) supports shared libraries... yes

checking dynamic linker characteristics... solaris2 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 whether the CC linker (/usr/pkgsrc/www/lighttpd/work/.wrapper/bin/ld) supports shared libraries... yes

libtool.m4: error: problem compiling CXX test program

checking for CC option to produce PIC... -KPIC

checking if CC PIC flag -KPIC works... no

checking if CC static flag -Bstatic works... no

checking if CC supports -c -o file.o... no

checking whether the CC linker (/usr/pkgsrc/www/lighttpd/work/.wrapper/bin/ld) supports shared libraries... yes

checking dynamic linker characteristics... solaris2 ld.so

(cached) (cached) checking how to hardcode library paths into programs... immediate

appending configuration tag "F77" to libtool

checking if libtool supports shared libraries... yes

checking whether to build shared libraries... yes

checking whether to build static libraries... no

checking for f77 option to produce PIC... -KPIC

checking if f77 PIC flag -KPIC works... no

checking if f77 static flag -Bstatic works... no

checking if f77 supports -c -o file.o... no

checking whether the f77 linker (/usr/pkgsrc/www/lighttpd/work/.wrapper/bin/ld) supports shared libraries... yes

checking dynamic linker characteristics... solaris2 ld.so

(cached) (cached) checking how to hardcode library paths into programs... immediate

checking for ANSI C header files... (cached) yes

checking for sys/wait.h that is POSIX.1 compatible... yes

checking arpa/inet.h usability... yes

checking arpa/inet.h presence... yes

checking for arpa/inet.h... yes

checking fcntl.h usability... yes

checking fcntl.h presence... yes

checking for fcntl.h... yes

checking netinet/in.h usability... yes

checking netinet/in.h presence... yes

checking for netinet/in.h... yes

checking for stdlib.h... (cached) yes

checking for string.h... (cached) 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 for unistd.h... (cached) yes

checking sys/sendfile.h usability... yes

checking sys/sendfile.h presence... yes

checking for sys/sendfile.h... yes

checking sys/uio.h usability... yes

checking sys/uio.h presence... yes

checking for sys/uio.h... yes

checking getopt.h usability... yes

checking getopt.h presence... yes

checking for getopt.h... yes

checking sys/epoll.h usability... no

checking sys/epoll.h presence... no

checking for sys/epoll.h... no

checking sys/select.h usability... yes

checking sys/select.h presence... yes

checking for sys/select.h... yes

checking poll.h usability... yes

checking poll.h presence... yes

checking for poll.h... yes

checking sys/poll.h usability... yes

checking sys/poll.h presence... yes

checking for sys/poll.h... yes

checking sys/devpoll.h usability... yes

checking sys/devpoll.h presence... yes

checking for sys/devpoll.h... yes

checking sys/filio.h usability... yes

checking sys/filio.h presence... yes

checking for sys/filio.h... yes

checking sys/mman.h usability... yes

checking sys/mman.h presence... yes

checking for sys/mman.h... yes

checking sys/event.h usability... no

checking sys/event.h presence... no

checking for sys/event.h... no

checking sys/port.h usability... yes

checking sys/port.h presence... yes

checking for sys/port.h... yes

checking pwd.h usability... yes

checking pwd.h presence... yes

checking for pwd.h... yes

checking sys/syslimits.h usability... no

checking sys/syslimits.h presence... no

checking for sys/syslimits.h... no

checking sys/resource.h usability... yes

checking sys/resource.h presence... yes

checking for sys/resource.h... yes

checking sys/un.h usability... yes

checking sys/un.h presence... yes

checking for sys/un.h... yes

checking syslog.h usability... yes

checking syslog.h presence... yes

checking for syslog.h... yes

checking sys/prctl.h usability... no

checking sys/prctl.h presence... no

checking for sys/prctl.h... no

checking uuid/uuid.h usability... yes

checking uuid/uuid.h presence... yes

checking for uuid/uuid.h... yes

checking for an ANSI C-conforming const... yes

checking for inline... inline

checking whether char is unsigned... no

checking for off_t... yes

checking for pid_t... yes

checking for size_t... yes

checking for struct tm.tm_gmtoff... no

checking for struct sockaddr_storage... yes

checking for socklen_t... 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 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 strftime... yes

checking for MySQL support... no

checking for LDAP support...

checking for extended attributes support...

checking for library containing socket... -lsocket

checking for library containing gethostbyname... -lnsl

checking for library containing hstrerror... -lresolv

checking for library containing dlopen... none required

checking for dlfcn.h... (cached) yes

checking for valgrind... no

checking for OpenSSL... yes

checking openssl/ssl.h usability... yes

checking openssl/ssl.h presence... yes

checking for openssl/ssl.h... yes

checking for BIO_f_base64 in -lcrypto... yes

checking for SSL_new in -lssl... yes

checking for perl regular expressions support... yes

checking for pcre-config... /usr/pkg/bin/pcre-config

checking for zlib support... yes

checking for deflate in -lz... yes

checking zlib.h usability... yes

checking zlib.h presence... yes

checking for zlib.h... yes

checking for bzip2 support... yes

checking for BZ2_bzCompress in -lbz2... yes

checking bzlib.h usability... yes

checking bzlib.h presence... yes

checking for bzlib.h... yes

checking for pkg-config... no

checking for FAM... no

checking for properties in mod_webdav... no

checking for gdbm... no

checking for memcache... no

checking if lua-support is requested... no

checking for library containing crypt... none required

checking crypt.h usability... yes

checking crypt.h presence... yes

checking for crypt.h... yes

checking for library containing sendfilev... -lsendfile

checking for dup2... yes

checking for getcwd... yes

checking for inet_ntoa... yes

checking for inet_ntop... yes

checking for memset... yes

checking for mmap... yes

checking for munmap... yes

checking for strchr... yes

checking for strdup... yes

checking for strerror... yes

checking for strstr... yes

checking for strtol... yes

checking for sendfile... no

checking for getopt... yes

checking for socket... yes

checking for lstat... yes

checking for gethostbyname... yes

checking for poll... yes

checking for sigtimedwait... no

checking for epoll_ctl... no

checking for getrlimit... yes

checking for chroot... yes

checking for getuid... yes

checking for select... yes

checking for signal... yes

checking for pathconf... yes

checking for madvise... yes

checking for posix_fadvise... no

checking for posix_madvise... no

checking for writev... yes

checking for sigaction... yes

checking for sendfile64... no

checking for send_file... no

checking for kqueue... no

checking for port_create... yes

checking for localtime_r... yes

checking for gmtime_r... yes

checking for Large File System support... yes

checking for long... yes

checking size of long... 4

checking for off_t... (cached) yes

checking size of off_t... 8

checking for FCGI_Accept in -lfcgi... no

configure: creating ./config.status

config.status: creating Makefile

config.status: creating src/Makefile

config.status: creating doc/Makefile

config.status: creating tests/Makefile

config.status: creating tests/docroot/Makefile

config.status: creating tests/docroot/123/Makefile

config.status: creating tests/docroot/www/Makefile

config.status: creating tests/docroot/www/go/Makefile

config.status: creating tests/docroot/www/indexfile/Makefile

config.status: creating tests/docroot/www/expire/Makefile

config.status: creating distribute.sh

config.status: creating config.h

config.status: executing depfiles commands

 

Plugins:

 

enabled:

  mod_access

  mod_accesslog

  mod_alias

  mod_auth

  mod_cgi

  mod_compress

  mod_dirlisting

  mod_evhost

  mod_expire

  mod_extforward

  mod_fastcgi

  mod_flv_streaming

  mod_indexfiles

  mod_proxy

  mod_redirect

  mod_rewrite

  mod_rrdtool

  mod_scgi

  mod_secdownload

  mod_setenv

  mod_simple_vhost

  mod_ssi

  mod_staticfile

  mod_status

  mod_trigger_b4_dl

  mod_userdir

  mod_usertrack

  mod_webdav

disabled:

  mod_cml

  mod_magnet

  mod_mysql_vhost

 

Features:

 

enabled:

  auth-crypt

  compress-bzip2

  compress-deflate

  compress-gzip

  large-files

  network-openssl

  regex-conditionals

disabled:

  auth-ldap

  network-ipv6

  stat-cache-fam

  storage-gdbm

  storage-memcache

  webdav-locks

  webdav-properties

 

=> Modifying libtool scripts to use pkgsrc libtool

=> Modifying libtool scripts to use pkgsrc shlibtool

WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package Makefile.

WARNING: *** Please consider adding fortran to USE_LANGUAGES in the package Makefile.

===> Building for lighttpd-1.4.22

/usr/pkg/bin/bmake  all-recursive

Making all in src

source='lemon.c' object='lemon.o' libtool=no  DEPDIR=.deps depmode=none /usr/pkg/bin/pdksh ./depcomp  cc -DHAVE_CONFIG_H -DLIBRARY_DIR="\"/usr/pkg/lib/lighttpd\"" -DSBIN_DIR="\"/usr/pkg/sbin\"" -I. -I..    -I/usr/pkg/include -I/usr/include -D_REENTRANT -D__EXTENSIONS__ -I/usr/pkg/include -DOPENSSL_NO_KRB5 -I/usr/pkg/include -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES  -O -I/usr/pkg/include -I/usr/include -c lemon.c

/usr/pkg/bin/pdksh ./libtool --tag=CC    --mode=link cc  -O -I/usr/pkg/include -I/usr/include   -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -o lemon lemon.o  -lresolv -lnsl -lsocket

libtool: link: cc -O -I/usr/pkgsrc/www/lighttpd/work/.buildlink/include -Wl,-R/usr/pkg/lib -o lemon lemon.o  -L/usr/pkgsrc/www/lighttpd/work/.buildlink/lib -lresolv -lnsl -lsocket

rm -f configparser.h

../src/lemon -q ./configparser.y ./lempar.c

rm -f mod_ssi_exprparser.h

../src/lemon -q ./mod_ssi_exprparser.y ./lempar.c

/usr/pkg/bin/bmake  all-am

source='mod_flv_streaming.c' object='mod_flv_streaming.lo' libtool=yes  DEPDIR=.deps depmode=none /usr/pkg/bin/pdksh ../depcomp  /usr/pkg/bin/pdksh ../libtool --tag=CC    --mode=compile cc -DHAVE_CONFIG_H -DLIBRARY_DIR="\"/usr/pkg/lib/lighttpd\"" -DSBIN_DIR="\"/usr/pkg/sbin\"" -I. -I..    -I/usr/pkg/include -I/usr/include -D_REENTRANT -D__EXTENSIONS__ -I/usr/pkg/include -DOPENSSL_NO_KRB5 -I/usr/pkg/include -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES  -O -I/usr/pkg/include -I/usr/include -c -o mod_flv_streaming.lo mod_flv_streaming.c

libtool: compile:  cc -DHAVE_CONFIG_H -DLIBRARY_DIR=\"/usr/pkg/lib/lighttpd\" -DSBIN_DIR=\"/usr/pkg/sbin\" -I. -I.. -I/usr/pkgsrc/www/lighttpd/work/.buildlink/include -D_REENTRANT -D__EXTENSIONS__ -DOPENSSL_NO_KRB5 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -O -c mod_flv_streaming.c  -KPIC -DPIC -o .libs/mod_flv_streaming.o

/usr/pkg/bin/pdksh ./libtool --tag=CC    --mode=link cc  -O -I/usr/pkg/include -I/usr/include  -module -export-dynamic -avoid-version -no-undefined -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -o mod_flv_streaming.la -rpath /usr/pkg/lib/lighttpd mod_flv_streaming.lo  -lresolv -lnsl -lsocket

libtool: link: cc -G -z defs -h mod_flv_streaming.so -o .libs/mod_flv_streaming.so  .libs/mod_flv_streaming.o   -L/usr/pkgsrc/www/lighttpd/work/.buildlink/lib -lresolv -lnsl -lsocket -lc  -Wl,-R/usr/pkg/lib

Undefined                       first referenced

 symbol                             in file

buffer_copy_string_buffer           .libs/mod_flv_streaming.o

http_chunk_append_file              .libs/mod_flv_streaming.o

data_string_init                    .libs/mod_flv_streaming.o

buffer_init_string                  .libs/mod_flv_streaming.o

array_get_element                   .libs/mod_flv_streaming.o

buffer_copy_string_len              .libs/mod_flv_streaming.o

buffer_is_empty                     .libs/mod_flv_streaming.o

response_header_overwrite           .libs/mod_flv_streaming.o

config_check_cond                   .libs/mod_flv_streaming.o

array_free                          .libs/mod_flv_streaming.o

array_init                          .libs/mod_flv_streaming.o

config_insert_values_global         .libs/mod_flv_streaming.o

stat_cache_get_entry                .libs/mod_flv_streaming.o

buffer_init                         .libs/mod_flv_streaming.o

buffer_free                         .libs/mod_flv_streaming.o

chunkqueue_get_append_buffer        .libs/mod_flv_streaming.o

array_insert_unique                 .libs/mod_flv_streaming.o

array_get_unused_element            .libs/mod_flv_streaming.o

array_reset                         .libs/mod_flv_streaming.o

buffer_is_equal_string              .libs/mod_flv_streaming.o

ld: fatal: Symbol referencing errors. No output written to .libs/mod_flv_streaming.so

*** Error code 1

 

Stop.

bmake: stopped in /usr/pkgsrc/www/lighttpd/work/lighttpd-1.4.22/src

*** Error code 1

 

Stop.

bmake: stopped in /usr/pkgsrc/www/lighttpd/work/lighttpd-1.4.22/src

*** Error code 1

 

Stop.

bmake: stopped in /usr/pkgsrc/www/lighttpd/work/lighttpd-1.4.22

*** Error code 1

 

Stop.

bmake: stopped in /usr/pkgsrc/www/lighttpd/work/lighttpd-1.4.22

*** Error code 1

 

Stop.

bmake: stopped in /usr/pkgsrc/www/lighttpd

*** Error code 1

 

Stop.

bmake: stopped in /usr/pkgsrc/www/lighttpd

 

Any idea to resolv the problem ?



Home | Main Index | Thread Index | Old Index